public static enum SpeechRecognizerError.Description extends Enum<SpeechRecognizerError.Description>
| Enum Constant and Description |
|---|
AUDIO_RECORDING_ERROR |
CLIENT_ERROR |
INSUFFICIENT_PERMISSIONS |
NETWORK_ERROR |
NETWORK_TIMEOUT |
NO_RECOGNITION_MATCH |
RECOGNIZER_BUSY |
SERVER_ERROR |
SPEECH_TIMEOUT |
UNKNOWN_ERROR |
| Modifier and Type | Field and Description |
|---|---|
static SpeechRecognizerError.Description[] |
VALUES
A cache of the error descriptions to reduce overhead accessing them.
|
| Modifier and Type | Method and Description |
|---|---|
static SpeechRecognizerError.Description |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpeechRecognizerError.Description[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeechRecognizerError.Description UNKNOWN_ERROR
public static final SpeechRecognizerError.Description NETWORK_TIMEOUT
public static final SpeechRecognizerError.Description NETWORK_ERROR
public static final SpeechRecognizerError.Description AUDIO_RECORDING_ERROR
public static final SpeechRecognizerError.Description SERVER_ERROR
public static final SpeechRecognizerError.Description CLIENT_ERROR
public static final SpeechRecognizerError.Description SPEECH_TIMEOUT
public static final SpeechRecognizerError.Description NO_RECOGNITION_MATCH
public static final SpeechRecognizerError.Description RECOGNIZER_BUSY
public static final SpeechRecognizerError.Description INSUFFICIENT_PERMISSIONS
public static final SpeechRecognizerError.Description[] VALUES
public static SpeechRecognizerError.Description[] values()
for (SpeechRecognizerError.Description c : SpeechRecognizerError.Description.values()) System.out.println(c);
public static SpeechRecognizerError.Description valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.