Constructor

GameManagerStateChangedEvent

new GameManagerStateChangedEvent(currentState, previousState)

Event dispatched by chrome.cast.games.GameManagerClient when the state of the currently running game has changed.

Parameter

currentState

chrome.cast.games.GameManagerState

Value must not be null.

previousState

chrome.cast.games.GameManagerState

Value must not be null.

Implements
chrome.cast.games.GameManagerEvent
See also
chrome.cast.games.GameManagerEventType.STATE_CHANGED

Properties

currentState

chrome.cast.games.GameManagerState

The current state.

previousState

chrome.cast.games.GameManagerState

The previous state.

type

chrome.cast.games.GameManagerEventType

The type of event.