Barcode Check Status Icon Annotation
Defined under the namespace Scandit.Datacapture.Barcode.Check.Ui
- BarcodeCheckStatusIconAnnotation
class BarcodeCheckStatusIconAnnotation : BarcodeCheckAnnotation
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.
- constructor(barcode)
constructor(barcode: Barcode)
Added in version 7.1.0
Constructs a new instance of this class.
- icon
icon: ScanditIcon
Added in version 7.1.0
The icon. Default value is black ScanditIconType.ExclamationMark with a background color of #FBC02C.
- text
text: string | null
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
backgroundColor: Color
Added in version 7.1.0
The icon background color. Default is #FFFFFF.
- annotationTrigger
annotationTrigger: BarcodeCheckAnnotationTrigger
Added in version 7.1.0
The trigger that causes the annotation to be presented. By default is BarcodeCheckAnnotationTrigger.HighlightTapAndBarcodeScan.