public static interface BleNodeConfig.HistoricalDataLogFilter
BleNodeConfig.historicalDataLogFilter
to control
how/if historical data from BLE operations is logged.Modifier and Type | Interface and Description |
---|---|
static class |
BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
Event passed to
onEvent(HistoricalDataLogEvent) that provides
information you can use to determine whether or not BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.data() should be logged. |
static class |
BleNodeConfig.HistoricalDataLogFilter.Please
Special value returned from
onEvent(HistoricalDataLogEvent)
that determines if/how BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.data() will get logged. |
static class |
BleNodeConfig.HistoricalDataLogFilter.Source
Signifies where the data came from, usually from a BLE read or notification.
|
Modifier and Type | Field and Description |
---|---|
static BleNodeConfig.HistoricalDataLogFilter |
DISABLED
Special value you can use in place of Java's built-in
null , just for code readability. |
static int |
PersistenceLevel_BOTH |
static int |
PersistenceLevel_DISK |
static int |
PersistenceLevel_MEMORY |
static int |
PersistenceLevel_NONE |
Modifier and Type | Method and Description |
---|---|
BleNodeConfig.HistoricalDataLogFilter.Please |
onEvent(BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent e)
Implement this method to be notified of when the library requests whether historical data should be written to a log,
and to respond with your preference of if/how this data should be written.
|
static final BleNodeConfig.HistoricalDataLogFilter DISABLED
null
, just for code readability.static final int PersistenceLevel_NONE
static final int PersistenceLevel_MEMORY
static final int PersistenceLevel_DISK
static final int PersistenceLevel_BOTH
BleNodeConfig.HistoricalDataLogFilter.Please onEvent(BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent e)