Constructor

GameManagerGameMessageReceivedEvent

new GameManagerGameMessageReceivedEvent(playerId, gameMessage)

Event dispatched by chrome.cast.games.GameManagerClient when the receiver sends a game message for a specific player.

Parameter

playerId

string

gameMessage

Object

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

Properties

gameMessage

Object

The game message sent from the receiver.

playerId

string

The player ID associated with the game message.

type

chrome.cast.games.GameManagerEventType

The type of event.