SpeechRecognitionEventArgs class

音声認識/認識イベントの内容を定義します。

Extends

コンストラクター

SpeechRecognitionEventArgs(SpeechRecognitionResult, number, string)

このクラスのインスタンスを作成して初期化します。

プロパティ

offset

メッセージ オフセットを表します

result

認識結果を指定します。

sessionId

セッション識別子を表します。

コンストラクターの詳細

SpeechRecognitionEventArgs(SpeechRecognitionResult, number, string)

このクラスのインスタンスを作成して初期化します。

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

パラメーター

result
SpeechRecognitionResult

音声認識の結果。

offset

number

オフセット。

sessionId

string

セッション ID。

プロパティの詳細

offset

メッセージ オフセットを表します

number offset

プロパティ値

number

result

認識結果を指定します。

SpeechRecognitionResult result

プロパティ値

認識結果。

sessionId

セッション識別子を表します。

string sessionId

プロパティ値

string

セッション識別子を表します。