public class ServiceResultCallbackImpl extends BaseCallbackImpl implements IServiceResultCallback
| Constructor and Description |
|---|
ServiceResultCallbackImpl(long id)
Constructor with callback id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(IServiceResultCallbackError error)
This method is called on Error
|
void |
onResult(ServiceResponse response)
This method is called on Result
|
void |
onWarning(ServiceResponse response,
IServiceResultCallbackWarning warning)
This method is called on Warning
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic ServiceResultCallbackImpl(long id)
id - The id of the callback.public void onError(IServiceResultCallbackError error)
onError in interface IServiceResultCallbackerror - returned by the platformpublic void onResult(ServiceResponse response)
onResult in interface IServiceResultCallbackresponse - datapublic void onWarning(ServiceResponse response, IServiceResultCallbackWarning warning)
onWarning in interface IServiceResultCallbackresponse - datawarning - returned by the platform