pickFile

fun pickFile(context: Context, callback: FilePickedCallback)

Pick the document from the device shared storage. The successful file picking is notified with the callback. The picked file has to be of the provided extension.

Parameters

callback

Provides the Uri of the picked file.

Throws

if the picked file does not matched the chosen extension.