Number
Image
String
Image
String
String
Array.<String>
Choice
Choice
Choice
Choice
Choice
Choice
Choice
Number
Get the ChoiceID
Kind: Instance method of Choice
Returns: Number
- the KEY_CHOICE_ID value
Image
Get the Image
Kind: Instance method of Choice
Returns: Image
- the KEY_IMAGE value
String
Get the MenuName
Kind: Instance method of Choice
Returns: String
- the KEY_MENU_NAME value
Image
Get the SecondaryImage
Kind: Instance method of Choice
Returns: Image
- the KEY_SECONDARY_IMAGE value
String
Get the SecondaryText
Kind: Instance method of Choice
Returns: String
- the KEY_SECONDARY_TEXT value
String
Get the TertiaryText
Kind: Instance method of Choice
Returns: String
- the KEY_TERTIARY_TEXT value
Array.<String>
Get the VrCommands
Kind: Instance method of Choice
Returns: Array.<String>
- the KEY_VR_COMMANDS value
Choice
Set the ChoiceID
Kind: Instance method of Choice
Returns: Choice
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | Number |
The desired ChoiceID. {'num_min_value': 0, 'num_max_value': 65535} |
Choice
Set the Image
Kind: Instance method of Choice
Returns: Choice
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
image | Image |
The desired Image. |
Choice
Set the MenuName
Kind: Instance method of Choice
Returns: Choice
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
name | String |
The desired MenuName. {'string_min_length': 1, 'string_max_length': 500} |
Choice
Set the SecondaryImage
Kind: Instance method of Choice
Returns: Choice
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
image | Image |
Optional secondary image struct for choice - The desired SecondaryImage. |
Choice
Set the SecondaryText
Kind: Instance method of Choice
Returns: Choice
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
text | String |
Optional secondary text to display; e.g. address of POI in a search result entry - The desired SecondaryText. {'string_min_length': 1, 'string_max_length': 500} |
Choice
Set the TertiaryText
Kind: Instance method of Choice
Returns: Choice
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
text | String |
Optional tertiary text to display; e.g. distance to POI for a search result entry - The desired TertiaryText. {'string_min_length': 1, 'string_max_length': 500} |
Choice
Set the VrCommands
Kind: Instance method of Choice
Returns: Choice
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
commands | Array.<String> |
The desired VrCommands. {'array_min_size': 1, 'array_max_size': 100, 'string_min_length': 1, 'string_max_length': 99} |