NoOpFilePicker

Functions

Link copied to clipboard
open suspend override fun pickFile(): ByteArray?

Prompts the user to pick a file; null if cancelled, unavailable, or no host UI has wired the picker.

Link copied to clipboard
open suspend override fun saveFile(fileName: String, bytes: ByteArray): Boolean

Prompts the user to choose a save location and writes bytes there; true on success.