Number
Array.<TTSChunk>
Array.<TTSChunk>
String
Array.<Number>
LayoutMode
InteractionMode
Number
Array.<TTSChunk>
Array.<VrHelpItem>
PerformInteraction
PerformInteraction
PerformInteraction
PerformInteraction
PerformInteraction
PerformInteraction
PerformInteraction
PerformInteraction
PerformInteraction
PerformInteraction
Number
Get the CancelID
Kind: Instance method of PerformInteraction
Returns: Number
- the KEY_CANCEL_ID value
Array.<TTSChunk>
Get the HelpPrompt
Kind: Instance method of PerformInteraction
Returns: Array.<TTSChunk>
- the KEY_HELP_PROMPT value
Array.<TTSChunk>
Get the InitialPrompt
Kind: Instance method of PerformInteraction
Returns: Array.<TTSChunk>
- the KEY_INITIAL_PROMPT value
String
Get the InitialText
Kind: Instance method of PerformInteraction
Returns: String
- the KEY_INITIAL_TEXT value
Array.<Number>
Get the InteractionChoiceSetIDList
Kind: Instance method of PerformInteraction
Returns: Array.<Number>
- the KEY_INTERACTION_CHOICE_SET_IDLIST value
LayoutMode
Get the InteractionLayout
Kind: Instance method of PerformInteraction
Returns: LayoutMode
- the KEY_INTERACTION_LAYOUT value
InteractionMode
Get the InteractionMode
Kind: Instance method of PerformInteraction
Returns: InteractionMode
- the KEY_INTERACTION_MODE value
Number
Get the Timeout
Kind: Instance method of PerformInteraction
Returns: Number
- the KEY_TIMEOUT value
Array.<TTSChunk>
Get the TimeoutPrompt
Kind: Instance method of PerformInteraction
Returns: Array.<TTSChunk>
- the KEY_TIMEOUT_PROMPT value
Array.<VrHelpItem>
Get the VrHelp
Kind: Instance method of PerformInteraction
Returns: Array.<VrHelpItem>
- the KEY_VR_HELP value
PerformInteraction
Set the CancelID
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | Number |
An ID for this specific PerformInteraction to allow cancellation through the `CancelInteraction` RPC. - The desired CancelID. |
PerformInteraction
Set the HelpPrompt
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
prompt | Array.<TTSChunk> |
Help text. This is the spoken string when a user speaks "help" when the interaction is occurring. An array of text chunks of type TTSChunk. See TTSChunk. The array must have at least one item. - The desired HelpPrompt. {'array_min_size': 1, 'array_max_size': 100} |
PerformInteraction
Set the InitialPrompt
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
prompt | Array.<TTSChunk> |
This is the initial prompt spoken to the user at the start of an interaction. An array of text chunks of type TTSChunk. See TTSChunk. The array must have at least one item. - The desired InitialPrompt. {'array_min_size': 1, 'array_max_size': 100} |
PerformInteraction
Set the InitialText
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
text | String |
Text to be displayed first. - The desired InitialText. {'string_min_length': 1, 'string_max_length': 500} |
PerformInteraction
Set the InteractionChoiceSetIDList
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
list | Array.<Number> |
List of interaction choice set IDs to use with an interaction. - The desired InteractionChoiceSetIDList. {'array_min_size': 0, 'array_max_size': 100, 'num_min_value': 0, 'num_max_value': 2000000000} |
PerformInteraction
Set the InteractionLayout
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
layout | LayoutMode |
See LayoutMode. - The desired InteractionLayout. |
PerformInteraction
Set the InteractionMode
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
mode | InteractionMode |
See InteractionMode. - The desired InteractionMode. |
PerformInteraction
Set the Timeout
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
timeout | Number |
Timeout in milliseconds. If omitted a standard value of 10000 milliseconds is used. Applies only to the menu portion of the interaction. The VR timeout will be handled by the platform. - The desired Timeout. {'default_value': 10000, 'num_min_value': 5000, 'num_max_value': 100000} |
PerformInteraction
Set the TimeoutPrompt
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
prompt | Array.<TTSChunk> |
Timeout text. This text is spoken when a VR interaction times out. An array of text chunks of type TTSChunk. See TTSChunk. The array must have at least one item. - The desired TimeoutPrompt. {'array_min_size': 1, 'array_max_size': 100} |
PerformInteraction
Set the VrHelp
Kind: Instance method of PerformInteraction
Returns: PerformInteraction
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
help | Array.<VrHelpItem> |
Ability to send suggested VR Help Items to display on-screen during Perform Interaction. If omitted on supported displays, the default generated list of suggested choices shall be displayed. - The desired VrHelp. {'array_min_size': 1, 'array_max_size': 100} |