public static enum Notification.Priority extends Enum<Notification.Priority>
Modifier and Type | Method and Description |
---|---|
static Notification.Priority |
forValue(String value)
Generate a Priority from a string.
|
String |
toString() |
static Notification.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notification.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.Priority HIGH
public static final Notification.Priority LOW
public static Notification.Priority[] values()
for (Notification.Priority c : Notification.Priority.values()) System.out.println(c);
public static Notification.Priority 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 nullpublic String toString()
toString
in class Enum<Notification.Priority>
public static Notification.Priority forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.