public static class HistoricalDataQueryListener.HistoricalDataQueryEvent extends Event
GenericListener_Void.onEvent(Event)
that provides
further information about the status of a historical data load to memory using BleDevice.loadHistoricalData()
(or overloads).Constructor and Description |
---|
HistoricalDataQueryEvent(BleNode endpoint,
java.util.UUID uuid,
android.database.Cursor cursor,
HistoricalDataQueryListener.Status status,
java.lang.String rawQuery) |
Modifier and Type | Method and Description |
---|---|
android.database.Cursor |
cursor()
The resulting
Cursor from the database query. |
java.lang.String |
rawQuery()
The raw query given to the database.
|
HistoricalDataQueryListener.Status |
status()
The general status of the query operation.
|
java.lang.String |
toString() |
java.util.UUID |
uuid()
The
UUID that the data is being queried for. |
boolean |
wasSuccess()
|
public HistoricalDataQueryEvent(BleNode endpoint, java.util.UUID uuid, android.database.Cursor cursor, HistoricalDataQueryListener.Status status, java.lang.String rawQuery)
public java.util.UUID uuid()
UUID
that the data is being queried for.public HistoricalDataQueryListener.Status status()
public android.database.Cursor cursor()
Cursor
from the database query. This will never be null, just an empty cursor if anything goes wrong.public java.lang.String rawQuery()
public boolean wasSuccess()
public java.lang.String toString()
toString
in class java.lang.Object