You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2013/08/19 07:35:47 UTC
[jira] [Created] (CB-4617) size parameter not documented for
requestFileSystem method
Peter created CB-4617:
-------------------------
Summary: size parameter not documented for requestFileSystem method
Key: CB-4617
URL: https://issues.apache.org/jira/browse/CB-4617
Project: Apache Cordova
Issue Type: Improvement
Components: Docs
Affects Versions: 2.9.0
Reporter: Peter
Assignee: Michael Brooks
Priority: Minor
The 2nd parameter of requestFileSystem
{code}
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onSuccess, onError);
{code}
is not documented anywhere in the online API guide. The examples always pass 0. Apparently (from looking at _cordova.js_) this parameter indicates how much storage space, in bytes the application expects to need, and 0 has some special meaning.
Ref: http://cordova.apache.org/docs/en/2.9.0/cordova_file_file.md.html#LocalFileSystem
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira