Class ArOverlayFindAndPickConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ArOverlayFindAndPickConfiguration implements Parcelable
Configuration of the AR overlay.
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
visible
private Boolean
automaticSelectionEnabled
private FindAndPickArOverlayPolygonConfiguration
polygon
private FindAndPickBadgeConfiguration
badge
-
Constructor Summary
Constructors Constructor Description ArOverlayFindAndPickConfiguration(Map<String, Object> source)
ArOverlayFindAndPickConfiguration(JSONObject json)
ArOverlayFindAndPickConfiguration(Boolean visible, Boolean automaticSelectionEnabled, FindAndPickArOverlayPolygonConfiguration polygon, FindAndPickBadgeConfiguration badge)
-
Method Summary
Modifier and Type Method Description final Boolean
getVisible()
Control the visibility of the user guidance. final Unit
setVisible(Boolean visible)
Control the visibility of the user guidance. final Boolean
getAutomaticSelectionEnabled()
If enabled, the scanner will always immediately scan a barcode in the viewfinder or the camera view. final Unit
setAutomaticSelectionEnabled(Boolean automaticSelectionEnabled)
If enabled, the scanner will always immediately scan a barcode in the viewfinder or the camera view. final FindAndPickArOverlayPolygonConfiguration
getPolygon()
Configuration of the overlay polygon displayed on top of a barcode in the camera preview. final Unit
setPolygon(FindAndPickArOverlayPolygonConfiguration polygon)
Configuration of the overlay polygon displayed on top of a barcode in the camera preview. final FindAndPickBadgeConfiguration
getBadge()
Configuration of the round badge on find and pick ar layer. final Unit
setBadge(FindAndPickBadgeConfiguration badge)
Configuration of the round badge on find and pick ar layer. final JSONObject
toJson()
final static ArOverlayFindAndPickConfiguration
default()
-
-
Constructor Detail
-
ArOverlayFindAndPickConfiguration
ArOverlayFindAndPickConfiguration(JSONObject json)
-
ArOverlayFindAndPickConfiguration
ArOverlayFindAndPickConfiguration(Boolean visible, Boolean automaticSelectionEnabled, FindAndPickArOverlayPolygonConfiguration polygon, FindAndPickBadgeConfiguration badge)
-
-
Method Detail
-
getVisible
final Boolean getVisible()
Control the visibility of the user guidance. Default is false
-
setVisible
final Unit setVisible(Boolean visible)
Control the visibility of the user guidance. Default is false
-
getAutomaticSelectionEnabled
final Boolean getAutomaticSelectionEnabled()
If enabled, the scanner will always immediately scan a barcode in the viewfinder or the camera view. The overlay will mark the scanned barcodes and stays above them. Default is true
-
setAutomaticSelectionEnabled
final Unit setAutomaticSelectionEnabled(Boolean automaticSelectionEnabled)
If enabled, the scanner will always immediately scan a barcode in the viewfinder or the camera view. The overlay will mark the scanned barcodes and stays above them. Default is true
-
getPolygon
final FindAndPickArOverlayPolygonConfiguration getPolygon()
Configuration of the overlay polygon displayed on top of a barcode in the camera preview.
-
setPolygon
final Unit setPolygon(FindAndPickArOverlayPolygonConfiguration polygon)
Configuration of the overlay polygon displayed on top of a barcode in the camera preview.
-
getBadge
final FindAndPickBadgeConfiguration getBadge()
Configuration of the round badge on find and pick ar layer.
-
setBadge
final Unit setBadge(FindAndPickBadgeConfiguration badge)
Configuration of the round badge on find and pick ar layer.
-
toJson
final JSONObject toJson()
-
default
final static ArOverlayFindAndPickConfiguration default()
-
-
-
-