public static enum NotificationInfo.PayloadFormat extends Enum<NotificationInfo.PayloadFormat>
Enum Constant and Description |
---|
JSON_API_V1 |
NONE |
Modifier and Type | Method and Description |
---|---|
static NotificationInfo.PayloadFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationInfo.PayloadFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationInfo.PayloadFormat JSON_API_V1
public static final NotificationInfo.PayloadFormat NONE
public static NotificationInfo.PayloadFormat[] values()
for (NotificationInfo.PayloadFormat c : NotificationInfo.PayloadFormat.values()) System.out.println(c);
public static NotificationInfo.PayloadFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Google LLC. All rights reserved.