Change screen brightness

In SmartDevicesPlus 5 were added some new methods in the External Object SmartDevicesPlusUtil. These functionalities are currently only available for Android.

These new methods allow to change and obtain the screen brightness:


For example, if you want to change the screen brightness to the max value, but first you need to obtain the current value so you can change it back in another moment. You only need to do the following: