public static enum BleNodeConfig.HistoricalDataLogFilter.Source extends Enum<BleNodeConfig.HistoricalDataLogFilter.Source> implements UsesCustomNull
| Enum Constant and Description |
|---|
INDICATION
|
MULTIPLE_MANUAL_ADDITIONS
Originates from manual addition of data through
BleDevice.addHistoricalData(UUID, java.util.Iterator)
or various overloads that add multiple pieces of data all at once. |
NOTIFICATION
|
NULL
Satisfies soft contract of
UsesCustomNull |
POLL
|
PSUEDO_NOTIFICATION
Originates from
BleDevice.enableNotify(java.util.UUID, Interval, com.idevicesinc.sweetblue.BleDevice.ReadWriteListener),
where a force-read timeout is invoked, or from BleDevice.startChangeTrackingPoll(java.util.UUID, com.idevicesinc.sweetblue.utils.Interval, BleDevice.ReadWriteListener). |
READ
Originates from
BleDevice.read(java.util.UUID, BleDevice.ReadWriteListener). |
SINGLE_MANUAL_ADDITION
Originates from manual addition of data through
BleDevice.addHistoricalData(UUID, byte[], EpochTime)
or various overloads that add one piece of historical data. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNull()
|
static BleNodeConfig.HistoricalDataLogFilter.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BleNodeConfig.HistoricalDataLogFilter.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BleNodeConfig.HistoricalDataLogFilter.Source NULL
UsesCustomNullpublic static final BleNodeConfig.HistoricalDataLogFilter.Source READ
BleDevice.read(java.util.UUID, BleDevice.ReadWriteListener).BleDevice.ReadWriteListener.Type.READpublic static final BleNodeConfig.HistoricalDataLogFilter.Source POLL
BleDevice.startPoll(java.util.UUID, com.idevicesinc.sweetblue.utils.Interval, BleDevice.ReadWriteListener).BleDevice.ReadWriteListener.Type.POLLpublic static final BleNodeConfig.HistoricalDataLogFilter.Source NOTIFICATION
public static final BleNodeConfig.HistoricalDataLogFilter.Source INDICATION
public static final BleNodeConfig.HistoricalDataLogFilter.Source PSUEDO_NOTIFICATION
BleDevice.enableNotify(java.util.UUID, Interval, com.idevicesinc.sweetblue.BleDevice.ReadWriteListener),
where a force-read timeout is invoked, or from BleDevice.startChangeTrackingPoll(java.util.UUID, com.idevicesinc.sweetblue.utils.Interval, BleDevice.ReadWriteListener).public static final BleNodeConfig.HistoricalDataLogFilter.Source SINGLE_MANUAL_ADDITION
BleDevice.addHistoricalData(UUID, byte[], EpochTime)
or various overloads that add one piece of historical data.public static final BleNodeConfig.HistoricalDataLogFilter.Source MULTIPLE_MANUAL_ADDITIONS
BleDevice.addHistoricalData(UUID, java.util.Iterator)
or various overloads that add multiple pieces of data all at once.public static BleNodeConfig.HistoricalDataLogFilter.Source[] values()
for (BleNodeConfig.HistoricalDataLogFilter.Source c : BleNodeConfig.HistoricalDataLogFilter.Source.values()) System.out.println(c);
public static BleNodeConfig.HistoricalDataLogFilter.Source valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isNull()
isNull in interface UsesCustomNull