Package io.rong.imlib
Enum RongIMClient.BlacklistStatus
-
- All Implemented Interfaces:
public enum RongIMClient.BlacklistStatus
是否在黑名单中状态。
-
-
Field Summary
Fields Modifier and Type Field Description public int
value
-
Enum Constant Summary
Enum Constants Enum Constant Description IN_BLACK_LIST
在黑名单中。
NOT_IN_BLACK_LIST
不在黑名单中。
-
Method Summary
Modifier and Type Method Description static Array<RongIMClient.BlacklistStatus>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static RongIMClient.BlacklistStatus
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getValue()
获取黑名单状态。 static RongIMClient.BlacklistStatus
setValue(int code)
设置黑名单状态。 -
-
Method Detail
-
values
static Array<RongIMClient.BlacklistStatus> 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 RongIMClient.BlacklistStatus 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()
获取黑名单状态。
- Returns:
黑名单状态。
-
setValue
static RongIMClient.BlacklistStatus setValue(int code)
设置黑名单状态。
- Parameters:
code
- 黑名单状态。- Returns:
黑名单状态枚举。
-
-
-
-