MCPcopy Index your code
hub / github.com/c19354837/react-native-system-setting / setBrightness

Method setBrightness

SystemSetting.js:28–35  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

26 }
27
28 static async setBrightness(val) {
29 try {
30 await SystemSettingNative.setBrightness(val)
31 return true
32 } catch (e) {
33 return false
34 }
35 }
36
37 static async setBrightnessForce(val) {
38 if (Utils.isAndroid) {

Callers 3

setBrightnessForceMethod · 0.45
setAppBrightnessMethod · 0.45
restoreBrightnessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected