| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.datalogic.device.configuration.KeyboardPistolTriggerInCradlePolicy | |
The KeyboardPistolTriggerInCradlePolicy enumeration defines the behavior of the device when the pistol trigger is long pressed while the device is in a cradle.
Only support on the following products:
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| KeyboardPistolTriggerInCradlePolicy | DISABLED | When long pressing the pistol trigger in cradle, the device will do nothing. | |||||||||
| KeyboardPistolTriggerInCradlePolicy | POWER_MENU | When long pressing the pistol trigger in cradle, the device will show the power menu. | |||||||||
| KeyboardPistolTriggerInCradlePolicy | POWER_OFF | When long pressing the pistol trigger in cradle, the device will power off. | |||||||||
| KeyboardPistolTriggerInCradlePolicy | REBOOT | When long pressing the pistol trigger in cradle, the device will reboot. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
KeyboardPistolTriggerInCradlePolicy corresponding to the given integer value. | |||||||||||
Returns the integer value associated with this behavior.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
When long pressing the pistol trigger in cradle, the device will do nothing.
When long pressing the pistol trigger in cradle, the device will show the power menu.
When long pressing the pistol trigger in cradle, the device will power off.
When long pressing the pistol trigger in cradle, the device will reboot.
Returns the KeyboardPistolTriggerInCradlePolicy corresponding to the given integer value.
If the value does not match any behavior, it defaults to DISABLED.
| n | the integer value representing a behavior |
|---|
KeyboardPistolTriggerInCradlePolicy
Returns the integer value associated with this behavior.