RecognitionEventArgs class

Defines payload for session events like Speech Start/End Detected

Extends

Constructors

RecognitionEventArgs(number, string)

Creates and initializes an instance of this class.

Properties

offset

Represents the message offset

sessionId

Represents the session identifier.

Constructor Details

RecognitionEventArgs(number, string)

Creates and initializes an instance of this class.

new RecognitionEventArgs(offset: number, sessionId?: string)

Parameters

offset

number

The offset.

sessionId

string

The session id.

Property Details

offset

Represents the message offset

number offset

Property Value

number

sessionId

Represents the session identifier.

string sessionId

Property Value

string

Represents the session identifier.