Skip to main content
Control whether the device screen stays on while the Mini App is active. Only affects the current Mini App instance — screen behavior returns to normal when the user exits.

Parameters

Code Example

my.getScreenBrightness

Get current brightness

my.setScreenBrightness

Set brightness level