Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface FirebaseStorage.UploadProgress
Receives the progress of an upload.
Methods
public abstract void onProgress(long sent, long total) | Called on the EDT after each chunk. |
Method details
onProgress
public abstract void onProgress(long sent, long total)Called on the EDT after each chunk. It runs from the transport’s response
handler, which the
CloudHttpTransport contract calls on the EDT, so no
further marshalling happens here.Parameters
sentlong- the bytes the server has accepted
totallong- the total size