public enum VariantType extends Enum<VariantType>
| Enum Constant and Description |
|---|
ADM
The type identifier for our Amazon Device Messaging (ADM) variants.
|
ANDROID
The type identifier for our Android variants.
|
IOS
The type identifier for our iOS variants.
|
WINDOWS_WNS
The type identifier for our Windows WNS variants.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeName()
Returns the actual type name of the variant type
|
static VariantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariantType ANDROID
public static final VariantType IOS
public static final VariantType WINDOWS_WNS
public static final VariantType ADM
public static VariantType[] values()
for (VariantType c : VariantType.values()) System.out.println(c);
public static VariantType 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 getTypeName()
Copyright © 2018 JBoss by Red Hat. All rights reserved.