Package io.rong.imlib.model
Enum Conversation.ConversationNotificationStatus
-
- All Implemented Interfaces:
public enum Conversation.ConversationNotificationStatus
会话提醒状态。
-
-
Field Summary
Fields Modifier and Type Field Description public final int
value
-
Enum Constant Summary
Enum Constants Enum Constant Description DO_NOT_DISTURB
免打扰。
NOTIFY
提醒。
-
Method Summary
Modifier and Type Method Description static Array<Conversation.ConversationNotificationStatus>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static Conversation.ConversationNotificationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getValue()
获取会话提醒状态。 static Conversation.ConversationNotificationStatus
setValue(int code)
设置会话提醒状态。 -
-
Method Detail
-
values
static Array<Conversation.ConversationNotificationStatus> 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 Conversation.ConversationNotificationStatus 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 Conversation.ConversationNotificationStatus setValue(int code)
设置会话提醒状态。
- Parameters:
code
- 会话提醒状态。- Returns:
会话提醒状态枚举。
-
-
-
-