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 Android

ScanditSDKCaptureListener Interface Reference

Public Member Functions

void didCaptureImage (byte[] data, int width, int height)
 

Detailed Description

A listener for video frames that have been processed by the Scandit SDK.

Member Function Documentation

void didCaptureImage ( byte[]  data,
int  width,
int  height 
)

Called after a frame has been processed.

When the frame contains barcodes, this callback is invoked after invoking ScanditSDKOnScanListener::didScan() on the registered listeners.

This callback is called in a different thread. Should you wish to change the UI you will have to use a main thread handler for it.

Parameters
dataThe image data of the processed frame.
widthThe width of the image.
heightThe height of the image.

The documentation for this interface was generated from the following file:
  • ScanditSDKCaptureListener.java