public static enum WriteListener.Cause extends java.lang.Enum<WriteListener.Cause>
Enum Constant and Description |
---|
FEATURE_NOT_SUPPORTED |
GATT_FAILURE |
INCORRECT_VALUE |
Modifier and Type | Method and Description |
---|---|
static WriteListener.Cause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteListener.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteListener.Cause GATT_FAILURE
public static final WriteListener.Cause FEATURE_NOT_SUPPORTED
public static final WriteListener.Cause INCORRECT_VALUE
public static WriteListener.Cause[] values()
for (WriteListener.Cause c : WriteListener.Cause.values()) System.out.println(c);
public static WriteListener.Cause 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 null