public enum RCRTCVideoEventCode extends Enum<RCRTCVideoEventCode>
枚举常量和说明 |
---|
END_INTERRUPTION
摄像头资源恢复
|
IN_INTERRUPTION
摄像头资源被其他应用抢占
|
UNKNOW_ERROR
未知错误
|
限定符和类型 | 字段和说明 |
---|---|
int |
code |
public static final RCRTCVideoEventCode UNKNOW_ERROR
public static final RCRTCVideoEventCode IN_INTERRUPTION
public static final RCRTCVideoEventCode END_INTERRUPTION
public static RCRTCVideoEventCode[] values()
for (RCRTCVideoEventCode c : RCRTCVideoEventCode.values()) System.out.println(c);
public static RCRTCVideoEventCode valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值