Static
Readonly
TypesDevice.DocumentPicker.Types
4.1.5
Provides a few common types for use as type values.
Static
pickUse pick to open a document picker for the user to select file.
pick
4.1.5
On Android these are MIME types such as text/plain or partial MIME types such as image/*. On iOS these must be Apple "Uniform Type Identifiers". Also can use Device.DocumentPicker.Types.
This event is called after picking document successfully.
If the user cancels the document picker without choosing a file (by pressing the system back button on Android or the Cancel button on iOS) the Promise will be rejected with a cancellation error.
Android only, if any runtime error occures, this method will be called. This method will be ignored on iOS
Optional
e: ErrorGenerated using TypeDoc
Since
4.1.5
This class provides access to documents.
Example