Reference
API methods explained
4min
Send a message from the screen to a specific controller:

The screen always has the device_id = 0. All other device_ids should be seen as random.
We recommend to use the constant AirConsole.SCREEN instead of 0.
Send a message from a controller to the screen:

Send a message from the screen to all controllers:

A device sets it's custom data property and triggers the onCustomDeviceStateChange() method on the other devices.

The screen sets maximum two devices as active players and triggers the onActivePlayersChange() method on the first two devices.
