java.lang.Object | |
↳ | com.gsma.services.rcs.filetransfer.GroupFileTransferListener |
Group file transfer event listener
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GroupFileTransferListener() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onDeleted(String chatId, Set<String> transferIds)
Callback called when a delete operation completed that resulted in that one or several group
file transfers was deleted specified by the transferIds parameter corresponding to a specific
group chat.
| ||||||||||
abstract void |
onDeliveryInfoChanged(String chatId, ContactId contact, String transferId, GroupDeliveryInfo.Status status, GroupDeliveryInfo.ReasonCode reasonCode)
Callback called when a group file transfer state/reasonCode is changed for a single recipient
only.
| ||||||||||
abstract void |
onProgressUpdate(String chatId, String transferId, long currentSize, long totalSize)
Callback called during the transfer progress of group file transfer
| ||||||||||
abstract void |
onStateChanged(String chatId, String transferId, FileTransfer.State state, FileTransfer.ReasonCode reasonCode)
Callback called when the group file transfer status/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 group file transfers was deleted specified by the transferIds parameter corresponding to a specific group chat.
chatId | id of the chat |
---|---|
transferIds | ids of those deleted file transfers |
Callback called when a group file transfer state/reasonCode is changed for a single recipient only.
chatId | Id of chat |
---|---|
contact | Contact ID |
transferId | Id of file transfer |
status | state of file transfer after change |
reasonCode | Reason code of state after change |
Callback called during the transfer progress of group file transfer
chatId | Id of chat |
---|---|
transferId | Id of file transfer |
currentSize | Current transferred size in bytes |
totalSize | Total size to transfer in bytes |
Callback called when the group file transfer status/reasonCode is changed.
chatId | Id of chat |
---|---|
transferId | Id of file transfer |
state | State of file transfer after change |
reasonCode | Reason code of file transfer after change |