()
| 160 | } |
| 161 | |
| 162 | static async getLocationMode() { |
| 163 | if (Utils.isAndroid) { |
| 164 | return await SystemSettingNative.getLocationMode() |
| 165 | } else { |
| 166 | return await SystemSetting.isLocationEnabled() ? 1 : 0 |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | static switchLocation(complete) { |
| 171 | SystemSetting.listenEvent(complete) |
nothing calls this directly
no test coverage detected