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