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