Interface FirebaseStorage.UploadProgress

Enclosing class:
FirebaseStorage

public static interface FirebaseStorage.UploadProgress
Receives the progress of an upload.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProgress(long sent, long total)
    Called on the EDT after each chunk.
  • Method Details

    • onProgress

      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
      • sent: the bytes the server has accepted

      • total: the total size