public enum SpeechClientStatus extends java.lang.Enum<SpeechClientStatus>
Enum Constant and Description |
---|
AudioOutputFailed
Raised when the audio output device failed.
|
AuthenticationError
Raised when credentials are invalid.
|
AuthenticationExpired
Raised when credentials have expired.
|
BadResponse
Raised when the service has returned an invalid response.
|
ConnectionFailed
Raised when the connection has failed.
|
InternalError
Raised when an internal error has been detected.
|
InvalidArgument
Raised when an invalid argument was specified.
|
InvalidProxy
Raised when you have configured a bad proxy server.
|
InvalidService
Raised when the url is invalid.
|
LimitsExceeded
Raised when you have exceeded your limits.
|
LoginFailed
Raised when login credentials are not accepted.
|
MicrophoneInUse
Raised when the microphone is in use.
|
MicrophoneStatusUnknown
Raised when the microphone status is not currently known.
|
MicrophoneUnavailable
Raised when the microphone is in use.
|
NameNotFound
Raised when the service can't be resolved.
|
SecurityFailed
Raised when you are not authorized.
|
Timeout
Raised when the connection has timed out.
|
Unhandled
Raised when an unhandled error occurs.
|
Unknown
Catch all for unknown error types.
|
Modifier and Type | Method and Description |
---|---|
static SpeechClientStatus |
fromInt(int errorCode) |
int |
getSpeechClientStatus() |
static SpeechClientStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpeechClientStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeechClientStatus SecurityFailed
public static final SpeechClientStatus LoginFailed
public static final SpeechClientStatus Timeout
public static final SpeechClientStatus ConnectionFailed
public static final SpeechClientStatus NameNotFound
public static final SpeechClientStatus InvalidService
public static final SpeechClientStatus InvalidProxy
public static final SpeechClientStatus BadResponse
public static final SpeechClientStatus InternalError
public static final SpeechClientStatus AuthenticationError
public static final SpeechClientStatus AuthenticationExpired
public static final SpeechClientStatus LimitsExceeded
public static final SpeechClientStatus AudioOutputFailed
public static final SpeechClientStatus MicrophoneInUse
public static final SpeechClientStatus MicrophoneUnavailable
public static final SpeechClientStatus MicrophoneStatusUnknown
public static final SpeechClientStatus InvalidArgument
public static final SpeechClientStatus Unhandled
public static final SpeechClientStatus Unknown
public static SpeechClientStatus[] values()
for (SpeechClientStatus c : SpeechClientStatus.values()) System.out.println(c);
public static SpeechClientStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getSpeechClientStatus()
public static SpeechClientStatus fromInt(int errorCode)