aspnetcore-js-devexpress-dot-richedit-82362c3d.md
Contains members that allow you to to bind the Rich Text Editor to the Nuance SpeechKit.
export class NusaSettings
See Also
Speech Recognition and Virtual Assistant (Nuance)
Returns whether or not the RichEdit control is registered in the Nuance Dragon SpeechKit.
get registered(): boolean
| Type | Description |
|---|---|
| boolean |
true if the RichEdit control is registered in Nuance Dragon SpeechKit; otherwise, false.
|
Indicates whether the specified command has a handler.
getCommandHandler(): (commandId: string, placeholderIds: string[], placeholderValues: string[]) => boolean
| Type | Description |
|---|---|
| (commandId: string, placeholderIds: string[], placeholderValues: string[]) => boolean |
true if the command with the specified parameters has a handler; otherwise, false.
|
Returns an object that identifies the RichEdit container and allows you to get and set a RichEdit control focused in the Nuance SpeechKit.
getCustomContainer(): NusaCustomContainerType | null
| Type | Description |
|---|---|
| NusaCustomContainerType |
An object that identifies the RichEdit container. null if the RichEdit control’s container is not registered in Nuance SpeechKit.
|
Returns an object that contains RichEdit Nuance-related settings.
getCustomControl(): NusaCustomControlType | null
| Type | Description |
|---|---|
| NusaCustomControlType |
An object that contains Nuance-related settings. null if the RichEdit control is not registered in Nuance SpeechKit.
|
Returns the focused RichEdit control.
getFocusedRichEdit(): RichEdit | null
| Type | Description |
|---|---|
| RichEdit |
The RichEdit control. null if a focused RichEdit control is not found.
|
Registers the RichEdit control in the Nuance Dragon SpeechKit.
register(
options?: NusaRegisterOptions
): void
| Name | Type | Description |
|---|---|---|
| options | NusaRegisterOptions |
The options to be registered.
|
Register a RichEdit control in the Dragon SpeechKit’s NUSA_configure method to enable Nuance API support in RichEdit. Note that you should register every RichEdit control on the page. After registration, a control can processes the Nuance standard built-in commands.
function NUSA_configure() {
// ...
// register every RichEdit control that should work with Nuance functionality
richEdit1.nusaSettings.register();
richEdit2.nusaSettings.register();
}
Registers RichEdit Nuance-related commands.
registerCommands(options?: {
customizeCommands?: (commandSets: NusaCommandSet[], placeholders: NusaPlaceholder[]) => void;
}): void
| Name | Type | Description |
|---|---|---|
| options | {customizeCommands: (commandSets: NusaCommandSet[], placeholders: NusaPlaceholder[]) => void} |
A function that allows yo to modify command settings.
|
Regardless of the number of RichEdit controls on the page, the registerCommands function should be called only once.
Unregisters the RichEdit control from Nuance Dragon SpeechKit.
unregister(): void