java.lang.Object | |
↳ | com.gsma.services.rcs.filetransfer.OneToOneFileTransferListener |
One-To-One File transfer event listener
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OneToOneFileTransferListener() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onDeleted(ContactId contact, Set<String> transferIds)
Callback called when a delete operation completed that resulted in that one or several one to
one file transfers was deleted specified by the transferIds parameter corresponding to a
specific contact.
| ||||||||||
abstract void |
onProgressUpdate(ContactId contact, String transferId, long currentSize, long totalSize)
Callback called during the file transfer progress.
| ||||||||||
abstract void |
onStateChanged(ContactId contact, String transferId, FileTransfer.State state, FileTransfer.ReasonCode reasonCode)
Callback called when the file transfer state/reasonCode is changed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Callback called when a delete operation completed that resulted in that one or several one to one file transfers was deleted specified by the transferIds parameter corresponding to a specific contact.
contact | Contact ID |
---|---|
transferIds | ids of those deleted file transfers |
Callback called during the file transfer progress.
contact | Contact ID |
---|---|
transferId | Id of file transfer |
currentSize | Current transferred size in bytes |
totalSize | Total size to transfer in bytes |
Callback called when the file transfer state/reasonCode is changed.
contact | Contact ID |
---|---|
transferId | Id of file transfer |
state | State of the file transfer |
reasonCode | Reason code |