mobicontrol.memory

This namespace provides access to the memory-related (RAM) functionality.
Since:
  • Version 1.1 (API level 2)

Members

static, readonly, nullable availableSpace :number

Amount of the available memory (RAM) in bytes.

This property is null if the amount of the available memory cannot be determined.

Since:
  • Version 1.1 (API level 2)
Example
mobicontrol.log.info('There are ' + mobicontrol.memory.availableSpace + ' bytes of memory available.');

static, readonly, nullable totalSpace :number

The total amount of memory (RAM) in bytes.

This property is null if the total amount of memory cannot be determined.

Since:
  • Version 1.1 (API level 2)
Example
var totalMemory = mobicontrol.memory.totalSpace;
mobicontrol.log.info("The total amount of memory in bytes is " + totalMemory);