requestFileSystem


Purpose

Requests a filesystem, in which the application data are stored.

Signature

requestFileSystem(type, size, successCallback, errorCallback)

Returns

This method does not return anything.

Parameter

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

Related topics

LocalFileSystem
Overview
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...