RecognitionEventArgs class

Definiuje ładunek dla zdarzeń sesji, takich jak rozpoczęcie/zakończenie mowy wykryte

Extends

Konstruktory

RecognitionEventArgs(number, string)

Tworzy i inicjuje wystąpienie tej klasy.

Właściwości

offset

Reprezentuje przesunięcie komunikatu

sessionId

Reprezentuje identyfikator sesji.

Szczegóły konstruktora

RecognitionEventArgs(number, string)

Tworzy i inicjuje wystąpienie tej klasy.

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

Parametry

offset

number

Przesunięcie.

sessionId

string

Identyfikator sesji.

Szczegóły właściwości

offset

Reprezentuje przesunięcie komunikatu

number offset

Wartość właściwości

number

sessionId

Reprezentuje identyfikator sesji.

string sessionId

Wartość właściwości

string

Reprezentuje identyfikator sesji.