class
#include <IO/EmscriptenFileStream.h>
EmscriptenFilePicker Allows a user to pick files in the browser.
Public static functions
-
static void SaveFileAsync(Containers::
ArrayView<char> bytesToSave, Containers:: StringView filenameHint = {}) - Saves a file to user's storage.
Constructors, destructors, conversion operators
Public functions
- auto IsCancelSupported() const -> bool
- Returns
true
if the browser can detect a cancellation request. -
void FetchFilesAsync(Containers::
StringView fileFilter, bool multiple, Containers:: Function<void(Containers:: ArrayView<EmscriptenFileStream>)>&& callback) - Prompts the user for file(s)
-
void FetchDirectoryAsync(Containers::
Function<void(Containers:: ArrayView<EmscriptenFileStream>)>&& callback) - Prompts the user for a whole directory.