public enum PushTypes extends Enum<PushTypes> implements PushType
| Enum Constant and Description |
|---|
AEROGEAR_GCM
This value will cause AeroGear to provide a
PushRegistrar
instance which registers against both GCM and an AeroGear push server. |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static PushTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PushTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushTypes AEROGEAR_GCM
PushRegistrar
instance which registers against both GCM and an AeroGear push server.public static PushTypes[] values()
for (PushTypes c : PushTypes.values()) System.out.println(c);
public static PushTypes 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 getName()
getName in interface TypeDescriptorCopyright © 2013 JBoss by Red Hat. All Rights Reserved.