to top
Datalogic APIs
public static class

PoseManager.ExecutionOption.Builder

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

Class Overview

The builder for the PoseManager.ExecutionOption.

Summary

Public Constructors
Builder()
Creates a new Builder for the PoseManager.ExecutionOption object, with the following default values:
  • type equal to `NOTIFY_LISTENER`.
Public Methods
PoseManager.ExecutionOption build()
Build and return a newly created ExecutionOption object.
PoseManager.ExecutionOption.Builder withNotifyListener()
Configure this execution option to notify the registered listeners when a pose event occurs.
PoseManager.ExecutionOption.Builder withSendIntent(String intentAction, String intentCategory, String intentPoseNameExtra, String intentEventExtra, PoseManager.ExecutionOption.IntentDeliveryMode intentDeliveryMode)
Configure this execution option to send an intent when a pose event occurs.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder ()

Added in revision 47

Creates a new Builder for the PoseManager.ExecutionOption object, with the following default values:

  • type equal to `NOTIFY_LISTENER`.

Public Methods

public PoseManager.ExecutionOption build ()

Added in revision 47

Build and return a newly created ExecutionOption object.

Returns

public PoseManager.ExecutionOption.Builder withNotifyListener ()

Added in revision 47

Configure this execution option to notify the registered listeners when a pose event occurs.

Returns
  • This builder instance.

public PoseManager.ExecutionOption.Builder withSendIntent (String intentAction, String intentCategory, String intentPoseNameExtra, String intentEventExtra, PoseManager.ExecutionOption.IntentDeliveryMode intentDeliveryMode)

Added in revision 47

Configure this execution option to send an intent when a pose event occurs.

Parameters
intentAction The intent action string.
intentCategory The intent category string.
intentPoseNameExtra Extra data containing the pose name.
intentEventExtra Extra data containing the event type.
intentDeliveryMode The delivery mode (activity, service or broadcast).
Returns
  • This builder instance.