public static interface IRecognitionService.Callback
| Modifier and Type | Method and Description |
|---|---|
void |
onError(java.lang.Exception error)
Reports an error.
|
void |
onRequestLatestFrame(byte[] buffer)
Requests the latest video frame.
|
void onRequestLatestFrame(byte[] buffer)
submitRequestedFrame method.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.
void onError(java.lang.Exception error)
error - The Exception object for the error that has occurred.