public final enum

UnlockKeyPolicy

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

Class Overview

Enumerative representing the Policy to unlock the Cradle.

Summary

Enum Values
UnlockKeyPolicy  UNLOCK_KEY_POLICY_DISABLED  Unlock key notification feature is DISABLED. 
UnlockKeyPolicy  UNLOCK_KEY_POLICY_ENABLED  Unlock key notification feature is ENABLED. 
UnlockKeyPolicy  UNLOCK_KEY_POLICY_NOT_SUPPORTED  Unlock key policy not supported. 
UnlockKeyPolicy  UNLOCK_KEY_POLICY_UNKNOWN  Unknown unlock key policy. 
Public Methods
static UnlockKeyPolicy fromInt(int n)
Retrieves the corresponding UnlockKeyPolicy value, from a valid integer.
int toInt()
Converts the UnlockKeyPolicy enum to its integer representing value.
static UnlockKeyPolicy valueOf(String name)
final static UnlockKeyPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final UnlockKeyPolicy UNLOCK_KEY_POLICY_DISABLED

Added in revision 32

Unlock key notification feature is DISABLED.

public static final UnlockKeyPolicy UNLOCK_KEY_POLICY_ENABLED

Added in revision 32

Unlock key notification feature is ENABLED.

public static final UnlockKeyPolicy UNLOCK_KEY_POLICY_NOT_SUPPORTED

Added in revision 32

Unlock key policy not supported.

public static final UnlockKeyPolicy UNLOCK_KEY_POLICY_UNKNOWN

Added in revision 32

Unknown unlock key policy.

Public Methods

public static UnlockKeyPolicy fromInt (int n)

Added in revision 32

Retrieves the corresponding UnlockKeyPolicy value, from a valid integer.

Parameters
n int
Returns
  • Type the corresponding one.

public int toInt ()

Added in revision 32

Converts the UnlockKeyPolicy enum to its integer representing value.

Returns
  • int

public static UnlockKeyPolicy valueOf (String name)

Added in revision 32

public static final UnlockKeyPolicy[] values ()

Added in revision 32