public final class DeviceManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
FirmwareUpdatePolicy |
getFirmwareUpdatePolicy()
Retrieves the current policy for Cradle firmware updates, when a firmware
is avalable in the device.
|
static DeviceManager |
getInstance()
Returns an instance of the
DeviceManager. |
boolean |
setFirmwareUpdatePolicy(FirmwareUpdatePolicy policy)
Sets the policy required to update the Cradle firmware, when a firmware
is avalable in the device.
|
public static DeviceManager getInstance()
DeviceManager.public FirmwareUpdatePolicy getFirmwareUpdatePolicy()
FirmwareUpdatePolicy current required for Cradle firmware updates.public boolean setFirmwareUpdatePolicy(FirmwareUpdatePolicy policy)
policy - The required FirmwareUpdatePolicy to update the Cradle firmware.boolean true in case of success, false otherwise.