public final enum

UnlockNotificationPolicy

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

Class Overview

Enumerative representing the Policy to unlock the Cradle.

Summary

Enum Values
UnlockNotificationPolicy  UNLOCK_NOTIFICATION_MULTIPLE  Unlock notification is enabled only when the device is inserted in a multiple slot cradle. 
UnlockNotificationPolicy  UNLOCK_NOTIFICATION_NONE  Unlock notification is disabled on all cradle model. 
UnlockNotificationPolicy  UNLOCK_NOTIFICATION_SINGLE  Unlock notification is enabled only when the device is inserted in a single slot cradle. 
UnlockNotificationPolicy  UNLOCK_NOTIFICATION_SINGLE_AND_MULTIPLE  Unlock notification is enabled when the device is inserted in both single or multiple slot cradle. 
Public Methods
static UnlockNotificationPolicy fromInt(int n)
Retrieves the corresponding UnlockNotification Policy value, from a valid integer.
int toInt()
Converts the UnlockNotificationPolicy enum to its integer representing value.
static UnlockNotificationPolicy valueOf(String name)
final static UnlockNotificationPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final UnlockNotificationPolicy UNLOCK_NOTIFICATION_MULTIPLE

Added in revision 32

Unlock notification is enabled only when the device is inserted in a multiple slot cradle.

public static final UnlockNotificationPolicy UNLOCK_NOTIFICATION_NONE

Added in revision 32

Unlock notification is disabled on all cradle model.

public static final UnlockNotificationPolicy UNLOCK_NOTIFICATION_SINGLE

Added in revision 32

Unlock notification is enabled only when the device is inserted in a single slot cradle.

public static final UnlockNotificationPolicy UNLOCK_NOTIFICATION_SINGLE_AND_MULTIPLE

Added in revision 32

Unlock notification is enabled when the device is inserted in both single or multiple slot cradle.

Public Methods

public static UnlockNotificationPolicy fromInt (int n)

Added in revision 32

Retrieves the corresponding UnlockNotification Policy value, from a valid integer.

Parameters
n int
Returns
  • Type the corresponding one.

public int toInt ()

Added in revision 32

Converts the UnlockNotificationPolicy enum to its integer representing value.

Returns
  • int

public static UnlockNotificationPolicy valueOf (String name)

Added in revision 32

public static final UnlockNotificationPolicy[] values ()

Added in revision 32