Skip to main content

Interface: CommandV0V1

core/commandRunner/typings/legacy/CommandV0V1.types.internal.CommandV0V1

Hierarchy

Properties

action

action: string

The action to run

Defined in

core/commandRunner/typings/legacy/CommandV0V1.types.ts:35


extraArgs

Optional extraArgs: unknown[]

A list of extra arguments expected by the given action.

Defined in

core/commandRunner/typings/legacy/CommandV0V1.types.ts:46


spokenForm

Optional spokenForm: string

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

Defined in

core/commandRunner/typings/legacy/CommandV0V1.types.ts:22


targets

targets: PartialTargetV0V1[]

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

Defined in

core/commandRunner/typings/legacy/CommandV0V1.types.ts:41


usePrePhraseSnapshot

Optional 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/CommandV0V1.types.ts:30


version

version: 0 | 1

The version number of the command API

Defined in

core/commandRunner/typings/legacy/CommandV0V1.types.ts:17