SpeechRecognitionCanceledEventArgs Class

Definition

Defines payload of speech recognition canceled events.

public class SpeechRecognitionCanceledEventArgs extends SpeechRecognitionEventArgs
Inheritance
java.lang.Object
SpeechRecognitionCanceledEventArgs

Inherited Members

Methods

getErrorCode()

The error code in case of an unsuccessful recognition (when getReason() returns Error). Added in version 1.1.0.

getErrorDetails()

The error message in case of an unsuccessful recognition (when getReason() returns Error).

getReason()

The reason the recognition was canceled.

toString()

Returns a String that represents the speech recognition canceled event args.

Applies to