Deprecation warning
Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.
We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.
You'll find the updated documentation at: Data Capture SDK Documentation for Xamarin.Android and Data Capture SDK Documentation for Xamarin.iOS
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