@dcloudio/uni-app-x 0.7.38 → 0.7.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/package.json +9 -7
  2. package/types/UniPage.d.ts +172 -22
  3. package/types/app.d.ts +31 -31
  4. package/types/native/CSSStyleDeclaration.d.ts +16 -2
  5. package/types/native/CanvasRenderingContext2D.d.ts +1 -1
  6. package/types/native/DOMRect.d.ts +430 -10
  7. package/types/native/DrawableContext.d.ts +1137 -45
  8. package/types/native/IUniElement.d.ts +1981 -138
  9. package/types/native/UniNativePage.d.ts +94 -0
  10. package/types/native/UniResizeObserver.d.ts +215 -5
  11. package/types/native/UniSafeArea.d.ts +185 -0
  12. package/types/native/UniVideoElement.d.ts +432 -0
  13. package/types/native/global.d.ts +21 -8
  14. package/types/native/index.d.ts +1 -0
  15. package/types/page.d.ts +45 -3
  16. package/types/uni/env/index.d.ts +81 -81
  17. package/types/uni/uni-map-tencent-map.d.ts +19 -15
  18. package/types/uni/uts-plugin-api/global.d.ts +62 -63
  19. package/types/uni/uts-plugin-api/index.d.ts +62 -63
  20. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +10 -12
  21. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +5 -6
  22. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -217
  23. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
  24. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +74 -73
  25. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
  26. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
  27. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1297 -333
  28. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +74 -73
  29. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +783 -783
  30. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +411 -153
  31. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
  32. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +2649 -1987
  33. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
  34. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +289 -68
  35. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +158 -90
  36. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +315 -315
  37. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
  38. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
  39. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +62 -62
  40. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +2781 -2175
  41. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -490
  42. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2538 -2005
  43. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
  44. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
  45. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +713 -115
  46. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +336 -85
  47. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
  48. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +732 -225
  49. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +571 -64
  50. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +874 -830
  51. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +692 -274
  52. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
  53. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +1013 -969
  54. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1448 -243
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +75 -75
  56. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  57. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
  58. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +202 -103
  59. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +264 -87
  60. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
  61. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
  62. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +5521 -1939
  63. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +472 -264
  64. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +5752 -3618
  65. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1215 -159
  66. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
  67. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
  68. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +330 -65
  69. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +890 -639
  70. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +141 -92
  71. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +4322 -2391
  72. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
  73. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +488 -336
  74. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -77
  75. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
  76. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1845 -867
  77. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2501 -513
  78. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
  79. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
  80. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1103 -516
  81. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +2306 -1660
  82. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +2528 -1752
  83. package/types/uni/uts-plugin-biz/global.d.ts +6 -4
  84. package/types/uni/uts-plugin-biz/index.d.ts +6 -4
  85. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -39
  86. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +4 -0
  87. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +2 -0
  88. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +14 -1
  89. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +80 -28
  90. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
  91. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
  92. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
  93. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
  94. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -36
  95. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -18
  96. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +514 -216
  97. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
  98. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
  99. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
  100. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +313 -313
  101. package/types/uni/uts-plugin-extend/global.d.ts +1 -4
  102. package/types/uni/uts-plugin-extend/index.d.ts +0 -4
  103. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
  104. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
  105. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
  106. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
  107. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4400 -340
  108. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
  109. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
  110. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +6 -6
  111. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
  112. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
  113. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
  114. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
  115. package/types/uni-cloud/interface.d.ts +13 -13
  116. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +0 -21
  117. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +0 -9
  118. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
  119. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
  120. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
  121. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
  122. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
  123. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
  124. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
  125. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
  126. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
  127. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
  128. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
  129. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
  130. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
@@ -8,72 +8,71 @@ export interface Uni {
8
8
  * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/info.html
9
9
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
10
10
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
11
- * @uniPlatform
12
- * {
13
- * "app": {
14
- * "android": {
15
- * "osVer": "5.0",
16
- * "uniVer": "",
17
- * "unixVer": "3.9+"
18
- * },
19
- * "ios": {
20
- * "osVer": "12.0",
21
- * "uniVer": "",
22
- * "unixVer": "4.11"
23
- * },
24
- * "harmony": {
25
- * "osVer": "3.0",
26
- * "uniVer": "4.23",
27
- * "unixVer": "x"
28
- * }
29
- * },
30
- * "mp": {
31
- * "weixin": {
32
- * "hostVer": "√",
33
- * "uniVer": "",
34
- * "unixVer": "4.35"
35
- * },
36
- * "alipay": {
37
- * "hostVer": "√",
38
- * "uniVer": "",
39
- * "unixVer": "x"
40
- * },
41
- * "baidu": {
42
- * "hostVer": "√",
43
- * "uniVer": "",
44
- * "unixVer": "x"
45
- * },
46
- * "toutiao": {
47
- * "hostVer": "√",
48
- * "uniVer": "",
49
- * "unixVer": "x"
50
- * },
51
- * "lark": {
52
- * "hostVer": "√",
53
- * "uniVer": "",
54
- * "unixVer": "x"
55
- * },
56
- * "qq": {
57
- * "hostVer": "√",
58
- * "uniVer": "",
59
- * "unixVer": "x"
60
- * },
61
- * "kuaishou": {
62
- * "hostVer": "√",
63
- * "uniVer": "",
64
- * "unixVer": "x"
65
- * },
66
- * "jd": {
67
- * "hostVer": "√",
68
- * "uniVer": "",
69
- * "unixVer": "x"
70
- * }
71
- * },
11
+ * @uniPlatform {
12
+ * "app": {
13
+ * "android": {
14
+ * "osVer": "5.0",
15
+ * "uniVer": "",
16
+ * "unixVer": "3.9+"
17
+ * },
18
+ * "ios": {
19
+ * "osVer": "12.0",
20
+ * "uniVer": "",
21
+ * "unixVer": "4.11"
22
+ * },
23
+ * "harmony": {
24
+ * "osVer": "3.0",
25
+ * "uniVer": "4.23",
26
+ * "unixVer": "x"
27
+ * }
28
+ * },
29
+ * "mp": {
30
+ * "weixin": {
31
+ * "hostVer": "1.9.6",
32
+ * "uniVer": "√",
33
+ * "unixVer": "4.41"
34
+ * },
35
+ * "alipay": {
36
+ * "hostVer": "√",
37
+ * "uniVer": "√",
38
+ * "unixVer": "x"
39
+ * },
40
+ * "baidu": {
41
+ * "hostVer": "√",
42
+ * "uniVer": "√",
43
+ * "unixVer": "x"
44
+ * },
45
+ * "toutiao": {
46
+ * "hostVer": "√",
47
+ * "uniVer": "√",
48
+ * "unixVer": "x"
49
+ * },
50
+ * "lark": {
51
+ * "hostVer": "√",
52
+ * "uniVer": "√",
53
+ * "unixVer": "x"
54
+ * },
55
+ * "qq": {
56
+ * "hostVer": "√",
57
+ * "uniVer": "√",
58
+ * "unixVer": "x"
59
+ * },
60
+ * "kuaishou": {
61
+ * "hostVer": "√",
62
+ * "uniVer": "√",
63
+ * "unixVer": "x"
64
+ * },
65
+ * "jd": {
66
+ * "hostVer": "√",
67
+ * "uniVer": "√",
68
+ * "unixVer": "x"
69
+ * }
70
+ * },
72
71
  * "web": {
73
72
  * "uniVer": "√",
74
73
  * "unixVer": "4.0"
75
74
  * }
76
- * }
75
+ * }
77
76
  * @example
78
77
  ```typescript
79
78
  uni.getSystemInfo({
@@ -85,7 +84,8 @@ export interface Uni {
85
84
  }
86
85
  })
87
86
  ```
88
- */
87
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSystemInfo.html
88
+ */
89
89
  getSystemInfo(options: GetSystemInfoOptions): void;
90
90
 
91
91
  /**
@@ -97,72 +97,72 @@ export interface Uni {
97
97
  * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/info.html#getsysteminfosync
98
98
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
99
99
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
100
- * @uniPlatform
101
- * {
102
- * "app": {
103
- * "android": {
104
- * "osVer": "5.0",
105
- * "uniVer": "",
106
- * "unixVer": "3.9+"
107
- * },
108
- * "ios": {
109
- * "osVer": "12.0",
110
- * "uniVer": "",
111
- * "unixVer": "4.11"
112
- * }
113
- * },
114
- * "mp": {
115
- * "weixin": {
116
- * "hostVer": "√",
117
- * "uniVer": "",
118
- * "unixVer": "4.35"
119
- * },
120
- * "alipay": {
121
- * "hostVer": "√",
122
- * "uniVer": "",
123
- * "unixVer": "x"
124
- * },
125
- * "baidu": {
126
- * "hostVer": "√",
127
- * "uniVer": "",
128
- * "unixVer": "x"
129
- * },
130
- * "toutiao": {
131
- * "hostVer": "√",
132
- * "uniVer": "",
133
- * "unixVer": "x"
134
- * },
135
- * "lark": {
136
- * "hostVer": "√",
137
- * "uniVer": "",
138
- * "unixVer": "x"
139
- * },
140
- * "qq": {
141
- * "hostVer": "√",
142
- * "uniVer": "",
143
- * "unixVer": "x"
144
- * },
145
- * "kuaishou": {
146
- * "hostVer": "√",
147
- * "uniVer": "",
148
- * "unixVer": "x"
149
- * },
150
- * "jd": {
151
- * "hostVer": "√",
152
- * "uniVer": "",
153
- * "unixVer": "x"
154
- * }
155
- * },
100
+ * @uniPlatform {
101
+ * "app": {
102
+ * "android": {
103
+ * "osVer": "5.0",
104
+ * "uniVer": "",
105
+ * "unixVer": "3.9+"
106
+ * },
107
+ * "ios": {
108
+ * "osVer": "12.0",
109
+ * "uniVer": "",
110
+ * "unixVer": "4.11"
111
+ * }
112
+ * },
113
+ * "mp": {
114
+ * "weixin": {
115
+ * "hostVer": "1.9.6",
116
+ * "uniVer": "√",
117
+ * "unixVer": "4.41"
118
+ * },
119
+ * "alipay": {
120
+ * "hostVer": "√",
121
+ * "uniVer": "√",
122
+ * "unixVer": "x"
123
+ * },
124
+ * "baidu": {
125
+ * "hostVer": "√",
126
+ * "uniVer": "√",
127
+ * "unixVer": "x"
128
+ * },
129
+ * "toutiao": {
130
+ * "hostVer": "√",
131
+ * "uniVer": "√",
132
+ * "unixVer": "x"
133
+ * },
134
+ * "lark": {
135
+ * "hostVer": "√",
136
+ * "uniVer": "√",
137
+ * "unixVer": "x"
138
+ * },
139
+ * "qq": {
140
+ * "hostVer": "√",
141
+ * "uniVer": "√",
142
+ * "unixVer": "x"
143
+ * },
144
+ * "kuaishou": {
145
+ * "hostVer": "√",
146
+ * "uniVer": "√",
147
+ * "unixVer": "x"
148
+ * },
149
+ * "jd": {
150
+ * "hostVer": "√",
151
+ * "uniVer": "√",
152
+ * "unixVer": "x"
153
+ * }
154
+ * },
156
155
  * "web": {
157
156
  * "uniVer": "√",
158
157
  * "unixVer": "4.0"
159
158
  * }
160
- * }
159
+ * }
161
160
  * @example
162
161
  ```typescript
163
162
  uni.getSystemInfoSync()
164
163
  ```
165
- */
164
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSystemInfoSync.html
165
+ */
166
166
  getSystemInfoSync(): GetSystemInfoResult;
167
167
 
168
168
  /**
@@ -174,72 +174,72 @@ export interface Uni {
174
174
  * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getWindowInfo.html
175
175
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
176
176
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
177
- * @uniPlatform
178
- * {
179
- * "app": {
180
- * "android": {
181
- * "osVer": "5.0",
182
- * "uniVer": "",
183
- * "unixVer": "3.9+"
184
- * },
185
- * "ios": {
186
- * "osVer": "12.0",
187
- * "uniVer": "",
188
- * "unixVer": "4.11"
189
- * }
190
- * },
191
- * "mp": {
192
- * "weixin": {
193
- * "hostVer": "√",
194
- * "uniVer": "",
195
- * "unixVer": "4.35"
196
- * },
197
- * "alipay": {
198
- * "hostVer": "√",
199
- * "uniVer": "",
200
- * "unixVer": "x"
201
- * },
202
- * "baidu": {
203
- * "hostVer": "√",
204
- * "uniVer": "",
205
- * "unixVer": "x"
206
- * },
207
- * "toutiao": {
208
- * "hostVer": "√",
209
- * "uniVer": "",
210
- * "unixVer": "x"
211
- * },
212
- * "lark": {
213
- * "hostVer": "√",
214
- * "uniVer": "",
215
- * "unixVer": "x"
216
- * },
217
- * "qq": {
218
- * "hostVer": "√",
219
- * "uniVer": "",
220
- * "unixVer": "x"
221
- * },
222
- * "kuaishou": {
223
- * "hostVer": "√",
224
- * "uniVer": "",
225
- * "unixVer": "x"
226
- * },
227
- * "jd": {
228
- * "hostVer": "√",
229
- * "uniVer": "",
230
- * "unixVer": "x"
231
- * }
232
- * },
177
+ * @uniPlatform {
178
+ * "app": {
179
+ * "android": {
180
+ * "osVer": "5.0",
181
+ * "uniVer": "",
182
+ * "unixVer": "3.9+"
183
+ * },
184
+ * "ios": {
185
+ * "osVer": "12.0",
186
+ * "uniVer": "",
187
+ * "unixVer": "4.11"
188
+ * }
189
+ * },
190
+ * "mp": {
191
+ * "weixin": {
192
+ * "hostVer": "2.20.1",
193
+ * "uniVer": "√",
194
+ * "unixVer": "4.41"
195
+ * },
196
+ * "alipay": {
197
+ * "hostVer": "√",
198
+ * "uniVer": "√",
199
+ * "unixVer": "x"
200
+ * },
201
+ * "baidu": {
202
+ * "hostVer": "√",
203
+ * "uniVer": "√",
204
+ * "unixVer": "x"
205
+ * },
206
+ * "toutiao": {
207
+ * "hostVer": "√",
208
+ * "uniVer": "√",
209
+ * "unixVer": "x"
210
+ * },
211
+ * "lark": {
212
+ * "hostVer": "√",
213
+ * "uniVer": "√",
214
+ * "unixVer": "x"
215
+ * },
216
+ * "qq": {
217
+ * "hostVer": "√",
218
+ * "uniVer": "√",
219
+ * "unixVer": "x"
220
+ * },
221
+ * "kuaishou": {
222
+ * "hostVer": "√",
223
+ * "uniVer": "√",
224
+ * "unixVer": "x"
225
+ * },
226
+ * "jd": {
227
+ * "hostVer": "√",
228
+ * "uniVer": "√",
229
+ * "unixVer": "x"
230
+ * }
231
+ * },
233
232
  * "web": {
234
233
  * "uniVer": "√",
235
234
  * "unixVer": "4.0"
236
235
  * }
237
- * }
236
+ * }
238
237
  * @example
239
238
  ```typescript
240
239
  uni.getWindowInfo()
241
240
  ```
242
- */
241
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getWindowInfo.html
242
+ */
243
243
  getWindowInfo(): GetWindowInfoResult;
244
244
  }
245
245
 
@@ -274,7 +274,7 @@ export type SafeArea = {
274
274
  * "weixin": {
275
275
  * "hostVer": "√",
276
276
  * "uniVer": "√",
277
- * "unixVer": "4.35"
277
+ * "unixVer": "4.41"
278
278
  *
279
279
  },
280
280
  * "alipay": {
@@ -354,7 +354,7 @@ export type SafeArea = {
354
354
  * "weixin": {
355
355
  * "hostVer": "√",
356
356
  * "uniVer": "√",
357
- * "unixVer": "4.35"
357
+ * "unixVer": "4.41"
358
358
  * },
359
359
  * "alipay": {
360
360
  * "hostVer": "√",
@@ -425,7 +425,7 @@ export type SafeArea = {
425
425
  * "weixin": {
426
426
  * "hostVer": "√",
427
427
  * "uniVer": "√",
428
- * "unixVer": "4.35"
428
+ * "unixVer": "4.41"
429
429
  * },
430
430
  * "alipay": {
431
431
  * "hostVer": "√",
@@ -496,7 +496,7 @@ export type SafeArea = {
496
496
  * "weixin": {
497
497
  * "hostVer": "√",
498
498
  * "uniVer": "√",
499
- * "unixVer": "4.35"
499
+ * "unixVer": "4.41"
500
500
  * },
501
501
  * "alipay": {
502
502
  * "hostVer": "√",
@@ -567,7 +567,7 @@ export type SafeArea = {
567
567
  * "weixin": {
568
568
  * "hostVer": "√",
569
569
  * "uniVer": "√",
570
- * "unixVer": "4.35"
570
+ * "unixVer": "4.41"
571
571
  * },
572
572
  * "alipay": {
573
573
  * "hostVer": "√",
@@ -638,7 +638,7 @@ export type SafeArea = {
638
638
  * "weixin": {
639
639
  * "hostVer": "√",
640
640
  * "uniVer": "√",
641
- * "unixVer": "4.35"
641
+ * "unixVer": "4.41"
642
642
  * },
643
643
  * "alipay": {
644
644
  * "hostVer": "√",
@@ -711,7 +711,7 @@ export type SafeAreaInsets = {
711
711
  * "weixin": {
712
712
  * "hostVer": "√",
713
713
  * "uniVer": "√",
714
- * "unixVer": "4.35"
714
+ * "unixVer": "4.41"
715
715
  * },
716
716
  * "alipay": {
717
717
  * "hostVer": "√",
@@ -782,7 +782,7 @@ export type SafeAreaInsets = {
782
782
  * "weixin": {
783
783
  * "hostVer": "√",
784
784
  * "uniVer": "√",
785
- * "unixVer": "4.35"
785
+ * "unixVer": "4.41"
786
786
  * },
787
787
  * "alipay": {
788
788
  * "hostVer": "√",
@@ -853,7 +853,7 @@ export type SafeAreaInsets = {
853
853
  * "weixin": {
854
854
  * "hostVer": "√",
855
855
  * "uniVer": "√",
856
- * "unixVer": "4.35"
856
+ * "unixVer": "4.41"
857
857
  * },
858
858
  * "alipay": {
859
859
  * "hostVer": "√",
@@ -924,7 +924,7 @@ export type SafeAreaInsets = {
924
924
  * "weixin": {
925
925
  * "hostVer": "√",
926
926
  * "uniVer": "√",
927
- * "unixVer": "4.35"
927
+ * "unixVer": "4.41"
928
928
  * },
929
929
  * "alipay": {
930
930
  * "hostVer": "√",
@@ -998,7 +998,7 @@ export type CutoutRect = {
998
998
  * "weixin": {
999
999
  * "hostVer": "√",
1000
1000
  * "uniVer": "√",
1001
- * "unixVer": "4.35"
1001
+ * "unixVer": "4.41"
1002
1002
  * },
1003
1003
  * "alipay": {
1004
1004
  * "hostVer": "√",
@@ -1069,7 +1069,7 @@ export type CutoutRect = {
1069
1069
  * "weixin": {
1070
1070
  * "hostVer": "√",
1071
1071
  * "uniVer": "√",
1072
- * "unixVer": "4.35"
1072
+ * "unixVer": "4.41"
1073
1073
  * },
1074
1074
  * "alipay": {
1075
1075
  * "hostVer": "√",
@@ -1140,7 +1140,7 @@ export type CutoutRect = {
1140
1140
  * "weixin": {
1141
1141
  * "hostVer": "√",
1142
1142
  * "uniVer": "√",
1143
- * "unixVer": "4.35"
1143
+ * "unixVer": "4.41"
1144
1144
  * },
1145
1145
  * "alipay": {
1146
1146
  * "hostVer": "√",
@@ -1211,7 +1211,7 @@ export type CutoutRect = {
1211
1211
  * "weixin": {
1212
1212
  * "hostVer": "√",
1213
1213
  * "uniVer": "√",
1214
- * "unixVer": "4.35"
1214
+ * "unixVer": "4.41"
1215
1215
  * },
1216
1216
  * "alipay": {
1217
1217
  * "hostVer": "√",
@@ -1285,7 +1285,7 @@ export type GetSystemInfoResult = {
1285
1285
  * "weixin": {
1286
1286
  * "hostVer": "√",
1287
1287
  * "uniVer": "√",
1288
- * "unixVer": "4.35"
1288
+ * "unixVer": "4.41"
1289
1289
  * },
1290
1290
  * "alipay": {
1291
1291
  * "hostVer": "√",
@@ -1356,7 +1356,7 @@ export type GetSystemInfoResult = {
1356
1356
  * "weixin": {
1357
1357
  * "hostVer": "√",
1358
1358
  * "uniVer": "√",
1359
- * "unixVer": "4.35"
1359
+ * "unixVer": "4.41"
1360
1360
  * },
1361
1361
  * "alipay": {
1362
1362
  * "hostVer": "√",
@@ -1427,7 +1427,7 @@ export type GetSystemInfoResult = {
1427
1427
  * "weixin": {
1428
1428
  * "hostVer": "√",
1429
1429
  * "uniVer": "√",
1430
- * "unixVer": "4.35"
1430
+ * "unixVer": "4.41"
1431
1431
  * },
1432
1432
  * "alipay": {
1433
1433
  * "hostVer": "√",
@@ -1498,7 +1498,7 @@ export type GetSystemInfoResult = {
1498
1498
  * "weixin": {
1499
1499
  * "hostVer": "√",
1500
1500
  * "uniVer": "√",
1501
- * "unixVer": "4.35"
1501
+ * "unixVer": "4.41"
1502
1502
  * },
1503
1503
  * "alipay": {
1504
1504
  * "hostVer": "√",
@@ -1569,7 +1569,7 @@ export type GetSystemInfoResult = {
1569
1569
  * "weixin": {
1570
1570
  * "hostVer": "√",
1571
1571
  * "uniVer": "√",
1572
- * "unixVer": "4.35"
1572
+ * "unixVer": "4.41"
1573
1573
  * },
1574
1574
  * "alipay": {
1575
1575
  * "hostVer": "√",
@@ -1640,7 +1640,7 @@ export type GetSystemInfoResult = {
1640
1640
  * "weixin": {
1641
1641
  * "hostVer": "√",
1642
1642
  * "uniVer": "√",
1643
- * "unixVer": "4.35"
1643
+ * "unixVer": "4.41"
1644
1644
  * },
1645
1645
  * "alipay": {
1646
1646
  * "hostVer": "√",
@@ -1783,7 +1783,7 @@ export type GetSystemInfoResult = {
1783
1783
  * "weixin": {
1784
1784
  * "hostVer": "√",
1785
1785
  * "uniVer": "√",
1786
- * "unixVer": "4.35"
1786
+ * "unixVer": "4.41"
1787
1787
  * },
1788
1788
  * "alipay": {
1789
1789
  * "hostVer": "√",
@@ -1996,7 +1996,7 @@ export type GetSystemInfoResult = {
1996
1996
  * "weixin": {
1997
1997
  * "hostVer": "√",
1998
1998
  * "uniVer": "√",
1999
- * "unixVer": "4.35"
1999
+ * "unixVer": "4.41"
2000
2000
  * },
2001
2001
  * "alipay": {
2002
2002
  * "hostVer": "√",
@@ -2067,7 +2067,7 @@ export type GetSystemInfoResult = {
2067
2067
  * "weixin": {
2068
2068
  * "hostVer": "√",
2069
2069
  * "uniVer": "√",
2070
- * "unixVer": "4.35"
2070
+ * "unixVer": "4.41"
2071
2071
  * },
2072
2072
  * "alipay": {
2073
2073
  * "hostVer": "√",
@@ -2138,7 +2138,7 @@ export type GetSystemInfoResult = {
2138
2138
  * "weixin": {
2139
2139
  * "hostVer": "√",
2140
2140
  * "uniVer": "√",
2141
- * "unixVer": "4.35"
2141
+ * "unixVer": "4.41"
2142
2142
  * },
2143
2143
  * "alipay": {
2144
2144
  * "hostVer": "√",
@@ -2209,7 +2209,7 @@ export type GetSystemInfoResult = {
2209
2209
  * "weixin": {
2210
2210
  * "hostVer": "√",
2211
2211
  * "uniVer": "√",
2212
- * "unixVer": "4.35"
2212
+ * "unixVer": "4.41"
2213
2213
  * },
2214
2214
  * "alipay": {
2215
2215
  * "hostVer": "√",
@@ -2280,7 +2280,7 @@ export type GetSystemInfoResult = {
2280
2280
  * "weixin": {
2281
2281
  * "hostVer": "√",
2282
2282
  * "uniVer": "√",
2283
- * "unixVer": "4.35"
2283
+ * "unixVer": "4.41"
2284
2284
  * },
2285
2285
  * "alipay": {
2286
2286
  * "hostVer": "√",
@@ -2351,7 +2351,7 @@ export type GetSystemInfoResult = {
2351
2351
  * "weixin": {
2352
2352
  * "hostVer": "√",
2353
2353
  * "uniVer": "√",
2354
- * "unixVer": "4.35"
2354
+ * "unixVer": "4.41"
2355
2355
  * },
2356
2356
  * "alipay": {
2357
2357
  * "hostVer": "√",
@@ -2431,7 +2431,7 @@ export type GetSystemInfoResult = {
2431
2431
  * "weixin": {
2432
2432
  * "hostVer": "√",
2433
2433
  * "uniVer": "√",
2434
- * "unixVer": "4.35"
2434
+ * "unixVer": "4.41"
2435
2435
  * },
2436
2436
  * "alipay": {
2437
2437
  * "hostVer": "√",
@@ -2503,7 +2503,7 @@ export type GetSystemInfoResult = {
2503
2503
  * "weixin": {
2504
2504
  * "hostVer": "√",
2505
2505
  * "uniVer": "√",
2506
- * "unixVer": "4.35"
2506
+ * "unixVer": "4.41"
2507
2507
  * },
2508
2508
  * "alipay": {
2509
2509
  * "hostVer": "√",
@@ -2574,7 +2574,7 @@ export type GetSystemInfoResult = {
2574
2574
  * "weixin": {
2575
2575
  * "hostVer": "√",
2576
2576
  * "uniVer": "√",
2577
- * "unixVer": "4.35"
2577
+ * "unixVer": "4.41"
2578
2578
  * },
2579
2579
  * "alipay": {
2580
2580
  * "hostVer": "√",
@@ -2645,7 +2645,7 @@ export type GetSystemInfoResult = {
2645
2645
  * "weixin": {
2646
2646
  * "hostVer": "√",
2647
2647
  * "uniVer": "√",
2648
- * "unixVer": "4.35"
2648
+ * "unixVer": "4.41"
2649
2649
  * },
2650
2650
  * "alipay": {
2651
2651
  * "hostVer": "√",
@@ -2817,7 +2817,7 @@ export type GetSystemInfoResult = {
2817
2817
  * "weixin": {
2818
2818
  * "hostVer": "√",
2819
2819
  * "uniVer": "√",
2820
- * "unixVer": "4.35"
2820
+ * "unixVer": "4.41"
2821
2821
  * },
2822
2822
  * "alipay": {
2823
2823
  * "hostVer": "√",
@@ -2889,7 +2889,7 @@ export type GetSystemInfoResult = {
2889
2889
  * "weixin": {
2890
2890
  * "hostVer": "√",
2891
2891
  * "uniVer": "√",
2892
- * "unixVer": "4.35"
2892
+ * "unixVer": "4.41"
2893
2893
  * },
2894
2894
  * "alipay": {
2895
2895
  * "hostVer": "√",
@@ -2933,7 +2933,59 @@ export type GetSystemInfoResult = {
2933
2933
  * }
2934
2934
  * }
2935
2935
  */
2936
- platform: 'ios' | 'android' | 'harmonyos' | 'mac' | 'windows' | 'linux',
2936
+ platform: 'ios' |
2937
+ 'android' |
2938
+ 'harmonyos' |
2939
+ 'mac' |
2940
+ 'windows' |
2941
+ 'linux' |
2942
+ /**
2943
+ * @uniPlatform {
2944
+ * "mp": {
2945
+ * "weixin": {
2946
+ * "hostVer": "√",
2947
+ * "uniVer": "√",
2948
+ * "unixVer": "4.41"
2949
+ * },
2950
+ * "alipay": {
2951
+ * "hostVer": "-",
2952
+ * "uniVer": "-",
2953
+ * "unixVer": "-"
2954
+ * },
2955
+ * "baidu": {
2956
+ * "hostVer": "-",
2957
+ * "uniVer": "-",
2958
+ * "unixVer": "-"
2959
+ * },
2960
+ * "toutiao": {
2961
+ * "hostVer": "-",
2962
+ * "uniVer": "-",
2963
+ * "unixVer": "-"
2964
+ * },
2965
+ * "lark": {
2966
+ * "hostVer": "-",
2967
+ * "uniVer": "-",
2968
+ * "unixVer": "-"
2969
+ * },
2970
+ * "qq": {
2971
+ * "hostVer": "-",
2972
+ * "uniVer": "-",
2973
+ * "unixVer": "-"
2974
+ * },
2975
+ * "kuaishou": {
2976
+ * "hostVer": "-",
2977
+ * "uniVer": "-",
2978
+ * "unixVer": "-"
2979
+ * },
2980
+ * "jd": {
2981
+ * "hostVer": "-",
2982
+ * "uniVer": "-",
2983
+ * "unixVer": "-"
2984
+ * }
2985
+ * }
2986
+ * }
2987
+ */
2988
+ "devtools",
2937
2989
  /**
2938
2990
  * 屏幕宽度,单位为px
2939
2991
  *
@@ -2960,7 +3012,7 @@ export type GetSystemInfoResult = {
2960
3012
  * "weixin": {
2961
3013
  * "hostVer": "√",
2962
3014
  * "uniVer": "√",
2963
- * "unixVer": "4.35"
3015
+ * "unixVer": "4.41"
2964
3016
  * },
2965
3017
  * "alipay": {
2966
3018
  * "hostVer": "√",
@@ -3031,7 +3083,7 @@ export type GetSystemInfoResult = {
3031
3083
  * "weixin": {
3032
3084
  * "hostVer": "√",
3033
3085
  * "uniVer": "√",
3034
- * "unixVer": "4.35"
3086
+ * "unixVer": "4.41"
3035
3087
  * },
3036
3088
  * "alipay": {
3037
3089
  * "hostVer": "√",
@@ -3102,7 +3154,7 @@ export type GetSystemInfoResult = {
3102
3154
  * "weixin": {
3103
3155
  * "hostVer": "√",
3104
3156
  * "uniVer": "√",
3105
- * "unixVer": "4.35"
3157
+ * "unixVer": "4.41"
3106
3158
  * },
3107
3159
  * "alipay": {
3108
3160
  * "hostVer": "√",
@@ -3174,7 +3226,7 @@ export type GetSystemInfoResult = {
3174
3226
  * "weixin": {
3175
3227
  * "hostVer": "√",
3176
3228
  * "uniVer": "√",
3177
- * "unixVer": "4.35"
3229
+ * "unixVer": "4.41"
3178
3230
  * },
3179
3231
  * "alipay": {
3180
3232
  * "hostVer": "√",
@@ -3245,7 +3297,7 @@ export type GetSystemInfoResult = {
3245
3297
  * "weixin": {
3246
3298
  * "hostVer": "√",
3247
3299
  * "uniVer": "√",
3248
- * "unixVer": "4.35"
3300
+ * "unixVer": "4.41"
3249
3301
  * },
3250
3302
  * "alipay": {
3251
3303
  * "hostVer": "√",
@@ -3316,7 +3368,7 @@ export type GetSystemInfoResult = {
3316
3368
  * "weixin": {
3317
3369
  * "hostVer": "√",
3318
3370
  * "uniVer": "√",
3319
- * "unixVer": "4.35"
3371
+ * "unixVer": "4.41"
3320
3372
  * },
3321
3373
  * "alipay": {
3322
3374
  * "hostVer": "√",
@@ -3459,7 +3511,7 @@ export type GetSystemInfoResult = {
3459
3511
  * "weixin": {
3460
3512
  * "hostVer": "√",
3461
3513
  * "uniVer": "√",
3462
- * "unixVer": "4.35"
3514
+ * "unixVer": "4.41"
3463
3515
  * },
3464
3516
  * "alipay": {
3465
3517
  * "hostVer": "√",
@@ -3530,7 +3582,7 @@ export type GetSystemInfoResult = {
3530
3582
  * "weixin": {
3531
3583
  * "hostVer": "√",
3532
3584
  * "uniVer": "√",
3533
- * "unixVer": "4.35"
3585
+ * "unixVer": "4.41"
3534
3586
  * },
3535
3587
  * "alipay": {
3536
3588
  * "hostVer": "√",
@@ -3601,7 +3653,7 @@ export type GetSystemInfoResult = {
3601
3653
  * "weixin": {
3602
3654
  * "hostVer": "√",
3603
3655
  * "uniVer": "√",
3604
- * "unixVer": "4.35"
3656
+ * "unixVer": "4.41"
3605
3657
  * },
3606
3658
  * "alipay": {
3607
3659
  * "hostVer": "√",
@@ -3672,7 +3724,7 @@ export type GetSystemInfoResult = {
3672
3724
  * "weixin": {
3673
3725
  * "hostVer": "√",
3674
3726
  * "uniVer": "√",
3675
- * "unixVer": "4.35"
3727
+ * "unixVer": "4.41"
3676
3728
  * },
3677
3729
  * "alipay": {
3678
3730
  * "hostVer": "√",
@@ -3744,7 +3796,7 @@ export type GetSystemInfoResult = {
3744
3796
  * "weixin": {
3745
3797
  * "hostVer": "√",
3746
3798
  * "uniVer": "√",
3747
- * "unixVer": "4.35"
3799
+ * "unixVer": "4.41"
3748
3800
  * },
3749
3801
  * "alipay": {
3750
3802
  * "hostVer": "√",
@@ -3815,7 +3867,7 @@ export type GetSystemInfoResult = {
3815
3867
  * "weixin": {
3816
3868
  * "hostVer": "√",
3817
3869
  * "uniVer": "√",
3818
- * "unixVer": "4.35"
3870
+ * "unixVer": "4.41"
3819
3871
  * },
3820
3872
  * "alipay": {
3821
3873
  * "hostVer": "√",
@@ -3886,7 +3938,7 @@ export type GetSystemInfoResult = {
3886
3938
  * "weixin": {
3887
3939
  * "hostVer": "√",
3888
3940
  * "uniVer": "√",
3889
- * "unixVer": "4.35"
3941
+ * "unixVer": "4.41"
3890
3942
  * },
3891
3943
  * "alipay": {
3892
3944
  * "hostVer": "√",
@@ -3958,7 +4010,7 @@ export type GetSystemInfoResult = {
3958
4010
  * "weixin": {
3959
4011
  * "hostVer": "√",
3960
4012
  * "uniVer": "√",
3961
- * "unixVer": "4.35"
4013
+ * "unixVer": "4.41"
3962
4014
  * },
3963
4015
  * "alipay": {
3964
4016
  * "hostVer": "√",
@@ -4171,7 +4223,7 @@ export type GetSystemInfoResult = {
4171
4223
  * "weixin": {
4172
4224
  * "hostVer": "√",
4173
4225
  * "uniVer": "√",
4174
- * "unixVer": "4.35"
4226
+ * "unixVer": "4.41"
4175
4227
  * },
4176
4228
  * "alipay": {
4177
4229
  * "hostVer": "√",
@@ -4242,7 +4294,7 @@ export type GetSystemInfoResult = {
4242
4294
  * "weixin": {
4243
4295
  * "hostVer": "√",
4244
4296
  * "uniVer": "√",
4245
- * "unixVer": "4.35"
4297
+ * "unixVer": "4.41"
4246
4298
  * },
4247
4299
  * "alipay": {
4248
4300
  * "hostVer": "√",
@@ -4313,7 +4365,7 @@ export type GetSystemInfoResult = {
4313
4365
  * "weixin": {
4314
4366
  * "hostVer": "√",
4315
4367
  * "uniVer": "√",
4316
- * "unixVer": "4.35"
4368
+ * "unixVer": "4.41"
4317
4369
  * },
4318
4370
  * "alipay": {
4319
4371
  * "hostVer": "√",
@@ -4384,7 +4436,7 @@ export type GetSystemInfoResult = {
4384
4436
  * "weixin": {
4385
4437
  * "hostVer": "√",
4386
4438
  * "uniVer": "√",
4387
- * "unixVer": "4.35"
4439
+ * "unixVer": "4.41"
4388
4440
  * },
4389
4441
  * "alipay": {
4390
4442
  * "hostVer": "√",
@@ -4571,6 +4623,926 @@ export type GetSystemInfoResult = {
4571
4623
  * }
4572
4624
  */
4573
4625
  appTheme?: 'light' | 'dark' | 'auto' | null,
4626
+ /**
4627
+ * 需要基础库: `2.6.0`
4628
+ *
4629
+ * 允许微信使用相册的开关(仅 iOS 有效)
4630
+ *
4631
+ * @uniPlatform {
4632
+ * "mp": {
4633
+ * "weixin": {
4634
+ * "hostVer": "2.6.0",
4635
+ * "uniVer": "√",
4636
+ * "unixVer": "4.41"
4637
+ * },
4638
+ * "alipay": {
4639
+ * "hostVer": "-",
4640
+ * "uniVer": "-",
4641
+ * "unixVer": "-"
4642
+ * },
4643
+ * "baidu": {
4644
+ * "hostVer": "-",
4645
+ * "uniVer": "-",
4646
+ * "unixVer": "-"
4647
+ * },
4648
+ * "toutiao": {
4649
+ * "hostVer": "-",
4650
+ * "uniVer": "-",
4651
+ * "unixVer": "-"
4652
+ * },
4653
+ * "lark": {
4654
+ * "hostVer": "-",
4655
+ * "uniVer": "-",
4656
+ * "unixVer": "-"
4657
+ * },
4658
+ * "qq": {
4659
+ * "hostVer": "-",
4660
+ * "uniVer": "-",
4661
+ * "unixVer": "-"
4662
+ * },
4663
+ * "kuaishou": {
4664
+ * "hostVer": "-",
4665
+ * "uniVer": "-",
4666
+ * "unixVer": "-"
4667
+ * },
4668
+ * "jd": {
4669
+ * "hostVer": "-",
4670
+ * "uniVer": "-",
4671
+ * "unixVer": "-"
4672
+ * }
4673
+ * }
4674
+ * }
4675
+ */
4676
+ albumAuthorized?: boolean | null;
4677
+ /**
4678
+ * 需要基础库: `1.8.0`
4679
+ *
4680
+ * 设备性能等级(仅 Android)。取值为:-2 或 0(该设备无法运行小游戏),-1(性能未知),>=1(设备性能值,该值越高,设备性能越好)<br> 注意:性能等级当前仅反馈真机机型,暂不支持 IDE 模拟器机型
4681
+ *
4682
+ * @uniPlatform {
4683
+ * "mp": {
4684
+ * "weixin": {
4685
+ * "hostVer": "1.8.0",
4686
+ * "uniVer": "√",
4687
+ * "unixVer": "4.41"
4688
+ * },
4689
+ * "alipay": {
4690
+ * "hostVer": "-",
4691
+ * "uniVer": "-",
4692
+ * "unixVer": "-"
4693
+ * },
4694
+ * "baidu": {
4695
+ * "hostVer": "-",
4696
+ * "uniVer": "-",
4697
+ * "unixVer": "-"
4698
+ * },
4699
+ * "toutiao": {
4700
+ * "hostVer": "-",
4701
+ * "uniVer": "-",
4702
+ * "unixVer": "-"
4703
+ * },
4704
+ * "lark": {
4705
+ * "hostVer": "-",
4706
+ * "uniVer": "-",
4707
+ * "unixVer": "-"
4708
+ * },
4709
+ * "qq": {
4710
+ * "hostVer": "-",
4711
+ * "uniVer": "-",
4712
+ * "unixVer": "-"
4713
+ * },
4714
+ * "kuaishou": {
4715
+ * "hostVer": "-",
4716
+ * "uniVer": "-",
4717
+ * "unixVer": "-"
4718
+ * },
4719
+ * "jd": {
4720
+ * "hostVer": "-",
4721
+ * "uniVer": "-",
4722
+ * "unixVer": "-"
4723
+ * }
4724
+ * }
4725
+ * }
4726
+ */
4727
+ benchmarkLevel?: number | null;
4728
+ /**
4729
+ * 需要基础库: `2.6.0`
4730
+ *
4731
+ * 蓝牙的系统开关
4732
+ *
4733
+ * @uniPlatform {
4734
+ * "mp": {
4735
+ * "weixin": {
4736
+ * "hostVer": "2.6.0",
4737
+ * "uniVer": "√",
4738
+ * "unixVer": "4.41"
4739
+ * },
4740
+ * "alipay": {
4741
+ * "hostVer": "-",
4742
+ * "uniVer": "-",
4743
+ * "unixVer": "-"
4744
+ * },
4745
+ * "baidu": {
4746
+ * "hostVer": "-",
4747
+ * "uniVer": "-",
4748
+ * "unixVer": "-"
4749
+ * },
4750
+ * "toutiao": {
4751
+ * "hostVer": "-",
4752
+ * "uniVer": "-",
4753
+ * "unixVer": "-"
4754
+ * },
4755
+ * "lark": {
4756
+ * "hostVer": "-",
4757
+ * "uniVer": "-",
4758
+ * "unixVer": "-"
4759
+ * },
4760
+ * "qq": {
4761
+ * "hostVer": "-",
4762
+ * "uniVer": "-",
4763
+ * "unixVer": "-"
4764
+ * },
4765
+ * "kuaishou": {
4766
+ * "hostVer": "-",
4767
+ * "uniVer": "-",
4768
+ * "unixVer": "-"
4769
+ * },
4770
+ * "jd": {
4771
+ * "hostVer": "-",
4772
+ * "uniVer": "-",
4773
+ * "unixVer": "-"
4774
+ * }
4775
+ * }
4776
+ * }
4777
+ */
4778
+ bluetoothEnabled?: boolean | null;
4779
+ /**
4780
+ * 需要基础库: `2.6.0`
4781
+ *
4782
+ * 允许微信使用摄像头的开关
4783
+ *
4784
+ * @uniPlatform {
4785
+ * "mp": {
4786
+ * "weixin": {
4787
+ * "hostVer": "2.6.0",
4788
+ * "uniVer": "√",
4789
+ * "unixVer": "4.41"
4790
+ * },
4791
+ * "alipay": {
4792
+ * "hostVer": "-",
4793
+ * "uniVer": "-",
4794
+ * "unixVer": "-"
4795
+ * },
4796
+ * "baidu": {
4797
+ * "hostVer": "-",
4798
+ * "uniVer": "-",
4799
+ * "unixVer": "-"
4800
+ * },
4801
+ * "toutiao": {
4802
+ * "hostVer": "-",
4803
+ * "uniVer": "-",
4804
+ * "unixVer": "-"
4805
+ * },
4806
+ * "lark": {
4807
+ * "hostVer": "-",
4808
+ * "uniVer": "-",
4809
+ * "unixVer": "-"
4810
+ * },
4811
+ * "qq": {
4812
+ * "hostVer": "-",
4813
+ * "uniVer": "-",
4814
+ * "unixVer": "-"
4815
+ * },
4816
+ * "kuaishou": {
4817
+ * "hostVer": "-",
4818
+ * "uniVer": "-",
4819
+ * "unixVer": "-"
4820
+ * },
4821
+ * "jd": {
4822
+ * "hostVer": "-",
4823
+ * "uniVer": "-",
4824
+ * "unixVer": "-"
4825
+ * }
4826
+ * }
4827
+ * }
4828
+ */
4829
+ cameraAuthorized?: boolean | null;
4830
+ /**
4831
+ * 需要基础库: `2.15.0`
4832
+ *
4833
+ * 是否已打开调试。可通过右上角菜单或 [uni.setEnableDebug](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html) 打开调试。
4834
+ *
4835
+ * @uniPlatform {
4836
+ * "mp": {
4837
+ * "weixin": {
4838
+ * "hostVer": "2.15.0",
4839
+ * "uniVer": "√",
4840
+ * "unixVer": "4.41"
4841
+ * },
4842
+ * "alipay": {
4843
+ * "hostVer": "-",
4844
+ * "uniVer": "-",
4845
+ * "unixVer": "-"
4846
+ * },
4847
+ * "baidu": {
4848
+ * "hostVer": "-",
4849
+ * "uniVer": "-",
4850
+ * "unixVer": "-"
4851
+ * },
4852
+ * "toutiao": {
4853
+ * "hostVer": "-",
4854
+ * "uniVer": "-",
4855
+ * "unixVer": "-"
4856
+ * },
4857
+ * "lark": {
4858
+ * "hostVer": "-",
4859
+ * "uniVer": "-",
4860
+ * "unixVer": "-"
4861
+ * },
4862
+ * "qq": {
4863
+ * "hostVer": "-",
4864
+ * "uniVer": "-",
4865
+ * "unixVer": "-"
4866
+ * },
4867
+ * "kuaishou": {
4868
+ * "hostVer": "-",
4869
+ * "uniVer": "-",
4870
+ * "unixVer": "-"
4871
+ * },
4872
+ * "jd": {
4873
+ * "hostVer": "-",
4874
+ * "uniVer": "-",
4875
+ * "unixVer": "-"
4876
+ * }
4877
+ * }
4878
+ * }
4879
+ */
4880
+ enableDebug?: boolean | null;
4881
+ /**
4882
+ * 需要基础库: `1.5.0`
4883
+ *
4884
+ * 用户字体大小(单位px)。以微信客户端「我-设置-通用-字体大小」中的设置为准
4885
+ *
4886
+ * @uniPlatform {
4887
+ * "mp": {
4888
+ * "weixin": {
4889
+ * "hostVer": "1.5.0",
4890
+ * "uniVer": "√",
4891
+ * "unixVer": "4.41"
4892
+ * },
4893
+ * "alipay": {
4894
+ * "hostVer": "-",
4895
+ * "uniVer": "-",
4896
+ * "unixVer": "-"
4897
+ * },
4898
+ * "baidu": {
4899
+ * "hostVer": "-",
4900
+ * "uniVer": "-",
4901
+ * "unixVer": "-"
4902
+ * },
4903
+ * "toutiao": {
4904
+ * "hostVer": "-",
4905
+ * "uniVer": "-",
4906
+ * "unixVer": "-"
4907
+ * },
4908
+ * "lark": {
4909
+ * "hostVer": "-",
4910
+ * "uniVer": "-",
4911
+ * "unixVer": "-"
4912
+ * },
4913
+ * "qq": {
4914
+ * "hostVer": "-",
4915
+ * "uniVer": "-",
4916
+ * "unixVer": "-"
4917
+ * },
4918
+ * "kuaishou": {
4919
+ * "hostVer": "-",
4920
+ * "uniVer": "-",
4921
+ * "unixVer": "-"
4922
+ * },
4923
+ * "jd": {
4924
+ * "hostVer": "-",
4925
+ * "uniVer": "-",
4926
+ * "unixVer": "-"
4927
+ * }
4928
+ * }
4929
+ * }
4930
+ */
4931
+ fontSizeSetting?: number | null;
4932
+ /**
4933
+ * 需要基础库: `2.12.3`
4934
+ *
4935
+ * 当前小程序运行的宿主环境
4936
+ *
4937
+ * @uniPlatform {
4938
+ * "mp": {
4939
+ * "weixin": {
4940
+ * "hostVer": "2.12.3",
4941
+ * "uniVer": "√",
4942
+ * "unixVer": "4.41"
4943
+ * },
4944
+ * "alipay": {
4945
+ * "hostVer": "-",
4946
+ * "uniVer": "-",
4947
+ * "unixVer": "-"
4948
+ * },
4949
+ * "baidu": {
4950
+ * "hostVer": "-",
4951
+ * "uniVer": "-",
4952
+ * "unixVer": "-"
4953
+ * },
4954
+ * "toutiao": {
4955
+ * "hostVer": "-",
4956
+ * "uniVer": "-",
4957
+ * "unixVer": "-"
4958
+ * },
4959
+ * "lark": {
4960
+ * "hostVer": "-",
4961
+ * "uniVer": "-",
4962
+ * "unixVer": "-"
4963
+ * },
4964
+ * "qq": {
4965
+ * "hostVer": "-",
4966
+ * "uniVer": "-",
4967
+ * "unixVer": "-"
4968
+ * },
4969
+ * "kuaishou": {
4970
+ * "hostVer": "-",
4971
+ * "uniVer": "-",
4972
+ * "unixVer": "-"
4973
+ * },
4974
+ * "jd": {
4975
+ * "hostVer": "-",
4976
+ * "uniVer": "-",
4977
+ * "unixVer": "-"
4978
+ * }
4979
+ * }
4980
+ * }
4981
+ */
4982
+ host?: GetSystemInfoResultHost | null;
4983
+ /**
4984
+ * 需要基础库: `2.6.0`
4985
+ *
4986
+ * 允许微信使用定位的开关
4987
+ *
4988
+ * @uniPlatform {
4989
+ * "mp": {
4990
+ * "weixin": {
4991
+ * "hostVer": "2.6.0",
4992
+ * "uniVer": "√",
4993
+ * "unixVer": "4.41"
4994
+ * },
4995
+ * "alipay": {
4996
+ * "hostVer": "-",
4997
+ * "uniVer": "-",
4998
+ * "unixVer": "-"
4999
+ * },
5000
+ * "baidu": {
5001
+ * "hostVer": "-",
5002
+ * "uniVer": "-",
5003
+ * "unixVer": "-"
5004
+ * },
5005
+ * "toutiao": {
5006
+ * "hostVer": "-",
5007
+ * "uniVer": "-",
5008
+ * "unixVer": "-"
5009
+ * },
5010
+ * "lark": {
5011
+ * "hostVer": "-",
5012
+ * "uniVer": "-",
5013
+ * "unixVer": "-"
5014
+ * },
5015
+ * "qq": {
5016
+ * "hostVer": "-",
5017
+ * "uniVer": "-",
5018
+ * "unixVer": "-"
5019
+ * },
5020
+ * "kuaishou": {
5021
+ * "hostVer": "-",
5022
+ * "uniVer": "-",
5023
+ * "unixVer": "-"
5024
+ * },
5025
+ * "jd": {
5026
+ * "hostVer": "-",
5027
+ * "uniVer": "-",
5028
+ * "unixVer": "-"
5029
+ * }
5030
+ * }
5031
+ * }
5032
+ */
5033
+ locationAuthorized?: boolean | null;
5034
+ /**
5035
+ * 需要基础库: `2.6.0`
5036
+ *
5037
+ * 地理位置的系统开关
5038
+ *
5039
+ * @uniPlatform {
5040
+ * "mp": {
5041
+ * "weixin": {
5042
+ * "hostVer": "2.6.0",
5043
+ * "uniVer": "√",
5044
+ * "unixVer": "4.41"
5045
+ * },
5046
+ * "alipay": {
5047
+ * "hostVer": "-",
5048
+ * "uniVer": "-",
5049
+ * "unixVer": "-"
5050
+ * },
5051
+ * "baidu": {
5052
+ * "hostVer": "-",
5053
+ * "uniVer": "-",
5054
+ * "unixVer": "-"
5055
+ * },
5056
+ * "toutiao": {
5057
+ * "hostVer": "-",
5058
+ * "uniVer": "-",
5059
+ * "unixVer": "-"
5060
+ * },
5061
+ * "lark": {
5062
+ * "hostVer": "-",
5063
+ * "uniVer": "-",
5064
+ * "unixVer": "-"
5065
+ * },
5066
+ * "qq": {
5067
+ * "hostVer": "-",
5068
+ * "uniVer": "-",
5069
+ * "unixVer": "-"
5070
+ * },
5071
+ * "kuaishou": {
5072
+ * "hostVer": "-",
5073
+ * "uniVer": "-",
5074
+ * "unixVer": "-"
5075
+ * },
5076
+ * "jd": {
5077
+ * "hostVer": "-",
5078
+ * "uniVer": "-",
5079
+ * "unixVer": "-"
5080
+ * }
5081
+ * }
5082
+ * }
5083
+ */
5084
+ locationEnabled?: boolean | null;
5085
+ /**
5086
+ * `true` 表示模糊定位,`false` 表示精确定位,仅 iOS 支持
5087
+ *
5088
+ * @uniPlatform {
5089
+ * "mp": {
5090
+ * "weixin": {
5091
+ * "hostVer": "√",
5092
+ * "uniVer": "√",
5093
+ * "unixVer": "4.41"
5094
+ * },
5095
+ * "alipay": {
5096
+ * "hostVer": "-",
5097
+ * "uniVer": "-",
5098
+ * "unixVer": "-"
5099
+ * },
5100
+ * "baidu": {
5101
+ * "hostVer": "-",
5102
+ * "uniVer": "-",
5103
+ * "unixVer": "-"
5104
+ * },
5105
+ * "toutiao": {
5106
+ * "hostVer": "-",
5107
+ * "uniVer": "-",
5108
+ * "unixVer": "-"
5109
+ * },
5110
+ * "lark": {
5111
+ * "hostVer": "-",
5112
+ * "uniVer": "-",
5113
+ * "unixVer": "-"
5114
+ * },
5115
+ * "qq": {
5116
+ * "hostVer": "-",
5117
+ * "uniVer": "-",
5118
+ * "unixVer": "-"
5119
+ * },
5120
+ * "kuaishou": {
5121
+ * "hostVer": "-",
5122
+ * "uniVer": "-",
5123
+ * "unixVer": "-"
5124
+ * },
5125
+ * "jd": {
5126
+ * "hostVer": "-",
5127
+ * "uniVer": "-",
5128
+ * "unixVer": "-"
5129
+ * }
5130
+ * }
5131
+ * }
5132
+ */
5133
+ locationReducedAccuracy?: boolean | null;
5134
+ /**
5135
+ * 需要基础库: `2.6.0`
5136
+ *
5137
+ * 允许微信使用麦克风的开关
5138
+ *
5139
+ * @uniPlatform {
5140
+ * "mp": {
5141
+ * "weixin": {
5142
+ * "hostVer": "2.6.0",
5143
+ * "uniVer": "√",
5144
+ * "unixVer": "4.41"
5145
+ * },
5146
+ * "alipay": {
5147
+ * "hostVer": "-",
5148
+ * "uniVer": "-",
5149
+ * "unixVer": "-"
5150
+ * },
5151
+ * "baidu": {
5152
+ * "hostVer": "-",
5153
+ * "uniVer": "-",
5154
+ * "unixVer": "-"
5155
+ * },
5156
+ * "toutiao": {
5157
+ * "hostVer": "-",
5158
+ * "uniVer": "-",
5159
+ * "unixVer": "-"
5160
+ * },
5161
+ * "lark": {
5162
+ * "hostVer": "-",
5163
+ * "uniVer": "-",
5164
+ * "unixVer": "-"
5165
+ * },
5166
+ * "qq": {
5167
+ * "hostVer": "-",
5168
+ * "uniVer": "-",
5169
+ * "unixVer": "-"
5170
+ * },
5171
+ * "kuaishou": {
5172
+ * "hostVer": "-",
5173
+ * "uniVer": "-",
5174
+ * "unixVer": "-"
5175
+ * },
5176
+ * "jd": {
5177
+ * "hostVer": "-",
5178
+ * "uniVer": "-",
5179
+ * "unixVer": "-"
5180
+ * }
5181
+ * }
5182
+ * }
5183
+ */
5184
+ microphoneAuthorized?: boolean | null;
5185
+ /**
5186
+ * 需要基础库: `2.6.0`
5187
+ *
5188
+ * 允许微信通知带有提醒的开关(仅 iOS 有效)
5189
+ *
5190
+ * @uniPlatform {
5191
+ * "mp": {
5192
+ * "weixin": {
5193
+ * "hostVer": "2.6.0",
5194
+ * "uniVer": "√",
5195
+ * "unixVer": "4.41"
5196
+ * },
5197
+ * "alipay": {
5198
+ * "hostVer": "-",
5199
+ * "uniVer": "-",
5200
+ * "unixVer": "-"
5201
+ * },
5202
+ * "baidu": {
5203
+ * "hostVer": "-",
5204
+ * "uniVer": "-",
5205
+ * "unixVer": "-"
5206
+ * },
5207
+ * "toutiao": {
5208
+ * "hostVer": "-",
5209
+ * "uniVer": "-",
5210
+ * "unixVer": "-"
5211
+ * },
5212
+ * "lark": {
5213
+ * "hostVer": "-",
5214
+ * "uniVer": "-",
5215
+ * "unixVer": "-"
5216
+ * },
5217
+ * "qq": {
5218
+ * "hostVer": "-",
5219
+ * "uniVer": "-",
5220
+ * "unixVer": "-"
5221
+ * },
5222
+ * "kuaishou": {
5223
+ * "hostVer": "-",
5224
+ * "uniVer": "-",
5225
+ * "unixVer": "-"
5226
+ * },
5227
+ * "jd": {
5228
+ * "hostVer": "-",
5229
+ * "uniVer": "-",
5230
+ * "unixVer": "-"
5231
+ * }
5232
+ * }
5233
+ * }
5234
+ */
5235
+ notificationAlertAuthorized?: boolean | null;
5236
+ /**
5237
+ * 需要基础库: `2.6.0`
5238
+ *
5239
+ * 允许微信通知的开关
5240
+ *
5241
+ * @uniPlatform {
5242
+ * "mp": {
5243
+ * "weixin": {
5244
+ * "hostVer": "2.6.0",
5245
+ * "uniVer": "√",
5246
+ * "unixVer": "4.41"
5247
+ * },
5248
+ * "alipay": {
5249
+ * "hostVer": "-",
5250
+ * "uniVer": "-",
5251
+ * "unixVer": "-"
5252
+ * },
5253
+ * "baidu": {
5254
+ * "hostVer": "-",
5255
+ * "uniVer": "-",
5256
+ * "unixVer": "-"
5257
+ * },
5258
+ * "toutiao": {
5259
+ * "hostVer": "-",
5260
+ * "uniVer": "-",
5261
+ * "unixVer": "-"
5262
+ * },
5263
+ * "lark": {
5264
+ * "hostVer": "-",
5265
+ * "uniVer": "-",
5266
+ * "unixVer": "-"
5267
+ * },
5268
+ * "qq": {
5269
+ * "hostVer": "-",
5270
+ * "uniVer": "-",
5271
+ * "unixVer": "-"
5272
+ * },
5273
+ * "kuaishou": {
5274
+ * "hostVer": "-",
5275
+ * "uniVer": "-",
5276
+ * "unixVer": "-"
5277
+ * },
5278
+ * "jd": {
5279
+ * "hostVer": "-",
5280
+ * "uniVer": "-",
5281
+ * "unixVer": "-"
5282
+ * }
5283
+ * }
5284
+ * }
5285
+ */
5286
+ notificationAuthorized?: boolean | null;
5287
+ /**
5288
+ * 需要基础库: `2.6.0`
5289
+ *
5290
+ * 允许微信通知带有标记的开关(仅 iOS 有效)
5291
+ *
5292
+ * @uniPlatform {
5293
+ * "mp": {
5294
+ * "weixin": {
5295
+ * "hostVer": "2.6.0",
5296
+ * "uniVer": "√",
5297
+ * "unixVer": "4.41"
5298
+ * },
5299
+ * "alipay": {
5300
+ * "hostVer": "-",
5301
+ * "uniVer": "-",
5302
+ * "unixVer": "-"
5303
+ * },
5304
+ * "baidu": {
5305
+ * "hostVer": "-",
5306
+ * "uniVer": "-",
5307
+ * "unixVer": "-"
5308
+ * },
5309
+ * "toutiao": {
5310
+ * "hostVer": "-",
5311
+ * "uniVer": "-",
5312
+ * "unixVer": "-"
5313
+ * },
5314
+ * "lark": {
5315
+ * "hostVer": "-",
5316
+ * "uniVer": "-",
5317
+ * "unixVer": "-"
5318
+ * },
5319
+ * "qq": {
5320
+ * "hostVer": "-",
5321
+ * "uniVer": "-",
5322
+ * "unixVer": "-"
5323
+ * },
5324
+ * "kuaishou": {
5325
+ * "hostVer": "-",
5326
+ * "uniVer": "-",
5327
+ * "unixVer": "-"
5328
+ * },
5329
+ * "jd": {
5330
+ * "hostVer": "-",
5331
+ * "uniVer": "-",
5332
+ * "unixVer": "-"
5333
+ * }
5334
+ * }
5335
+ * }
5336
+ */
5337
+ notificationBadgeAuthorized?: boolean | null;
5338
+ /**
5339
+ * 需要基础库: `2.6.0`
5340
+ *
5341
+ * 允许微信通知带有声音的开关(仅 iOS 有效)
5342
+ *
5343
+ * @uniPlatform {
5344
+ * "mp": {
5345
+ * "weixin": {
5346
+ * "hostVer": "2.6.0",
5347
+ * "uniVer": "√",
5348
+ * "unixVer": "4.41"
5349
+ * },
5350
+ * "alipay": {
5351
+ * "hostVer": "-",
5352
+ * "uniVer": "-",
5353
+ * "unixVer": "-"
5354
+ * },
5355
+ * "baidu": {
5356
+ * "hostVer": "-",
5357
+ * "uniVer": "-",
5358
+ * "unixVer": "-"
5359
+ * },
5360
+ * "toutiao": {
5361
+ * "hostVer": "-",
5362
+ * "uniVer": "-",
5363
+ * "unixVer": "-"
5364
+ * },
5365
+ * "lark": {
5366
+ * "hostVer": "-",
5367
+ * "uniVer": "-",
5368
+ * "unixVer": "-"
5369
+ * },
5370
+ * "qq": {
5371
+ * "hostVer": "-",
5372
+ * "uniVer": "-",
5373
+ * "unixVer": "-"
5374
+ * },
5375
+ * "kuaishou": {
5376
+ * "hostVer": "-",
5377
+ * "uniVer": "-",
5378
+ * "unixVer": "-"
5379
+ * },
5380
+ * "jd": {
5381
+ * "hostVer": "-",
5382
+ * "uniVer": "-",
5383
+ * "unixVer": "-"
5384
+ * }
5385
+ * }
5386
+ * }
5387
+ */
5388
+ notificationSoundAuthorized?: boolean | null;
5389
+ /**
5390
+ * 需要基础库: `2.19.3`
5391
+ *
5392
+ * 允许微信使用日历的开关
5393
+ *
5394
+ * @uniPlatform {
5395
+ * "mp": {
5396
+ * "weixin": {
5397
+ * "hostVer": "2.19.3",
5398
+ * "uniVer": "√",
5399
+ * "unixVer": "4.41"
5400
+ * },
5401
+ * "alipay": {
5402
+ * "hostVer": "-",
5403
+ * "uniVer": "-",
5404
+ * "unixVer": "-"
5405
+ * },
5406
+ * "baidu": {
5407
+ * "hostVer": "-",
5408
+ * "uniVer": "-",
5409
+ * "unixVer": "-"
5410
+ * },
5411
+ * "toutiao": {
5412
+ * "hostVer": "-",
5413
+ * "uniVer": "-",
5414
+ * "unixVer": "-"
5415
+ * },
5416
+ * "lark": {
5417
+ * "hostVer": "-",
5418
+ * "uniVer": "-",
5419
+ * "unixVer": "-"
5420
+ * },
5421
+ * "qq": {
5422
+ * "hostVer": "-",
5423
+ * "uniVer": "-",
5424
+ * "unixVer": "-"
5425
+ * },
5426
+ * "kuaishou": {
5427
+ * "hostVer": "-",
5428
+ * "uniVer": "-",
5429
+ * "unixVer": "-"
5430
+ * },
5431
+ * "jd": {
5432
+ * "hostVer": "-",
5433
+ * "uniVer": "-",
5434
+ * "unixVer": "-"
5435
+ * }
5436
+ * }
5437
+ * }
5438
+ */
5439
+ phoneCalendarAuthorized?: boolean | null;
5440
+ /**
5441
+ * 需要基础库: `2.6.0`
5442
+ *
5443
+ * Wi-Fi 的系统开关
5444
+ *
5445
+ * @uniPlatform {
5446
+ * "mp": {
5447
+ * "weixin": {
5448
+ * "hostVer": "2.6.0",
5449
+ * "uniVer": "√",
5450
+ * "unixVer": "4.41"
5451
+ * },
5452
+ * "alipay": {
5453
+ * "hostVer": "-",
5454
+ * "uniVer": "-",
5455
+ * "unixVer": "-"
5456
+ * },
5457
+ * "baidu": {
5458
+ * "hostVer": "-",
5459
+ * "uniVer": "-",
5460
+ * "unixVer": "-"
5461
+ * },
5462
+ * "toutiao": {
5463
+ * "hostVer": "-",
5464
+ * "uniVer": "-",
5465
+ * "unixVer": "-"
5466
+ * },
5467
+ * "lark": {
5468
+ * "hostVer": "-",
5469
+ * "uniVer": "-",
5470
+ * "unixVer": "-"
5471
+ * },
5472
+ * "qq": {
5473
+ * "hostVer": "-",
5474
+ * "uniVer": "-",
5475
+ * "unixVer": "-"
5476
+ * },
5477
+ * "kuaishou": {
5478
+ * "hostVer": "-",
5479
+ * "uniVer": "-",
5480
+ * "unixVer": "-"
5481
+ * },
5482
+ * "jd": {
5483
+ * "hostVer": "-",
5484
+ * "uniVer": "-",
5485
+ * "unixVer": "-"
5486
+ * }
5487
+ * }
5488
+ * }
5489
+ */
5490
+ wifiEnabled?: boolean | null;
5491
+ /**
5492
+ * 需要基础库: `2.11.0`
5493
+ *
5494
+ * 系统当前主题,取值为`light`或`dark`,全局配置`"darkmode":true`时才能获取,否则为 undefined (不支持小游戏)
5495
+ *
5496
+ * 可选值:
5497
+ * - 'dark': 深色主题;
5498
+ * - 'light': 浅色主题;
5499
+ *
5500
+ * @uniPlatform {
5501
+ * "mp": {
5502
+ * "weixin": {
5503
+ * "hostVer": "2.11.0",
5504
+ * "uniVer": "√",
5505
+ * "unixVer": "4.41"
5506
+ * },
5507
+ * "alipay": {
5508
+ * "hostVer": "-",
5509
+ * "uniVer": "-",
5510
+ * "unixVer": "-"
5511
+ * },
5512
+ * "baidu": {
5513
+ * "hostVer": "-",
5514
+ * "uniVer": "-",
5515
+ * "unixVer": "-"
5516
+ * },
5517
+ * "toutiao": {
5518
+ * "hostVer": "-",
5519
+ * "uniVer": "-",
5520
+ * "unixVer": "-"
5521
+ * },
5522
+ * "lark": {
5523
+ * "hostVer": "-",
5524
+ * "uniVer": "-",
5525
+ * "unixVer": "-"
5526
+ * },
5527
+ * "qq": {
5528
+ * "hostVer": "-",
5529
+ * "uniVer": "-",
5530
+ * "unixVer": "-"
5531
+ * },
5532
+ * "kuaishou": {
5533
+ * "hostVer": "-",
5534
+ * "uniVer": "-",
5535
+ * "unixVer": "-"
5536
+ * },
5537
+ * "jd": {
5538
+ * "hostVer": "-",
5539
+ * "uniVer": "-",
5540
+ * "unixVer": "-"
5541
+ * }
5542
+ * }
5543
+ * }
5544
+ */
5545
+ theme?: "dark" | "light" | null;
4574
5546
  };
4575
5547
  export type GetSystemInfoSuccessCallback = (result: GetSystemInfoResult) => void;
4576
5548
  type GetSystemInfoFail = UniError;
@@ -4581,16 +5553,148 @@ export type GetSystemInfoOptions = {
4581
5553
  /**
4582
5554
  * 接口调用成功的回调函数
4583
5555
  * @defaultValue null
4584
- */
5556
+ * @uniPlatform {
5557
+ * "mp": {
5558
+ * "weixin": {
5559
+ * "hostVer": "√",
5560
+ * "uniVer": "√",
5561
+ * "unixVer": "4.41"
5562
+ * },
5563
+ * "alipay": {
5564
+ * "hostVer": "-",
5565
+ * "uniVer": "-",
5566
+ * "unixVer": "-"
5567
+ * },
5568
+ * "baidu": {
5569
+ * "hostVer": "-",
5570
+ * "uniVer": "-",
5571
+ * "unixVer": "-"
5572
+ * },
5573
+ * "toutiao": {
5574
+ * "hostVer": "-",
5575
+ * "uniVer": "-",
5576
+ * "unixVer": "-"
5577
+ * },
5578
+ * "lark": {
5579
+ * "hostVer": "-",
5580
+ * "uniVer": "-",
5581
+ * "unixVer": "-"
5582
+ * },
5583
+ * "qq": {
5584
+ * "hostVer": "-",
5585
+ * "uniVer": "-",
5586
+ * "unixVer": "-"
5587
+ * },
5588
+ * "kuaishou": {
5589
+ * "hostVer": "-",
5590
+ * "uniVer": "-",
5591
+ * "unixVer": "-"
5592
+ * },
5593
+ * "jd": {
5594
+ * "hostVer": "-",
5595
+ * "uniVer": "-",
5596
+ * "unixVer": "-"
5597
+ * }
5598
+ * }
5599
+ * }
5600
+ */
4585
5601
  success?: GetSystemInfoSuccessCallback | null,
4586
5602
  /**
4587
5603
  * 接口调用失败的回调函数
4588
5604
  * @defaultValue null
4589
- */
5605
+ * @uniPlatform {
5606
+ * "mp": {
5607
+ * "weixin": {
5608
+ * "hostVer": "√",
5609
+ * "uniVer": "√",
5610
+ * "unixVer": "4.41"
5611
+ * },
5612
+ * "alipay": {
5613
+ * "hostVer": "-",
5614
+ * "uniVer": "-",
5615
+ * "unixVer": "-"
5616
+ * },
5617
+ * "baidu": {
5618
+ * "hostVer": "-",
5619
+ * "uniVer": "-",
5620
+ * "unixVer": "-"
5621
+ * },
5622
+ * "toutiao": {
5623
+ * "hostVer": "-",
5624
+ * "uniVer": "-",
5625
+ * "unixVer": "-"
5626
+ * },
5627
+ * "lark": {
5628
+ * "hostVer": "-",
5629
+ * "uniVer": "-",
5630
+ * "unixVer": "-"
5631
+ * },
5632
+ * "qq": {
5633
+ * "hostVer": "-",
5634
+ * "uniVer": "-",
5635
+ * "unixVer": "-"
5636
+ * },
5637
+ * "kuaishou": {
5638
+ * "hostVer": "-",
5639
+ * "uniVer": "-",
5640
+ * "unixVer": "-"
5641
+ * },
5642
+ * "jd": {
5643
+ * "hostVer": "-",
5644
+ * "uniVer": "-",
5645
+ * "unixVer": "-"
5646
+ * }
5647
+ * }
5648
+ * }
5649
+ */
4590
5650
  fail?: GetSystemInfoFailCallback | null,
4591
5651
  /**
4592
5652
  * 接口调用结束的回调函数(调用成功、失败都会执行)
4593
5653
  * @defaultValue null
5654
+ * @uniPlatform {
5655
+ * "mp": {
5656
+ * "weixin": {
5657
+ * "hostVer": "√",
5658
+ * "uniVer": "√",
5659
+ * "unixVer": "4.41"
5660
+ * },
5661
+ * "alipay": {
5662
+ * "hostVer": "-",
5663
+ * "uniVer": "-",
5664
+ * "unixVer": "-"
5665
+ * },
5666
+ * "baidu": {
5667
+ * "hostVer": "-",
5668
+ * "uniVer": "-",
5669
+ * "unixVer": "-"
5670
+ * },
5671
+ * "toutiao": {
5672
+ * "hostVer": "-",
5673
+ * "uniVer": "-",
5674
+ * "unixVer": "-"
5675
+ * },
5676
+ * "lark": {
5677
+ * "hostVer": "-",
5678
+ * "uniVer": "-",
5679
+ * "unixVer": "-"
5680
+ * },
5681
+ * "qq": {
5682
+ * "hostVer": "-",
5683
+ * "uniVer": "-",
5684
+ * "unixVer": "-"
5685
+ * },
5686
+ * "kuaishou": {
5687
+ * "hostVer": "-",
5688
+ * "uniVer": "-",
5689
+ * "unixVer": "-"
5690
+ * },
5691
+ * "jd": {
5692
+ * "hostVer": "-",
5693
+ * "uniVer": "-",
5694
+ * "unixVer": "-"
5695
+ * }
5696
+ * }
5697
+ * }
4594
5698
  */
4595
5699
  complete?: GetSystemInfoCompleteCallback | null
4596
5700
  };
@@ -4622,7 +5726,7 @@ export type GetWindowInfoResult = {
4622
5726
  * "weixin": {
4623
5727
  * "hostVer": "√",
4624
5728
  * "uniVer": "√",
4625
- * "unixVer": "4.35"
5729
+ * "unixVer": "4.41"
4626
5730
  * },
4627
5731
  * "alipay": {
4628
5732
  * "hostVer": "√",
@@ -4693,7 +5797,7 @@ export type GetWindowInfoResult = {
4693
5797
  * "weixin": {
4694
5798
  * "hostVer": "√",
4695
5799
  * "uniVer": "√",
4696
- * "unixVer": "4.35"
5800
+ * "unixVer": "4.41"
4697
5801
  * },
4698
5802
  * "alipay": {
4699
5803
  * "hostVer": "√",
@@ -4764,7 +5868,7 @@ export type GetWindowInfoResult = {
4764
5868
  * "weixin": {
4765
5869
  * "hostVer": "√",
4766
5870
  * "uniVer": "√",
4767
- * "unixVer": "4.35"
5871
+ * "unixVer": "4.41"
4768
5872
  * },
4769
5873
  * "alipay": {
4770
5874
  * "hostVer": "√",
@@ -4835,7 +5939,7 @@ export type GetWindowInfoResult = {
4835
5939
  * "weixin": {
4836
5940
  * "hostVer": "√",
4837
5941
  * "uniVer": "√",
4838
- * "unixVer": "4.35"
5942
+ * "unixVer": "4.41"
4839
5943
  * },
4840
5944
  * "alipay": {
4841
5945
  * "hostVer": "√",
@@ -4900,7 +6004,7 @@ export type GetWindowInfoResult = {
4900
6004
  * "weixin": {
4901
6005
  * "hostVer": "√",
4902
6006
  * "uniVer": "√",
4903
- * "unixVer": "4.35"
6007
+ * "unixVer": "4.41"
4904
6008
  * },
4905
6009
  * "alipay": {
4906
6010
  * "hostVer": "√",
@@ -4973,7 +6077,7 @@ export type GetWindowInfoResult = {
4973
6077
  * "weixin": {
4974
6078
  * "hostVer": "√",
4975
6079
  * "uniVer": "√",
4976
- * "unixVer": "4.35"
6080
+ * "unixVer": "4.41"
4977
6081
  * },
4978
6082
  * "alipay": {
4979
6083
  * "hostVer": "√",
@@ -5073,7 +6177,7 @@ export type GetWindowInfoResult = {
5073
6177
  * "weixin": {
5074
6178
  * "hostVer": "√",
5075
6179
  * "uniVer": "√",
5076
- * "unixVer": "4.35"
6180
+ * "unixVer": "4.41"
5077
6181
  * },
5078
6182
  * "alipay": {
5079
6183
  * "hostVer": "√",
@@ -5144,7 +6248,7 @@ export type GetWindowInfoResult = {
5144
6248
  * "weixin": {
5145
6249
  * "hostVer": "√",
5146
6250
  * "uniVer": "√",
5147
- * "unixVer": "4.35"
6251
+ * "unixVer": "4.41"
5148
6252
  * },
5149
6253
  * "alipay": {
5150
6254
  * "hostVer": "√",
@@ -5215,7 +6319,7 @@ export type GetWindowInfoResult = {
5215
6319
  * "weixin": {
5216
6320
  * "hostVer": "√",
5217
6321
  * "uniVer": "√",
5218
- * "unixVer": "4.35"
6322
+ * "unixVer": "4.41"
5219
6323
  * },
5220
6324
  * "alipay": {
5221
6325
  * "hostVer": "√",
@@ -5287,7 +6391,7 @@ export type GetWindowInfoResult = {
5287
6391
  * "weixin": {
5288
6392
  * "hostVer": "√",
5289
6393
  * "uniVer": "√",
5290
- * "unixVer": "4.35"
6394
+ * "unixVer": "4.41"
5291
6395
  * },
5292
6396
  * "alipay": {
5293
6397
  * "hostVer": "√",
@@ -5406,3 +6510,104 @@ export type GetWindowInfoResult = {
5406
6510
  cutoutArea: Array<CutoutRect> | null
5407
6511
  // #endif
5408
6512
  };
6513
+ /**
6514
+ * 需要基础库: `2.12.3`
6515
+ *
6516
+ * 当前小程序运行的宿主环境
6517
+ *
6518
+ * @uniPlatform {
6519
+ * "mp": {
6520
+ * "weixin": {
6521
+ * "hostVer": "2.12.3",
6522
+ * "uniVer": "√",
6523
+ * "unixVer": "4.41"
6524
+ * },
6525
+ * "alipay": {
6526
+ * "hostVer": "-",
6527
+ * "uniVer": "-",
6528
+ * "unixVer": "-"
6529
+ * },
6530
+ * "baidu": {
6531
+ * "hostVer": "-",
6532
+ * "uniVer": "-",
6533
+ * "unixVer": "-"
6534
+ * },
6535
+ * "toutiao": {
6536
+ * "hostVer": "-",
6537
+ * "uniVer": "-",
6538
+ * "unixVer": "-"
6539
+ * },
6540
+ * "lark": {
6541
+ * "hostVer": "-",
6542
+ * "uniVer": "-",
6543
+ * "unixVer": "-"
6544
+ * },
6545
+ * "qq": {
6546
+ * "hostVer": "-",
6547
+ * "uniVer": "-",
6548
+ * "unixVer": "-"
6549
+ * },
6550
+ * "kuaishou": {
6551
+ * "hostVer": "-",
6552
+ * "uniVer": "-",
6553
+ * "unixVer": "-"
6554
+ * },
6555
+ * "jd": {
6556
+ * "hostVer": "-",
6557
+ * "uniVer": "-",
6558
+ * "unixVer": "-"
6559
+ * }
6560
+ * }
6561
+ * }
6562
+ */
6563
+ export type GetSystemInfoResultHost = {
6564
+ /**
6565
+ * 宿主 app 对应的 appId
6566
+ *
6567
+ * @uniPlatform {
6568
+ * "mp": {
6569
+ * "weixin": {
6570
+ * "hostVer": "√",
6571
+ * "uniVer": "√",
6572
+ * "unixVer": "4.41"
6573
+ * },
6574
+ * "alipay": {
6575
+ * "hostVer": "-",
6576
+ * "uniVer": "-",
6577
+ * "unixVer": "-"
6578
+ * },
6579
+ * "baidu": {
6580
+ * "hostVer": "-",
6581
+ * "uniVer": "-",
6582
+ * "unixVer": "-"
6583
+ * },
6584
+ * "toutiao": {
6585
+ * "hostVer": "-",
6586
+ * "uniVer": "-",
6587
+ * "unixVer": "-"
6588
+ * },
6589
+ * "lark": {
6590
+ * "hostVer": "-",
6591
+ * "uniVer": "-",
6592
+ * "unixVer": "-"
6593
+ * },
6594
+ * "qq": {
6595
+ * "hostVer": "-",
6596
+ * "uniVer": "-",
6597
+ * "unixVer": "-"
6598
+ * },
6599
+ * "kuaishou": {
6600
+ * "hostVer": "-",
6601
+ * "uniVer": "-",
6602
+ * "unixVer": "-"
6603
+ * },
6604
+ * "jd": {
6605
+ * "hostVer": "-",
6606
+ * "uniVer": "-",
6607
+ * "unixVer": "-"
6608
+ * }
6609
+ * }
6610
+ * }
6611
+ */
6612
+ appId?: string | null
6613
+ };