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

Method getAppBrightness

SystemSetting.js:56–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 static async getAppBrightness() {
57 if (Utils.isAndroid) {
58 return SystemSettingNative.getAppBrightness()
59 } else {
60 return SystemSetting.getBrightness()
61 }
62 }
63
64 /**
65 * @deprecated use grantWriteSettingPermission instead

Callers

nothing calls this directly

Calls 1

getBrightnessMethod · 0.45

Tested by

no test coverage detected