Interface CastStateChangeEvent
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.Event
,com.theoplayer.android.api.event.chromecast.ChromecastEvent
public interface CastStateChangeEvent implements ChromecastEvent<E>
Fired when STATECHANGE occurs for the Chromecast.
- Thrown to indicate that the PlayerCastState of the connection has changed.
- Use getState to get a (textual) representation of the new state, which is THEOplayerView instance specific.
-
-
Method Summary
Modifier and Type Method Description abstract PlayerCastState
getState()
The new PlayerCastState. -
-
Method Detail
-
getState
@Nullable() abstract PlayerCastState getState()
The new PlayerCastState.
- Returns:
The new casting state. (Nullable)
-
-
-
-