Class Overview
Encapsulates state about the running UploadTask
Public Methods
public
long
getBytesTransferred
()
Returns |
long |
the total bytes uploaded so far. |
public
Uri
getDownloadUrl
()
Returns a long lived download URL with a revokable token. This can be used to share the file
with others, but can be revoked by a developer in the Firebase Console if desired.
Returns |
Uri |
The Uri representing the download URL. You can feed this url into a URL and download the object via openStream() .
|
Returns |
StorageMetadata |
the metadata for the object. After uploading, this will return the resulting final
Metadata which will include the upload URL.
|
public
long
getTotalByteCount
()
Returns |
long |
The number of bytes to upload. Will return -1 if uploading from a stream. |
public
Uri
getUploadSessionUri
()