Airplane Mode
Title: Airplane Mode
Description: Enable or disable the airplane mode. which makes the device to close GPS+ WIFI + Bluetooth + internet connection. just like regular mobile phones.
Using the SDK
Command:
sdk.commands.setAirplaneModeEnabled(value, callback);
- Value: Boolean. can be "true" (for activating airplane mode) or "false" (to disable airplane mode and go back to normal).
- callback: can be "null", for no callback return. or any instance for example "new myReturnedInfo()"
Please refer to the "Installing Infinity SDK" page to see how to handle callbacks "onSuccess" and "onError".
Screenshot on how it looks with the callback:

Using the ADB
Using the API