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 Booleanvisibleprivate PolygonStylepartiallyScannedprivate PolygonStylerejectedprivate PolygonStylecompleted
-
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 BooleangetVisible()Control the visibility of the overlay polygon. final UnitsetVisible(Boolean visible)Control the visibility of the overlay polygon. final PolygonStylegetPartiallyScanned()Appearance of the overlay polygon when a barcode is partially scanned. final UnitsetPartiallyScanned(PolygonStyle partiallyScanned)Appearance of the overlay polygon when a barcode is partially scanned. final PolygonStylegetRejected()Appearance of the overlay polygon when a barcode is rejected. final UnitsetRejected(PolygonStyle rejected)Appearance of the overlay polygon when a barcode is rejected. final PolygonStylegetCompleted()Appearance of the overlay polygon when a barcode is completed. final UnitsetCompleted(PolygonStyle completed)Appearance of the overlay polygon when a barcode is completed. final JSONObjecttoJson(ToJsonConfiguration config)final FindAndPickArOverlayPolygonConfigurationclone()final static FindAndPickArOverlayPolygonConfigurationdefault()-
-
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(ToJsonConfiguration config)
-
clone
final FindAndPickArOverlayPolygonConfiguration clone()
-
default
final static FindAndPickArOverlayPolygonConfiguration default()
-
-
-
-