public enum NotificationFoldStyle extends java.lang.Enum<NotificationFoldStyle>
Enum Constant and Description |
---|
ALL
Collapses all messages in the notification bar into one notification.
|
CONTACT
All messages in the same session are collapsed into one notification.
|
EXPAND
Expands all messages in the notification bar
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMsg() |
int |
getValue() |
static NotificationFoldStyle |
value(int value) |
static NotificationFoldStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationFoldStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationFoldStyle ALL
public static final NotificationFoldStyle EXPAND
public static final NotificationFoldStyle CONTACT
public static NotificationFoldStyle[] values()
for (NotificationFoldStyle c : NotificationFoldStyle.values()) System.out.println(c);
public static NotificationFoldStyle 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 int getValue()
public java.lang.String getMsg()
public static NotificationFoldStyle value(int value)