MCPcopy Create free account
hub / github.com/c19354837/react-native-system-setting / setAppBrightness

Method setAppBrightness

SystemSetting.js:47–54  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

45 }
46
47 static setAppBrightness(val) {
48 if (Utils.isAndroid) {
49 SystemSettingNative.setAppBrightness(val)
50 } else {
51 SystemSetting.setBrightness(val)
52 }
53 return true
54 }
55
56 static async getAppBrightness() {
57 if (Utils.isAndroid) {

Callers

nothing calls this directly

Calls 1

setBrightnessMethod · 0.45

Tested by

no test coverage detected