@dcloudio/uni-app-x 0.7.39 → 0.7.41

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 (104) hide show
  1. package/package.json +9 -7
  2. package/types/UniPage.d.ts +168 -22
  3. package/types/app.d.ts +178 -174
  4. package/types/native/CSSStyleDeclaration.d.ts +16 -2
  5. package/types/native/DOMRect.d.ts +430 -10
  6. package/types/native/DrawableContext.d.ts +1137 -45
  7. package/types/native/IUniElement.d.ts +1875 -93
  8. package/types/native/UniNativePage.d.ts +94 -0
  9. package/types/native/UniResizeObserver.d.ts +215 -5
  10. package/types/native/UniSafeArea.d.ts +185 -0
  11. package/types/native/UniVideoElement.d.ts +432 -0
  12. package/types/native/global.d.ts +7 -0
  13. package/types/native/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-map.d.ts +12 -8
  15. package/types/uni/uts-plugin-api/global.d.ts +62 -61
  16. package/types/uni/uts-plugin-api/index.d.ts +62 -61
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
  19. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
  23. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
  24. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
  25. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
  30. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
  31. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
  32. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
  33. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
  34. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
  35. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
  36. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
  37. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
  38. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
  39. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
  40. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
  41. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
  42. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
  43. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
  44. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
  45. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
  46. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
  47. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
  48. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
  49. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
  50. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
  51. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
  52. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
  53. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
  54. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
  55. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
  56. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
  57. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
  58. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
  59. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
  60. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
  61. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
  62. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
  63. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
  64. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
  65. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
  66. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
  67. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
  68. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
  70. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
  71. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
  72. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
  73. package/types/uni/uts-plugin-biz/global.d.ts +6 -5
  74. package/types/uni/uts-plugin-biz/index.d.ts +6 -5
  75. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
  76. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
  78. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
  79. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
  80. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
  81. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
  82. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
  83. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
  84. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
  85. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
  86. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
  87. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
  88. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
  89. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
  90. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
  91. package/types/uni/uts-plugin-extend/global.d.ts +0 -4
  92. package/types/uni/uts-plugin-extend/index.d.ts +0 -4
  93. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
  94. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
  95. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
  96. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
  97. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  98. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
  99. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
  100. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
  101. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
  102. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
  103. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
  104. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
@@ -3,432 +3,438 @@ export interface Uni {
3
3
  * 开启小程序进入前台时接收位置消息。
4
4
  *
5
5
  * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#startLocationUpdate
6
- * @tutorial-uni-app https://uniapp.dcloud.io/api/location/location-change.html#startLocationUpdate
6
+ * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#startLocationUpdate
7
7
  * @uniPlatform {
8
- * "app": {
9
- * "android": {
10
- * "osVer": "5.0",
11
- * "uniVer": "3.6.8",
12
- * "unixVer": "x"
13
- * },
14
- * "ios": {
15
- * "osVer": "9.0",
16
- * "uniVer": "3.6.8",
17
- * "unixVer": "x"
18
- * },
19
- * "harmony": {
20
- * "osVer": "3.0",
21
- * "uniVer": "4.25",
22
- * "unixVer": "x"
23
- * }
24
- * },
25
- * "mp": {
26
- * "weixin": {
27
- * "hostVer": "",
28
- * "uniVer": "√",
29
- * "unixVer": "4.41"
30
- * },
31
- * "alipay": {
32
- * "hostVer": "x",
33
- * "uniVer": "x",
34
- * "unixVer": "x"
35
- * },
36
- * "baidu": {
37
- * "hostVer": "√",
38
- * "uniVer": "√",
39
- * "unixVer": "x"
40
- * },
41
- * "toutiao": {
42
- * "hostVer": "√",
43
- * "uniVer": "√",
44
- * "unixVer": "x"
45
- * },
46
- * "lark": {
47
- * "hostVer": "√",
48
- * "uniVer": "√",
49
- * "unixVer": "x"
50
- * },
51
- * "qq": {
52
- * "hostVer": "x",
53
- * "uniVer": "x",
54
- * "unixVer": "x"
55
- * },
56
- * "kuaishou": {
57
- * "hostVer": "√",
58
- * "uniVer": "√",
59
- * "unixVer": "x"
60
- * },
61
- * "jd": {
62
- * "hostVer": "x",
63
- * "uniVer": "x",
64
- * "unixVer": "x"
65
- * }
66
- * },
67
- * "web": {
68
- * "uniVer": "3.6.8",
69
- * "unixVer": "x"
70
- * }
8
+ * "app": {
9
+ * "android": {
10
+ * "osVer": "5.0",
11
+ * "uniVer": "3.6.8",
12
+ * "unixVer": "x"
13
+ * },
14
+ * "ios": {
15
+ * "osVer": "9.0",
16
+ * "uniVer": "3.6.8",
17
+ * "unixVer": "x"
18
+ * },
19
+ * "harmony": {
20
+ * "osVer": "3.0",
21
+ * "uniVer": "4.25",
22
+ * "unixVer": "x"
23
+ * }
24
+ * },
25
+ * "mp": {
26
+ * "weixin": {
27
+ * "hostVer": "2.8.0",
28
+ * "uniVer": "√",
29
+ * "unixVer": "4.41"
30
+ * },
31
+ * "alipay": {
32
+ * "hostVer": "x",
33
+ * "uniVer": "x",
34
+ * "unixVer": "x"
35
+ * },
36
+ * "baidu": {
37
+ * "hostVer": "√",
38
+ * "uniVer": "√",
39
+ * "unixVer": "x"
40
+ * },
41
+ * "toutiao": {
42
+ * "hostVer": "√",
43
+ * "uniVer": "√",
44
+ * "unixVer": "x"
45
+ * },
46
+ * "lark": {
47
+ * "hostVer": "√",
48
+ * "uniVer": "√",
49
+ * "unixVer": "x"
50
+ * },
51
+ * "qq": {
52
+ * "hostVer": "x",
53
+ * "uniVer": "x",
54
+ * "unixVer": "x"
55
+ * },
56
+ * "kuaishou": {
57
+ * "hostVer": "√",
58
+ * "uniVer": "√",
59
+ * "unixVer": "x"
60
+ * },
61
+ * "jd": {
62
+ * "hostVer": "x",
63
+ * "uniVer": "x",
64
+ * "unixVer": "x"
65
+ * }
66
+ * },
67
+ * "web": {
68
+ * "uniVer": "3.6.8",
69
+ * "unixVer": "x"
70
+ * }
71
71
  * }
72
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.startLocationUpdate.html
72
73
  */
73
74
  startLocationUpdate: StartLocationUpdate;
74
75
  /**
75
76
  * 监听实时地理位置变化事件,需结合 uni.startLocationUpdate 或 uni.startLocationUpdateBackground 使用。
76
77
  *
77
78
  * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#onlocationchange
78
- * @tutorial-uni-app https://uniapp.dcloud.io/api/location/location-change.html#onlocationchange
79
+ * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#onlocationchange
79
80
  * @uniPlatform {
80
- * "app": {
81
- * "android": {
82
- * "osVer": "5.0",
83
- * "uniVer": "3.6.8",
84
- * "unixVer": "x"
85
- * },
86
- * "ios": {
87
- * "osVer": "9.0",
88
- * "uniVer": "3.6.8",
89
- * "unixVer": "x"
90
- * },
91
- * "harmony": {
92
- * "osVer": "3.0",
93
- * "uniVer": "4.25",
94
- * "unixVer": "x"
95
- * }
96
- * },
97
- * "mp": {
98
- * "weixin": {
99
- * "hostVer": "",
100
- * "uniVer": "√",
101
- * "unixVer": "4.41"
102
- * },
103
- * "alipay": {
104
- * "hostVer": "x",
105
- * "uniVer": "x",
106
- * "unixVer": "x"
107
- * },
108
- * "baidu": {
109
- * "hostVer": "√",
110
- * "uniVer": "√",
111
- * "unixVer": "x"
112
- * },
113
- * "toutiao": {
114
- * "hostVer": "√",
115
- * "uniVer": "√",
116
- * "unixVer": "x"
117
- * },
118
- * "lark": {
119
- * "hostVer": "√",
120
- * "uniVer": "√",
121
- * "unixVer": "x"
122
- * },
123
- * "qq": {
124
- * "hostVer": "x",
125
- * "uniVer": "x",
126
- * "unixVer": "x"
127
- * },
128
- * "kuaishou": {
129
- * "hostVer": "√",
130
- * "uniVer": "√",
131
- * "unixVer": "x"
132
- * },
133
- * "jd": {
134
- * "hostVer": "x",
135
- * "uniVer": "x",
136
- * "unixVer": "x"
137
- * }
138
- * },
139
- * "web": {
140
- * "uniVer": "3.6.8",
141
- * "unixVer": "x"
142
- * }
81
+ * "app": {
82
+ * "android": {
83
+ * "osVer": "5.0",
84
+ * "uniVer": "3.6.8",
85
+ * "unixVer": "x"
86
+ * },
87
+ * "ios": {
88
+ * "osVer": "9.0",
89
+ * "uniVer": "3.6.8",
90
+ * "unixVer": "x"
91
+ * },
92
+ * "harmony": {
93
+ * "osVer": "3.0",
94
+ * "uniVer": "4.25",
95
+ * "unixVer": "x"
96
+ * }
97
+ * },
98
+ * "mp": {
99
+ * "weixin": {
100
+ * "hostVer": "2.8.1",
101
+ * "uniVer": "√",
102
+ * "unixVer": "4.41"
103
+ * },
104
+ * "alipay": {
105
+ * "hostVer": "x",
106
+ * "uniVer": "x",
107
+ * "unixVer": "x"
108
+ * },
109
+ * "baidu": {
110
+ * "hostVer": "√",
111
+ * "uniVer": "√",
112
+ * "unixVer": "x"
113
+ * },
114
+ * "toutiao": {
115
+ * "hostVer": "√",
116
+ * "uniVer": "√",
117
+ * "unixVer": "x"
118
+ * },
119
+ * "lark": {
120
+ * "hostVer": "√",
121
+ * "uniVer": "√",
122
+ * "unixVer": "x"
123
+ * },
124
+ * "qq": {
125
+ * "hostVer": "x",
126
+ * "uniVer": "x",
127
+ * "unixVer": "x"
128
+ * },
129
+ * "kuaishou": {
130
+ * "hostVer": "√",
131
+ * "uniVer": "√",
132
+ * "unixVer": "x"
133
+ * },
134
+ * "jd": {
135
+ * "hostVer": "x",
136
+ * "uniVer": "x",
137
+ * "unixVer": "x"
138
+ * }
139
+ * },
140
+ * "web": {
141
+ * "uniVer": "3.6.8",
142
+ * "unixVer": "x"
143
+ * }
143
144
  * }
145
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.onLocationChange.html
144
146
  */
145
147
  onLocationChange: OnLocationChange;
146
148
  /**
147
149
  * 关闭监听实时位置变化,前后台都停止消息接收。
148
150
  *
149
151
  * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#stoplocationupdate
150
- * @tutorial-uni-app https://uniapp.dcloud.io/api/location/location-change.html#stoplocationupdate
152
+ * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#stoplocationupdate
151
153
  * @uniPlatform {
152
- * "app": {
153
- * "android": {
154
- * "osVer": "5.0",
155
- * "uniVer": "3.6.8",
156
- * "unixVer": "x"
157
- * },
158
- * "ios": {
159
- * "osVer": "9.0",
160
- * "uniVer": "3.6.8",
161
- * "unixVer": "x"
162
- * },
163
- * "harmony": {
164
- * "osVer": "3.0",
165
- * "uniVer": "4.25",
166
- * "unixVer": "x"
167
- * }
168
- * },
169
- * "mp": {
170
- * "weixin": {
171
- * "hostVer": "",
172
- * "uniVer": "√",
173
- * "unixVer": "4.41"
174
- * },
175
- * "alipay": {
176
- * "hostVer": "x",
177
- * "uniVer": "x",
178
- * "unixVer": "x"
179
- * },
180
- * "baidu": {
181
- * "hostVer": "√",
182
- * "uniVer": "√",
183
- * "unixVer": "x"
184
- * },
185
- * "toutiao": {
186
- * "hostVer": "√",
187
- * "uniVer": "√",
188
- * "unixVer": "x"
189
- * },
190
- * "lark": {
191
- * "hostVer": "√",
192
- * "uniVer": "√",
193
- * "unixVer": "x"
194
- * },
195
- * "qq": {
196
- * "hostVer": "x",
197
- * "uniVer": "x",
198
- * "unixVer": "x"
199
- * },
200
- * "kuaishou": {
201
- * "hostVer": "√",
202
- * "uniVer": "√",
203
- * "unixVer": "x"
204
- * },
205
- * "jd": {
206
- * "hostVer": "x",
207
- * "uniVer": "x",
208
- * "unixVer": "x"
209
- * }
210
- * },
211
- * "web": {
212
- * "uniVer": "3.6.8",
213
- * "unixVer": "x"
214
- * }
154
+ * "app": {
155
+ * "android": {
156
+ * "osVer": "5.0",
157
+ * "uniVer": "3.6.8",
158
+ * "unixVer": "x"
159
+ * },
160
+ * "ios": {
161
+ * "osVer": "9.0",
162
+ * "uniVer": "3.6.8",
163
+ * "unixVer": "x"
164
+ * },
165
+ * "harmony": {
166
+ * "osVer": "3.0",
167
+ * "uniVer": "4.25",
168
+ * "unixVer": "x"
169
+ * }
170
+ * },
171
+ * "mp": {
172
+ * "weixin": {
173
+ * "hostVer": "2.8.0",
174
+ * "uniVer": "√",
175
+ * "unixVer": "4.41"
176
+ * },
177
+ * "alipay": {
178
+ * "hostVer": "x",
179
+ * "uniVer": "x",
180
+ * "unixVer": "x"
181
+ * },
182
+ * "baidu": {
183
+ * "hostVer": "√",
184
+ * "uniVer": "√",
185
+ * "unixVer": "x"
186
+ * },
187
+ * "toutiao": {
188
+ * "hostVer": "√",
189
+ * "uniVer": "√",
190
+ * "unixVer": "x"
191
+ * },
192
+ * "lark": {
193
+ * "hostVer": "√",
194
+ * "uniVer": "√",
195
+ * "unixVer": "x"
196
+ * },
197
+ * "qq": {
198
+ * "hostVer": "x",
199
+ * "uniVer": "x",
200
+ * "unixVer": "x"
201
+ * },
202
+ * "kuaishou": {
203
+ * "hostVer": "√",
204
+ * "uniVer": "√",
205
+ * "unixVer": "x"
206
+ * },
207
+ * "jd": {
208
+ * "hostVer": "x",
209
+ * "uniVer": "x",
210
+ * "unixVer": "x"
211
+ * }
212
+ * },
213
+ * "web": {
214
+ * "uniVer": "3.6.8",
215
+ * "unixVer": "x"
216
+ * }
215
217
  * }
218
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.stopLocationUpdate.html
216
219
  */
217
220
  stopLocationUpdate: StopLocationUpdate;
218
221
  /**
219
222
  * 关闭监听实时位置变化,前后台都停止消息接收。
220
223
  *
221
224
  * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#offLocationChange
222
- * @tutorial-uni-app https://uniapp.dcloud.io/api/location/location-change.html#offLocationChange
225
+ * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#offLocationChange
223
226
  * @uniPlatform {
224
- * "app": {
225
- * "android": {
226
- * "osVer": "5.0",
227
- * "uniVer": "3.6.8",
228
- * "unixVer": "x"
229
- * },
230
- * "ios": {
231
- * "osVer": "9.0",
232
- * "uniVer": "3.6.8",
233
- * "unixVer": "x"
234
- * },
235
- * "harmony": {
236
- * "osVer": "3.0",
237
- * "uniVer": "4.25",
238
- * "unixVer": "x"
239
- * }
240
- * },
241
- * "mp": {
242
- * "weixin": {
243
- * "hostVer": "",
244
- * "uniVer": "√",
245
- * "unixVer": "4.41"
246
- * },
247
- * "alipay": {
248
- * "hostVer": "x",
249
- * "uniVer": "x",
250
- * "unixVer": "x"
251
- * },
252
- * "baidu": {
253
- * "hostVer": "√",
254
- * "uniVer": "√",
255
- * "unixVer": "x"
256
- * },
257
- * "toutiao": {
258
- * "hostVer": "√",
259
- * "uniVer": "√",
260
- * "unixVer": "x"
261
- * },
262
- * "lark": {
263
- * "hostVer": "√",
264
- * "uniVer": "√",
265
- * "unixVer": "x"
266
- * },
267
- * "qq": {
268
- * "hostVer": "x",
269
- * "uniVer": "x",
270
- * "unixVer": "x"
271
- * },
272
- * "kuaishou": {
273
- * "hostVer": "√",
274
- * "uniVer": "√",
275
- * "unixVer": "x"
276
- * },
277
- * "jd": {
278
- * "hostVer": "x",
279
- * "uniVer": "x",
280
- * "unixVer": "x"
281
- * }
282
- * },
283
- * "web": {
284
- * "uniVer": "3.6.8",
285
- * "unixVer": "x"
286
- * }
227
+ * "app": {
228
+ * "android": {
229
+ * "osVer": "5.0",
230
+ * "uniVer": "3.6.8",
231
+ * "unixVer": "x"
232
+ * },
233
+ * "ios": {
234
+ * "osVer": "9.0",
235
+ * "uniVer": "3.6.8",
236
+ * "unixVer": "x"
237
+ * },
238
+ * "harmony": {
239
+ * "osVer": "3.0",
240
+ * "uniVer": "4.25",
241
+ * "unixVer": "x"
242
+ * }
243
+ * },
244
+ * "mp": {
245
+ * "weixin": {
246
+ * "hostVer": "2.8.1",
247
+ * "uniVer": "√",
248
+ * "unixVer": "4.41"
249
+ * },
250
+ * "alipay": {
251
+ * "hostVer": "x",
252
+ * "uniVer": "x",
253
+ * "unixVer": "x"
254
+ * },
255
+ * "baidu": {
256
+ * "hostVer": "√",
257
+ * "uniVer": "√",
258
+ * "unixVer": "x"
259
+ * },
260
+ * "toutiao": {
261
+ * "hostVer": "√",
262
+ * "uniVer": "√",
263
+ * "unixVer": "x"
264
+ * },
265
+ * "lark": {
266
+ * "hostVer": "√",
267
+ * "uniVer": "√",
268
+ * "unixVer": "x"
269
+ * },
270
+ * "qq": {
271
+ * "hostVer": "x",
272
+ * "uniVer": "x",
273
+ * "unixVer": "x"
274
+ * },
275
+ * "kuaishou": {
276
+ * "hostVer": "√",
277
+ * "uniVer": "√",
278
+ * "unixVer": "x"
279
+ * },
280
+ * "jd": {
281
+ * "hostVer": "x",
282
+ * "uniVer": "x",
283
+ * "unixVer": "x"
284
+ * }
285
+ * },
286
+ * "web": {
287
+ * "uniVer": "3.6.8",
288
+ * "unixVer": "x"
289
+ * }
287
290
  * }
291
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.offLocationChange.html
288
292
  */
289
293
  offLocationChange: OffLocationChange;
290
294
  /**
291
295
  * 监听持续定位接口返回失败时触发。
292
296
  *
293
297
  * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#onlocationchangeerror
294
- * @tutorial-uni-app https://uniapp.dcloud.io/api/location/location-change.html#onlocationchangeerror
298
+ * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#onlocationchangeerror
295
299
  * @uniPlatform {
296
- * "app": {
297
- * "android": {
298
- * "osVer": "5.0",
299
- * "uniVer": "3.6.8",
300
- * "unixVer": "x"
301
- * },
302
- * "ios": {
303
- * "osVer": "9.0",
304
- * "uniVer": "3.6.8",
305
- * "unixVer": "x"
306
- * },
307
- * "harmony": {
308
- * "osVer": "3.0",
309
- * "uniVer": "4.25",
310
- * "unixVer": "x"
311
- * }
312
- * },
313
- * "mp": {
314
- * "weixin": {
315
- * "hostVer": "",
316
- * "uniVer": "√",
317
- * "unixVer": "4.41"
318
- * },
319
- * "alipay": {
320
- * "hostVer": "x",
321
- * "uniVer": "x",
322
- * "unixVer": "x"
323
- * },
324
- * "baidu": {
325
- * "hostVer": "√",
326
- * "uniVer": "√",
327
- * "unixVer": "x"
328
- * },
329
- * "toutiao": {
330
- * "hostVer": "√",
331
- * "uniVer": "√",
332
- * "unixVer": "x"
333
- * },
334
- * "lark": {
335
- * "hostVer": "√",
336
- * "uniVer": "√",
337
- * "unixVer": "x"
338
- * },
339
- * "qq": {
340
- * "hostVer": "x",
341
- * "uniVer": "x",
342
- * "unixVer": "x"
343
- * },
344
- * "kuaishou": {
345
- * "hostVer": "√",
346
- * "uniVer": "√",
347
- * "unixVer": "x"
348
- * },
349
- * "jd": {
350
- * "hostVer": "x",
351
- * "uniVer": "x",
352
- * "unixVer": "x"
353
- * }
354
- * },
355
- * "web": {
356
- * "uniVer": "3.6.8",
357
- * "unixVer": "x"
358
- * }
300
+ * "app": {
301
+ * "android": {
302
+ * "osVer": "5.0",
303
+ * "uniVer": "3.6.8",
304
+ * "unixVer": "x"
305
+ * },
306
+ * "ios": {
307
+ * "osVer": "9.0",
308
+ * "uniVer": "3.6.8",
309
+ * "unixVer": "x"
310
+ * },
311
+ * "harmony": {
312
+ * "osVer": "3.0",
313
+ * "uniVer": "4.25",
314
+ * "unixVer": "x"
315
+ * }
316
+ * },
317
+ * "mp": {
318
+ * "weixin": {
319
+ * "hostVer": "2.19.5",
320
+ * "uniVer": "√",
321
+ * "unixVer": "4.41"
322
+ * },
323
+ * "alipay": {
324
+ * "hostVer": "x",
325
+ * "uniVer": "x",
326
+ * "unixVer": "x"
327
+ * },
328
+ * "baidu": {
329
+ * "hostVer": "√",
330
+ * "uniVer": "√",
331
+ * "unixVer": "x"
332
+ * },
333
+ * "toutiao": {
334
+ * "hostVer": "√",
335
+ * "uniVer": "√",
336
+ * "unixVer": "x"
337
+ * },
338
+ * "lark": {
339
+ * "hostVer": "√",
340
+ * "uniVer": "√",
341
+ * "unixVer": "x"
342
+ * },
343
+ * "qq": {
344
+ * "hostVer": "x",
345
+ * "uniVer": "x",
346
+ * "unixVer": "x"
347
+ * },
348
+ * "kuaishou": {
349
+ * "hostVer": "√",
350
+ * "uniVer": "√",
351
+ * "unixVer": "x"
352
+ * },
353
+ * "jd": {
354
+ * "hostVer": "x",
355
+ * "uniVer": "x",
356
+ * "unixVer": "x"
357
+ * }
358
+ * },
359
+ * "web": {
360
+ * "uniVer": "3.6.8",
361
+ * "unixVer": "x"
362
+ * }
359
363
  * }
364
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.onLocationChangeError.html
360
365
  */
361
366
  onLocationChangeError: OnLocationChangeError;
362
367
  /**
363
368
  * 取消注册位置更新错误回调。
364
369
  *
365
370
  * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#offlocationchangeerror
366
- * @tutorial-uni-app https://uniapp.dcloud.io/api/location/location-change.html#offlocationchangeerror
371
+ * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#offlocationchangeerror
367
372
  * @uniPlatform {
368
- * "app": {
369
- * "android": {
370
- * "osVer": "5.0",
371
- * "uniVer": "3.6.8",
372
- * "unixVer": "x"
373
- * },
374
- * "ios": {
375
- * "osVer": "9.0",
376
- * "uniVer": "3.6.8",
377
- * "unixVer": "x"
378
- * },
379
- * "harmony": {
380
- * "osVer": "3.0",
381
- * "uniVer": "4.25",
382
- * "unixVer": "x"
383
- * }
384
- * },
385
- * "mp": {
386
- * "weixin": {
387
- * "hostVer": "",
388
- * "uniVer": "√",
389
- * "unixVer": "4.41"
390
- * },
391
- * "alipay": {
392
- * "hostVer": "x",
393
- * "uniVer": "x",
394
- * "unixVer": "x"
395
- * },
396
- * "baidu": {
397
- * "hostVer": "√",
398
- * "uniVer": "√",
399
- * "unixVer": "x"
400
- * },
401
- * "toutiao": {
402
- * "hostVer": "√",
403
- * "uniVer": "√",
404
- * "unixVer": "x"
405
- * },
406
- * "lark": {
407
- * "hostVer": "√",
408
- * "uniVer": "√",
409
- * "unixVer": "x"
410
- * },
411
- * "qq": {
412
- * "hostVer": "x",
413
- * "uniVer": "x",
414
- * "unixVer": "x"
415
- * },
416
- * "kuaishou": {
417
- * "hostVer": "√",
418
- * "uniVer": "√",
419
- * "unixVer": "x"
420
- * },
421
- * "jd": {
422
- * "hostVer": "x",
423
- * "uniVer": "x",
424
- * "unixVer": "x"
425
- * }
426
- * },
427
- * "web": {
428
- * "uniVer": "3.6.8",
429
- * "unixVer": "x"
430
- * }
373
+ * "app": {
374
+ * "android": {
375
+ * "osVer": "5.0",
376
+ * "uniVer": "3.6.8",
377
+ * "unixVer": "x"
378
+ * },
379
+ * "ios": {
380
+ * "osVer": "9.0",
381
+ * "uniVer": "3.6.8",
382
+ * "unixVer": "x"
383
+ * },
384
+ * "harmony": {
385
+ * "osVer": "3.0",
386
+ * "uniVer": "4.25",
387
+ * "unixVer": "x"
388
+ * }
389
+ * },
390
+ * "mp": {
391
+ * "weixin": {
392
+ * "hostVer": "2.19.5",
393
+ * "uniVer": "√",
394
+ * "unixVer": "4.41"
395
+ * },
396
+ * "alipay": {
397
+ * "hostVer": "x",
398
+ * "uniVer": "x",
399
+ * "unixVer": "x"
400
+ * },
401
+ * "baidu": {
402
+ * "hostVer": "√",
403
+ * "uniVer": "√",
404
+ * "unixVer": "x"
405
+ * },
406
+ * "toutiao": {
407
+ * "hostVer": "√",
408
+ * "uniVer": "√",
409
+ * "unixVer": "x"
410
+ * },
411
+ * "lark": {
412
+ * "hostVer": "√",
413
+ * "uniVer": "√",
414
+ * "unixVer": "x"
415
+ * },
416
+ * "qq": {
417
+ * "hostVer": "x",
418
+ * "uniVer": "x",
419
+ * "unixVer": "x"
420
+ * },
421
+ * "kuaishou": {
422
+ * "hostVer": "√",
423
+ * "uniVer": "√",
424
+ * "unixVer": "x"
425
+ * },
426
+ * "jd": {
427
+ * "hostVer": "x",
428
+ * "uniVer": "x",
429
+ * "unixVer": "x"
430
+ * }
431
+ * },
432
+ * "web": {
433
+ * "uniVer": "3.6.8",
434
+ * "unixVer": "x"
435
+ * }
431
436
  * }
437
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.offLocationChangeError.html
432
438
  */
433
439
  offLocationChangeError: OffLocationChangeError;
434
440
  }
@@ -437,20 +443,245 @@ export type StartLocationUpdate = (options: StartLocationUpdateOptions) => any;
437
443
  export type StartLocationUpdateSuccess = {
438
444
  /**
439
445
  * 位置名称
446
+ * @uniPlatform {
447
+ * "mp": {
448
+ * "weixin": {
449
+ * "hostVer": "√",
450
+ * "uniVer": "√",
451
+ * "unixVer": "4.41"
452
+ * },
453
+ * "alipay": {
454
+ * "hostVer": "x",
455
+ * "uniVer": "x",
456
+ * "unixVer": "x"
457
+ * },
458
+ * "baidu": {
459
+ * "hostVer": "x",
460
+ * "uniVer": "x",
461
+ * "unixVer": "x"
462
+ * },
463
+ * "toutiao": {
464
+ * "hostVer": "x",
465
+ * "uniVer": "x",
466
+ * "unixVer": "x"
467
+ * },
468
+ * "lark": {
469
+ * "hostVer": "x",
470
+ * "uniVer": "x",
471
+ * "unixVer": "x"
472
+ * },
473
+ * "qq": {
474
+ * "hostVer": "x",
475
+ * "uniVer": "x",
476
+ * "unixVer": "x"
477
+ * },
478
+ * "kuaishou": {
479
+ * "hostVer": "x",
480
+ * "uniVer": "x",
481
+ * "unixVer": "x"
482
+ * },
483
+ * "jd": {
484
+ * "hostVer": "x",
485
+ * "uniVer": "x",
486
+ * "unixVer": "x"
487
+ * }
488
+ * }
489
+ * }
440
490
  */
441
491
  name: string,
442
492
  /**
443
493
  * 详细地址
494
+ * @uniPlatform {
495
+ * "mp": {
496
+ * "weixin": {
497
+ * "hostVer": "√",
498
+ * "uniVer": "√",
499
+ * "unixVer": "4.41"
500
+ * },
501
+ * "alipay": {
502
+ * "hostVer": "x",
503
+ * "uniVer": "x",
504
+ * "unixVer": "x"
505
+ * },
506
+ * "baidu": {
507
+ * "hostVer": "x",
508
+ * "uniVer": "x",
509
+ * "unixVer": "x"
510
+ * },
511
+ * "toutiao": {
512
+ * "hostVer": "x",
513
+ * "uniVer": "x",
514
+ * "unixVer": "x"
515
+ * },
516
+ * "lark": {
517
+ * "hostVer": "x",
518
+ * "uniVer": "x",
519
+ * "unixVer": "x"
520
+ * },
521
+ * "qq": {
522
+ * "hostVer": "x",
523
+ * "uniVer": "x",
524
+ * "unixVer": "x"
525
+ * },
526
+ * "kuaishou": {
527
+ * "hostVer": "x",
528
+ * "uniVer": "x",
529
+ * "unixVer": "x"
530
+ * },
531
+ * "jd": {
532
+ * "hostVer": "x",
533
+ * "uniVer": "x",
534
+ * "unixVer": "x"
535
+ * }
536
+ * }
537
+ * }
444
538
  */
445
539
  address: string,
446
540
  /**
447
541
  * 纬度,浮点数,范围为-90~90,负数表示南纬
542
+ * @uniPlatform {
543
+ * "mp": {
544
+ * "weixin": {
545
+ * "hostVer": "√",
546
+ * "uniVer": "√",
547
+ * "unixVer": "4.41"
548
+ * },
549
+ * "alipay": {
550
+ * "hostVer": "x",
551
+ * "uniVer": "x",
552
+ * "unixVer": "x"
553
+ * },
554
+ * "baidu": {
555
+ * "hostVer": "x",
556
+ * "uniVer": "x",
557
+ * "unixVer": "x"
558
+ * },
559
+ * "toutiao": {
560
+ * "hostVer": "x",
561
+ * "uniVer": "x",
562
+ * "unixVer": "x"
563
+ * },
564
+ * "lark": {
565
+ * "hostVer": "x",
566
+ * "uniVer": "x",
567
+ * "unixVer": "x"
568
+ * },
569
+ * "qq": {
570
+ * "hostVer": "x",
571
+ * "uniVer": "x",
572
+ * "unixVer": "x"
573
+ * },
574
+ * "kuaishou": {
575
+ * "hostVer": "x",
576
+ * "uniVer": "x",
577
+ * "unixVer": "x"
578
+ * },
579
+ * "jd": {
580
+ * "hostVer": "x",
581
+ * "uniVer": "x",
582
+ * "unixVer": "x"
583
+ * }
584
+ * }
585
+ * }
448
586
  */
449
587
  latitude: number,
450
588
  /**
451
589
  * 经度,范围为-180~180,负数表示西经
590
+ * @uniPlatform {
591
+ * "mp": {
592
+ * "weixin": {
593
+ * "hostVer": "√",
594
+ * "uniVer": "√",
595
+ * "unixVer": "4.41"
596
+ * },
597
+ * "alipay": {
598
+ * "hostVer": "x",
599
+ * "uniVer": "x",
600
+ * "unixVer": "x"
601
+ * },
602
+ * "baidu": {
603
+ * "hostVer": "x",
604
+ * "uniVer": "x",
605
+ * "unixVer": "x"
606
+ * },
607
+ * "toutiao": {
608
+ * "hostVer": "x",
609
+ * "uniVer": "x",
610
+ * "unixVer": "x"
611
+ * },
612
+ * "lark": {
613
+ * "hostVer": "x",
614
+ * "uniVer": "x",
615
+ * "unixVer": "x"
616
+ * },
617
+ * "qq": {
618
+ * "hostVer": "x",
619
+ * "uniVer": "x",
620
+ * "unixVer": "x"
621
+ * },
622
+ * "kuaishou": {
623
+ * "hostVer": "x",
624
+ * "uniVer": "x",
625
+ * "unixVer": "x"
626
+ * },
627
+ * "jd": {
628
+ * "hostVer": "x",
629
+ * "uniVer": "x",
630
+ * "unixVer": "x"
631
+ * }
632
+ * }
633
+ * }
452
634
  */
453
635
  longitude: number
636
+ /**
637
+ * 错误信息
638
+ *
639
+ * @uniPlatform {
640
+ * "mp": {
641
+ * "weixin": {
642
+ * "hostVer": "√",
643
+ * "uniVer": "√",
644
+ * "unixVer": "4.41"
645
+ * },
646
+ * "alipay": {
647
+ * "hostVer": "x",
648
+ * "uniVer": "x",
649
+ * "unixVer": "x"
650
+ * },
651
+ * "baidu": {
652
+ * "hostVer": "x",
653
+ * "uniVer": "x",
654
+ * "unixVer": "x"
655
+ * },
656
+ * "toutiao": {
657
+ * "hostVer": "x",
658
+ * "uniVer": "x",
659
+ * "unixVer": "x"
660
+ * },
661
+ * "lark": {
662
+ * "hostVer": "x",
663
+ * "uniVer": "x",
664
+ * "unixVer": "x"
665
+ * },
666
+ * "qq": {
667
+ * "hostVer": "x",
668
+ * "uniVer": "x",
669
+ * "unixVer": "x"
670
+ * },
671
+ * "kuaishou": {
672
+ * "hostVer": "x",
673
+ * "uniVer": "x",
674
+ * "unixVer": "x"
675
+ * },
676
+ * "jd": {
677
+ * "hostVer": "x",
678
+ * "uniVer": "x",
679
+ * "unixVer": "x"
680
+ * }
681
+ * }
682
+ * }
683
+ */
684
+ errMsg?: string;
454
685
  };
455
686
  export type StartLocationUpdateSuccessCallback = (result: StartLocationUpdateSuccess) => void;
456
687
  export type StartLocationUpdateFail = UniError;
@@ -467,52 +698,580 @@ export type StartLocationUpdateCompleteCallback = (result: StartLocationUpdateCo
467
698
  export type StartLocationUpdateOptions = {
468
699
  /**
469
700
  * 指定坐标系类型,可以是 wgs84 或 gcj02
701
+ * @uniPlatform {
702
+ * "mp": {
703
+ * "weixin": {
704
+ * "hostVer": "√",
705
+ * "uniVer": "√",
706
+ * "unixVer": "4.41"
707
+ * },
708
+ * "alipay": {
709
+ * "hostVer": "x",
710
+ * "uniVer": "x",
711
+ * "unixVer": "x"
712
+ * },
713
+ * "baidu": {
714
+ * "hostVer": "x",
715
+ * "uniVer": "x",
716
+ * "unixVer": "x"
717
+ * },
718
+ * "toutiao": {
719
+ * "hostVer": "x",
720
+ * "uniVer": "x",
721
+ * "unixVer": "x"
722
+ * },
723
+ * "lark": {
724
+ * "hostVer": "x",
725
+ * "uniVer": "x",
726
+ * "unixVer": "x"
727
+ * },
728
+ * "qq": {
729
+ * "hostVer": "x",
730
+ * "uniVer": "x",
731
+ * "unixVer": "x"
732
+ * },
733
+ * "kuaishou": {
734
+ * "hostVer": "x",
735
+ * "uniVer": "x",
736
+ * "unixVer": "x"
737
+ * },
738
+ * "jd": {
739
+ * "hostVer": "x",
740
+ * "uniVer": "x",
741
+ * "unixVer": "x"
742
+ * }
743
+ * }
744
+ * }
470
745
  */
471
746
  type?: string | null,
472
747
  /**
473
748
  * 接口调用成功的回调函数
749
+ * @uniPlatform {
750
+ * "mp": {
751
+ * "weixin": {
752
+ * "hostVer": "√",
753
+ * "uniVer": "√",
754
+ * "unixVer": "4.41"
755
+ * },
756
+ * "alipay": {
757
+ * "hostVer": "x",
758
+ * "uniVer": "x",
759
+ * "unixVer": "x"
760
+ * },
761
+ * "baidu": {
762
+ * "hostVer": "x",
763
+ * "uniVer": "x",
764
+ * "unixVer": "x"
765
+ * },
766
+ * "toutiao": {
767
+ * "hostVer": "x",
768
+ * "uniVer": "x",
769
+ * "unixVer": "x"
770
+ * },
771
+ * "lark": {
772
+ * "hostVer": "x",
773
+ * "uniVer": "x",
774
+ * "unixVer": "x"
775
+ * },
776
+ * "qq": {
777
+ * "hostVer": "x",
778
+ * "uniVer": "x",
779
+ * "unixVer": "x"
780
+ * },
781
+ * "kuaishou": {
782
+ * "hostVer": "x",
783
+ * "uniVer": "x",
784
+ * "unixVer": "x"
785
+ * },
786
+ * "jd": {
787
+ * "hostVer": "x",
788
+ * "uniVer": "x",
789
+ * "unixVer": "x"
790
+ * }
791
+ * }
792
+ * }
474
793
  */
475
794
  success?: StartLocationUpdateSuccessCallback | null,
476
795
  /**
477
796
  * 接口调用失败的回调函数
797
+ * @uniPlatform {
798
+ * "mp": {
799
+ * "weixin": {
800
+ * "hostVer": "√",
801
+ * "uniVer": "√",
802
+ * "unixVer": "4.41"
803
+ * },
804
+ * "alipay": {
805
+ * "hostVer": "x",
806
+ * "uniVer": "x",
807
+ * "unixVer": "x"
808
+ * },
809
+ * "baidu": {
810
+ * "hostVer": "x",
811
+ * "uniVer": "x",
812
+ * "unixVer": "x"
813
+ * },
814
+ * "toutiao": {
815
+ * "hostVer": "x",
816
+ * "uniVer": "x",
817
+ * "unixVer": "x"
818
+ * },
819
+ * "lark": {
820
+ * "hostVer": "x",
821
+ * "uniVer": "x",
822
+ * "unixVer": "x"
823
+ * },
824
+ * "qq": {
825
+ * "hostVer": "x",
826
+ * "uniVer": "x",
827
+ * "unixVer": "x"
828
+ * },
829
+ * "kuaishou": {
830
+ * "hostVer": "x",
831
+ * "uniVer": "x",
832
+ * "unixVer": "x"
833
+ * },
834
+ * "jd": {
835
+ * "hostVer": "x",
836
+ * "uniVer": "x",
837
+ * "unixVer": "x"
838
+ * }
839
+ * }
840
+ * }
478
841
  */
479
842
  fail?: StartLocationUpdateFailCallback | null,
480
843
  /**
481
844
  * 接口调用结束的回调函数(调用成功、失败都会执行)
845
+ * @uniPlatform {
846
+ * "mp": {
847
+ * "weixin": {
848
+ * "hostVer": "√",
849
+ * "uniVer": "√",
850
+ * "unixVer": "4.41"
851
+ * },
852
+ * "alipay": {
853
+ * "hostVer": "x",
854
+ * "uniVer": "x",
855
+ * "unixVer": "x"
856
+ * },
857
+ * "baidu": {
858
+ * "hostVer": "x",
859
+ * "uniVer": "x",
860
+ * "unixVer": "x"
861
+ * },
862
+ * "toutiao": {
863
+ * "hostVer": "x",
864
+ * "uniVer": "x",
865
+ * "unixVer": "x"
866
+ * },
867
+ * "lark": {
868
+ * "hostVer": "x",
869
+ * "uniVer": "x",
870
+ * "unixVer": "x"
871
+ * },
872
+ * "qq": {
873
+ * "hostVer": "x",
874
+ * "uniVer": "x",
875
+ * "unixVer": "x"
876
+ * },
877
+ * "kuaishou": {
878
+ * "hostVer": "x",
879
+ * "uniVer": "x",
880
+ * "unixVer": "x"
881
+ * },
882
+ * "jd": {
883
+ * "hostVer": "x",
884
+ * "uniVer": "x",
885
+ * "unixVer": "x"
886
+ * }
887
+ * }
888
+ * }
482
889
  */
483
890
  complete?: StartLocationUpdateCompleteCallback | null
484
891
  };
485
892
  export type OnLocationChangeCallbackResult = {
486
893
  /**
487
894
  * 纬度,范围为 -90~90,负数表示南纬
895
+ * @uniPlatform {
896
+ * "mp": {
897
+ * "weixin": {
898
+ * "hostVer": "√",
899
+ * "uniVer": "√",
900
+ * "unixVer": "4.41"
901
+ * },
902
+ * "alipay": {
903
+ * "hostVer": "x",
904
+ * "uniVer": "x",
905
+ * "unixVer": "x"
906
+ * },
907
+ * "baidu": {
908
+ * "hostVer": "x",
909
+ * "uniVer": "x",
910
+ * "unixVer": "x"
911
+ * },
912
+ * "toutiao": {
913
+ * "hostVer": "x",
914
+ * "uniVer": "x",
915
+ * "unixVer": "x"
916
+ * },
917
+ * "lark": {
918
+ * "hostVer": "x",
919
+ * "uniVer": "x",
920
+ * "unixVer": "x"
921
+ * },
922
+ * "qq": {
923
+ * "hostVer": "x",
924
+ * "uniVer": "x",
925
+ * "unixVer": "x"
926
+ * },
927
+ * "kuaishou": {
928
+ * "hostVer": "x",
929
+ * "uniVer": "x",
930
+ * "unixVer": "x"
931
+ * },
932
+ * "jd": {
933
+ * "hostVer": "x",
934
+ * "uniVer": "x",
935
+ * "unixVer": "x"
936
+ * }
937
+ * }
938
+ * }
488
939
  */
489
940
  latitude?: number | null,
490
941
  /**
491
942
  * 经度,范围为 -180~180,负数表示西经
943
+ * @uniPlatform {
944
+ * "mp": {
945
+ * "weixin": {
946
+ * "hostVer": "√",
947
+ * "uniVer": "√",
948
+ * "unixVer": "4.41"
949
+ * },
950
+ * "alipay": {
951
+ * "hostVer": "x",
952
+ * "uniVer": "x",
953
+ * "unixVer": "x"
954
+ * },
955
+ * "baidu": {
956
+ * "hostVer": "x",
957
+ * "uniVer": "x",
958
+ * "unixVer": "x"
959
+ * },
960
+ * "toutiao": {
961
+ * "hostVer": "x",
962
+ * "uniVer": "x",
963
+ * "unixVer": "x"
964
+ * },
965
+ * "lark": {
966
+ * "hostVer": "x",
967
+ * "uniVer": "x",
968
+ * "unixVer": "x"
969
+ * },
970
+ * "qq": {
971
+ * "hostVer": "x",
972
+ * "uniVer": "x",
973
+ * "unixVer": "x"
974
+ * },
975
+ * "kuaishou": {
976
+ * "hostVer": "x",
977
+ * "uniVer": "x",
978
+ * "unixVer": "x"
979
+ * },
980
+ * "jd": {
981
+ * "hostVer": "x",
982
+ * "uniVer": "x",
983
+ * "unixVer": "x"
984
+ * }
985
+ * }
986
+ * }
492
987
  */
493
988
  longitude?: number | null,
494
989
  /**
495
990
  * 位置的精确度
991
+ * @uniPlatform {
992
+ * "mp": {
993
+ * "weixin": {
994
+ * "hostVer": "√",
995
+ * "uniVer": "√",
996
+ * "unixVer": "4.41"
997
+ * },
998
+ * "alipay": {
999
+ * "hostVer": "x",
1000
+ * "uniVer": "x",
1001
+ * "unixVer": "x"
1002
+ * },
1003
+ * "baidu": {
1004
+ * "hostVer": "x",
1005
+ * "uniVer": "x",
1006
+ * "unixVer": "x"
1007
+ * },
1008
+ * "toutiao": {
1009
+ * "hostVer": "x",
1010
+ * "uniVer": "x",
1011
+ * "unixVer": "x"
1012
+ * },
1013
+ * "lark": {
1014
+ * "hostVer": "x",
1015
+ * "uniVer": "x",
1016
+ * "unixVer": "x"
1017
+ * },
1018
+ * "qq": {
1019
+ * "hostVer": "x",
1020
+ * "uniVer": "x",
1021
+ * "unixVer": "x"
1022
+ * },
1023
+ * "kuaishou": {
1024
+ * "hostVer": "x",
1025
+ * "uniVer": "x",
1026
+ * "unixVer": "x"
1027
+ * },
1028
+ * "jd": {
1029
+ * "hostVer": "x",
1030
+ * "uniVer": "x",
1031
+ * "unixVer": "x"
1032
+ * }
1033
+ * }
1034
+ * }
496
1035
  */
497
1036
  accuracy?: number | null,
498
1037
  /**
499
1038
  * 高度,单位 m
1039
+ * @uniPlatform {
1040
+ * "mp": {
1041
+ * "weixin": {
1042
+ * "hostVer": "√",
1043
+ * "uniVer": "√",
1044
+ * "unixVer": "4.41"
1045
+ * },
1046
+ * "alipay": {
1047
+ * "hostVer": "x",
1048
+ * "uniVer": "x",
1049
+ * "unixVer": "x"
1050
+ * },
1051
+ * "baidu": {
1052
+ * "hostVer": "x",
1053
+ * "uniVer": "x",
1054
+ * "unixVer": "x"
1055
+ * },
1056
+ * "toutiao": {
1057
+ * "hostVer": "x",
1058
+ * "uniVer": "x",
1059
+ * "unixVer": "x"
1060
+ * },
1061
+ * "lark": {
1062
+ * "hostVer": "x",
1063
+ * "uniVer": "x",
1064
+ * "unixVer": "x"
1065
+ * },
1066
+ * "qq": {
1067
+ * "hostVer": "x",
1068
+ * "uniVer": "x",
1069
+ * "unixVer": "x"
1070
+ * },
1071
+ * "kuaishou": {
1072
+ * "hostVer": "x",
1073
+ * "uniVer": "x",
1074
+ * "unixVer": "x"
1075
+ * },
1076
+ * "jd": {
1077
+ * "hostVer": "x",
1078
+ * "uniVer": "x",
1079
+ * "unixVer": "x"
1080
+ * }
1081
+ * }
1082
+ * }
500
1083
  */
501
1084
  altitude?: number | null,
502
1085
  /**
503
1086
  * 高度的精确度
1087
+ * @uniPlatform {
1088
+ * "mp": {
1089
+ * "weixin": {
1090
+ * "hostVer": "√",
1091
+ * "uniVer": "√",
1092
+ * "unixVer": "4.41"
1093
+ * },
1094
+ * "alipay": {
1095
+ * "hostVer": "x",
1096
+ * "uniVer": "x",
1097
+ * "unixVer": "x"
1098
+ * },
1099
+ * "baidu": {
1100
+ * "hostVer": "x",
1101
+ * "uniVer": "x",
1102
+ * "unixVer": "x"
1103
+ * },
1104
+ * "toutiao": {
1105
+ * "hostVer": "x",
1106
+ * "uniVer": "x",
1107
+ * "unixVer": "x"
1108
+ * },
1109
+ * "lark": {
1110
+ * "hostVer": "x",
1111
+ * "uniVer": "x",
1112
+ * "unixVer": "x"
1113
+ * },
1114
+ * "qq": {
1115
+ * "hostVer": "x",
1116
+ * "uniVer": "x",
1117
+ * "unixVer": "x"
1118
+ * },
1119
+ * "kuaishou": {
1120
+ * "hostVer": "x",
1121
+ * "uniVer": "x",
1122
+ * "unixVer": "x"
1123
+ * },
1124
+ * "jd": {
1125
+ * "hostVer": "x",
1126
+ * "uniVer": "x",
1127
+ * "unixVer": "x"
1128
+ * }
1129
+ * }
1130
+ * }
504
1131
  */
505
1132
  altitudeAccuracy?: number | null,
506
1133
  /**
507
1134
  * 速度,单位 m/s
1135
+ * @uniPlatform {
1136
+ * "mp": {
1137
+ * "weixin": {
1138
+ * "hostVer": "√",
1139
+ * "uniVer": "√",
1140
+ * "unixVer": "4.41"
1141
+ * },
1142
+ * "alipay": {
1143
+ * "hostVer": "x",
1144
+ * "uniVer": "x",
1145
+ * "unixVer": "x"
1146
+ * },
1147
+ * "baidu": {
1148
+ * "hostVer": "x",
1149
+ * "uniVer": "x",
1150
+ * "unixVer": "x"
1151
+ * },
1152
+ * "toutiao": {
1153
+ * "hostVer": "x",
1154
+ * "uniVer": "x",
1155
+ * "unixVer": "x"
1156
+ * },
1157
+ * "lark": {
1158
+ * "hostVer": "x",
1159
+ * "uniVer": "x",
1160
+ * "unixVer": "x"
1161
+ * },
1162
+ * "qq": {
1163
+ * "hostVer": "x",
1164
+ * "uniVer": "x",
1165
+ * "unixVer": "x"
1166
+ * },
1167
+ * "kuaishou": {
1168
+ * "hostVer": "x",
1169
+ * "uniVer": "x",
1170
+ * "unixVer": "x"
1171
+ * },
1172
+ * "jd": {
1173
+ * "hostVer": "x",
1174
+ * "uniVer": "x",
1175
+ * "unixVer": "x"
1176
+ * }
1177
+ * }
1178
+ * }
508
1179
  */
509
1180
  speed?: number | null,
510
1181
  /**
511
1182
  * 水平精度,单位 m
1183
+ * @uniPlatform {
1184
+ * "mp": {
1185
+ * "weixin": {
1186
+ * "hostVer": "√",
1187
+ * "uniVer": "√",
1188
+ * "unixVer": "4.41"
1189
+ * },
1190
+ * "alipay": {
1191
+ * "hostVer": "x",
1192
+ * "uniVer": "x",
1193
+ * "unixVer": "x"
1194
+ * },
1195
+ * "baidu": {
1196
+ * "hostVer": "x",
1197
+ * "uniVer": "x",
1198
+ * "unixVer": "x"
1199
+ * },
1200
+ * "toutiao": {
1201
+ * "hostVer": "x",
1202
+ * "uniVer": "x",
1203
+ * "unixVer": "x"
1204
+ * },
1205
+ * "lark": {
1206
+ * "hostVer": "x",
1207
+ * "uniVer": "x",
1208
+ * "unixVer": "x"
1209
+ * },
1210
+ * "qq": {
1211
+ * "hostVer": "x",
1212
+ * "uniVer": "x",
1213
+ * "unixVer": "x"
1214
+ * },
1215
+ * "kuaishou": {
1216
+ * "hostVer": "x",
1217
+ * "uniVer": "x",
1218
+ * "unixVer": "x"
1219
+ * },
1220
+ * "jd": {
1221
+ * "hostVer": "x",
1222
+ * "uniVer": "x",
1223
+ * "unixVer": "x"
1224
+ * }
1225
+ * }
1226
+ * }
512
1227
  */
513
1228
  horizontalAccuracy?: number | null,
514
1229
  /**
515
1230
  * 垂直精度,单位 m(Android 无法获取,返回 0)
1231
+ * @uniPlatform {
1232
+ * "mp": {
1233
+ * "weixin": {
1234
+ * "hostVer": "√",
1235
+ * "uniVer": "√",
1236
+ * "unixVer": "4.41"
1237
+ * },
1238
+ * "alipay": {
1239
+ * "hostVer": "x",
1240
+ * "uniVer": "x",
1241
+ * "unixVer": "x"
1242
+ * },
1243
+ * "baidu": {
1244
+ * "hostVer": "x",
1245
+ * "uniVer": "x",
1246
+ * "unixVer": "x"
1247
+ * },
1248
+ * "toutiao": {
1249
+ * "hostVer": "x",
1250
+ * "uniVer": "x",
1251
+ * "unixVer": "x"
1252
+ * },
1253
+ * "lark": {
1254
+ * "hostVer": "x",
1255
+ * "uniVer": "x",
1256
+ * "unixVer": "x"
1257
+ * },
1258
+ * "qq": {
1259
+ * "hostVer": "x",
1260
+ * "uniVer": "x",
1261
+ * "unixVer": "x"
1262
+ * },
1263
+ * "kuaishou": {
1264
+ * "hostVer": "x",
1265
+ * "uniVer": "x",
1266
+ * "unixVer": "x"
1267
+ * },
1268
+ * "jd": {
1269
+ * "hostVer": "x",
1270
+ * "uniVer": "x",
1271
+ * "unixVer": "x"
1272
+ * }
1273
+ * }
1274
+ * }
516
1275
  */
517
1276
  verticalAccuracy?: number | null
518
1277
  };
@@ -522,34 +1281,386 @@ export type StopLocationUpdate = (options: any) => any;
522
1281
  export type OffLocationChangeCallbackResult = {
523
1282
  /**
524
1283
  * 纬度,范围为 -90~90,负数表示南纬
1284
+ * @uniPlatform {
1285
+ * "mp": {
1286
+ * "weixin": {
1287
+ * "hostVer": "√",
1288
+ * "uniVer": "√",
1289
+ * "unixVer": "4.41"
1290
+ * },
1291
+ * "alipay": {
1292
+ * "hostVer": "x",
1293
+ * "uniVer": "x",
1294
+ * "unixVer": "x"
1295
+ * },
1296
+ * "baidu": {
1297
+ * "hostVer": "x",
1298
+ * "uniVer": "x",
1299
+ * "unixVer": "x"
1300
+ * },
1301
+ * "toutiao": {
1302
+ * "hostVer": "x",
1303
+ * "uniVer": "x",
1304
+ * "unixVer": "x"
1305
+ * },
1306
+ * "lark": {
1307
+ * "hostVer": "x",
1308
+ * "uniVer": "x",
1309
+ * "unixVer": "x"
1310
+ * },
1311
+ * "qq": {
1312
+ * "hostVer": "x",
1313
+ * "uniVer": "x",
1314
+ * "unixVer": "x"
1315
+ * },
1316
+ * "kuaishou": {
1317
+ * "hostVer": "x",
1318
+ * "uniVer": "x",
1319
+ * "unixVer": "x"
1320
+ * },
1321
+ * "jd": {
1322
+ * "hostVer": "x",
1323
+ * "uniVer": "x",
1324
+ * "unixVer": "x"
1325
+ * }
1326
+ * }
1327
+ * }
525
1328
  */
526
1329
  latitude?: number | null,
527
1330
  /**
528
1331
  * 经度,范围为 -180~180,负数表示西经
1332
+ * @uniPlatform {
1333
+ * "mp": {
1334
+ * "weixin": {
1335
+ * "hostVer": "√",
1336
+ * "uniVer": "√",
1337
+ * "unixVer": "4.41"
1338
+ * },
1339
+ * "alipay": {
1340
+ * "hostVer": "x",
1341
+ * "uniVer": "x",
1342
+ * "unixVer": "x"
1343
+ * },
1344
+ * "baidu": {
1345
+ * "hostVer": "x",
1346
+ * "uniVer": "x",
1347
+ * "unixVer": "x"
1348
+ * },
1349
+ * "toutiao": {
1350
+ * "hostVer": "x",
1351
+ * "uniVer": "x",
1352
+ * "unixVer": "x"
1353
+ * },
1354
+ * "lark": {
1355
+ * "hostVer": "x",
1356
+ * "uniVer": "x",
1357
+ * "unixVer": "x"
1358
+ * },
1359
+ * "qq": {
1360
+ * "hostVer": "x",
1361
+ * "uniVer": "x",
1362
+ * "unixVer": "x"
1363
+ * },
1364
+ * "kuaishou": {
1365
+ * "hostVer": "x",
1366
+ * "uniVer": "x",
1367
+ * "unixVer": "x"
1368
+ * },
1369
+ * "jd": {
1370
+ * "hostVer": "x",
1371
+ * "uniVer": "x",
1372
+ * "unixVer": "x"
1373
+ * }
1374
+ * }
1375
+ * }
529
1376
  */
530
1377
  longitude?: number | null,
531
1378
  /**
532
1379
  * 位置的精确度
1380
+ * @uniPlatform {
1381
+ * "mp": {
1382
+ * "weixin": {
1383
+ * "hostVer": "√",
1384
+ * "uniVer": "√",
1385
+ * "unixVer": "4.41"
1386
+ * },
1387
+ * "alipay": {
1388
+ * "hostVer": "x",
1389
+ * "uniVer": "x",
1390
+ * "unixVer": "x"
1391
+ * },
1392
+ * "baidu": {
1393
+ * "hostVer": "x",
1394
+ * "uniVer": "x",
1395
+ * "unixVer": "x"
1396
+ * },
1397
+ * "toutiao": {
1398
+ * "hostVer": "x",
1399
+ * "uniVer": "x",
1400
+ * "unixVer": "x"
1401
+ * },
1402
+ * "lark": {
1403
+ * "hostVer": "x",
1404
+ * "uniVer": "x",
1405
+ * "unixVer": "x"
1406
+ * },
1407
+ * "qq": {
1408
+ * "hostVer": "x",
1409
+ * "uniVer": "x",
1410
+ * "unixVer": "x"
1411
+ * },
1412
+ * "kuaishou": {
1413
+ * "hostVer": "x",
1414
+ * "uniVer": "x",
1415
+ * "unixVer": "x"
1416
+ * },
1417
+ * "jd": {
1418
+ * "hostVer": "x",
1419
+ * "uniVer": "x",
1420
+ * "unixVer": "x"
1421
+ * }
1422
+ * }
1423
+ * }
533
1424
  */
534
1425
  accuracy?: number | null,
535
1426
  /**
536
1427
  * 高度,单位 m
1428
+ * @uniPlatform {
1429
+ * "mp": {
1430
+ * "weixin": {
1431
+ * "hostVer": "√",
1432
+ * "uniVer": "√",
1433
+ * "unixVer": "4.41"
1434
+ * },
1435
+ * "alipay": {
1436
+ * "hostVer": "x",
1437
+ * "uniVer": "x",
1438
+ * "unixVer": "x"
1439
+ * },
1440
+ * "baidu": {
1441
+ * "hostVer": "x",
1442
+ * "uniVer": "x",
1443
+ * "unixVer": "x"
1444
+ * },
1445
+ * "toutiao": {
1446
+ * "hostVer": "x",
1447
+ * "uniVer": "x",
1448
+ * "unixVer": "x"
1449
+ * },
1450
+ * "lark": {
1451
+ * "hostVer": "x",
1452
+ * "uniVer": "x",
1453
+ * "unixVer": "x"
1454
+ * },
1455
+ * "qq": {
1456
+ * "hostVer": "x",
1457
+ * "uniVer": "x",
1458
+ * "unixVer": "x"
1459
+ * },
1460
+ * "kuaishou": {
1461
+ * "hostVer": "x",
1462
+ * "uniVer": "x",
1463
+ * "unixVer": "x"
1464
+ * },
1465
+ * "jd": {
1466
+ * "hostVer": "x",
1467
+ * "uniVer": "x",
1468
+ * "unixVer": "x"
1469
+ * }
1470
+ * }
1471
+ * }
537
1472
  */
538
1473
  altitude?: number | null,
539
1474
  /**
540
1475
  * 高度的精确度
1476
+ * @uniPlatform {
1477
+ * "mp": {
1478
+ * "weixin": {
1479
+ * "hostVer": "√",
1480
+ * "uniVer": "√",
1481
+ * "unixVer": "4.41"
1482
+ * },
1483
+ * "alipay": {
1484
+ * "hostVer": "x",
1485
+ * "uniVer": "x",
1486
+ * "unixVer": "x"
1487
+ * },
1488
+ * "baidu": {
1489
+ * "hostVer": "x",
1490
+ * "uniVer": "x",
1491
+ * "unixVer": "x"
1492
+ * },
1493
+ * "toutiao": {
1494
+ * "hostVer": "x",
1495
+ * "uniVer": "x",
1496
+ * "unixVer": "x"
1497
+ * },
1498
+ * "lark": {
1499
+ * "hostVer": "x",
1500
+ * "uniVer": "x",
1501
+ * "unixVer": "x"
1502
+ * },
1503
+ * "qq": {
1504
+ * "hostVer": "x",
1505
+ * "uniVer": "x",
1506
+ * "unixVer": "x"
1507
+ * },
1508
+ * "kuaishou": {
1509
+ * "hostVer": "x",
1510
+ * "uniVer": "x",
1511
+ * "unixVer": "x"
1512
+ * },
1513
+ * "jd": {
1514
+ * "hostVer": "x",
1515
+ * "uniVer": "x",
1516
+ * "unixVer": "x"
1517
+ * }
1518
+ * }
1519
+ * }
541
1520
  */
542
1521
  altitudeAccuracy?: number | null,
543
1522
  /**
544
1523
  * 速度,单位 m/s
1524
+ * @uniPlatform {
1525
+ * "mp": {
1526
+ * "weixin": {
1527
+ * "hostVer": "√",
1528
+ * "uniVer": "√",
1529
+ * "unixVer": "4.41"
1530
+ * },
1531
+ * "alipay": {
1532
+ * "hostVer": "x",
1533
+ * "uniVer": "x",
1534
+ * "unixVer": "x"
1535
+ * },
1536
+ * "baidu": {
1537
+ * "hostVer": "x",
1538
+ * "uniVer": "x",
1539
+ * "unixVer": "x"
1540
+ * },
1541
+ * "toutiao": {
1542
+ * "hostVer": "x",
1543
+ * "uniVer": "x",
1544
+ * "unixVer": "x"
1545
+ * },
1546
+ * "lark": {
1547
+ * "hostVer": "x",
1548
+ * "uniVer": "x",
1549
+ * "unixVer": "x"
1550
+ * },
1551
+ * "qq": {
1552
+ * "hostVer": "x",
1553
+ * "uniVer": "x",
1554
+ * "unixVer": "x"
1555
+ * },
1556
+ * "kuaishou": {
1557
+ * "hostVer": "x",
1558
+ * "uniVer": "x",
1559
+ * "unixVer": "x"
1560
+ * },
1561
+ * "jd": {
1562
+ * "hostVer": "x",
1563
+ * "uniVer": "x",
1564
+ * "unixVer": "x"
1565
+ * }
1566
+ * }
1567
+ * }
545
1568
  */
546
1569
  speed?: number | null,
547
1570
  /**
548
1571
  * 水平精度,单位 m
1572
+ * @uniPlatform {
1573
+ * "mp": {
1574
+ * "weixin": {
1575
+ * "hostVer": "√",
1576
+ * "uniVer": "√",
1577
+ * "unixVer": "4.41"
1578
+ * },
1579
+ * "alipay": {
1580
+ * "hostVer": "x",
1581
+ * "uniVer": "x",
1582
+ * "unixVer": "x"
1583
+ * },
1584
+ * "baidu": {
1585
+ * "hostVer": "x",
1586
+ * "uniVer": "x",
1587
+ * "unixVer": "x"
1588
+ * },
1589
+ * "toutiao": {
1590
+ * "hostVer": "x",
1591
+ * "uniVer": "x",
1592
+ * "unixVer": "x"
1593
+ * },
1594
+ * "lark": {
1595
+ * "hostVer": "x",
1596
+ * "uniVer": "x",
1597
+ * "unixVer": "x"
1598
+ * },
1599
+ * "qq": {
1600
+ * "hostVer": "x",
1601
+ * "uniVer": "x",
1602
+ * "unixVer": "x"
1603
+ * },
1604
+ * "kuaishou": {
1605
+ * "hostVer": "x",
1606
+ * "uniVer": "x",
1607
+ * "unixVer": "x"
1608
+ * },
1609
+ * "jd": {
1610
+ * "hostVer": "x",
1611
+ * "uniVer": "x",
1612
+ * "unixVer": "x"
1613
+ * }
1614
+ * }
1615
+ * }
549
1616
  */
550
1617
  horizontalAccuracy?: number | null,
551
1618
  /**
552
1619
  * 垂直精度,单位 m(Android 无法获取,返回 0)
1620
+ * @uniPlatform {
1621
+ * "mp": {
1622
+ * "weixin": {
1623
+ * "hostVer": "√",
1624
+ * "uniVer": "√",
1625
+ * "unixVer": "4.41"
1626
+ * },
1627
+ * "alipay": {
1628
+ * "hostVer": "x",
1629
+ * "uniVer": "x",
1630
+ * "unixVer": "x"
1631
+ * },
1632
+ * "baidu": {
1633
+ * "hostVer": "x",
1634
+ * "uniVer": "x",
1635
+ * "unixVer": "x"
1636
+ * },
1637
+ * "toutiao": {
1638
+ * "hostVer": "x",
1639
+ * "uniVer": "x",
1640
+ * "unixVer": "x"
1641
+ * },
1642
+ * "lark": {
1643
+ * "hostVer": "x",
1644
+ * "uniVer": "x",
1645
+ * "unixVer": "x"
1646
+ * },
1647
+ * "qq": {
1648
+ * "hostVer": "x",
1649
+ * "uniVer": "x",
1650
+ * "unixVer": "x"
1651
+ * },
1652
+ * "kuaishou": {
1653
+ * "hostVer": "x",
1654
+ * "uniVer": "x",
1655
+ * "unixVer": "x"
1656
+ * },
1657
+ * "jd": {
1658
+ * "hostVer": "x",
1659
+ * "uniVer": "x",
1660
+ * "unixVer": "x"
1661
+ * }
1662
+ * }
1663
+ * }
553
1664
  */
554
1665
  verticalAccuracy?: number | null
555
1666
  };