Package com.castlabs.sdk.debug.view

# Interface PlayerChart

All Known Implementing Classes:
  `PlayerMetricChart`, `PlayerStateChart`

public interface PlayerChart
Chart that binds itself to a PlayerController, in order to plot data from it.

Since:
  4.2.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setPlayerController(PlayerController playerController)`
  Sets the player controller to which to bind and extract data from.
  `void`
  `unsetPlayerController()`
  Performs all the necessary cleanup and removes the previously set listeners (if any).

- ## Method Details

  - ### setPlayerController

    void setPlayerController(@NonNull PlayerController playerController)
    Sets the player controller to which to bind and extract data from.
    Parameters:
      `playerController` - PlayerController where to get the data from.

  - ### unsetPlayerController

    void unsetPlayerController()
    Performs all the necessary cleanup and removes the previously set listeners (if any).