Requests a filesystem, in which the application data are stored.
requestFileSystem(type, size, successCallback, errorCallback)
This method does not return anything.
Name |
Description |
Type |
Use |
type |
A type of the requested filesystem. If
needed, various requests (except for EXTERNAL) may be combined using the "|" bitwise
operator. |
unsigned short
|
required |
size |
This is an indicator of how much storage space, in bytes, the application expects to
need. |
unsigned long
|
required |
successCallback |
The callback that is called when the filesystem is provided. |
FileSystemCallback
|
required |
errorCallback |
A callback that is called when errors happen, or when the request to obtain the
filesystem is denied. |
ErrorCallback
|
optional |