@dcloudio/uni-app-x 0.7.59 → 0.7.61

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 (224) hide show
  1. package/package.json +2 -2
  2. package/types/app.d.ts +24 -9
  3. package/types/native/IUniElement.d.ts +1 -3
  4. package/types/native/UniCustomElement.d.ts +2 -2
  5. package/types/native/UniFormControl.d.ts +1 -1
  6. package/types/native/UniInputChangeEvent.d.ts +31 -0
  7. package/types/native/UniPage.d.ts +10 -2
  8. package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
  9. package/types/native/UniSwiperChangeEvent.d.ts +1 -0
  10. package/types/native/WebViewStyles.d.ts +1 -1
  11. package/types/native/global.d.ts +14 -0
  12. package/types/native/index.d.ts +1 -0
  13. package/types/page.d.ts +134 -22
  14. package/types/uni/uni-camera-global.d.ts +4 -0
  15. package/types/uni/uni-camera.d.ts +10 -9
  16. package/types/uni/uts-plugin-api/global.d.ts +1 -0
  17. package/types/uni/uts-plugin-api/index.d.ts +1 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +77 -433
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
  20. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
  21. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
  22. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
  23. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +2 -0
  24. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
  25. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +10 -8
  26. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +16 -0
  27. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +8 -0
  28. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +569 -139
  29. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
  30. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
  31. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
  32. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +7 -6
  33. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +22 -37
  34. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +12 -16
  35. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +5 -3
  36. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -0
  37. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +34 -15
  38. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +3 -1
  39. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
  40. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +32 -61
  41. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +45 -80
  42. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +5 -3
  43. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +2 -2
  44. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +13 -11
  45. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +16 -15
  46. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +12 -10
  47. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  48. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +88 -4
  49. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +54 -7
  50. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
  51. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
  52. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
  53. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +246 -236
  54. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +5 -5
  55. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +38 -0
  56. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +19 -0
  57. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1783 -107
  58. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +16 -20
  59. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +209 -451
  60. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -698
  61. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
  62. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +474 -184
  63. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +4 -0
  64. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +2 -0
  65. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +755 -405
  66. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/global.d.ts +16 -0
  67. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/index.d.ts +8 -0
  68. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +40 -0
  69. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +10 -15
  70. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +116 -124
  71. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
  72. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
  73. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
  74. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +25 -26
  75. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +54 -84
  76. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
  77. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +71 -89
  78. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
  79. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
  80. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
  81. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +300 -6
  82. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -0
  83. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -0
  84. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +347 -10
  85. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
  86. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +3 -1
  87. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +25 -33
  88. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
  89. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
  90. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +0 -2
  91. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +0 -1
  92. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +70 -82
  93. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +6 -5
  94. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +49 -72
  95. package/types/uni/uts-plugin-biz/global.d.ts +11 -0
  96. package/types/uni/uts-plugin-biz/index.d.ts +11 -0
  97. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +60 -3
  98. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +6 -0
  99. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +52 -0
  100. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +25 -0
  101. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +445 -0
  102. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +48 -0
  103. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +23 -0
  104. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +138 -0
  105. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +28 -12
  106. package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/global.d.ts +8 -0
  107. package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/index.d.ts +4 -0
  108. package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/interface.d.ts +0 -0
  109. package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/global.d.ts +8 -0
  110. package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/index.d.ts +4 -0
  111. package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/interface.d.ts +0 -0
  112. package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/global.d.ts +8 -0
  113. package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/index.d.ts +4 -0
  114. package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/interface.d.ts +0 -0
  115. package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/global.d.ts +8 -0
  116. package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/index.d.ts +4 -0
  117. package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/interface.d.ts +0 -0
  118. package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/global.d.ts +8 -0
  119. package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/index.d.ts +4 -0
  120. package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/interface.d.ts +0 -0
  121. package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/global.d.ts +8 -0
  122. package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/index.d.ts +4 -0
  123. package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/interface.d.ts +0 -0
  124. package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/global.d.ts +8 -0
  125. package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/index.d.ts +4 -0
  126. package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/interface.d.ts +0 -0
  127. package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/global.d.ts +18 -0
  128. package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/index.d.ts +9 -0
  129. package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/interface.d.ts +45 -0
  130. package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/global.d.ts +8 -0
  131. package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/index.d.ts +4 -0
  132. package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/interface.d.ts +0 -0
  133. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +21 -16
  134. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -2
  135. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -1
  136. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +153 -6
  137. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +37 -44
  138. package/types/uni/uts-plugin-extend/global.d.ts +0 -2
  139. package/types/uni/uts-plugin-extend/index.d.ts +0 -2
  140. package/types/uni-cloud/interface.d.ts +13 -9
  141. package/types/vue/LifeCycle.d.ts +723 -1
  142. package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +0 -554
  143. package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +0 -224
  144. package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +0 -77
  145. package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +0 -365
  146. package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +0 -77
  147. package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +0 -972
  148. package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +0 -410
  149. package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +0 -459
  150. package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +0 -203
  151. package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +0 -2613
  152. package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +0 -152
  153. package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +0 -61
  154. package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +0 -548
  155. package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +0 -137
  156. package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +0 -1380
  157. package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +0 -76
  158. package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +0 -338
  159. package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +0 -102
  160. package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +0 -384
  161. package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +0 -5316
  162. package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +0 -35
  163. package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +0 -616
  164. package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +0 -2157
  165. package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +0 -895
  166. package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +0 -1755
  167. package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +0 -82
  168. package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +0 -295
  169. package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +0 -299
  170. package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +0 -1764
  171. package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +0 -1
  172. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +0 -1
  173. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +0 -736
  174. package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +0 -274
  175. package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +0 -198
  176. package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +0 -634
  177. package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +0 -980
  178. package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +0 -5550
  179. package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +0 -501
  180. package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +0 -83
  181. package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +0 -169
  182. package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +0 -102
  183. package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +0 -580
  184. package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +0 -100
  185. package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +0 -2980
  186. package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +0 -190
  187. package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +0 -1002
  188. package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +0 -3620
  189. package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +0 -1592
  190. package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +0 -1
  191. package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +0 -254
  192. package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +0 -112
  193. package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +0 -153
  194. package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +0 -833
  195. package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +0 -1
  196. package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +0 -1
  197. package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +0 -3
  198. package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +0 -518
  199. package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +0 -560
  200. package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +0 -2607
  201. package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +0 -189
  202. package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +0 -710
  203. package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +0 -2695
  204. package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +0 -80
  205. package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +0 -130
  206. package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +0 -719
  207. package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +0 -277
  208. package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +0 -1020
  209. package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +0 -1148
  210. package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +0 -1059
  211. package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +0 -1660
  212. package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +0 -1941
  213. package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +0 -726
  214. package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +0 -89
  215. package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +0 -212
  216. package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +0 -2359
  217. package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +0 -960
  218. package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +0 -204
  219. package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +0 -730
  220. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +0 -221
  221. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +0 -935
  222. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +0 -14
  223. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +0 -1
  224. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +0 -1670
@@ -1,1670 +0,0 @@
1
- export interface Uni {
2
- /**
3
- * 开启小程序进入前台时接收位置消息。
4
- *
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
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": "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
- * }
72
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.startLocationUpdate.html
73
- */
74
- startLocationUpdate: StartLocationUpdate;
75
- /**
76
- * 监听实时地理位置变化事件,需结合 uni.startLocationUpdate 或 uni.startLocationUpdateBackground 使用。
77
- *
78
- * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#onlocationchange
79
- * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#onlocationchange
80
- * @uniPlatform {
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
- * }
144
- * }
145
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.onLocationChange.html
146
- */
147
- onLocationChange: OnLocationChange;
148
- /**
149
- * 关闭监听实时位置变化,前后台都停止消息接收。
150
- *
151
- * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#stoplocationupdate
152
- * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#stoplocationupdate
153
- * @uniPlatform {
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
- * }
217
- * }
218
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.stopLocationUpdate.html
219
- */
220
- stopLocationUpdate: StopLocationUpdate;
221
- /**
222
- * 关闭监听实时位置变化,前后台都停止消息接收。
223
- *
224
- * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#offLocationChange
225
- * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#offLocationChange
226
- * @uniPlatform {
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
- * }
290
- * }
291
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.offLocationChange.html
292
- */
293
- offLocationChange: OffLocationChange;
294
- /**
295
- * 监听持续定位接口返回失败时触发。
296
- *
297
- * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#onlocationchangeerror
298
- * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#onlocationchangeerror
299
- * @uniPlatform {
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
- * }
363
- * }
364
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.onLocationChangeError.html
365
- */
366
- onLocationChangeError: OnLocationChangeError;
367
- /**
368
- * 取消注册位置更新错误回调。
369
- *
370
- * @tutorial https://uniapp.dcloud.io/api/location/location-change.html#offlocationchangeerror
371
- * @tutorial_uni_app https://uniapp.dcloud.io/api/location/location-change.html#offlocationchangeerror
372
- * @uniPlatform {
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
- * }
436
- * }
437
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.offLocationChangeError.html
438
- */
439
- offLocationChangeError: OffLocationChangeError;
440
- }
441
-
442
- export type StartLocationUpdate = (options: StartLocationUpdateOptions) => any;
443
- export type StartLocationUpdateSuccess = {
444
- /**
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
- * }
490
- */
491
- name: string,
492
- /**
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
- * }
538
- */
539
- address: string,
540
- /**
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
- * }
586
- */
587
- latitude: number,
588
- /**
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
- * }
634
- */
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;
685
- };
686
- export type StartLocationUpdateSuccessCallback = (result: StartLocationUpdateSuccess) => void;
687
- export type StartLocationUpdateFail = UniError;
688
- export type UniError = {
689
- errSubject: string,
690
- errCode: number,
691
- errMsg: string,
692
- data?: object | null,
693
- cause?: any | null
694
- };
695
- export type StartLocationUpdateFailCallback = (result: StartLocationUpdateFail) => void;
696
- export type StartLocationUpdateComplete = any;
697
- export type StartLocationUpdateCompleteCallback = (result: StartLocationUpdateComplete) => void;
698
- export type StartLocationUpdateOptions = {
699
- /**
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
- * }
745
- */
746
- type?: string | null,
747
- /**
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
- * }
793
- */
794
- success?: StartLocationUpdateSuccessCallback | null,
795
- /**
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
- * }
841
- */
842
- fail?: StartLocationUpdateFailCallback | null,
843
- /**
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
- * }
889
- */
890
- complete?: StartLocationUpdateCompleteCallback | null
891
- };
892
- export type OnLocationChangeCallbackResult = {
893
- /**
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
- * }
939
- */
940
- latitude?: number | null,
941
- /**
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
- * }
987
- */
988
- longitude?: number | null,
989
- /**
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
- * }
1035
- */
1036
- accuracy?: number | null,
1037
- /**
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
- * }
1083
- */
1084
- altitude?: number | null,
1085
- /**
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
- * }
1131
- */
1132
- altitudeAccuracy?: number | null,
1133
- /**
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
- * }
1179
- */
1180
- speed?: number | null,
1181
- /**
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
- * }
1227
- */
1228
- horizontalAccuracy?: number | null,
1229
- /**
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
- * }
1275
- */
1276
- verticalAccuracy?: number | null
1277
- };
1278
- export type OnLocationChangeCallback = (result: OnLocationChangeCallbackResult) => void;
1279
- export type OnLocationChange = (callback: OnLocationChangeCallback) => any;
1280
- export type StopLocationUpdate = (options: any) => any;
1281
- export type OffLocationChangeCallbackResult = {
1282
- /**
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
- * }
1328
- */
1329
- latitude?: number | null,
1330
- /**
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
- * }
1376
- */
1377
- longitude?: number | null,
1378
- /**
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
- * }
1424
- */
1425
- accuracy?: number | null,
1426
- /**
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
- * }
1472
- */
1473
- altitude?: number | null,
1474
- /**
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
- * }
1520
- */
1521
- altitudeAccuracy?: number | null,
1522
- /**
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
- * }
1568
- */
1569
- speed?: number | null,
1570
- /**
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
- * }
1616
- */
1617
- horizontalAccuracy?: number | null,
1618
- /**
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
- * }
1664
- */
1665
- verticalAccuracy?: number | null
1666
- };
1667
- export type OffLocationChangeCallback = (result: OffLocationChangeCallbackResult) => void;
1668
- export type OffLocationChange = (callback: OffLocationChangeCallback) => any;
1669
- export type OnLocationChangeError = (callback: (result: any) => void) => any;
1670
- export type OffLocationChangeError = (callback: (result: any) => void) => any;