Package com.twilio.rest.ipmessaging.v2
Enum Credential.PushService
- java.lang.Object
-
- java.lang.Enum<Credential.PushService>
-
- com.twilio.rest.ipmessaging.v2.Credential.PushService
-
- All Implemented Interfaces:
Serializable
,Comparable<Credential.PushService>
- Enclosing class:
- Credential
public static enum Credential.PushService extends Enum<Credential.PushService>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Credential.PushService
forValue(String value)
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.
-
-
-
Enum Constant Detail
-
GCM
public static final Credential.PushService GCM
-
APN
public static final Credential.PushService APN
-
FCM
public static final Credential.PushService FCM
-
-
Method Detail
-
values
public static Credential.PushService[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Credential.PushService c : Credential.PushService.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Credential.PushService 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<Credential.PushService>
-
forValue
public static Credential.PushService forValue(String value)
-
-