setBrightness

abstract fun setBrightness(brightness: Long): Boolean

Set the brightness of screen.

Return

true: success, false: otherwise

Parameters

brightness

the brightness