CancellationReason Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. cognitiveservices. speech. CancellationReason
- com.
- java.
public enum CancellationReason
extends java.lang.Enum<CancellationReason>
Defines the possible reasons a recognition result might be canceled.
Fields
CancelledByUser |
Indicates that request was cancelled by the user. |
EndOfStream |
Indicates that the end of the audio stream was reached. |
Error |
Indicates that an error occurred during speech recognition. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
getValue()
public int getValue()
Returns the value of cancellation reason
Returns
valueOf(String name)
public static CancellationReason valueOf(String name)
Parameters
- name
- java.lang.String