java.lang.Object | |
↳ | com.gsma.services.rcs.sharing.image.ImageSharingListener |
Image sharing event listener
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ImageSharingListener() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onDeleted(ContactId contact, Set<String> sharingIds)
Callback called when a delete operation completed that resulted in that one or several image
sharings was deleted specified by the sharingIds parameter corresponding to a specific
contact.
| ||||||||||
abstract void |
onProgressUpdate(ContactId contact, String sharingId, long currentSize, long totalSize)
Callback called during the sharing progress.
| ||||||||||
abstract void |
onStateChanged(ContactId contact, String sharingId, ImageSharing.State state, ImageSharing.ReasonCode reasonCode)
Callback called when the image sharing state/reasonCode has been changed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Callback called when a delete operation completed that resulted in that one or several image sharings was deleted specified by the sharingIds parameter corresponding to a specific contact.
contact | Contact ID |
---|---|
sharingIds | ids of those deleted image sharing |
Callback called during the sharing progress.
contact | Contact ID |
---|---|
sharingId | ID of image sharing |
currentSize | Current transferred size in bytes |
totalSize | Total size to transfer in bytes |
Callback called when the image sharing state/reasonCode has been changed.
contact | Contact ID |
---|---|
sharingId | ID of image sharing |
state | State of image sharing |
reasonCode | Reason code of the image sharing state |