Barcode Check Icon Annotation

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

BarcodeCheckInfoAnnotationWidthPreset

Added in version 7.2.0

The available width options for an info annotation.

Small

Added in version 7.2.0

Small width. Recommended for annotations that contain only text or icon, and do not include a header or footer.

Medium

Added in version 7.2.0

Medium width.

Large

Added in version 7.2.0

Large width.

BarcodeCheckInfoAnnotationAnchor

Added in version 7.2.0

The available anchor options for an info annotation.

Left

Added in version 7.2.0

The annotation is anchored at its left edge.

Right

Added in version 7.2.0

The annotation is anchored at its right edge.

Bottom

Added in version 7.2.0

The annotation is anchored at its bottom-center point.

Top

Added in version 7.2.0

The annotation is anchored at its top-center point.

IBarcodeCheckInfoAnnotationListener
interface IBarcodeCheckInfoAnnotationListener

Added in version 7.2.0

The listener for the info annotation.

OnInfoAnnotationHeaderTapped()
void OnInfoAnnotationHeaderTapped(BarcodeCheckInfoAnnotation annotation)

Added in version 7.2.0

Called when the annotation header is tapped. Called only if BarcodeCheckInfoAnnotation.EntireAnnotationTappable is false.

OnInfoAnnotationFooterTapped()
void OnInfoAnnotationFooterTapped(BarcodeCheckInfoAnnotation annotation)

Added in version 7.2.0

Called when the annotation footer is tapped. Called only if BarcodeCheckInfoAnnotation.EntireAnnotationTappable is false.

OnInfoAnnotationLeftIconTapped()
void OnInfoAnnotationLeftIconTapped(BarcodeCheckInfoAnnotation annotation, BarcodeCheckInfoAnnotationBodyComponent component, int componentIndex)

Added in version 7.2.0

Called when the left icon of an annotation component is tapped. componentIndex specifies the index of the component containing the tapped icon within the BarcodeCheckInfoAnnotation.Body array. Called only if BarcodeCheckInfoAnnotation.EntireAnnotationTappable is false.

OnInfoAnnotationRightIconTapped()
void OnInfoAnnotationRightIconTapped(BarcodeCheckInfoAnnotation annotation, BarcodeCheckInfoAnnotationBodyComponent component, int componentIndex)

Added in version 7.2.0

Called when the right icon of an annotation component is tapped. componentIndex specifies the index of the component containing the tapped icon within the BarcodeCheckInfoAnnotation.Body array. Called only if BarcodeCheckInfoAnnotation.EntireAnnotationTappable is false.

OnInfoAnnotationTapped()
void OnInfoAnnotationTapped(BarcodeCheckInfoAnnotation annotation)

Added in version 7.2.0

Called when the annotation is tapped. Called only if BarcodeCheckInfoAnnotation.EntireAnnotationTappable is true.

BarcodeCheckInfoAnnotation
class BarcodeCheckInfoAnnotation : IBarcodeCheckAnnotation

Added in version 7.2.0

Info annotations are tooltips that display text and icons, structured as an array of body components. Each body component contains text and may include optional tappable icons on both the left and right sides.

In addition to the body components, info annotations can include an optional header, and footer. By default, they appear automatically when the corresponding barcode is scanned. Info annotations are available in three predefined widths, with their height dynamically adjusting to fit the content. Here are some examples:

../../../_images/info_annotation_without_header.png ../../../_images/info_annotation_with_header.png ../../../_images/info_annotation_with_button.png

Body component only.

Body component and header.

Body component with attributed text and tappable icon.

BarcodeCheckInfoAnnotation()
BarcodeCheckInfoAnnotation(Barcode barcode)

Added in version 7.2.0

Constructs a new instance with the given barcode.

Barcode
Barcode Barcode { get; }

Added in version 7.2.0

The barcode instance for the annotation.

HasTip
bool HasTip { get;set; }

Added in version 7.2.0

Whether the annotation has a tip. The default value is true.

EntireAnnotationTappable
bool EntireAnnotationTappable { get;set; }

Added in version 7.2.0

If false, each individual element within the annotation (header, footer, icons in body components) is tappable. If true, the entire annotation is tappable.

Anchor
BarcodeCheckInfoAnnotationAnchor Anchor { get;set; }

Added in version 7.2.0

The annotation anchor. The default value is BarcodeCheckInfoAnnotationAnchor.Bottom.

AnnotationTrigger
BarcodeCheckAnnotationTrigger AnnotationTrigger { get;set; }

Added in version 7.2.0

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

Width
BarcodeCheckInfoAnnotationWidthPreset Width { get;set; }

Added in version 7.2.0

The annotation width. The default value is BarcodeCheckInfoAnnotationWidthPreset.Small.

Body
IReadOnlyCollection<BarcodeCheckInfoAnnotationBodyComponent> Body { get;set; }

Added in version 7.2.0

The annotation body, represented as an array of body components. The default value is [].

Header
BarcodeCheckInfoAnnotationHeader Header { get;set; }

Added in version 7.2.0

The annotation header. The default value is null.

Footer
BarcodeCheckInfoAnnotationFooter Footer { get;set; }

Added in version 7.2.0

The annotation footer. The default value is null.

BackgroundColor
UIColor BackgroundColor { get;set; }

Added in version 7.2.0

The background color. The default value is #CCFFFFFF.

Listener
IBarcodeCheckInfoAnnotationListener Listener { get;set; }

Added in version 7.2.0

An object that receives notifications for UI-related events.