public static enum HistoricalDataQueryListener.Status extends java.lang.Enum<HistoricalDataQueryListener.Status> implements UsesCustomNull
BleNode.select()
.Enum Constant and Description |
---|
ERROR
General failure - this feature is still in
Alpha so expect more detailed error statuses in the future. |
NO_TABLE
There is no backing table for the given
UUID . |
NULL
Fulfills soft contract of
UsesCustomNull . |
NULL_ENDPOINT
Tried to query historical data on
BleDevice.NULL or BleServer.NULL . |
SUCCESS
Query completed successfully -
HistoricalDataQueryListener.HistoricalDataQueryEvent.cursor() may be empty but there were no exceptions or anything. |
Modifier and Type | Method and Description |
---|---|
boolean |
isNull()
Returns true if
this== NULL . |
static HistoricalDataQueryListener.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HistoricalDataQueryListener.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistoricalDataQueryListener.Status NULL
UsesCustomNull
.public static final HistoricalDataQueryListener.Status NULL_ENDPOINT
BleDevice.NULL
or BleServer.NULL
.public static final HistoricalDataQueryListener.Status SUCCESS
HistoricalDataQueryListener.HistoricalDataQueryEvent.cursor()
may be empty but there were no exceptions or anything.public static final HistoricalDataQueryListener.Status NO_TABLE
UUID
.public static final HistoricalDataQueryListener.Status ERROR
Alpha
so expect more detailed error statuses in the future.public static HistoricalDataQueryListener.Status[] values()
for (HistoricalDataQueryListener.Status c : HistoricalDataQueryListener.Status.values()) System.out.println(c);
public static HistoricalDataQueryListener.Status 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 boolean isNull()
this==
NULL
.isNull
in interface UsesCustomNull