VoiceCommand
Boolean
[function, null]
Array.<String>
VoiceCommand
VoiceCommand
Initializes an instance of VoiceCommand. NOTE: voiceCommands is poorly named. They are more like voice aliases, which map to a single voice command
VoiceCommand
Creates a deep copy of the object
Kind: Instance method of VoiceCommand
Returns: VoiceCommand
- A deep clone of the object
Boolean
Checks whether two VoiceCommands can be considered equivalent
Kind: Instance method of VoiceCommand
Returns: Boolean
- Whether the objects are the same or not
Param | Type | Description |
---|---|---|
other | VoiceCommand |
The object to compare |
[function, null]
The listener that will be called when the command is activated
Kind: Instance method of VoiceCommand
Returns: [function, null]
- the listener for this object
Array.<String>
The strings the user can say to activate this voice command
Kind: Instance method of VoiceCommand
Returns: Array.<String>
- the List of voice commands
VoiceCommand
The listener that will be called when the command is activated
Kind: Instance method of VoiceCommand
Returns: VoiceCommand
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
voiceCommandSelectionListener | function |
the listener for this object |
VoiceCommand
The strings the user can say to activate this voice command
Kind: Instance method of VoiceCommand
Returns: VoiceCommand
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
voiceCommands | Array.<String> |
the list of commands to send to the head unit |