# PushNotificationLevel

public enum PushNotificationLevel

## Entries

NONE
Link copied to clipboard
NONE
PUSH_NOTIFICATION_LEVEL_ALL_MESSAGE
Link copied to clipboard
PUSH_NOTIFICATION_LEVEL_ALL_MESSAGE

全部消息通知（接收全部消息通知 -- 显示指定关闭免打扰功能）

PUSH_NOTIFICATION_LEVEL_DEFAULT
Link copied to clipboard
PUSH_NOTIFICATION_LEVEL_DEFAULT

未设置（向上查询群或者APP级别设置）//存量数据中0表示未设置

PUSH_NOTIFICATION_LEVEL_MENTION
Link copied to clipboard
PUSH_NOTIFICATION_LEVEL_MENTION

群聊，超级群 @所有人 或者 @成员列表有自己 时通知；单聊代表消息不通知

PUSH_NOTIFICATION_LEVEL_MENTION_USERS
Link copied to clipboard
PUSH_NOTIFICATION_LEVEL_MENTION_USERS

群聊，超级群 @成员列表有自己时通知，@所有人不通知；单聊代表消息不通知

PUSH_NOTIFICATION_LEVEL_MENTION_ALL
Link copied to clipboard
PUSH_NOTIFICATION_LEVEL_MENTION_ALL

群聊，超级群 @所有人通知，其他情况都不通知；单聊代表消息不通知

PUSH_NOTIFICATION_LEVEL_BLOCKED
Link copied to clipboard
PUSH_NOTIFICATION_LEVEL_BLOCKED

消息通知被屏蔽，即不接收消息通知

## Properties

value
Link copied to clipboard
public int value

## Functions

getValue
Link copied to clipboard
public int getValue()
setValue
Link copied to clipboard
public static IRongCoreEnum.PushNotificationLevel setValue(int code)
valueOf
Link copied to clipboard
public 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.)

values
Link copied to clipboard
public 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.