java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.datalogic.device.emergency.SosTriggerMethod |
The SosTriggerMethod
enumeration defines the SOS trigger activation methods.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SosTriggerMethod | LONG_PRESS_TIMEOUT | Long press timeout: The SOS action is triggered when the KEYCODE_SOS trigger is held down
for the duration specified by SOS_TRIGGER_LONG_PRESS_TIMEOUT . |
|||||||||
SosTriggerMethod | MULTIPRESS | Multipress: The SOS action is triggered when the KEYCODE_SOS trigger is pressed
multiple times in sequence, as specified by SOS_TRIGGER_MULTIPRESS_COUNT . |
|||||||||
SosTriggerMethod | SINGLE_PRESS | Single press: The SOS action is triggered with a single press of the KEYCODE_SOS trigger. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts an integer to its corresponding SosTriggerMethod value.
| |||||||||||
Converts the SosTriggerMethod to its integer corresponding value.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Long press timeout: The SOS action is triggered when the KEYCODE_SOS trigger is held down
for the duration specified by SOS_TRIGGER_LONG_PRESS_TIMEOUT
.
Multipress: The SOS action is triggered when the KEYCODE_SOS trigger is pressed
multiple times in sequence, as specified by SOS_TRIGGER_MULTIPRESS_COUNT
.
Single press: The SOS action is triggered with a single press of the KEYCODE_SOS trigger.
Converts an integer to its corresponding SosTriggerMethod value.
n | the integer value to convert |
---|
Converts the SosTriggerMethod to its integer corresponding value.