| java.lang.Object | |
| ↳ | com.datalogic.device.configuration.PoseManager.Pose.Builder |
The builder for the PoseManager.Pose.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new Builder for the
PoseManager.Pose object, with the following default values:
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Build and return a newly created Pose object.
| |||||||||||
Set if the detection of this pose is enabled.
| |||||||||||
Set the gravity vector.
| |||||||||||
Set the in pose settings.
| |||||||||||
Set the pose name.
| |||||||||||
Set the out of pose settings.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a new Builder for the PoseManager.Pose object, with the following default values:
PoseManager.PoseSettings.Builder)PoseManager.PoseSettings.Builder)Build and return a newly created Pose object. The created object is guaranteed to be valid and ready to use.
| IllegalStateException | if the name or gravity vector is not set or is invalid. |
|---|
Set if the detection of this pose is enabled.
| detectionEnabled | true to enable detection, false otherwise. |
|---|
Set the gravity vector.
| gravityVector | The gravity vector of the pose. |
|---|
Set the in pose settings.
| inPoseSettings | The in pose settings. |
|---|
Set the pose name. The name must be non empty and unique among all poses. It is used to identify the pose when creating it.
| name | The name of the pose. |
|---|
| IllegalArgumentException | if the name is empty or null. |
|---|
Set the out of pose settings.
| outOfPoseSettings | The out of pose settings. |
|---|