Blocks android functionality to keep the rest of your phone safe while others may use your app.
Note: This function is a premium feature. Please consider subscribing to Premium to use this feature and support DroidScript in its further development.
ATTENTION: This function is available in the DS X-Versions only as it doesn't meet the GooglePlay security requirements. APKs built with X-Versions are for private use only.
Example - Demo
app.SetKioskMode( "Status,Nav", true, "Black" );
string: comma “,” separated: “Power”, “Status”, “Nav”, “NavRight”
string: comma “,” separated: “Black”