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
java.lang.Enum.<T>valueOf
java.lang.Enum.clone
java.lang.Enum.compareTo
java.lang.Enum.describeConstable
java.lang.Enum.equals
java.lang.Enum.finalize
java.lang.Enum.getDeclaringClass
java.lang.Enum.hashCode
java.lang.Enum.name
java.lang.Enum.ordinal
java.lang.Enum.toString
Methods inherited from java.lang.Object
java.lang.Object.getClass
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Methods
getValue()
public int getValue()
Returns the value of cancellation reason
Returns
int
the cancellation id value
valueOf(String name)
public static CancellationReason valueOf(String name)
Parameters
- name
- java.lang.String
Returns
values()
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for Java