ConversationTranslationEventArgs class

Defines payload for session events like Speech Start/End Detected

Extends

Constructors

ConversationTranslationEventArgs(ConversationTranslationResult, 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

ConversationTranslationEventArgs(ConversationTranslationResult, number, string)

Creates and initializes an instance of this class.

new ConversationTranslationEventArgs(result: ConversationTranslationResult, offset?: number, sessionId?: string)

Parameters

result
ConversationTranslationResult

The translation 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.

ConversationTranslationResult result

Property Value

the recognition result.

sessionId

Represents the session identifier.

string sessionId

Property Value

string

Represents the session identifier.