SpeechRecognitionCanceledEventArgs クラス

class SpeechRecognitionCanceledEventArgs
  : public SpeechRecognitionEventArgs

音声認識のクラスがイベント引数を取り消しました。

メンバー

理由

構文: public const CancellationReason & Reason;

結果が取り消された理由。

ErrorCode

構文: public const CancellationErrorCode & ErrorCode;

認識に失敗した場合のエラー コード (Reason が Error に設定されています)。 Reason が Error でない場合、ErrorCode は NoError に設定されます。 バージョン 1.1.0 で追加されました。

ErrorDetails

構文: public const std::string ErrorDetails;

認識に失敗した場合のエラー メッセージ (Reason が Error に設定されています)。

SpeechRecognitionCanceledEventArgs

構文: public inline explicit SpeechRecognitionCanceledEventArgs ( SPXEVENTHANDLE hevent );

コンストラクターです。

パラメーター

  • hevent イベント ハンドル

~SpeechRecognitionCanceledEventArgs

構文: public inline virtual ~SpeechRecognitionCanceledEventArgs ( );