Class: GDRequestFileSystem

GDRequestFileSystem()

Wrapper for requestFileSystem method

Constructor

new GDRequestFileSystem()

Source:

Methods

requestFileSystem(successCallback, errorCallback)

requestFileSystem - Request a secure file system in which to store application data.
Parameters:
Name Type Description
successCallback function Invoked with a FileSystem object
errorCallback function Invoked if error occurs retrieving the secure file system
Properties:
Name Type Description
type string Local secure file system type
size integer Indicates how much storage space, in bytes, the application expects (not supported)
Source:
Example
requestFileSystem(LocalFileSystem.PERSISTENT, 0, function (fileSystem) {
    console.log(fileSystem.name);
    console.log(fileSystem.root);
});