public final enum

FirmwareUpdatePolicy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.FirmwareUpdatePolicy

Class Overview

Enumerative representing the Policy to update the Cradle Firmware.

Summary

Enum Values
FirmwareUpdatePolicy  FIRMWARE_UPDATE_POLICY_DISABLED  Firmware update feature is disabled. 
FirmwareUpdatePolicy  FIRMWARE_UPDATE_POLICY_NOT_SUPPORTED  Firmware update policy not supported. 
FirmwareUpdatePolicy  FIRMWARE_UPDATE_POLICY_ONLY_IF_NEWER_AVAILABLE  Firmware update is automatically performed only if a newer firmware compared with the current installed in the Cradle is available in the device. 
FirmwareUpdatePolicy  FIRMWARE_UPDATE_POLICY_UNKNOWN  Unknown firmware update policy. 
FirmwareUpdatePolicy  FIRMWARE_UPDATE_POLICY_USER_NOTIFICATION  A notification is shown to the user if a firmware update is available. 
Public Methods
static FirmwareUpdatePolicy fromInt(int n)
Retrieves the corresponding FirmwareUpdatePolicy value, from a valid integer.
int toInt()
Converts the FirmwareUpdatePolicy enum to its integer representing value.
static FirmwareUpdatePolicy valueOf(String name)
final static FirmwareUpdatePolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_DISABLED

Added in revision 23

Firmware update feature is disabled.

public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_NOT_SUPPORTED

Added in revision 23

Firmware update policy not supported.

public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_ONLY_IF_NEWER_AVAILABLE

Added in revision 23

Firmware update is automatically performed only if a newer firmware compared with the current installed in the Cradle is available in the device.

public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_UNKNOWN

Added in revision 23

Unknown firmware update policy.

public static final FirmwareUpdatePolicy FIRMWARE_UPDATE_POLICY_USER_NOTIFICATION

Added in revision 23

A notification is shown to the user if a firmware update is available.

Public Methods

public static FirmwareUpdatePolicy fromInt (int n)

Added in revision 23

Retrieves the corresponding FirmwareUpdatePolicy value, from a valid integer.

Parameters
n int
Returns
  • Type the corresponding one.

public int toInt ()

Added in revision 23

Converts the FirmwareUpdatePolicy enum to its integer representing value.

Returns
  • int

public static FirmwareUpdatePolicy valueOf (String name)

Added in revision 23

public static final FirmwareUpdatePolicy[] values ()

Added in revision 23