public static enum ChatRoomNotificationEvent.Type extends java.lang.Enum<ChatRoomNotificationEvent.Type>
枚举常量和说明 |
---|
add_chatroom_admin
添加聊天室房管
|
add_chatroom_blacklist
添加聊天室黑名单
|
add_chatroom_silence
禁言聊天室成员
|
del_chatroom_admin
取消聊天室房管
|
del_chatroom_blacklist
从聊天室黑名单中移除
|
del_chatroom_silence
解除聊天室成员禁言
|
限定符和类型 | 方法和说明 |
---|---|
static ChatRoomNotificationEvent.Type |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ChatRoomNotificationEvent.Type[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ChatRoomNotificationEvent.Type add_chatroom_admin
public static final ChatRoomNotificationEvent.Type del_chatroom_admin
public static final ChatRoomNotificationEvent.Type add_chatroom_blacklist
public static final ChatRoomNotificationEvent.Type del_chatroom_blacklist
public static final ChatRoomNotificationEvent.Type add_chatroom_silence
public static final ChatRoomNotificationEvent.Type del_chatroom_silence
public static ChatRoomNotificationEvent.Type[] values()
for (ChatRoomNotificationEvent.Type c : ChatRoomNotificationEvent.Type.values()) System.out.println(c);
public static ChatRoomNotificationEvent.Type valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值