This namespace provides access to the lockdown functionality.
- Since:
- Version 1.0 (API level 1)
Members
-
static, readonly isEnabled :boolean
-
return
true
if the lockdown is currently enabled,false
otherwise.- Since:
- Version 1.7 (API level 8)
Methods
-
async, static disable() → {boolean}
-
Disable lockdown.
Returns:
boolean -true
if the lockdown disabling process was successfully launched,false
otherwise.- Since:
- Version 1.0 (API level 1)
-
async, static enable() → {boolean}
-
Enable lockdown.
Returns:
boolean -true
if the lockdown enabling process was successfully launched,false
otherwise.- Since:
- Version 1.0 (API level 1)