NusaCommand Interface
Declares a Nuance SpeechKit command.
#Declaration
export interface NusaCommand
#Remarks
A Nuance SpeechKit command is a spoken phrase that initiates an action in an application.
#Properties
#commandId Property
Specifies the unique identifier of the command.
#Declaration
commandId: NusaCommandId
#Property Value
Type | Description |
---|---|
Nusa |
The command identifier. |
#Remarks
A command identifier must not contain spaces or start with a number.
#description Property
Specifies command description.
#Declaration
description: string
#Property Value
Type | Description |
---|---|
string | The description text. |
#phrase Property
Specifies a phrase that a user should say to initiate the command.
#Declaration
phrase: string
#Property Value
Type | Description |
---|---|
string | The phrase. |
#Remarks
The phrase should be specified in lowercase, without punctuation marks or symbols. Digits should be specified as text. For acronyms, use capital letters separated by spaces; for instance, M V C
.
#title Property
Specifies the command title.
#Declaration
title: string | null
#Property Value
Type | Description |
---|---|
string | The title. |