Manage & Adjust Device Screen Settings
Manage & Adjust Device Screen Settings
Use this component to adjust screen brightness, or keep the screen active.
To get started using it, you must use **KmpDeviceDisplay **. All functions are thread safe and main thread safe.
Below are the functions available:
_3 KmpDeviceDisplay.keepScreenOnActive() // keep the device screen active _3 KmpDeviceDisplay.disableScreenOnActive() // reset to default (let's device manage screen activity)_3 KmpDeviceDisplay.adjustScreenBrightness(brightness: Double) // adjust screen brightness programatically
Any Required Setup?
None