public static enum AudioRecordError.Description extends Enum<AudioRecordError.Description>
Enum Constant and Description |
---|
BAD_VALUE |
DEAD_OBJECT |
INVALID_OPERATION |
UNKNOWN_ERROR |
Modifier and Type | Method and Description |
---|---|
static AudioRecordError.Description |
valueOf(int errorCode)
Retrieve an error description by code.
|
static AudioRecordError.Description |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioRecordError.Description[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioRecordError.Description INVALID_OPERATION
public static final AudioRecordError.Description BAD_VALUE
public static final AudioRecordError.Description DEAD_OBJECT
public static final AudioRecordError.Description UNKNOWN_ERROR
public static AudioRecordError.Description[] values()
for (AudioRecordError.Description c : AudioRecordError.Description.values()) System.out.println(c);
public static AudioRecordError.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 nullpublic static AudioRecordError.Description valueOf(int errorCode)
errorCode
- The Android error code.Copyright © 2021. All rights reserved.