requestFileSystemSync
Summary
Requests a file system where data should be stored. You access a sandboxed file system by requesting a LocalFileSystemSync object from within a web worker using this global method, window.requestFileSystemSync().
Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.
Method of apis/filesystem/LocalFileSystemSyncapis/filesystem/LocalFileSystemSync
Syntax
var = LocalFileSystemSync.requestFileSystemSync(type, size);
Parameters
type
- Data-type
- unsigned short
Whether the filesystem requested should be persistent. Use one of TEMPORARY (0) or PERSISTENT (1).
size
- Data-type
- unsigned long
How much storage space, in bytes, the application expects to need.
Return Value
Returns an object of type
FileSystemSync
Related specifications
- W3C File API: Directories and System Specification
- W3C Working Draft