IO
The IO object provides the functionality to access un-sandboxed file system and other related attributes.
Code Example:
|
Supported Platform(s)
- BlackBerry 10 |
API | BB5.0 | BB6.0 | BB7.0 | PB1.0 | PB2.0 | BB10 | Ripple |
---|---|---|---|---|---|---|---|
SDCard | Y | ||||||
home | Y | ||||||
sandbox | Y | ||||||
sharedFolder | Y |
Configuration Document Settings
To use all of the API described for this object, you must ensure the following settings are in your configuration document: |
You must declare the feature element(s) below in your configuration document: |
Feature ID | BB5.0 | BB6.0 | BB7.0 | PB1.0 | PB2.0 | BB10 | Ripple |
---|---|---|---|---|---|---|---|
<feature id="blackberry.io" /> | Y |
Permission Elements (PlayBook and BlackBerry 10+) |
---|
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application. |
Properties
String | SDCard |
String | home |
Boolean | sandbox |
String | sharedFolder |
Properties
static
readonly
String
SDCard
The full path of the SD card folder
Supported Platforms | |
---|---|
- BlackBerry 10 |
static
readonly
String
home
The full path of the application data folder
Supported Platforms | |
---|---|
- BlackBerry 10 |
static
Boolean
sandbox
Whether the file system is sandboxed. It is set to true by default.
When sandbox is set to false, you must use absolute path to reference a file or directory, you can use sharedFolder, home or SDCard to construct file paths.
Supported Platforms | |
---|---|
- BlackBerry 10 |
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:39 GMT-0500 (EST)