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 Boolean
overlayEnabled
private Boolean
automaticSelectionEnabled
private JsonBarcodeOverlayTextFormat
textFormat
private JsonColor
polygonColor
private JsonColor
textColor
private JsonColor
textContainerColor
private JsonColor
highlightedPolygonColor
private JsonColor
highlightedTextColor
private JsonColor
highlightedTextContainerColor
-
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 Boolean
getOverlayEnabled()
Whether the barcode selection overlay is enabled or not. final Unit
setOverlayEnabled(Boolean overlayEnabled)
Whether the barcode selection overlay is enabled or not. final Boolean
getAutomaticSelectionEnabled()
Whether the barcode is selected automatically when being detected or not. final Unit
setAutomaticSelectionEnabled(Boolean automaticSelectionEnabled)
Whether the barcode is selected automatically when being detected or not. final JsonBarcodeOverlayTextFormat
getTextFormat()
Define the way of how to show barcode data with selection overlay. final Unit
setTextFormat(JsonBarcodeOverlayTextFormat textFormat)
Define the way of how to show barcode data with selection overlay. final JsonColor
getPolygonColor()
The color of the polygon in the selection overlay. final Unit
setPolygonColor(JsonColor polygonColor)
The color of the polygon in the selection overlay. final JsonColor
getTextColor()
The color of the text in the selection overlay. final Unit
setTextColor(JsonColor textColor)
The color of the text in the selection overlay. final JsonColor
getTextContainerColor()
The color of the texts background in the selection overlay. final Unit
setTextContainerColor(JsonColor textContainerColor)
The color of the texts background in the selection overlay. final JsonColor
getHighlightedPolygonColor()
The color of the polygon in the selection overlay, when highlighted. final Unit
setHighlightedPolygonColor(JsonColor highlightedPolygonColor)
The color of the polygon in the selection overlay, when highlighted. final JsonColor
getHighlightedTextColor()
The color of the text in the selection overlay, when highlighted. final Unit
setHighlightedTextColor(JsonColor highlightedTextColor)
The color of the text in the selection overlay, when highlighted. final JsonColor
getHighlightedTextContainerColor()
The color of the texts background in the selection overlay, when highlighted. final Unit
setHighlightedTextContainerColor(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.
-
-
-
-