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

Method getScreenMode

SystemSetting.js:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 }
80
81 static async getScreenMode() {
82 if (Utils.isAndroid) {
83 return await SystemSettingNative.getScreenMode()
84 }
85 return -1 // cannot get iOS screen mode
86 }
87
88 static async setScreenMode(val) {
89 if (Utils.isAndroid) {

Callers 1

saveBrightnessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected