to top
Datalogic APIs
public static class

PoseManager.DevicePoses

extends SerializableBlob
java.lang.Object
   ↳ com.datalogic.device.configuration.SerializableBlob
     ↳ com.datalogic.device.configuration.PoseManager.DevicePoses

Class Overview

Represents a collection of configured device poses. This class is managed by the ConfigurationManager Blob Property with ID POSE_MANAGER_DEVICE_POSES.
Provides methods to add, remove, clear and list device poses.

Summary

Nested Classes
class PoseManager.DevicePoses.Builder Builder for the PoseManager.DevicePoses
Public Methods
void add(PoseManager.Pose pose)
Add a pose to the list.
void clear()
Remove all poses from the list.
List<PoseManager.Pose> getPoses()
Get an unmodifiable list with the currently configured device poses.
void remove(String poseName)
Remove a pose from the list, whose name is the same as the one passed as parameter.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.SerializableBlob
From class java.lang.Object

Public Methods

public void add (PoseManager.Pose pose)

Added in revision 47

Add a pose to the list. If a pose with the same name already exists, it will be replaced.

Parameters
pose The pose to add.
Throws
IllegalArgumentException if the pose is null.

public void clear ()

Added in revision 47

Remove all poses from the list.

public List<PoseManager.Pose> getPoses ()

Added in revision 47

Get an unmodifiable list with the currently configured device poses.

Returns
  • The list of poses.

public void remove (String poseName)

Added in revision 47

Remove a pose from the list, whose name is the same as the one passed as parameter.

Parameters
poseName The name of the pose to remove.
Throws
IllegalArgumentException if the pose name is null.