Type Definitions
AirConsoleDevice
The AirConsole Screen device data of relevance to game developers.
Type:
Properties:
Name |
Type |
Attributes |
Description |
environment |
AirConsoleScreenEnvironment
|
<optional>
|
The environment object this device is in. Only present on the screen. |
- Source:
AirConsoleObject
The AirConsole Screen device data of relevance to game developers.
Type:
Properties:
Name |
Type |
Description |
devices |
Array.<AirConsoleDevice>
|
List of devices in this session. Screen is always devices[AirConsole.SCREEN]. |
- Source:
AirConsoleScreenEnvironment
The devices environment. Only available on the screen device.
Please visit the
Multiplayer guide to see how to use this from onDeviceStateChange or through airconsole.devices[AirConsole.SCREEN].environment.id
Type:
Properties:
Name |
Type |
Description |
id |
string
|
Identifier of the environment this screen is in. Where possible this is a specific physical
location, like a specific car. |
partner |
string
|
Identifier of the partner in the environment. |
- Source:
ImmersiveLightOption
Type:
Properties:
Name |
Type |
Description |
r |
number
|
The red value of the light. Format: integer between 0 and 255. |
g |
number
|
The green value of the light. Format: integer between 0 and 255. |
b |
number
|
The blue value of the light. Format: integer between 0 and 255. |
- Source:
ImmersiveOption
Type:
Properties:
Name |
Type |
Attributes |
Description |
light |
ImmersiveLightOption
|
<optional>
|
Light state inside the car. |
experiment |
any
|
<optional>
|
Experimental payload for experimental APIs |
- Source: