public enum NotificationType extends java.lang.Enum<NotificationType>
Enum Constant and Description |
---|
BASE_FORMAT |
IMAGE |
MULTIPLE |
PROGRESS |
SIMPLE |
Modifier and Type | Method and Description |
---|---|
static NotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
返回具有指定名称的此类型的枚举常量。 |
static NotificationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
以声明顺序返回包含此枚举类型的常量的数组。 |
public static final NotificationType SIMPLE
public static final NotificationType BASE_FORMAT
public static final NotificationType IMAGE
public static final NotificationType MULTIPLE
public static final NotificationType PROGRESS
public static NotificationType[] values()
for (NotificationType c : NotificationType.values()) System.out.println(c);
public static NotificationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
-要返回的枚举常量的名称。
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
java.lang.NullPointerException
- if the argument is null