pickFile

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.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

callback

Provides the Uri of the picked file.

Throws

if the picked file does not matched the chosen extension.