Document Provider
interface DocumentProvider
uapmd::IDocumentProvider. Picks complete from tick, so a host ticks the provider on every UI update, as uapmd-app does. Callbacks are dispatched on the calling thread or the platform's main thread.
Inheritors
AndroidDocumentProvider
JsDocumentProvider
JvmDocumentProvider
NativeDocumentProvider
WasmJsDocumentProvider
Properties
Link copied to clipboard
Whether pickFolder yields a path that stays valid after the call.
Functions
Link copied to clipboard
Re-reads a folder picked earlier, named by its FolderPickResult.token.
Link copied to clipboard
Link copied to clipboard
abstract fun pickOpenDocuments(filters: List<DocumentFilter>, allowMultiple: Boolean, callback: (DocumentPickResult) -> Unit)
Link copied to clipboard
Link copied to clipboard
Gives up a folder token, releasing any grant behind it.