getFile
Deprecated (with error)
Replace with
import kotlinx.io.files.Path
Content copied to clipboard
getFile(Path(destinationFile.path))Content copied to clipboard
Deprecated (with error)
Replace with
import kotlinx.io.files.Path
Content copied to clipboard
getFile(Path(destinationFile.path))Content copied to clipboard
Downloads the object to the file at destinationUri. Fails on JS, whose SDK has no file downloads.
Deprecated (with error)
getFile(java.io.File) is Android/JVM-only; use getFile(Path) (kotlinx-io), on the JVM with Path(destinationFile.path), or getFile(Uri)
Replace with
import kotlinx.io.files.Path
Content copied to clipboard
getFile(Path(destinationFile.path))Content copied to clipboard
Android/JVM only: downloads to a java.io.File; common code downloads to a kotlinx-io Path through getFile(Path), or to a Uri.
Fails: the JS SDK downloads through URLs, not to files; use getBytes or getDownloadUrl.
Deprecated (with error)
Replace with
import kotlinx.io.files.Path
Content copied to clipboard
getFile(Path(destinationFile.path))Content copied to clipboard
Deprecated (with error)
Replace with
import kotlinx.io.files.Path
Content copied to clipboard
getFile(Path(destinationFile.path))Content copied to clipboard
Fails: the JS SDK downloads through URLs, not to files; use getBytes or getDownloadUrl.
Deprecated (with error)
Replace with
import kotlinx.io.files.Path
Content copied to clipboard
getFile(Path(destinationFile.path))Content copied to clipboard