com.datalogic.device.input.MotionTrigger |
Interface representing a trigger that automatically executes a specific action (scan by default) when a motion event is detected.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MotionTrigger.Sensitivity | Class representing the sensitivity used to trigger the action, constituted by an id and a name. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the currently set sensitivity between the ones supported.
| |||||||||||
Returns the list of supported sensitivities.
| |||||||||||
Checks if the vibration during motion is enabled.
| |||||||||||
Sets the current sensitivity between the ones supported.
| |||||||||||
Enables or disables the vibration when a motion is detected.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.datalogic.device.input.Trigger
|
Gets the currently set sensitivity between the ones supported.
Returns the list of supported sensitivities.
MotionTrigger.Sensitivity
objects.
Checks if the vibration during motion is enabled.
boolean
true if the vibration during motion is enabled, false otherwise.
Sets the current sensitivity between the ones supported.
sensitivity | The sensitivity to set. |
---|
boolean
true if the sensitivity has been set successfully, false otherwise.
Enables or disables the vibration when a motion is detected.
enable | True to enable vibration, false otherwise. |
---|