public interface BulkUpdater
Modifier and Type | Interface and Description |
---|---|
static interface |
BulkUpdater.BulkUpdaterCallback |
static class |
BulkUpdater.Status
Device status enum
|
Modifier and Type | Method and Description |
---|---|
void |
connectAndUpdate(ConfigurableDevice device)
Connects to beacon and updates it's firmware.
|
void |
disable()
Stops bulk updating process
|
void |
enable(BulkUpdater.BulkUpdaterCallback callback)
Starts bulk updating process
|
boolean |
isDeviceUpdating(DeviceId device)
Checks if given device is currently being updated by bulk updater
|
void |
onDevicesFound(java.util.List<ConfigurableDevicesScanner.ScanResultItem> devices)
Sends scanned devices to bulk updater
|
void |
setDevicesToUpdate(java.util.List<DeviceId> devicesToUpdate)
Sets devices to update
|
void enable(BulkUpdater.BulkUpdaterCallback callback)
void disable()
boolean isDeviceUpdating(DeviceId device)
void setDevicesToUpdate(java.util.List<DeviceId> devicesToUpdate)
void onDevicesFound(java.util.List<ConfigurableDevicesScanner.ScanResultItem> devices)
void connectAndUpdate(ConfigurableDevice device)
enable(BulkUpdaterCallback)
method