Class JsonSelectionOverlayConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class JsonSelectionOverlayConfiguration implements Parcelable
Barcode Selection Overlay configuration
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanoverlayEnabledprivate BooleanautomaticSelectionEnabledprivate JsonBarcodeOverlayTextFormattextFormatprivate JsonColorpolygonColorprivate JsonColortextColorprivate JsonColortextContainerColorprivate JsonColorhighlightedPolygonColorprivate JsonColorhighlightedTextColorprivate JsonColorhighlightedTextContainerColor
-
Constructor Summary
Constructors Constructor Description JsonSelectionOverlayConfiguration(Boolean overlayEnabled, Boolean automaticSelectionEnabled, JsonBarcodeOverlayTextFormat textFormat, JsonColor polygonColor, JsonColor textColor, JsonColor textContainerColor, JsonColor highlightedPolygonColor, JsonColor highlightedTextColor, JsonColor highlightedTextContainerColor)
-
Method Summary
Modifier and Type Method Description final BooleangetOverlayEnabled()Whether the barcode selection overlay is enabled or not. final UnitsetOverlayEnabled(Boolean overlayEnabled)Whether the barcode selection overlay is enabled or not. final BooleangetAutomaticSelectionEnabled()Whether the barcode is selected automatically when being detected or not. final UnitsetAutomaticSelectionEnabled(Boolean automaticSelectionEnabled)Whether the barcode is selected automatically when being detected or not. final JsonBarcodeOverlayTextFormatgetTextFormat()Define the way of how to show barcode data with selection overlay. final UnitsetTextFormat(JsonBarcodeOverlayTextFormat textFormat)Define the way of how to show barcode data with selection overlay. final JsonColorgetPolygonColor()The color of the polygon in the selection overlay. final UnitsetPolygonColor(JsonColor polygonColor)The color of the polygon in the selection overlay. final JsonColorgetTextColor()The color of the text in the selection overlay. final UnitsetTextColor(JsonColor textColor)The color of the text in the selection overlay. final JsonColorgetTextContainerColor()The color of the texts background in the selection overlay. final UnitsetTextContainerColor(JsonColor textContainerColor)The color of the texts background in the selection overlay. final JsonColorgetHighlightedPolygonColor()The color of the polygon in the selection overlay, when highlighted. final UnitsetHighlightedPolygonColor(JsonColor highlightedPolygonColor)The color of the polygon in the selection overlay, when highlighted. final JsonColorgetHighlightedTextColor()The color of the text in the selection overlay, when highlighted. final UnitsetHighlightedTextColor(JsonColor highlightedTextColor)The color of the text in the selection overlay, when highlighted. final JsonColorgetHighlightedTextContainerColor()The color of the texts background in the selection overlay, when highlighted. final UnitsetHighlightedTextContainerColor(JsonColor highlightedTextContainerColor)The color of the texts background in the selection overlay, when highlighted. -
-
Constructor Detail
-
JsonSelectionOverlayConfiguration
JsonSelectionOverlayConfiguration(Boolean overlayEnabled, Boolean automaticSelectionEnabled, JsonBarcodeOverlayTextFormat textFormat, JsonColor polygonColor, JsonColor textColor, JsonColor textContainerColor, JsonColor highlightedPolygonColor, JsonColor highlightedTextColor, JsonColor highlightedTextContainerColor)
-
-
Method Detail
-
getOverlayEnabled
final Boolean getOverlayEnabled()
Whether the barcode selection overlay is enabled or not.
-
setOverlayEnabled
final Unit setOverlayEnabled(Boolean overlayEnabled)
Whether the barcode selection overlay is enabled or not.
-
getAutomaticSelectionEnabled
final Boolean getAutomaticSelectionEnabled()
Whether the barcode is selected automatically when being detected or not.
-
setAutomaticSelectionEnabled
final Unit setAutomaticSelectionEnabled(Boolean automaticSelectionEnabled)
Whether the barcode is selected automatically when being detected or not.
-
getTextFormat
final JsonBarcodeOverlayTextFormat getTextFormat()
Define the way of how to show barcode data with selection overlay.
-
setTextFormat
final Unit setTextFormat(JsonBarcodeOverlayTextFormat textFormat)
Define the way of how to show barcode data with selection overlay.
-
getPolygonColor
final JsonColor getPolygonColor()
The color of the polygon in the selection overlay.
-
setPolygonColor
final Unit setPolygonColor(JsonColor polygonColor)
The color of the polygon in the selection overlay.
-
getTextColor
final JsonColor getTextColor()
The color of the text in the selection overlay.
-
setTextColor
final Unit setTextColor(JsonColor textColor)
The color of the text in the selection overlay.
-
getTextContainerColor
final JsonColor getTextContainerColor()
The color of the texts background in the selection overlay.
-
setTextContainerColor
final Unit setTextContainerColor(JsonColor textContainerColor)
The color of the texts background in the selection overlay.
-
getHighlightedPolygonColor
final JsonColor getHighlightedPolygonColor()
The color of the polygon in the selection overlay, when highlighted.
-
setHighlightedPolygonColor
final Unit setHighlightedPolygonColor(JsonColor highlightedPolygonColor)
The color of the polygon in the selection overlay, when highlighted.
-
getHighlightedTextColor
final JsonColor getHighlightedTextColor()
The color of the text in the selection overlay, when highlighted.
-
setHighlightedTextColor
final Unit setHighlightedTextColor(JsonColor highlightedTextColor)
The color of the text in the selection overlay, when highlighted.
-
getHighlightedTextContainerColor
final JsonColor getHighlightedTextContainerColor()
The color of the texts background in the selection overlay, when highlighted.
-
setHighlightedTextContainerColor
final Unit setHighlightedTextContainerColor(JsonColor highlightedTextContainerColor)
The color of the texts background in the selection overlay, when highlighted.
-
-
-
-