ViewBasedMatrixScanOverlay.IViewBasedMatrixScanOverlayListener Interface Reference
Inherits IJavaObject, and IDisposable.
Public Member Functions | |
Point | GetOffsetForCode (TrackedBarcode barcode, long trackingId) |
View | GetViewForCode (TrackedBarcode barcode, long trackingId) |
void | OnCodeTouched (TrackedBarcode barcode, long trackingId) |
Detailed Description
Interface that can be used to set a onCodeTouched action or to set a custom offset for every tracked barcode or to define a custom view for every barcode.
- Since
- 5.9.0
Member Function Documentation
Point GetOffsetForCode | ( | TrackedBarcode | barcode, |
long | trackingId | ||
) |
Interface method that will be used by the ViewBasedMatrixScanOverlay to set an offset to the augmentation corresponding to the given tracked barcode.
- Parameters
-
barcode A ScanditBarcodePicker.Android.Recognition.TrackedBarcode instance. trackingId Barcode identifier.
- Returns
- Offset for the given barcode.
- Since
- 5.9.0
View GetViewForCode | ( | TrackedBarcode | barcode, |
long | trackingId | ||
) |
Interface method that will be used by the ViewBasedMatrixScanOverlay to set a View for the augmentation corresponding to the given tracked barcode.
- Parameters
-
barcode A ScanditBarcodePicker.Android.Recognition.TrackedBarcode instance. trackingId Barcode identifier.
- Returns
- View for the given barcode.
- Since
- 5.9.0
void OnCodeTouched | ( | TrackedBarcode | barcode, |
long | trackingId | ||
) |
Interface callback method that will be called by the ViewBasedMatrixScanOverlay once the given tracked barcode is touched.
- Parameters
-
barcode A ScanditBarcodePicker.Android.Recognition.TrackedBarcode instance. trackingId Barcode identifier.
- Since
- 5.9.0