public enum CustomEventChannelType extends java.lang.Enum<CustomEventChannelType>
Enum Constant and Description |
---|
AMAZON_CHANNEL |
ANDROID_CHANNEL |
GENERIC_CHANNEL |
IOS_CHANNEL |
WEB_CHANNEL |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<CustomEventChannelType> |
find(java.lang.String identifier) |
java.lang.String |
getIdentifier() |
static CustomEventChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomEventChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomEventChannelType IOS_CHANNEL
public static final CustomEventChannelType ANDROID_CHANNEL
public static final CustomEventChannelType AMAZON_CHANNEL
public static final CustomEventChannelType GENERIC_CHANNEL
public static final CustomEventChannelType WEB_CHANNEL
public static CustomEventChannelType[] values()
for (CustomEventChannelType c : CustomEventChannelType.values()) System.out.println(c);
public static CustomEventChannelType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.Optional<CustomEventChannelType> find(java.lang.String identifier)
public java.lang.String getIdentifier()