to top
Datalogic APIs
public class

ScanningPreviewGs1EvaluationLabels

extends SerializableBlob
java.lang.Object
   ↳ com.datalogic.device.configuration.SerializableBlob
     ↳ com.datalogic.decode.configuration.ScanningPreviewGs1EvaluationLabels

Class Overview

Class defining the labels checked in the content of the barcode decoded from the scanning preview, when GS1 evaluation is enabled.

Summary

Nested Classes
class ScanningPreviewGs1EvaluationLabels.Label A single label of the list. 
Public Constructors
ScanningPreviewGs1EvaluationLabels()
Public Methods
void add(ScanningPreviewGs1EvaluationLabels.Label label)
Add a label to the list.
void clear()
Remove all label from the list.
List<ScanningPreviewGs1EvaluationLabels.Label> getLabels()
Get an unmodifiable list with the currently configured labels.
void remove(String labelName)
Remove a label 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 Constructors

public ScanningPreviewGs1EvaluationLabels ()

Added in revision 50

Public Methods

public void add (ScanningPreviewGs1EvaluationLabels.Label label)

Added in revision 50

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

Parameters
label The label to add.
Throws
IllegalArgumentException if the label is null or contains invalid values (for example a priority value that is already found in the current labels).

public void clear ()

Added in revision 50

Remove all label from the list.

public List<ScanningPreviewGs1EvaluationLabels.Label> getLabels ()

Added in revision 50

Get an unmodifiable list with the currently configured labels.

Returns
  • The list of labels.

public void remove (String labelName)

Added in revision 50

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

Parameters
labelName The name of the label to remove.
Throws
IllegalArgumentException if the label name is null.