putFileResumable

expect fun putFileResumable(file: File, metadata: FirebaseStorageMetadata? = null): ProgressFlow(source)

Asynchronously uploads from a content URI to this StorageReference.

Return

A ProgressFlow that can be used to monitor and manage the upload.

Parameters

file

The source of the upload. This is a File. A content resolver will be used to load the data.

metadata

FirebaseStorageMetadata containing additional information (MIME type, etc.) about the object being uploaded.