Package io.rong.imlib
Enum IRongCoreEnum.PushNotificationLevel
-
- All Implemented Interfaces:
public enum IRongCoreEnum.PushNotificationLevel
-
-
Field Summary
Fields Modifier and Type Field Description public int
value
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
PUSH_NOTIFICATION_LEVEL_ALL_MESSAGE
全部消息通知(接收全部消息通知 -- 显示指定关闭免打扰功能)
PUSH_NOTIFICATION_LEVEL_DEFAULT
未设置(向上查询群或者APP级别设置)//存量数据中0表示未设置
PUSH_NOTIFICATION_LEVEL_MENTION
群聊,超级群 @所有人 或者 @成员列表有自己 时通知;单聊代表消息不通知
PUSH_NOTIFICATION_LEVEL_MENTION_USERS
群聊,超级群 @成员列表有自己时通知,@所有人不通知;单聊代表消息不通知
PUSH_NOTIFICATION_LEVEL_MENTION_ALL
群聊,超级群 @所有人通知,其他情况都不通知;单聊代表消息不通知
PUSH_NOTIFICATION_LEVEL_BLOCKED
消息通知被屏蔽,即不接收消息通知
-
Method Summary
Modifier and Type Method Description static Array<IRongCoreEnum.PushNotificationLevel>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static IRongCoreEnum.PushNotificationLevel
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getValue()
static IRongCoreEnum.PushNotificationLevel
setValue(int code)
-
-
Method Detail
-
values
static Array<IRongCoreEnum.PushNotificationLevel> 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.PushNotificationLevel 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()
-
setValue
static IRongCoreEnum.PushNotificationLevel setValue(int code)
-
-
-
-