Barcode AR Status Icon Annotation
Defined in library scandit_datacapture_barcode_ar_ui
- BarcodeArStatusIconAnnotationAnchor
Added in version 8.6.0
The available anchor options for a status icon annotation.
- left
Added in version 8.6.0
The annotation is anchored at its left edge.
- right
Added in version 8.6.0
The annotation is anchored at its right edge.
- bottom
Added in version 8.6.0
The annotation is anchored at its bottom-center point.
- top
Added in version 8.6.0
The annotation is anchored at its top-center point.
- BarcodeArStatusIconAnnotation
class BarcodeArStatusIconAnnotation : BarcodeArAnnotation
Added in version 7.1.0
A tooltip annotation that toggles between collapsed and expanded states upon tap. In the collapsed state, only the icon is visible. In the expanded state, both the icon and text are displayed.
Collapsed state.
Expanded state.
- BarcodeArStatusIconAnnotation(barcode)
BarcodeArStatusIconAnnotation(Barcode barcode)
Added in version 7.1.0
Constructs a new instance of this class.
- icon
ScanditIcon icon
Added in version 7.1.0
The icon. Default value is black ScanditIconType.exclamationMark with a background color of #FBC02C.
- text
String? text
Added in version 7.1.0
The text shown in the expanded state. Maximum allowed length is 20 characters, including whitespaces. If null, the status icon doesn’t expand on tap. Default is null.
- backgroundColor
Color backgroundColor
Added in version 7.1.0
The annotation background color. Default is #FFFFFF.
- annotationTrigger
BarcodeArAnnotationTrigger annotationTrigger
Added in version 8.6.0
The trigger that causes the annotation to be presented. By default is BarcodeArAnnotationTrigger.highlightTapAndBarcodeScan.
- anchor
BarcodeArStatusIconAnnotationAnchor anchor
Added in version 8.6.0
The annotation anchor. The default value is BarcodeArStatusIconAnnotationAnchor.bottom.