public enum NotificationID extends java.lang.Enum<NotificationID>
| Enum Constant and Description |
|---|
backupBatteryInUse |
log |
lowBattery |
unknown |
| Modifier and Type | Method and Description |
|---|---|
static NotificationID |
fromValue(int value)
Returns the NotificationID enum corresponding to the given integer value.
|
byte |
getCode()
Returns the byte code of the notification.
|
static java.lang.String[] |
names()
Returns an array containing the names of the enum constants.
|
java.lang.String |
toString()
Returns the string representation of the notification.
|
byte |
value()
Returns the byte value of the notification.
|
static NotificationID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationID unknown
public static final NotificationID backupBatteryInUse
public static final NotificationID lowBattery
public static final NotificationID log
public static NotificationID[] values()
for (NotificationID c : NotificationID.values()) System.out.println(c);
public static NotificationID 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 byte value()
public byte getCode()
public java.lang.String toString()
toString in class java.lang.Enum<NotificationID>public static NotificationID fromValue(int value)
value - The integer value to match against the NotificationID enum values.public static java.lang.String[] names()