to top
Datalogic APIs
public static class

PoseManager.ExecutionOption

extends Object
java.lang.Object
   ↳ com.datalogic.device.configuration.PoseManager.ExecutionOption

Class Overview

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.

Summary

Nested Classes
class PoseManager.ExecutionOption.Builder The builder for the PoseManager.ExecutionOption
enum PoseManager.ExecutionOption.IntentDeliveryMode The mode used when sending the intent when the execution option type is SEND_INTENT
enum 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
Map<String, String> getParams()
Returns the representation of the internal parameters of the execution option.
PoseManager.ExecutionOption.Type getType()
Get the execution option type.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String IN_POSE_EVENT

Added in revision 47

Value of the event extra when the device is detected in pose.

Constant Value: "IN_POSE"

public static final String OUT_OF_POSE_EVENT

Added in revision 47

Value of the event extra when the device is detected out of pose pose.

Constant Value: "OUT_OF_POSE"

public static final String PARAM_INTENT_ACTION

Added in revision 47

The intent action used in case the execution option type is SEND_INTENT.

Constant Value: "intentAction"

public static final String PARAM_INTENT_CATEGORY

Added in revision 47

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.

Constant Value: "intentCategory"

public static final String PARAM_INTENT_DELIVERY_MODE

Added in revision 47

The delivery mode of the intent, used in case the execution option type is SEND_INTENT.

Constant Value: "intentDeliveryMode"

public static final String PARAM_INTENT_EVENT_EXTRA

Added in revision 47

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.

Constant Value: "intentEventExtra"

public static final String PARAM_INTENT_POSE_NAME_EXTRA

Added in revision 47

The name of the string extra used to provide the pose name, used in case the execution option type is SEND_INTENT.

Constant Value: "intentPoseNameExtra"

Public Methods

public Map<String, String> getParams ()

Added in revision 47

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:

Returns
  • A map of parameter names to values.

public PoseManager.ExecutionOption.Type getType ()

Added in revision 47

Get the execution option type.

Returns
  • The type of execution option.