public enum NotificationResults extends java.lang.Enum<NotificationResults>
Enum Constant and Description |
---|
COMMAND_NOT_SUPPORTED
Specified command is not supported
|
DEVICE_ALREADY_ENABLED
Notification device is already enabled.
|
DEVICE_INVALID
Notification device is invalid.
|
DEVICE_NOT_CONNECTED
Notification device is not connected.
|
DEVICE_NOT_ENABLED
Notification device is not enabled.
|
FAILURE
Failure.
|
FEATURE_NOT_SUPPORTED
Feature not supported.
|
INVALID_VALUE
The value specified is invalid.
|
SUCCESS
Success.
|
UNDEFINED
Error code not defined.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description for the error.
|
int |
getValue()
This method provides integer value assigned to the enum.
|
static NotificationResults |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationResults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationResults SUCCESS
public static final NotificationResults DEVICE_NOT_CONNECTED
public static final NotificationResults DEVICE_INVALID
public static final NotificationResults DEVICE_NOT_ENABLED
public static final NotificationResults DEVICE_ALREADY_ENABLED
public static final NotificationResults FAILURE
public static final NotificationResults INVALID_VALUE
public static final NotificationResults FEATURE_NOT_SUPPORTED
public static final NotificationResults COMMAND_NOT_SUPPORTED
public static final NotificationResults UNDEFINED
public static NotificationResults[] values()
for (NotificationResults c : NotificationResults.values()) System.out.println(c);
public static NotificationResults 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 getDescription()