Class FindAndPickArOverlayPolygonConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class FindAndPickArOverlayPolygonConfiguration implements Parcelable
Configuration of the overlay polygon displayed on top of a barcode in the camera preview.
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
visible
private PolygonStyle
partiallyScanned
private PolygonStyle
rejected
private PolygonStyle
completed
-
Constructor Summary
Constructors Constructor Description FindAndPickArOverlayPolygonConfiguration(Map<String, Object> source)
FindAndPickArOverlayPolygonConfiguration(JSONObject json)
FindAndPickArOverlayPolygonConfiguration(Boolean visible, PolygonStyle partiallyScanned, PolygonStyle rejected, PolygonStyle completed)
-
Method Summary
Modifier and Type Method Description final Boolean
getVisible()
Control the visibility of the overlay polygon. final Unit
setVisible(Boolean visible)
Control the visibility of the overlay polygon. final PolygonStyle
getPartiallyScanned()
Appearance of the overlay polygon when a barcode is partially scanned. final Unit
setPartiallyScanned(PolygonStyle partiallyScanned)
Appearance of the overlay polygon when a barcode is partially scanned. final PolygonStyle
getRejected()
Appearance of the overlay polygon when a barcode is rejected. final Unit
setRejected(PolygonStyle rejected)
Appearance of the overlay polygon when a barcode is rejected. final PolygonStyle
getCompleted()
Appearance of the overlay polygon when a barcode is completed. final Unit
setCompleted(PolygonStyle completed)
Appearance of the overlay polygon when a barcode is completed. final JSONObject
toJson()
final static FindAndPickArOverlayPolygonConfiguration
default()
-
-
Constructor Detail
-
FindAndPickArOverlayPolygonConfiguration
FindAndPickArOverlayPolygonConfiguration(Map<String, Object> source)
-
FindAndPickArOverlayPolygonConfiguration
FindAndPickArOverlayPolygonConfiguration(JSONObject json)
-
FindAndPickArOverlayPolygonConfiguration
FindAndPickArOverlayPolygonConfiguration(Boolean visible, PolygonStyle partiallyScanned, PolygonStyle rejected, PolygonStyle completed)
-
-
Method Detail
-
getVisible
final Boolean getVisible()
Control the visibility of the overlay polygon. Default is true
-
setVisible
final Unit setVisible(Boolean visible)
Control the visibility of the overlay polygon. Default is true
-
getPartiallyScanned
final PolygonStyle getPartiallyScanned()
Appearance of the overlay polygon when a barcode is partially scanned.
-
setPartiallyScanned
final Unit setPartiallyScanned(PolygonStyle partiallyScanned)
Appearance of the overlay polygon when a barcode is partially scanned.
-
getRejected
final PolygonStyle getRejected()
Appearance of the overlay polygon when a barcode is rejected.
-
setRejected
final Unit setRejected(PolygonStyle rejected)
Appearance of the overlay polygon when a barcode is rejected.
-
getCompleted
final PolygonStyle getCompleted()
Appearance of the overlay polygon when a barcode is completed.
-
setCompleted
final Unit setCompleted(PolygonStyle completed)
Appearance of the overlay polygon when a barcode is completed.
-
toJson
final JSONObject toJson()
-
default
final static FindAndPickArOverlayPolygonConfiguration default()
-
-
-
-