screenBrightness
Description
Adjust brightness of a mobile device.
Input / Parameters
No
Name
Description
Data Type
Required
Example
1
level
brightness level
Float
Yes
float 0-1 is a brightness level, -1 represents a system default
2
keepScreenOn
Prevents sleep
Boolean
Yes
Output
Callback
Video
Example
The user want adjust the screnn brightness of mobile.
Step
Call the screenBrightness function in a button event.
Result
The mobile device brightness level will be changed.
Video
N/A
Links
N/A
Last updated