public static enum Context.Origin extends Enum<Context.Origin>
Saver
interface.Enum Constant and Description |
---|
APNS
The Apple Push Notification Service.
|
DIFFUSION
The Diffusion server or client.
|
GCM
Google Cloud Messaging.
|
Modifier and Type | Method and Description |
---|---|
static Context.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Context.Origin APNS
public static final Context.Origin GCM
public static final Context.Origin DIFFUSION
public static Context.Origin[] values()
for (Context.Origin c : Context.Origin.values()) System.out.println(c);
public static Context.Origin 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 © 2016 Push Technology Ltd. All Rights Reserved.