Package com.castlabs.sdk.debug.view
Interface PlayerChart
-
- All Known Implementing Classes:
PlayerMetricChart,PlayerStateChart
public interface PlayerChartChart that binds itself to a PlayerController, in order to plot data from it.- Since:
- 4.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetPlayerController(PlayerController playerController)Sets the player controller to which to bind and extract data from.voidunsetPlayerController()Performs all the necessary cleanup and removes the previously set listeners (if any).
-
-
-
Method Detail
-
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).
-
-