Allows the user to select a file from the device file system or a location for the file to be saved.
Parameters
Mode Defines the Mode to open the file picker.
It can be one of:
1 - Open;
Opens the default operating system file picker to browse for a file.
2 - Save;
Opens the default operating system file picker to browse for a path to save a file.
3 - Open Image from Gallery;
Opens the default Gallery app to browse for an image to be openned.
4 - Open Video from Gallery
Opens the default Gallery app to browse for a video to be openned.
Suggested File Namestring This parameter allows the user to define a default filename to be used.
This parameter is only available in the Save Mode.
On iOS, this name will be the suggested file name and the user cannot change it.
On Win10, a file type is mandatory and will be extracted from suggested file name. If no name is specified, .txt will be used.
Target Filename Control or variable where to store the full path of the selected file.
On Win32 operating systems the modes Open Image from Gallery and Open Video from Gallery will open the same file picker as the Open mode
On iOS, only the last file selected can be used. After you select another file with the file picker you will loose access to the previously selected file.
On Android, the Save mode, will not allow to overwrite an existing file, instead it will create a new file with "...-1" or "... (1)" or similar.