SpeechRecognitionEventArgs class

Defines contents of speech recognizing/recognized event.

Extends

Constructors

SpeechRecognitionEventArgs(SpeechRecognitionResult, number, string)

Creates and initializes an instance of this class.

Properties

offset

Represents the message offset

result

Specifies the recognition result.

sessionId

Represents the session identifier.

Constructor Details

SpeechRecognitionEventArgs(SpeechRecognitionResult, number, string)

Creates and initializes an instance of this class.

new SpeechRecognitionEventArgs(result: SpeechRecognitionResult, offset?: number, sessionId?: string)

Parameters

result
SpeechRecognitionResult

The speech recognition result.

offset

number

The offset.

sessionId

string

The session id.

Property Details

offset

Represents the message offset

number offset

Property Value

number

result

Specifies the recognition result.

SpeechRecognitionResult result

Property Value

the recognition result.

sessionId

Represents the session identifier.

string sessionId

Property Value

string

Represents the session identifier.