Package io.rong.imlib.model
Enum ChatRoomMemberBanEvent.ChatRoomMemberBanType
-
- All Implemented Interfaces:
public enum ChatRoomMemberBanEvent.ChatRoomMemberBanType聊天室禁言/解除禁言操作类型枚举
-
-
Field Summary
Fields Modifier and Type Field Description public intvalue
-
Enum Constant Summary
Enum Constants Enum Constant Description UnmuteUsers解除指定聊天室中用户禁言
MuteUsers禁言指定聊天室中用户
UnmuteAll解除聊天室全体禁言
MuteAll聊天室全体禁言
RemoveWhitelist移出禁言用户白名单
AddWhitelist添加禁言用户白名单
UnmuteGlobal解除用户聊天室全局禁言
MuteGlobal用户聊天室全局禁言
-
Method Summary
Modifier and Type Method Description static ChatRoomMemberBanEvent.ChatRoomMemberBanTypevalueOf(int code)static Array<ChatRoomMemberBanEvent.ChatRoomMemberBanType>values()Returns an array containing the constants of this enum type, in the order they're declared. static ChatRoomMemberBanEvent.ChatRoomMemberBanTypevalueOf(String name)Returns the enum constant of this type with the specified name. intgetValue()-
-
Method Detail
-
valueOf
static ChatRoomMemberBanEvent.ChatRoomMemberBanType valueOf(int code)
-
values
static Array<ChatRoomMemberBanEvent.ChatRoomMemberBanType> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static ChatRoomMemberBanEvent.ChatRoomMemberBanType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
getValue
int getValue()
-
-
-
-