public class MessagingCallbackImpl extends BaseCallbackImpl implements IMessagingCallback
| Constructor and Description |
|---|
MessagingCallbackImpl(long id)
Constructor with callback id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(IMessagingCallbackError error)
This method is called on Error
|
void |
onResult(boolean success)
This method is called on Result
|
void |
onWarning(boolean success,
IMessagingCallbackWarning warning)
This method is called on Warning
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic MessagingCallbackImpl(long id)
id - The id of the callback.public void onError(IMessagingCallbackError error)
onError in interface IMessagingCallbackerror - returned by the platformpublic void onResult(boolean success)
onResult in interface IMessagingCallbacksuccess - true if sent;false otherwisepublic void onWarning(boolean success,
IMessagingCallbackWarning warning)
onWarning in interface IMessagingCallbacksuccess - true if sent;false otherwisewarning - returned by the platform