public static enum IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR extends java.lang.Enum<IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR>
Enum Constant and Description |
---|
LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY
3: The microphone is in use.
|
LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION
2: No permission to use the local audio device.
|
LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE
5: The local audio encoding fails.
|
LOCAL_AUDIO_STREAM_ERROR_FAILURE
1: No specified reason for the local audio failure.
|
LOCAL_AUDIO_STREAM_ERROR_OK
0: The local audio is normal.
|
LOCAL_AUDIO_STREAM_ERROR_RECORD_FAILURE
4: The local audio recording fails.
|
Modifier and Type | Method and Description |
---|---|
static int |
getValue(IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR type) |
static IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR LOCAL_AUDIO_STREAM_ERROR_OK
public static final IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR LOCAL_AUDIO_STREAM_ERROR_FAILURE
public static final IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION
public static final IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY
public static final IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR LOCAL_AUDIO_STREAM_ERROR_RECORD_FAILURE
public static final IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE
public static IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR[] values()
for (IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR c : IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR.values()) System.out.println(c);
public static IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR 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 static int getValue(IRtcEngineEventHandler.LOCAL_AUDIO_STREAM_ERROR type)