Class PlayerStateChart

java.lang.Object
android.view.View
android.view.ViewGroup
com.github.mikephil.charting.charts.Chart<com.github.mikephil.charting.data.BarData>
com.github.mikephil.charting.charts.BarLineChartBase<com.github.mikephil.charting.data.BarData>
com.github.mikephil.charting.charts.BarChart
com.github.mikephil.charting.charts.HorizontalBarChart
com.castlabs.sdk.debug.view.PlayerStateChart
All Implemented Interfaces:
Drawable.Callback, AccessibilityEventSource, KeyEvent.Callback, ViewManager, ViewParent, PlayerListener, PlayerChart, com.github.mikephil.charting.interfaces.dataprovider.BarDataProvider, com.github.mikephil.charting.interfaces.dataprovider.BarLineScatterCandleBubbleDataProvider, com.github.mikephil.charting.interfaces.dataprovider.ChartInterface

public class PlayerStateChart extends com.github.mikephil.charting.charts.HorizontalBarChart implements PlayerListener, PlayerChart
Chart that shows a horizontal player state graph.

Needs a PlayerController to attach itself to through setPlayerController(PlayerController).

Since:
4.2.0
  • Constructor Details

    • PlayerStateChart

      public PlayerStateChart(Context context)
      Creates a new PlayerStateChart with the given context.
      Parameters:
      context - The context to use for creating the chart
    • PlayerStateChart

      public PlayerStateChart(Context context, AttributeSet attrs)
      Creates a new PlayerStateChart with the given context and attributes.
      Parameters:
      context - The context to use for creating the chart
      attrs - The attributes to use for creating the chart
    • PlayerStateChart

      public PlayerStateChart(Context context, AttributeSet attrs, int defStyle)
      Creates a new PlayerStateChart with the given context, attributes and style.
      Parameters:
      context - The context to use for creating the chart
      attrs - The attributes to use for creating the chart
      defStyle - The default style to use for creating the chart
  • Method Details