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

public offset: number

Property Value

number

sessionId

Represents the session identifier.

public sessionId: string

Property Value

string