Barcode AR Custom Annotation
Defined under the namespace Scandit.Datacapture.Barcode.Ar.Ui
- BarcodeArCustomAnnotationConfig
interface BarcodeArCustomAnnotationConfigAdded in version 8.1.0
Configuration object for BarcodeArCustomAnnotation.
- renderAnnotation
renderAnnotation: () =>
ReactElementAdded in version 8.1.0
Method that returns a React component to be used as a custom annotation.
- annotationTrigger
annotationTrigger?: BarcodeArAnnotationTrigger
Added in version 8.1.0
The trigger that causes the annotation to be presented. The default is BarcodeArAnnotationTrigger.HighlightTapAndBarcodeScan.
- anchor
anchor?: Anchor
Added in version 8.1.0
Specifies the anchor point for the annotation. The default is Anchor.TopCenter
- BarcodeArCustomAnnotation
class BarcodeArCustomAnnotation : BarcodeArAnnotation
Added in version 8.1.0
A custom annotation that can be used to attach your own component to a scanned barcode.
- constructor(config)
constructor(config: BarcodeArCustomAnnotationConfig)
Added in version 8.1.0
Creates a new instance with the provided configuration.
- renderAnnotation
renderAnnotation: () =>
ReactElementAdded in version 8.1.0
Method that returns a React component to be used as a custom annotation.