A callback interface to interact with the recognition service: input the data and obtain the results. This interface and its methods are to be implemented on the client side.
Extends the IRecognitionService.Callback interface.
interface Callback extends IRecognitionService.Callback
Note: While the service is being stopped, frames continue to be requested and calls to this callback continue to be queued, so this callback can be called after the service has been stopped.
Called to report an error. Inherited from IRecognitionService.Callback.
Called to deliver the result after recognizing the frames that were provided.
Called to request the latest video frame. Inherited from IRecognitionService.Callback.