public final enum

UnlockKeyStatus

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.cradle.UnlockKeyStatus

Class Overview

Enumerative representing the unlock key status.

Summary

Enum Values
UnlockKeyStatus  UNLOCK_KEY_STATUS_EXTRACTED  Cradle unlock key extracted. 
UnlockKeyStatus  UNLOCK_KEY_STATUS_INSERTED  Cradle unlock key inserted. 
UnlockKeyStatus  UNLOCK_KEY_STATUS_NOT_SUPPORTED  Cradle unlock key not supported. 
UnlockKeyStatus  UNLOCK_KEY_STATUS_UNKNOWN  Unknown Cradle unlock key status. 
Public Methods
static UnlockKeyStatus fromInt(int n)
Retrieves the corresponding UnlockKeyStatus value, from a valid integer.
int toInt()
Converts the UnlockKeyStatus enum to its integer representing value.
String toString()
static UnlockKeyStatus valueOf(String name)
final static UnlockKeyStatus[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final UnlockKeyStatus UNLOCK_KEY_STATUS_EXTRACTED

Added in revision 23

Cradle unlock key extracted.

public static final UnlockKeyStatus UNLOCK_KEY_STATUS_INSERTED

Added in revision 23

Cradle unlock key inserted.

public static final UnlockKeyStatus UNLOCK_KEY_STATUS_NOT_SUPPORTED

Added in revision 23

Cradle unlock key not supported.

public static final UnlockKeyStatus UNLOCK_KEY_STATUS_UNKNOWN

Added in revision 23

Unknown Cradle unlock key status.

Public Methods

public static UnlockKeyStatus fromInt (int n)

Added in revision 23

Retrieves the corresponding UnlockKeyStatus value, from a valid integer.

Parameters
n int
Returns
  • UnlockKeyStatus the corresponding one.

public int toInt ()

Added in revision 23

Converts the UnlockKeyStatus enum to its integer representing value.

Returns
  • int

public String toString ()

public static UnlockKeyStatus valueOf (String name)

Added in revision 23

public static final UnlockKeyStatus[] values ()

Added in revision 23