BatterySupport
Summary
Class to access battery manager.
Constructor
BatterySupport
Syntax
BatterySupport
()
Summary
Example:
var batterySupport = new BatterySupport(onReady);
function onReady() {
trace(batterySupport.isSupported);
if (batterySupport.isSupported) {
trace(batterySupport.battery.level);
}
}
Item Index
Properties
Properties
isSupported
Syntax
isSupported
Bool
Summary
Support check.