Properties

onGameDataChanged

Fired when the game manager receives a request that changes game data (e.g. cast.receiver.games.GameManagerReceiverClient.sendGameDataRequest). Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onGameLoading

Fired when the game manager receives a request that changes gameplay state to cast.receiver.games.GameplayState.LOADING. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onGameMessageReceived

Fired when the game manager receives a game message (e.g. from cast.receiver.games.GameManagerReceiverClient.sendGameMessage). Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onGamePaused

Fired when the game manager receives a request that changes gameplay state to cast.receiver.games.GameplayState.PAUSED. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onGameRunning

Fired when the game manager receives a request that changes gameplay state to cast.receiver.games.GameplayState.RUNNING. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onGameShowingInfoScreen

Fired when the game manager receives a request that changes gameplay state to cast.receiver.games.GameplayState.SHOWING_INFO_SCREEN. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onGameStatusTextChanged

Fired when the game manager receives a request that changes game status text. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onLobbyClosed

Fired when the game manager receives a request that changes lobby state to cast.receiver.games.LobbyState.CLOSED. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onLobbyOpen

Fired when the game manager receives a request that changes lobby state to cast.receiver.games.LobbyState.OPEN. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onPlayerAvailable

Fired when the game manager receives a request that changes player state to cast.receiver.games.PlayerState.AVAILABLE. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onPlayerDataChanged

Fired when the game manager receives a request that changes player data (e.g. cast.receiver.games.GameManagerReceiverClient.sendPlayerDataRequest). Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onPlayerDropped

Fired when the game manager receives a request that changes player state to cast.receiver.games.PlayerState.DROPPED. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onPlayerIdle

Fired when the game manager receives a request that changes player state to cast.receiver.games.PlayerState.IDLE. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onPlayerPlaying

Fired when the game manager receives a request that changes player state to cast.receiver.games.PlayerState.PLAYING. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onPlayerQuit

Fired when the game manager receives a request that changes player state to cast.receiver.games.PlayerState.QUIT. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.

onPlayerReady

Fired when the game manager receives a request that changes player state to cast.receiver.games.PlayerState.READY. Replacing this callback can provide application-specific behavior.

Parameter

event

cast.receiver.games.Event

Value must not be null.