public enum RCRTCAudioEventCode extends Enum<RCRTCAudioEventCode>
枚举常量和说明 |
---|
AUDIO_RECORD_START_FAILED
开启音频采集设备失败
|
END_INTERRUPTION
其他应用释放音频设备,尝试恢复音频设备
|
IN_INTERRUPTION
音频采集设备被其他应用抢占
|
UNKNOW_ERROR
未知错误
|
限定符和类型 | 字段和说明 |
---|---|
int |
code |
public static final RCRTCAudioEventCode UNKNOW_ERROR
public static final RCRTCAudioEventCode IN_INTERRUPTION
public static final RCRTCAudioEventCode END_INTERRUPTION
public static final RCRTCAudioEventCode AUDIO_RECORD_START_FAILED
public static RCRTCAudioEventCode[] values()
for (RCRTCAudioEventCode c : RCRTCAudioEventCode.values()) System.out.println(c);
public static RCRTCAudioEventCode valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值