public final enum

FavoriteFirmware

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.extension.selfshopping.cradle.joyatouch.FavoriteFirmware

Class Overview

This enum lists the favorite Cradle firmware version.

Summary

Enum Values
FavoriteFirmware  FORCE_LEGACY  Force the communication in legacy mode (even with new cradles)  
FavoriteFirmware  KEHTO  This field is deprecated. Use either LATEST_DETECTED or FORCE_LEGACY  
FavoriteFirmware  LATEST_DETECTED  Favor the latest detected firmware, taken from the last Cradle the device has been inserted into  
FavoriteFirmware  LEGACY  This field is deprecated. Use either LATEST_DETECTED or FORCE_LEGACY  
Public Methods
static FavoriteFirmware fromInt(int n)
Retrieves the corresponding ConcurrencyPreference value, from a valid integer.
int toInt()
Converts the ConcurrencyPreference enum to its integer representing value.
static FavoriteFirmware valueOf(String name)
final static FavoriteFirmware[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final FavoriteFirmware FORCE_LEGACY

Added in revision 7

Force the communication in legacy mode (even with new cradles)

public static final FavoriteFirmware KEHTO

Added in revision 4

This field is deprecated.
Use either LATEST_DETECTED or FORCE_LEGACY

Favor the Kehto firmware

public static final FavoriteFirmware LATEST_DETECTED

Added in revision 4

Favor the latest detected firmware, taken from the last Cradle the device has been inserted into

public static final FavoriteFirmware LEGACY

Added in revision 4

This field is deprecated.
Use either LATEST_DETECTED or FORCE_LEGACY

Favor the legacy Cradle firmware

Public Methods

public static FavoriteFirmware fromInt (int n)

Added in revision 7

Retrieves the corresponding ConcurrencyPreference value, from a valid integer.

Parameters
n int
Returns
  • ConcurrencyPreference the corresponding one.

public int toInt ()

Added in revision 7

Converts the ConcurrencyPreference enum to its integer representing value.

Returns
  • int

public static FavoriteFirmware valueOf (String name)

Added in revision 4

public static final FavoriteFirmware[] values ()

Added in revision 4