Class OverlayControllerComponent

java.lang.Object
com.castlabs.sdk.debug.OverlayControllerComponent
All Implemented Interfaces:
PlayerControllerPlugin.Component, PlayerControllerPlugin.ComponentViewListener, PlayerControllerPlugin.VisualComponent

public final class OverlayControllerComponent extends Object implements PlayerControllerPlugin.VisualComponent
A PlayerControllerPlugin.VisualComponent that displays debug information as an overlay on top of the player.

It shows player state, bandwidth estimation, buffer levels, and ABR quality information. The position of the overlay can be configured with setDebugOverlayPosition(DebugPlugin.DebugOverlayPosition) and can be enabled or disabled with enableDebugOverlay() and disableDebugOverlay().

In order to interact with the component you need to get an instance of it through DebugPlugin.getOverlayController(PlayerController).