public final class

DeviceManager

extends Object
java.lang.Object
   ↳ com.datalogic.device.DeviceManager

Class Overview

This class provides access to control several device options.

Summary

Public Methods
boolean enableCradleFailureEvent(boolean enable)
Enable or disable the cradle failure event
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean enableCradleFailureEvent (boolean enable)

Added in revision 34

Enable or disable the cradle failure event

Parameters
enable The required boolean for Cradle failure event.
Returns
  • boolean true in case of success, false otherwise.

public FirmwareUpdatePolicy getFirmwareUpdatePolicy ()

Added in revision 23

Retrieves the current policy for Cradle firmware updates, when a firmware is avalable in the device.

Returns

public static DeviceManager getInstance ()

Added in revision 23

Returns an instance of the DeviceManager.

Returns
  • The Device Manager.

public boolean setFirmwareUpdatePolicy (FirmwareUpdatePolicy policy)

Added in revision 23

Sets the policy required to update the Cradle firmware, when a firmware is avalable in the device.

Parameters
policy The required FirmwareUpdatePolicy to update the Cradle firmware.
Returns
  • boolean true in case of success, false otherwise.