putFile

actual suspend fun putFile(file: File, metadata: FirebaseStorageMetadata?)(source)
expect suspend fun putFile(file: File, metadata: FirebaseStorageMetadata? = null)(source)

Asynchronously uploads from a content URI to this StorageReference.

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.

actual suspend fun putFile(file: File, metadata: FirebaseStorageMetadata?)(source)
actual suspend fun putFile(file: File, metadata: FirebaseStorageMetadata?)(source)