Back to Devexpress

NusaPlaceholder Interface

aspnetcore-js-devexpress-dot-richedit-6b5f269d.md

latest1.4 KB
Original Source

NusaPlaceholder Interface

Declares settings of a placeholder in the Nuance SpeechKit.

Declaration

ts
export interface NusaPlaceholder

Remarks

A Nuance SpeechKit command can include placeholders in the phrase. Use the NusaPlaceholder interface to declare custom placeholders.

Properties

description Property

Specifies the placeholder description.

Declaration

ts
description: string

Property Value

TypeDescription
string

The description text.

|

id Property

Specifies the unique identifier of the placeholder.

Declaration

ts
id: NusaRichEditPlaceholderId

Property Value

TypeDescription

The placeholder identifier.

|

Remarks

A placeholder identifier must not contain spaces or numbers.

values Property

Contains the placeholder’s available values.

Declaration

ts
values: ({
    spokenForm: string;
    value: string;
} | string[])[]

Property Value

TypeDescription
string[]{spokenForm: string, value: string}[]

An array of objects that contain spoken forms and corresponding values for the placeholder or an array of stings if spoken forms match the values.

|