This namespace provides access to the internal storage functionality.
- Since:
- Version 1.1 (API level 2)
Members
-
static, readonly, nullable availableSpace :number
-
Amount of the available internal storage in bytes. This property is
null
if the amount of the available internal storage cannot be determined.- Since:
- Version 1.1 (API level 2)
Example
mobicontrol.log.info("The available internal storage is " + mobicontrol.storage.internal.availableSpace);
-
static, readonly dataDirectory :string
-
Name of the agent's data folder in internal storage. For example: "/data/user/10/net.soti.mobicontrol.androidwork/app_data".
- Since:
- Version 1.1 (API level 2)
Example
var internalDataDirectory = mobicontrol.storage.internal.dataDirectory; mobicontrol.app.install(internalDataDirectory + '/newApp.apk');
-
static, readonly, nullable totalSpace :number
-
Total amount of the internal storage in bytes. This property is
null
if the total amount of internal storage cannot be determined.- Since:
- Version 1.1 (API level 2)
Example
var totalInternalStorage = mobicontrol.storage.internal.totalSpace; if (totalInternalStorage != null) { mobicontrol.log.info("The total internal storage is " + totalInternalStorage); }