Interface: CommandV2
core/commandRunner/typings/legacy/CommandV2.types.CommandV2
Properties
action
• action: ActionCommand
Defined in
core/commandRunner/typings/legacy/CommandV2.types.ts:88
spokenForm
• Optional
spokenForm: string
The spoken form of the command if issued from a voice command system
Defined in
core/commandRunner/typings/legacy/CommandV2.types.ts:78
targets
• targets: PartialTargetDescriptorV2
[]
A list of targets expected by the action. Inference will be run on the targets
Defined in
core/commandRunner/typings/legacy/CommandV2.types.ts:94
usePrePhraseSnapshot
• usePrePhraseSnapshot: boolean
If the command is issued from a voice command system, this boolean indicates whether we should use the pre phrase snapshot. Only set this to true if the voice command system issues a pre phrase signal at the start of every phrase.
Defined in
core/commandRunner/typings/legacy/CommandV2.types.ts:86
version
• version: 2
The version number of the command API
Defined in
core/commandRunner/typings/legacy/CommandV2.types.ts:73