| java.lang.Object | |
| ↳ | com.datalogic.device.configuration.PoseManager.PoseSettings.Builder |
The builder for the PoseManager.PoseSettings.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new Builder for the
PoseManager.PoseSettings object, with the following default values:
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add an activation option to the pose settings.
| |||||||||||
Add an execution option to the pose settings.
| |||||||||||
Build and return a newly created PoseSettings object.
| |||||||||||
Remove an activation option from the pose settings.
| |||||||||||
Remove an execution option from the pose settings.
| |||||||||||
Set the maximum angle (in radians) accepted between a detected gravity vector and the associated pose gravity vector.
| |||||||||||
Set the stabilization time (in milliseconds).
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a new Builder for the PoseManager.PoseSettings object, with the following default values:
Add an activation option to the pose settings.
| activationOption | The activation option to add. |
|---|
Add an execution option to the pose settings.
| executionOption | The execution option to add. |
|---|
Build and return a newly created PoseSettings object. The created object is guaranteed to be valid and ready to use.
PoseManager.PoseSettings object.
Remove an activation option from the pose settings.
| activationOption | The activation option to remove. |
|---|
Remove an execution option from the pose settings.
| executionOption | The execution option to remove. |
|---|
Set the maximum angle (in radians) accepted between a detected gravity vector and the associated pose gravity vector. If the angle is exceeded the gravity vector is considered as outside the associated pose, otherwise it is considered as inside it.
| deltaAngle | The delta angle (in radians). |
|---|
Set the stabilization time (in milliseconds). The stabilization time defines how long the device must remain in or out of the pose before the pose is considered valid.
| stabilizationTime | The stabilization time in milliseconds. |
|---|