Skip to main content

Interface: CommandV4

core/commandRunner/typings/CommandV4.types.CommandV4

Properties

action

action: ActionCommand

Defined in

core/commandRunner/typings/CommandV4.types.ts:23


spokenForm

Optional spokenForm: string

The spoken form of the command if issued from a voice command system

Defined in

core/commandRunner/typings/CommandV4.types.ts:13


targets

targets: PartialTargetDescriptor[]

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

Defined in

core/commandRunner/typings/CommandV4.types.ts:29


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/CommandV4.types.ts:21


version

version: 4

The version number of the command API

Defined in

core/commandRunner/typings/CommandV4.types.ts:8