Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
PerformInteractionResponse

PerformInteractionResponse Class Reference

Constructors

Instance Methods

Constructors

new PerformInteractionResponse(parameters)

Initalizes an instance of PerformInteractionResponse.

Instance Methods

performInteractionResponse.getChoiceID() ⇒ Number

Get the ChoiceID

Kind: Instance method of PerformInteractionResponse
Returns: Number - the KEY_CHOICE_ID value

performInteractionResponse.getManualTextEntry() ⇒ String

Get the ManualTextEntry

Kind: Instance method of PerformInteractionResponse
Returns: String - the KEY_MANUAL_TEXT_ENTRY value

performInteractionResponse.getTriggerSource() ⇒ TriggerSource

Get the TriggerSource

Kind: Instance method of PerformInteractionResponse
Returns: TriggerSource - the KEY_TRIGGER_SOURCE value

performInteractionResponse.setChoiceID(id) ⇒ PerformInteractionResponse

Set the ChoiceID

Kind: Instance method of PerformInteractionResponse
Returns: PerformInteractionResponse - The class instance for method chaining.

ParamTypeDescription
id Number ID of the choice that was selected in response to PerformInteraction. Only is valid if - The desired ChoiceID. general result is "success:true".

performInteractionResponse.setManualTextEntry(entry) ⇒ PerformInteractionResponse

Set the ManualTextEntry

Kind: Instance method of PerformInteractionResponse
Returns: PerformInteractionResponse - The class instance for method chaining.

ParamTypeDescription
entry String Manually entered text selection, e.g. through keyboard Can be returned in lieu of - The desired ManualTextEntry. choiceID, depending on trigger source

performInteractionResponse.setTriggerSource(source) ⇒ PerformInteractionResponse

Set the TriggerSource

Kind: Instance method of PerformInteractionResponse
Returns: PerformInteractionResponse - The class instance for method chaining.

ParamTypeDescription
source TriggerSource See TriggerSource Only is valid if resultCode is SUCCESS. - The desired TriggerSource.
View on GitHub.com
Previous Section Next Section