Barcode AR Annotation

Defined in library scandit_datacapture_barcode_ar_ui

BarcodeArAnnotationTrigger

Added in version 7.1.0

The conditions that trigger an annotation to be displayed.

highlightTap

Added in version 7.1.0

The annotation is shown when the user taps on the highlight.

highlightTapAndBarcodeScan

Added in version 7.1.0

The annotation is shown immediately when the barcode is scanned, and can be hidden and shown again by tapping on the highlight.

BarcodeArAnnotation
abstract class BarcodeArAnnotation

Added in version 7.1.0

Common interface for Barcode Ar annotations. Annotations are used to display additional information and/or trigger actions. They are displayed outside of the area of a barcode, and attach to the scanned barcode. They are available in different types and have configurable styles. Currently, three types of highlights are supported: BarcodeArInfoAnnotation, BarcodeArPopoverAnnotation and BarcodeArStatusIconAnnotation.

Info annotation Popover annotation Status icon annotation

You can also create your own custom annotation by extending BarcodeArAnnotation. For instance, the following code creates a custom annotation that displays a custom image on top of the barcode:

annotationTrigger
BarcodeArAnnotationTrigger annotationTrigger

Added in version 7.1.0

The trigger that causes the annotation to be presented.