Package com.unblu.sdk.core.notification
Enum UnbluNotificationTag
- java.lang.Object
-
- java.lang.Enum<UnbluNotificationTag>
-
- com.unblu.sdk.core.notification.UnbluNotificationTag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnbluNotificationTag>
public enum UnbluNotificationTag extends java.lang.Enum<UnbluNotificationTag>
Possible values of the notification event tag. see:EventNotification
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALL
Sent when a call notification message is sentMESSAGE
Sent when a chat notification message is sentMISSED_CALL
Sent when an incoming call is missed or rejectedQUEUE
Sent when a new chat request is added to the queue, redeemed, forwarded or a similar action occurs.UNKNOWN
Sent when there is no specific notification tag
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnbluNotificationTag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnbluNotificationTag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUE
public static final UnbluNotificationTag QUEUE
Sent when a new chat request is added to the queue, redeemed, forwarded or a similar action occurs.
-
MESSAGE
public static final UnbluNotificationTag MESSAGE
Sent when a chat notification message is sent
-
CALL
public static final UnbluNotificationTag CALL
Sent when a call notification message is sent
-
MISSED_CALL
public static final UnbluNotificationTag MISSED_CALL
Sent when an incoming call is missed or rejected
-
UNKNOWN
public static final UnbluNotificationTag UNKNOWN
Sent when there is no specific notification tag
-
-
Method Detail
-
values
public static UnbluNotificationTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UnbluNotificationTag c : UnbluNotificationTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnbluNotificationTag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-