public class ContactPhotoResultCallbackImpl extends BaseCallbackImpl implements IContactPhotoResultCallback
| Constructor and Description |
|---|
ContactPhotoResultCallbackImpl(long id)
Constructor with callback id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(IContactPhotoResultCallbackError error)
This method is called on Error
|
void |
onResult(byte[] contactPhoto)
This method is called on Result
|
void |
onWarning(byte[] contactPhoto,
IContactPhotoResultCallbackWarning warning)
This method is called on Warning
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic ContactPhotoResultCallbackImpl(long id)
id - The id of the callback.public void onError(IContactPhotoResultCallbackError error)
onError in interface IContactPhotoResultCallbackerror - returned by the platformpublic void onResult(byte[] contactPhoto)
onResult in interface IContactPhotoResultCallbackcontactPhoto - returned by the platformpublic void onWarning(byte[] contactPhoto,
IContactPhotoResultCallbackWarning warning)
onWarning in interface IContactPhotoResultCallbackcontactPhoto - returned by the platformwarning - returned by the platform