SetScreenBrightness

actual fun SetScreenBrightness(brightness: Float)(source)

A Composable that sets the screen brightness while it is in the composition.

Parameters

brightness

The brightness value (0.0 to 1.0).

expect fun SetScreenBrightness(brightness: Float)(source)

A Composable that sets the screen brightness while it is in the composition.

Parameters

brightness

The brightness value (0.0 to 1.0).

actual fun SetScreenBrightness(brightness: Float)(source)

No platform primitive sets the display brightness on desktop, iOS or the web.