We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 001d7ef commit 9bfabbbCopy full SHA for 9bfabbb
SystemSetting.d.ts
@@ -50,7 +50,7 @@ interface SystemSetting {
50
switchWifi: () => void;
51
isLocationEnabled: () => Promise<boolean>;
52
getLocationMode: () => Promise<number>;
53
- switchLocation: () => void;
+ switchLocation: (callback: () => void) => void;
54
isBluetoothEnabled: () => Promise<boolean>;
55
switchBluetooth: () => void;
56
switchBluetoothSilence: () => void;
0 commit comments