java.lang.Object | |
↳ | com.gsma.services.rcs.upload.FileUploadListener |
File upload event listener
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FileUploadListener() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onProgressUpdate(String uploadId, long currentSize, long totalSize)
Callback called during the upload progress.
| ||||||||||
abstract void |
onStateChanged(String uploadId, FileUpload.State state)
Callback called when the file upload state has been changed.
| ||||||||||
abstract void |
onUploaded(String uploadId, FileUploadInfo info)
Callback called when the file has been uploaded.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Callback called during the upload progress.
uploadId | ID of upload |
---|---|
currentSize | Current transferred size in bytes |
totalSize | Total size to transfer in bytes |
Callback called when the file upload state has been changed.
uploadId | ID of upload |
---|---|
state | State of upload |
Callback called when the file has been uploaded.
uploadId | ID of upload |
---|---|
info | Info about the file upload |