Skip to main content

Interface: CommandV3

core/commandRunner/typings/legacy/CommandV3.types.CommandV3

Properties

action

action: ActionCommand

Defined in

core/commandRunner/typings/legacy/CommandV3.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/CommandV3.types.ts:78


targets

targets: PartialTargetDescriptorV3[]

A list of targets expected by the action. Inference will be run on the targets

Defined in

core/commandRunner/typings/legacy/CommandV3.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/CommandV3.types.ts:86


version

version: 3

The version number of the command API

Defined in

core/commandRunner/typings/legacy/CommandV3.types.ts:73