getFile

actual fun StorageReference.getFile(destination: Path): FileDownloadTask(source)

The SDK's own file form. Shipped (see keepClasses in build.gradle.kts).

actual fun StorageReference.getFile(destination: <Error class: unknown class>): FileDownloadTask(source)
expect fun StorageReference.getFile(destination: <Error class: unknown class>): FileDownloadTask(source)

Downloads the object to the file at destination; the kotlinx-io form of getFile(File). Fails on JS, whose SDK has no file downloads (behind @UnsupportedOnJs there).

actual fun StorageReference.getFile(destination: <Error class: unknown class>): FileDownloadTask(source)

Fails: the JS SDK downloads through URLs, not to files; use StorageReference.getBytes or StorageReference.getDownloadUrl.

actual fun StorageReference.getFile(destination: Path): FileDownloadTask(source)

The SDK's own file form. Shipped (see keepClasses in build.gradle.kts).

actual fun StorageReference.getFile(destination: <Error class: unknown class>): FileDownloadTask(source)

Fails: the JS SDK downloads through URLs, not to files; use StorageReference.getBytes or StorageReference.getDownloadUrl.