Use this API to get the current screen brightness level.Documentation Index
Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Success Callback Parameters
| Property | Type | Description |
|---|---|---|
| brightness | Number | Screen brightness value (0-1) |
Code Example
Basic Usage
Display Brightness Percentage
Brightness Adjustment UI
Related APIs
my.setScreenBrightness
Set screen brightness