public static enum NotificationPayload.Type extends java.lang.Enum<NotificationPayload.Type>
Enum Constant and Description |
---|
ADDED_TO_CHANNEL |
INVITED_TO_CHANNEL |
NEW_MESSAGE |
REMOVED_FROM_CHANNEL |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static NotificationPayload.Type |
fromString(java.lang.String in) |
static NotificationPayload.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationPayload.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationPayload.Type UNKNOWN
public static final NotificationPayload.Type NEW_MESSAGE
public static final NotificationPayload.Type INVITED_TO_CHANNEL
public static final NotificationPayload.Type ADDED_TO_CHANNEL
public static final NotificationPayload.Type REMOVED_FROM_CHANNEL
public static NotificationPayload.Type[] values()
for (NotificationPayload.Type c : NotificationPayload.Type.values()) System.out.println(c);
public static NotificationPayload.Type 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 NotificationPayload.Type fromString(java.lang.String in)