UNPKG

ionic-native

Version:

Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support

24 lines (23 loc) 470 B
/** * @name FileChooser * @description * * Opens the file picker on Android for the user to select a file, returns a file URI. * * @usage * ``` * import {FileChooser} from 'ionic-native'; * * FileChooser.open() * .then(uri => console.log(uri)) * .catch(e => console.log(e)); * * ``` */ export declare class FileChooser { /** * Open a file * @returns {Promise<string>} */ static open(): Promise<string>; }