onRequestLatestFrame method of the Callback interface

Called by the service when it needs the latest video frame. The frame should be provided through a call to the ITextCaptureService.submitRequestedFrame method.

This method is to be implemented on the client side.

void onRequestLatestFrame( byte[] buffer );

Parameters

buffer
The buffer to be filled with image data for latest frame. Only NV21 format is currently supported.
Can be passed directly to Camera.addCallbackBuffer. When the buffer is filled with data, it should be passed back to the service by calling submitRequestedFrame.

3/2/2022 12:59:15 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.