Barcode Ar Popover Annotation

Defined in namespace Scandit.DataCapture.Barcode.Ar.UI

IBarcodeArPopoverAnnotationListener
interface IBarcodeArPopoverAnnotationListener

Added in version 7.2.0

The listener for the popover annotation.

OnPopoverButtonTapped()
void OnPopoverButtonTapped(BarcodeArPopoverAnnotation popover, BarcodeArPopoverAnnotationButton button, int buttonIndex)

Added in version 7.2.0

Called when a button is tapped. The buttonIndex parameter can be used to identify which button was tapped. Called only if BarcodeArPopoverAnnotation.EntirePopoverTappable is false.

OnPopoverTapped()
void OnPopoverTapped(BarcodeArPopoverAnnotation popover)

Added in version 7.2.0

Called when the popover is tapped. Called only if BarcodeArPopoverAnnotation.EntirePopoverTappable is true.

BarcodeArPopoverAnnotation
class BarcodeArPopoverAnnotation : IBarcodeArAnnotation

Added in version 7.2.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.

Popover annotation
BarcodeArPopoverAnnotation()
BarcodeArPopoverAnnotation(Barcode barcode, IList<BarcodeArPopoverAnnotationButton> buttons)

Added in version 7.2.0

Constructs a new instance with the given buttons and barcode.

EntirePopoverTappable
bool EntirePopoverTappable { get;set; }

Added in version 7.2.0

If false each individual button in the popover is tappable. If true the entire popover is tappable. Default is false.

Listener
IBarcodeArPopoverAnnotationListener Listener { get;set; }

Added in version 7.2.0

An object that receives notifications for UI-related events, such as tapping on a button.

AnnotationTrigger
BarcodeArAnnotationTrigger AnnotationTrigger { get;set; }

Added in version 7.2.0

The trigger that causes the annotation to be presented. By default is BarcodeArAnnotationTrigger.HighlightTap.

Buttons
IReadOnlyCollection<BarcodeArPopoverAnnotationButton> Buttons { get; }

Added in version 7.2.0

Returns the buttons provided in the constructor.

Barcode
Barcode Barcode { get; }

Added in version 7.2.0

Returns the barcode provided in the constructor.

BarcodeArPopoverAnnotationButton
class BarcodeArPopoverAnnotationButton : IDisposable

Added in version 7.2.0

BarcodeArPopoverAnnotationButton()
BarcodeArPopoverAnnotationButton(ScanditIcon icon, string text)

Added in version 7.2.0

Constructs a new instance with the given icon and text.

Font
UIFont Font { get;set; }

Added in version 7.2.0

The font used for the text. Default is semi-bold system font of size 10.

TextColor
UIColor TextColor { get;set; }

Added in version 7.2.0

The color of the text. Default is #3D4852.

Icon
ScanditIcon Icon { get; }

Added in version 7.2.0

The icon provided in the constructor.

Text
string Text { get; }

Added in version 7.2.0

The text provided in the constructor.

Enabled
bool Enabled { get;set; }

Added in version 7.2.0

Whether the button is enabled. Default is true.