Enum SwrveNotificationChannel.ImportanceLevel
- java.lang.Object
-
- java.lang.Enum<SwrveNotificationChannel.ImportanceLevel>
-
- com.swrve.sdk.notifications.model.SwrveNotificationChannel.ImportanceLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SwrveNotificationChannel.ImportanceLevel>
- Enclosing class:
- SwrveNotificationChannel
public static enum SwrveNotificationChannel.ImportanceLevel extends java.lang.Enum<SwrveNotificationChannel.ImportanceLevel>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
androidImportance()
static SwrveNotificationChannel.ImportanceLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SwrveNotificationChannel.ImportanceLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
@SerializedName("default") public static final SwrveNotificationChannel.ImportanceLevel DEFAULT
-
HIGH
@SerializedName("high") public static final SwrveNotificationChannel.ImportanceLevel HIGH
-
LOW
@SerializedName("low") public static final SwrveNotificationChannel.ImportanceLevel LOW
-
MAX
@SerializedName("max") public static final SwrveNotificationChannel.ImportanceLevel MAX
-
MIN
@SerializedName("min") public static final SwrveNotificationChannel.ImportanceLevel MIN
-
NONE
@SerializedName("none") public static final SwrveNotificationChannel.ImportanceLevel NONE
-
-
Method Detail
-
values
public static SwrveNotificationChannel.ImportanceLevel[] 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 (SwrveNotificationChannel.ImportanceLevel c : SwrveNotificationChannel.ImportanceLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SwrveNotificationChannel.ImportanceLevel 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
-
androidImportance
public int androidImportance()
-
-