public enum QChatMediaEndReason extends java.lang.Enum<QChatMediaEndReason>
枚举常量和说明 |
---|
ALL_MEMBERS_OUT
所有成员退出
|
CLOSE_BY_BACKEND
后台关闭
|
CLOSE_BY_MEMBER
房间被关闭
|
END_OF_LIFE
房间到期关闭
|
KICK_BY_SELF
多端同时加入同一房间被踢
|
KICK_OUT
被管理员踢出房间
|
LEAVE_BY_SELF
成员主动离开房间
|
LOGIN_STATE_ERROR
账号异常
|
SYNC_DATA_ERROR
数据同步错误
|
UNKNOWN
未知异常
|
限定符和类型 | 方法和说明 |
---|---|
static QChatMediaEndReason |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static QChatMediaEndReason[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final QChatMediaEndReason LEAVE_BY_SELF
public static final QChatMediaEndReason SYNC_DATA_ERROR
public static final QChatMediaEndReason KICK_BY_SELF
public static final QChatMediaEndReason KICK_OUT
public static final QChatMediaEndReason CLOSE_BY_MEMBER
public static final QChatMediaEndReason END_OF_LIFE
public static final QChatMediaEndReason ALL_MEMBERS_OUT
public static final QChatMediaEndReason CLOSE_BY_BACKEND
public static final QChatMediaEndReason LOGIN_STATE_ERROR
public static final QChatMediaEndReason UNKNOWN
public static QChatMediaEndReason[] values()
for (QChatMediaEndReason c : QChatMediaEndReason.values()) System.out.println(c);
public static QChatMediaEndReason valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值