Engine
/
com.drake.engine.utils
/
BrightnessUtils
/
setBrightness
set
Brightness
open fun
setBrightness
(
@
IntRange
(
from =
0
,
to =
255
)
brightness:
Int
):
Boolean
Content copied to clipboard
设置屏幕亮度
需添加权限
{@code }
并得到授权
Parameters
brightness
亮度值