Firebase.Storage.UploadState

UploadState contains information for an upload in progress.

Summary

Properties

BytesTransferred
long
The total number of bytes uploaded so far.
Metadata
Returns
the metadata for the object.
Reference
Returns the StorageReference associated with this upload.
TotalByteCount
long
The total number of bytes to upload.
UploadSessionUri
Uri
Returns
the session Uri, valid for approximately one week, which can be used to resume an upload later by passing this value into an upload.

Properties

BytesTransferred

long BytesTransferred

The total number of bytes uploaded so far.

Details
Returns
the total number of bytes uploaded so far.

Metadata

StorageMetadata Metadata

Details
Returns
the metadata for the object.

After uploading, this will return the resulting final Metadata which will include the upload URL.

Reference

StorageReference Reference

Returns the StorageReference associated with this upload.

Details
Returns
the StorageReference associated with this upload.

TotalByteCount

long TotalByteCount

The total number of bytes to upload.

Details
Returns
the total number of bytes to upload or -1 if the size is unknown.

UploadSessionUri

Uri UploadSessionUri

Details
Returns
the session Uri, valid for approximately one week, which can be used to resume an upload later by passing this value into an upload.