public enum ChannelAudienceType extends java.lang.Enum<ChannelAudienceType>
Enum Constant and Description |
---|
AMAZON_CHANNEL |
ANDROID_CHANNEL |
CHANNEL |
EMAIL_ADDRESS |
IOS_CHANNEL |
NAMED_USER_ID |
WEB_CHANNEL |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<ChannelAudienceType> |
find(java.lang.String identifier) |
java.lang.String |
getIdentifier() |
static ChannelAudienceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChannelAudienceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelAudienceType IOS_CHANNEL
public static final ChannelAudienceType ANDROID_CHANNEL
public static final ChannelAudienceType AMAZON_CHANNEL
public static final ChannelAudienceType WEB_CHANNEL
public static final ChannelAudienceType CHANNEL
public static final ChannelAudienceType EMAIL_ADDRESS
public static final ChannelAudienceType NAMED_USER_ID
public static ChannelAudienceType[] values()
for (ChannelAudienceType c : ChannelAudienceType.values()) System.out.println(c);
public static ChannelAudienceType 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<ChannelAudienceType> find(java.lang.String identifier)
public java.lang.String getIdentifier()