Barcode Check Popover Annotation

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

IBarcodeCheckPopoverAnnotationListener
interface IBarcodeCheckPopoverAnnotationListener

Added in version 7.2.0

The listener for the popover annotation.

OnPopoverButtonTapped()
void OnPopoverButtonTapped(BarcodeCheckPopoverAnnotation popover, BarcodeCheckPopoverAnnotationButton 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 BarcodeCheckPopoverAnnotation.EntirePopoverTappable is false.

OnPopoverTapped()
void OnPopoverTapped(BarcodeCheckPopoverAnnotation popover)

Added in version 7.2.0

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

BarcodeCheckPopoverAnnotation
class BarcodeCheckPopoverAnnotation : IBarcodeCheckAnnotation

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
BarcodeCheckPopoverAnnotation()
BarcodeCheckPopoverAnnotation(Barcode barcode, IList<BarcodeCheckPopoverAnnotationButton> 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
IBarcodeCheckPopoverAnnotationListener 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
BarcodeCheckAnnotationTrigger AnnotationTrigger { get;set; }

Added in version 7.2.0

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

Buttons
IReadOnlyCollection<BarcodeCheckPopoverAnnotationButton> 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.

BarcodeCheckPopoverAnnotationButton
class BarcodeCheckPopoverAnnotationButton

Added in version 7.2.0

BarcodeCheckPopoverAnnotationButton()
BarcodeCheckPopoverAnnotationButton(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.