Package io.rong.imlib
Enum RongIMClient.BlacklistStatus
-
- All Implemented Interfaces:
public enum RongIMClient.BlacklistStatusIndicates whether the user is in the blocklist.
-
-
Field Summary
Fields Modifier and Type Field Description public intvalue
-
Enum Constant Summary
Enum Constants Enum Constant Description IN_BLACK_LISTIn the blocklist.
NOT_IN_BLACK_LISTNot in the blocklist.
-
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.BlacklistStatusvalueOf(String name)Returns the enum constant of this type with the specified name. intgetValue()Retrieves the blocklist status. static RongIMClient.BlacklistStatussetValue(int code)Sets the blocklist status. -
-
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()
Retrieves the blocklist status.
- Returns:
The blocklist status.
-
setValue
static RongIMClient.BlacklistStatus setValue(int code)
Sets the blocklist status.
- Parameters:
code- The blocklist status.- Returns:
The blocklist status enumeration.
-
-
-
-