CancellationReason Enum

Definition

Defines the possible reasons a recognition result might be canceled.

public enum CancellationReason
Inheritance
java.lang.Object
java.lang.Enum<CancellationReason>
CancellationReason

Fields

CancelledByUser

Indicates that request was cancelled by the user. Added in version 1.14.0

EndOfStream

Indicates that the end of the audio stream was reached.

Error

Indicates that an error occurred during speech recognition.

Methods

getValue()

Returns the value of cancellation reason

public int getValue()

Returns

int

the cancellation id value

Applies to