Package com.unblu.sdk.core.ui
Enum UnbluUiRequestReason
- java.lang.Object
-
- java.lang.Enum<UnbluUiRequestReason>
-
- com.unblu.sdk.core.ui.UnbluUiRequestReason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnbluUiRequestReason>
public enum UnbluUiRequestReason extends java.lang.Enum<UnbluUiRequestReason>
Send with theUiVisibilityRequestModel
. It defines several reason why the UI of Unblu needs to be shown.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INCOMING_CALL
There is an incoming callMISSED_CALL
There was a missed callNEW_MESSAGES
There are one or more new messagesOTHER
There is another not defined reason
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnbluUiRequestReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnbluUiRequestReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW_MESSAGES
public static final UnbluUiRequestReason NEW_MESSAGES
There are one or more new messages
-
INCOMING_CALL
public static final UnbluUiRequestReason INCOMING_CALL
There is an incoming call
-
MISSED_CALL
public static final UnbluUiRequestReason MISSED_CALL
There was a missed call
-
OTHER
public static final UnbluUiRequestReason OTHER
There is another not defined reason
-
-
Method Detail
-
values
public static UnbluUiRequestReason[] 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 (UnbluUiRequestReason c : UnbluUiRequestReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnbluUiRequestReason 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
-
-