Barcode AR Popover Annotation
Defined in library scandit_datacapture_barcode_ar_ui
- BarcodeArPopoverAnnotationAnchor
Added in version 8.5.0
The available anchor options for a popover annotation.
- left
Added in version 8.5.0
The annotation is anchored at its left edge.
- right
Added in version 8.5.0
The annotation is anchored at its right edge.
- bottom
Added in version 8.5.0
The annotation is anchored at its bottom-center point.
- top
Added in version 8.5.0
The annotation is anchored at its top-center point.
- BarcodeArPopoverAnnotationListener
abstract class BarcodeArPopoverAnnotationListenerAdded in version 7.1.0
The listener for the popover annotation.
- didTapPopoverButton(popover, button, buttonIndex)
voiddidTapPopoverButton(BarcodeArPopoverAnnotation popover, BarcodeArPopoverAnnotationButton button, int buttonIndex)Added in version 7.1.0
Called when a button is tapped. The buttonIndex parameter can be used to identify which button was tapped. Called only if BarcodeArPopoverAnnotation.isEntirePopoverTappable is false.
- didTapPopover(popover)
voiddidTapPopover(BarcodeArPopoverAnnotation popover)Added in version 7.1.0
Called when the popover is tapped. Called only if BarcodeArPopoverAnnotation.isEntirePopoverTappable is true.
- BarcodeArPopoverAnnotation
class BarcodeArPopoverAnnotation : BarcodeArAnnotation
Added in version 7.1.0
An annotation comprising a set of buttons, each containing an icon and text, which appears only when the user taps on the corresponding barcode highlight.
- BarcodeArPopoverAnnotation(barcode, buttons)
BarcodeArPopoverAnnotation(Barcode barcode, List<BarcodeArPopoverAnnotationButton> buttons)
Added in version 7.1.0
Constructs a new instance with the given buttons and barcode.
- isEntirePopoverTappable
bool isEntirePopoverTappable
Added in version 7.1.0
If false each individual button in the popover is tappable. If true the entire popover is tappable. Default is false.
- anchor
BarcodeArPopoverAnnotationAnchor anchor
Added in version 8.5.0
The annotation anchor. The default value is BarcodeArPopoverAnnotationAnchor.bottom.
- listener
BarcodeArPopoverAnnotationListener? listener
Added in version 7.1.0
An object that receives notifications for UI-related events, such as tapping on a button.
- buttons
List<BarcodeArPopoverAnnotationButton> get buttons
Added in version 7.1.0
Returns the buttons provided in the constructor.
- BarcodeArPopoverAnnotationButton
class BarcodeArPopoverAnnotationButtonAdded in version 7.1.0
- BarcodeArPopoverAnnotationButton(icon, text)
BarcodeArPopoverAnnotationButton(ScanditIcon icon, String text)
Added in version 7.1.0
Constructs a new instance with the given icon and text.
- textSize
double textSize
Added in version 7.1.0
The size of the text. Default is 10 scale-independent pixels.
- fontFamily
FontFamily fontFamily
Added in version 7.1.0
The font used for the text.
- icon
ScanditIcon get icon
Added in version 7.1.0
The icon provided in the constructor.