| java.lang.Object | |
| ↳ | com.datalogic.device.configuration.PoseManager.ExecutionOption |
Class representing an execution step applied to a pose setting. This option is used to execute a specific action when the device finds itself inside or outside a specific pose, depending on the pose setting that adds this and the corresponding pose.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PoseManager.ExecutionOption.Builder | The builder for the PoseManager.ExecutionOption. |
||||||||||
| PoseManager.ExecutionOption.IntentDeliveryMode | The mode used when sending the intent when the execution option type is
SEND_INTENT. |
||||||||||
| PoseManager.ExecutionOption.Type | The type of execution option. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | IN_POSE_EVENT | Value of the event extra when the device is detected in pose. | |||||||||
| String | OUT_OF_POSE_EVENT | Value of the event extra when the device is detected out of pose pose. | |||||||||
| String | PARAM_INTENT_ACTION | The intent action used in case the execution option type is SEND_INTENT. |
|||||||||
| String | PARAM_INTENT_CATEGORY | The intent category used in case the execution option type is SEND_INTENT. |
|||||||||
| String | PARAM_INTENT_DELIVERY_MODE | The delivery mode of the intent, used in case the execution option type
is SEND_INTENT. |
|||||||||
| String | PARAM_INTENT_EVENT_EXTRA | The name of the string extra used to provide the event type, used in case the execution option type
is SEND_INTENT. |
|||||||||
| String | PARAM_INTENT_POSE_NAME_EXTRA | The name of the string extra used to provide the pose name, used in case the execution option type
is SEND_INTENT. |
|||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the representation of the internal parameters of the execution option.
| |||||||||||
Get the execution option type.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Value of the event extra when the device is detected in pose.
Value of the event extra when the device is detected out of pose pose.
The intent action used in case the execution option type is SEND_INTENT.
The intent category used in case the execution option type is SEND_INTENT.
If set to an empty string, it will not be added in the intent itself.
The delivery mode of the intent, used in case the execution option type
is SEND_INTENT.
The name of the string extra used to provide the event type, used in case the execution option type
is SEND_INTENT. The extra value can be IN_POSE_EVENT or
OUT_OF_POSE_EVENT depending on the detected state.
The name of the string extra used to provide the pose name, used in case the execution option type
is SEND_INTENT.
Returns the representation of the internal parameters of the execution option.
Parameters are represented as a map of key-value pairs. Their meaning depends on the type:
SEND_INTENT, keys include:
NOTIFY_LISTENER, no parameters are required.Get the execution option type.