public interface CloudRecognitionServiceListener
Modifier and Type | Method and Description |
---|---|
void |
onError(int errorCode,
String message)
Called when an error was encountered when trying to recognize a target with a CloudRecognitionService
|
void |
onResponse(CloudRecognitionServiceResponse response)
Called when a response from the server is received
|
void onResponse(CloudRecognitionServiceResponse response)
response
- The response from the servervoid onError(int errorCode, String message)
errorCode
- The error code for this errormessage
- Message explaining why the error occurred