public static class BleNodeConfig.HistoricalDataLogFilter.Please
extends java.lang.Object
BleNodeConfig.HistoricalDataLogFilter.onEvent(HistoricalDataLogEvent)
that determines if/how BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.data()
will get logged.public long getLimit()
andLimitLogTo(long)
, or Long.MAX_VALUE
if not applicable.public byte[] getAmendedData()
andAmendData(byte[])
, or null
if not applicable.public EpochTime getAmendedEpochTime()
andAmendEpochTime(EpochTime)
, or EpochTime.NULL
if not applicable.public BleNodeConfig.HistoricalDataLogFilter.Please andAmendData(byte[] data)
BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.data()
before it's written to the log.this
so you can chain calls together.public BleNodeConfig.HistoricalDataLogFilter.Please andAmendEpochTime(EpochTime epochTime)
BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.epochTime()
before it's written to the log.this
so you can chain calls together.public BleNodeConfig.HistoricalDataLogFilter.Please andLimitLogTo(long logLimit)
BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.data()
is written.
So if you call this with 0
BleDevice.getHistoricalDataCount(java.util.UUID)
will return 1
after this.this
so you can chain calls together.public static BleNodeConfig.HistoricalDataLogFilter.Please logToDisk()
BleDevice.clearHistoricalData()
overloads.public static BleNodeConfig.HistoricalDataLogFilter.Please logToMemory()
public static BleNodeConfig.HistoricalDataLogFilter.Please logToMemoryAndDisk()
logToMemory()
and logToDisk()
.public static BleNodeConfig.HistoricalDataLogFilter.Please doNotLog()