NumberImageStringImageStringStringArray.<String>ChoiceChoiceChoiceChoiceChoiceChoiceChoiceNumberGet the ChoiceID
Kind: Instance method of Choice
Returns: Number - the KEY_CHOICE_ID value
ImageGet the Image
Kind: Instance method of Choice
Returns: Image - the KEY_IMAGE value
StringGet the MenuName
Kind: Instance method of Choice
Returns: String - the KEY_MENU_NAME value
ImageGet the SecondaryImage
Kind: Instance method of Choice
Returns: Image - the KEY_SECONDARY_IMAGE value
StringGet the SecondaryText
Kind: Instance method of Choice
Returns: String - the KEY_SECONDARY_TEXT value
StringGet 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
ChoiceSet 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} |
ChoiceSet the Image
Kind: Instance method of Choice
Returns: Choice - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| image | Image |
The desired Image. |
ChoiceSet 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} |
ChoiceSet 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. |
ChoiceSet 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} |
ChoiceSet 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} |
ChoiceSet 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} |