public static class HistoricalDataLoadListener.HistoricalDataLoadEvent 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).Modifier and Type | Method and Description |
---|---|
java.lang.String |
macAddress()
The mac address that the data is being queried for.
|
EpochTimeRange |
range()
The resulting time range spanning all of the data loaded to memory, or
EpochTimeRange.NULL if not applicable. |
HistoricalDataLoadListener.Status |
status()
The general status of the load operation.
|
java.lang.String |
toString() |
java.util.UUID |
uuid()
The
UUID that the data is being loaded for. |
boolean |
wasSuccess()
Returns
true if status() is either HistoricalDataLoadListener.Status.LOADED or
HistoricalDataLoadListener.Status.ALREADY_LOADED . |
public java.lang.String macAddress()
public java.util.UUID uuid()
UUID
that the data is being loaded for.public EpochTimeRange range()
EpochTimeRange.NULL
if not applicable.public HistoricalDataLoadListener.Status status()
public boolean wasSuccess()
true
if status()
is either HistoricalDataLoadListener.Status.LOADED
or
HistoricalDataLoadListener.Status.ALREADY_LOADED
.public java.lang.String toString()
toString
in class java.lang.Object