public class ContactResultCallbackImpl extends BaseCallbackImpl implements IContactResultCallback
| Constructor and Description |
|---|
ContactResultCallbackImpl(long id)
Constructor with callback id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(IContactResultCallbackError error)
This method is called on Error
|
void |
onResult(Contact[] contacts)
This method is called on Result
|
void |
onWarning(Contact[] contacts,
IContactResultCallbackWarning warning)
This method is called on Warning
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic ContactResultCallbackImpl(long id)
id - The id of the callback.public void onError(IContactResultCallbackError error)
onError in interface IContactResultCallbackerror - returned by the platformpublic void onResult(Contact[] contacts)
onResult in interface IContactResultCallbackcontacts - returned by the platformpublic void onWarning(Contact[] contacts, IContactResultCallbackWarning warning)
onWarning in interface IContactResultCallbackcontacts - returned by the platformwarning - returned by the platform