Device App APIhmSetting OS ModulegetBrightnessVersion: v1.0On this pagehmSetting.getBrightness()Returns the screen brightness of the current device. Type () => result Parameters result DescriptionTypeThe screen brightness of the current device, in the range [0, 100]number Code example const result = hmSetting.getBrightness()