public static class BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent extends Event
BleNodeConfig.HistoricalDataLogFilter.onEvent(HistoricalDataLogEvent)
that provides
information you can use to determine whether or not data()
should be logged.Modifier and Type | Method and Description |
---|---|
java.util.UUID |
charUuid()
The characteristic
UUID associated with data() . |
byte[] |
data()
The data to be written.
|
BleDevice |
device()
|
EpochTime |
epochTime()
Timestamp of when the data was obtained.
|
static boolean |
includesDisk(int enum_PersistenceLevel) |
static boolean |
includesMemory(int enum_PersistenceLevel) |
boolean |
isFor(java.util.UUID uuid)
Returns true if this event is associated with the given uuid.
|
boolean |
isFor(java.util.UUID[] uuids)
Returns true if this event is associated with any of the given uuids.
|
java.lang.String |
macAddress()
The device or server client in question.
|
BleNode |
node()
The node that is currently trying to reconnect.
|
BleServer |
server()
|
BleNodeConfig.HistoricalDataLogFilter.Source |
source()
The source of the data - read, notify, etc.
|
java.lang.String |
toString() |
public BleNode node()
public BleDevice device()
public BleServer server()
public java.lang.String macAddress()
public byte[] data()
public EpochTime epochTime()
public BleNodeConfig.HistoricalDataLogFilter.Source source()
public java.util.UUID charUuid()
UUID
associated with data()
.public boolean isFor(java.util.UUID uuid)
public boolean isFor(java.util.UUID[] uuids)
public java.lang.String toString()
toString
in class java.lang.Object
public static boolean includesMemory(int enum_PersistenceLevel)
public static boolean includesDisk(int enum_PersistenceLevel)