Package io.rong.imlib
Enum IRongCoreEnum.PushNotificationLevel
-
- All Implemented Interfaces:
public enum IRongCoreEnum.PushNotificationLevel
/~chinese 全部消息通知(接收全部消息通知 -- 显示指定关闭免打扰功能)
-
-
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
/~english
PUSH_NOTIFICATION_LEVEL_DEFAULT
/~english
PUSH_NOTIFICATION_LEVEL_MENTION
/~english
PUSH_NOTIFICATION_LEVEL_MENTION_USERS
/~english
PUSH_NOTIFICATION_LEVEL_MENTION_ALL
/~english
PUSH_NOTIFICATION_LEVEL_BLOCKED
/~english
-
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)
-
-
-
-