@dcloudio/uni-app-x 0.7.122 → 0.7.124

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 (545) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniTextLayout.d.ts +5 -0
  3. package/types/native/IUniElement.d.ts +253 -13
  4. package/types/native/UniAnimation.d.ts +63 -9
  5. package/types/page.d.ts +6 -5
  6. package/types/uni/uts-plugin-api/global.d.ts +1 -2
  7. package/types/uni/uts-plugin-api/index.d.ts +1 -2
  8. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +36 -12
  9. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +18 -6
  10. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +84 -13
  11. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +6 -0
  12. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +3 -0
  13. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +22 -6
  14. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +28 -12
  15. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +14 -6
  16. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +203 -178
  17. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -2
  18. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -1
  19. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +7 -559
  20. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/global.d.ts +38 -14
  21. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/index.d.ts +19 -7
  22. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +415 -350
  23. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +4 -2
  24. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +2 -1
  25. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +75 -23
  26. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +720 -0
  27. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +154 -20
  28. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +36 -12
  29. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +18 -6
  30. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +91 -16
  31. package/types/uni/{uts-plugin-component/lib/uni-memorywarning → uts-plugin-api/lib/uni-memory}/utssdk/global.d.ts +2 -2
  32. package/types/uni/{uts-plugin-component/lib/uni-memorywarning → uts-plugin-api/lib/uni-memory}/utssdk/index.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/interface.d.ts +178 -0
  34. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/interface.d.ts +69 -67
  35. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
  36. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +4 -0
  37. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +2 -0
  38. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +22 -5
  39. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
  40. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
  41. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +15 -3
  42. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +19 -18
  43. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +24 -2
  44. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +12 -1
  45. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +158 -47
  46. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +68 -67
  47. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +0 -2
  48. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +0 -1
  49. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +3 -3
  50. package/types/uni/uts-plugin-biz/global.d.ts +2 -1
  51. package/types/uni/uts-plugin-biz/index.d.ts +2 -1
  52. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +36 -12
  53. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +18 -6
  54. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +772 -257
  55. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/global.d.ts +45 -0
  56. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/index.d.ts +22 -0
  57. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/interface.d.ts +732 -0
  58. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/global.d.ts +6 -0
  59. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/index.d.ts +3 -0
  60. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/interface.d.ts +22 -6
  61. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +28 -12
  62. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +14 -6
  63. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +203 -178
  64. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +38 -14
  65. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +19 -7
  66. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +415 -350
  67. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +36 -12
  68. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +18 -6
  69. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +91 -16
  70. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/global.d.ts +21 -0
  71. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/index.d.ts +10 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/interface.d.ts +178 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
  74. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
  75. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/interface.d.ts +15 -3
  77. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +24 -2
  78. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +12 -1
  79. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +132 -19
  80. package/types/uni/uts-plugin-component/global.d.ts +23 -112
  81. package/types/uni/uts-plugin-component/index.d.ts +23 -112
  82. package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/interface.d.ts +2 -0
  83. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/global.d.ts +9 -0
  84. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/index.d.ts +5 -0
  85. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/interface.d.ts +7 -0
  86. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/global.d.ts +9 -0
  87. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/index.d.ts +5 -0
  88. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/interface.d.ts +2 -0
  89. package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/global.d.ts +9 -0
  90. package/types/uni/uts-plugin-component/lib/{uni-getElementById → uni-form-form-global}/utssdk/index.d.ts +1 -1
  91. package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/interface.d.ts +2 -0
  92. package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/global.d.ts +9 -0
  93. package/types/uni/uts-plugin-component/lib/{uni-page-container-global → uni-form-label-global}/utssdk/index.d.ts +1 -1
  94. package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/interface.d.ts +2 -0
  95. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/global.d.ts +9 -0
  96. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/index.d.ts +5 -0
  97. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/interface.d.ts +2 -0
  98. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/global.d.ts +9 -0
  99. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/index.d.ts +5 -0
  100. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/interface.d.ts +2 -0
  101. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/global.d.ts +9 -0
  102. package/types/uni/uts-plugin-component/lib/{uni-arrayBufferToBase64 → uni-form-picker-view-global}/utssdk/index.d.ts +1 -1
  103. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/interface.d.ts +2 -0
  104. package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/global.d.ts +9 -0
  105. package/types/uni/uts-plugin-component/lib/{uni-input → uni-form-radio-global}/utssdk/index.d.ts +1 -1
  106. package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/interface.d.ts +7 -0
  107. package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/global.d.ts +9 -0
  108. package/types/uni/uts-plugin-component/lib/{uni-base64ToArrayBuffer → uni-form-radio-group-global}/utssdk/index.d.ts +1 -1
  109. package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/interface.d.ts +2 -0
  110. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/global.d.ts +13 -0
  111. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/index.d.ts +7 -0
  112. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/interface.d.ts +18 -0
  113. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/global.d.ts +9 -0
  114. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/index.d.ts +5 -0
  115. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/interface.d.ts +7 -0
  116. package/types/vue/LifeCycle.d.ts +2 -2
  117. package/types/node_modules/.package-lock.json +0 -20
  118. package/types/node_modules/typescript/LICENSE.txt +0 -55
  119. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  120. package/types/node_modules/typescript/bin/tsc +0 -2
  121. package/types/node_modules/typescript/bin/tsserver +0 -2
  122. package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
  123. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  124. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  125. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  126. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  127. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  128. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  129. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  130. package/types/node_modules/typescript/lib/lib.d.ts +0 -22
  131. package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
  132. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  133. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
  134. package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
  135. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
  136. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  137. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  138. package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  139. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  140. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
  141. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  142. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  143. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  144. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  145. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  146. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  147. package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  148. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  149. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  150. package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
  151. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  152. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  153. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  154. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  155. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  156. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  157. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  158. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  159. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
  160. package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  161. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  162. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  163. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  164. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  165. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  166. package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  167. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  168. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  169. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  170. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  171. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  172. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
  173. package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  174. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  175. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  176. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  177. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  178. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  179. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  180. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  181. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
  182. package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  183. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  184. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  185. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  186. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  187. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  188. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  189. package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
  190. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  191. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  192. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
  193. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  194. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  195. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
  196. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  197. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  198. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  199. package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  200. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  201. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  202. package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
  203. package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  204. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  205. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
  206. package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
  207. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  208. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
  209. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  210. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  211. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
  212. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
  213. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
  214. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
  215. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  216. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
  217. package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
  218. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  219. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
  220. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  221. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  222. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  223. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  224. package/types/node_modules/typescript/lib/tsc.js +0 -129741
  225. package/types/node_modules/typescript/lib/tsserver.js +0 -621
  226. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  227. package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  228. package/types/node_modules/typescript/lib/typesMap.json +0 -497
  229. package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
  230. package/types/node_modules/typescript/lib/typescript.js +0 -194910
  231. package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
  232. package/types/node_modules/typescript/lib/watchGuard.js +0 -53
  233. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  234. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
  235. package/types/node_modules/typescript/package.json +0 -116
  236. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
  237. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
  238. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -1767
  239. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/global.d.ts +0 -35
  240. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/index.d.ts +0 -17
  241. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/interface.d.ts +0 -359
  242. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +0 -29
  243. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +0 -14
  244. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +0 -1673
  245. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
  246. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
  247. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -226
  248. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +0 -11
  249. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +0 -79
  250. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +0 -59
  251. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +0 -29
  252. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +0 -1342
  253. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +0 -11
  254. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +0 -79
  255. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/global.d.ts +0 -35
  256. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/index.d.ts +0 -17
  257. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/interface.d.ts +0 -944
  258. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +0 -55
  259. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +0 -27
  260. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +0 -1330
  261. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +0 -25
  262. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +0 -12
  263. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +0 -978
  264. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -25
  265. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -12
  266. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +0 -979
  267. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +0 -25
  268. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +0 -12
  269. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -423
  270. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +0 -33
  271. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +0 -16
  272. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +0 -499
  273. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +0 -45
  274. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +0 -22
  275. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +0 -217
  276. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/global.d.ts +0 -35
  277. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/index.d.ts +0 -17
  278. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/interface.d.ts +0 -353
  279. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -33
  280. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -16
  281. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -3379
  282. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +0 -21
  283. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +0 -10
  284. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +0 -153
  285. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +0 -19
  286. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +0 -9
  287. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +0 -61
  288. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +0 -21
  289. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +0 -10
  290. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +0 -560
  291. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +0 -15
  292. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +0 -7
  293. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -214
  294. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +0 -23
  295. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +0 -11
  296. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +0 -158
  297. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -27
  298. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -13
  299. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -2303
  300. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +0 -43
  301. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +0 -21
  302. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +0 -943
  303. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +0 -17
  304. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +0 -8
  305. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +0 -338
  306. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +0 -27
  307. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +0 -13
  308. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +0 -147
  309. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +0 -81
  310. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +0 -40
  311. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +0 -397
  312. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +0 -151
  313. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +0 -75
  314. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +0 -6428
  315. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +0 -11
  316. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +0 -5
  317. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +0 -37
  318. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +0 -13
  319. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +0 -6
  320. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +0 -620
  321. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +0 -15
  322. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +0 -7
  323. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +0 -2220
  324. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -17
  325. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -8
  326. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -1406
  327. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +0 -15
  328. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +0 -7
  329. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +0 -1774
  330. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +0 -11
  331. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +0 -83
  332. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +0 -13
  333. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +0 -6
  334. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +0 -833
  335. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +0 -13
  336. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +0 -6
  337. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +0 -836
  338. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -21
  339. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +0 -11
  340. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -736
  341. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +0 -33
  342. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +0 -16
  343. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +0 -420
  344. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +0 -23
  345. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +0 -11
  346. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +0 -199
  347. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +0 -37
  348. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +0 -18
  349. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +0 -757
  350. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +0 -33
  351. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +0 -16
  352. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -6084
  353. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +0 -13
  354. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +0 -6
  355. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +0 -508
  356. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/global.d.ts +0 -35
  357. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/index.d.ts +0 -17
  358. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/interface.d.ts +0 -362
  359. package/types/uni/uts-plugin-component/lib/uni-input/utssdk/global.d.ts +0 -9
  360. package/types/uni/uts-plugin-component/lib/uni-input/utssdk/interface.d.ts +0 -0
  361. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +0 -25
  362. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +0 -12
  363. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +0 -125
  364. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +0 -17
  365. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +0 -8
  366. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +0 -171
  367. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +0 -45
  368. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +0 -22
  369. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +0 -693
  370. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +0 -29
  371. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +0 -14
  372. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -603
  373. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/global.d.ts +0 -9
  374. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/index.d.ts +0 -5
  375. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/interface.d.ts +0 -5
  376. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +0 -61
  377. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +0 -30
  378. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +0 -3443
  379. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +0 -9
  380. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +0 -5
  381. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +0 -3
  382. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +0 -9
  383. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +0 -5
  384. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +0 -3
  385. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +0 -29
  386. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +0 -14
  387. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +0 -392
  388. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +0 -157
  389. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +0 -78
  390. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +0 -5245
  391. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/interface.d.ts +0 -20
  392. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +0 -39
  393. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +0 -19
  394. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +0 -1743
  395. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +0 -69
  396. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +0 -34
  397. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +0 -1047
  398. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +0 -109
  399. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +0 -54
  400. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +0 -4462
  401. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +0 -71
  402. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +0 -35
  403. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +0 -3031
  404. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +0 -9
  405. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +0 -5
  406. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +0 -1
  407. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +0 -17
  408. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +0 -9
  409. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +0 -48
  410. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +0 -25
  411. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +0 -12
  412. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +0 -256
  413. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +0 -29
  414. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +0 -14
  415. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +0 -823
  416. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/global.d.ts +0 -23
  417. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/index.d.ts +0 -11
  418. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/interface.d.ts +0 -420
  419. package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/global.d.ts +0 -9
  420. package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/interface.d.ts +0 -0
  421. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +0 -27
  422. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +0 -13
  423. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +0 -618
  424. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +0 -33
  425. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +0 -16
  426. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +0 -856
  427. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +0 -9
  428. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +0 -5
  429. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +0 -3
  430. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +0 -9
  431. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +0 -5
  432. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +0 -1
  433. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +0 -9
  434. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +0 -5
  435. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +0 -5
  436. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/global.d.ts +0 -49
  437. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/index.d.ts +0 -24
  438. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/interface.d.ts +0 -349
  439. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +0 -47
  440. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +0 -23
  441. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +0 -520
  442. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +0 -33
  443. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +0 -16
  444. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +0 -625
  445. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +0 -33
  446. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +0 -16
  447. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +0 -1693
  448. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +0 -29
  449. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +0 -14
  450. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +0 -191
  451. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +0 -21
  452. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +0 -10
  453. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +0 -2999
  454. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +0 -21
  455. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +0 -10
  456. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +0 -713
  457. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +0 -59
  458. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +0 -29
  459. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +0 -2731
  460. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +0 -11
  461. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +0 -5
  462. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +0 -81
  463. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +0 -25
  464. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +0 -12
  465. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +0 -429
  466. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +0 -57
  467. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +0 -28
  468. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +0 -1175
  469. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +0 -41
  470. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +0 -20
  471. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +0 -1192
  472. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +0 -9
  473. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +0 -5
  474. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +0 -5
  475. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +0 -27
  476. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +0 -13
  477. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +0 -722
  478. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +0 -55
  479. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +0 -27
  480. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +0 -1617
  481. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +0 -21
  482. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +0 -10
  483. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +0 -330
  484. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +0 -79
  485. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +0 -39
  486. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +0 -1030
  487. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +0 -149
  488. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +0 -74
  489. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +0 -1221
  490. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/global.d.ts +0 -9
  491. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/index.d.ts +0 -5
  492. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  493. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +0 -53
  494. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +0 -26
  495. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +0 -1141
  496. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/global.d.ts +0 -27
  497. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/index.d.ts +0 -13
  498. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/interface.d.ts +0 -88
  499. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -47
  500. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -23
  501. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +0 -926
  502. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +0 -113
  503. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +0 -56
  504. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +0 -1661
  505. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +0 -29
  506. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +0 -14
  507. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +0 -452
  508. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +0 -59
  509. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +0 -29
  510. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +0 -1939
  511. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/global.d.ts +0 -0
  512. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/index.d.ts +0 -0
  513. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/interface.d.ts +0 -0
  514. /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/global.d.ts +0 -0
  515. /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/index.d.ts +0 -0
  516. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/global.d.ts +0 -0
  517. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/index.d.ts +0 -0
  518. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/interface.d.ts +0 -0
  519. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/global.d.ts +0 -0
  520. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/index.d.ts +0 -0
  521. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/interface.d.ts +0 -0
  522. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/global.d.ts +0 -0
  523. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/index.d.ts +0 -0
  524. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/interface.d.ts +0 -0
  525. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/global.d.ts +0 -0
  526. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/index.d.ts +0 -0
  527. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/interface.d.ts +0 -0
  528. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/global.d.ts +0 -0
  529. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/index.d.ts +0 -0
  530. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/interface.d.ts +0 -0
  531. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/global.d.ts +0 -0
  532. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/index.d.ts +0 -0
  533. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/interface.d.ts +0 -0
  534. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/global.d.ts +0 -0
  535. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/index.d.ts +0 -0
  536. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/interface.d.ts +0 -0
  537. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/global.d.ts +0 -0
  538. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/index.d.ts +0 -0
  539. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/interface.d.ts +0 -0
  540. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/global.d.ts +0 -0
  541. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/index.d.ts +0 -0
  542. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/interface.d.ts +0 -0
  543. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/global.d.ts +0 -0
  544. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/index.d.ts +0 -0
  545. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/interface.d.ts +0 -0
@@ -1,3443 +0,0 @@
1
- import { GetLocationFailImpl as GetLocationFailImplement } from './unierror.uts'
2
-
3
- export type GetLocationFailImpl = GetLocationFailImplement
4
-
5
-
6
-
7
- export interface UniLocationProvider extends Uni { }
8
-
9
-
10
- export interface Uni {
11
-
12
- /**
13
- * @description 获取当前的地理位置、速度
14
- * @param {GetLocation} option
15
- * @example
16
- * ```typescript
17
- * uni.getLocation({
18
- * type: 'wgs84',
19
- * success: function (res) {
20
- * console.log('当前位置的经度:' + res.longitude);
21
- * console.log('当前位置的纬度:' + res.latitude);
22
- * }
23
- * });
24
- * ```
25
- * @tutorial http://uniapp.dcloud.io/api/location/location?id=getlocation
26
- * @uniPlatform {
27
- * "app": {
28
- * "android": {
29
- * "osVer": "5.0",
30
- * "uniVer": "√",
31
- * "unixVer": "3.9.0"
32
- * },
33
- * "ios": {
34
- * "osVer": "12.0",
35
- * "uniVer": "√",
36
- * "unixVer": "4.11"
37
- * },
38
- * "harmony": {
39
- * "osVer": "5.0.0(11)",
40
- * "uniVer": "4.25",
41
- * "unixVer": "4.61",
42
- * "unixVaporVer": "5.0"
43
- * }
44
- * },
45
- * "mp": {
46
- * "weixin": {
47
- * "hostVer": "√",
48
- * "uniVer": "√",
49
- * "unixVer": "4.41"
50
- * },
51
- * "alipay": {
52
- * "hostVer": "√",
53
- * "uniVer": "√",
54
- * "unixVer": "x"
55
- * },
56
- * "baidu": {
57
- * "hostVer": "√",
58
- * "uniVer": "√",
59
- * "unixVer": "x"
60
- * },
61
- * "toutiao": {
62
- * "hostVer": "√",
63
- * "uniVer": "√",
64
- * "unixVer": "x"
65
- * },
66
- * "lark": {
67
- * "hostVer": "√",
68
- * "uniVer": "√",
69
- * "unixVer": "x"
70
- * },
71
- * "qq": {
72
- * "hostVer": "√",
73
- * "uniVer": "√",
74
- * "unixVer": "x"
75
- * },
76
- * "kuaishou": {
77
- * "hostVer": "√",
78
- * "uniVer": "√",
79
- * "unixVer": "x"
80
- * },
81
- * "jd": {
82
- * "hostVer": "√",
83
- * "uniVer": "√",
84
- * "unixVer": "x"
85
- * }
86
- * },
87
- * "web": {
88
- * "uniVer": "√",
89
- * "unixVer": "4.0"
90
- * }
91
- * }
92
- *
93
- */
94
- getLocation(options: GetLocationOptions): void;
95
-
96
- /**
97
- * @description 开启应用进入前台时接收位置消息。
98
- * @param {StartLocationUpdateOptions} option
99
- * @uniPlatform {
100
- * "app": {
101
- * "android": {
102
- * "osVer": "5.0",
103
- * "uniVer": "√",
104
- * "unixVer": "4.81"
105
- * },
106
- * "ios": {
107
- * "osVer": "12.0",
108
- * "uniVer": "√",
109
- * "unixVer": "4.81"
110
- * },
111
- * "harmony": {
112
- * "osVer": "5.0.0(11)",
113
- * "uniVer": "4.25",
114
- * "unixVer": "4.81",
115
- * "unixVaporVer": "5.0"
116
- * }
117
- * },
118
- * "mp": {
119
- * "weixin": {
120
- * "hostVer": "√",
121
- * "uniVer": "√",
122
- * "unixVer": "4.41"
123
- * },
124
- * "alipay": {
125
- * "hostVer": "√",
126
- * "uniVer": "√",
127
- * "unixVer": "x"
128
- * },
129
- * "baidu": {
130
- * "hostVer": "√",
131
- * "uniVer": "√",
132
- * "unixVer": "x"
133
- * },
134
- * "toutiao": {
135
- * "hostVer": "√",
136
- * "uniVer": "√",
137
- * "unixVer": "x"
138
- * },
139
- * "lark": {
140
- * "hostVer": "√",
141
- * "uniVer": "√",
142
- * "unixVer": "x"
143
- * },
144
- * "qq": {
145
- * "hostVer": "√",
146
- * "uniVer": "√",
147
- * "unixVer": "x"
148
- * },
149
- * "kuaishou": {
150
- * "hostVer": "√",
151
- * "uniVer": "√",
152
- * "unixVer": "x"
153
- * },
154
- * "jd": {
155
- * "hostVer": "√",
156
- * "uniVer": "√",
157
- * "unixVer": "x"
158
- * }
159
- * },
160
- * "web": {
161
- * "uniVer": "√",
162
- * "unixVer": "4.0"
163
- * }
164
- * }
165
- *
166
- */
167
- startLocationUpdate(options:StartLocationUpdateOptions):void
168
-
169
- /**
170
- * @description 关闭监听实时位置变化,前后台都停止消息接收。
171
- * @param {StopLocationUpdateOptions} option
172
- * @uniPlatform {
173
- * "app": {
174
- * "android": {
175
- * "osVer": "5.0",
176
- * "uniVer": "√",
177
- * "unixVer": "4.81"
178
- * },
179
- * "ios": {
180
- * "osVer": "12.0",
181
- * "uniVer": "√",
182
- * "unixVer": "4.81"
183
- * },
184
- * "harmony": {
185
- * "osVer": "5.0.0(11)",
186
- * "uniVer": "4.25",
187
- * "unixVer": "4.81",
188
- * "unixVaporVer": "5.0"
189
- * }
190
- * },
191
- * "mp": {
192
- * "weixin": {
193
- * "hostVer": "√",
194
- * "uniVer": "√",
195
- * "unixVer": "4.41"
196
- * },
197
- * "alipay": {
198
- * "hostVer": "√",
199
- * "uniVer": "√",
200
- * "unixVer": "x"
201
- * },
202
- * "baidu": {
203
- * "hostVer": "√",
204
- * "uniVer": "√",
205
- * "unixVer": "x"
206
- * },
207
- * "toutiao": {
208
- * "hostVer": "√",
209
- * "uniVer": "√",
210
- * "unixVer": "x"
211
- * },
212
- * "lark": {
213
- * "hostVer": "√",
214
- * "uniVer": "√",
215
- * "unixVer": "x"
216
- * },
217
- * "qq": {
218
- * "hostVer": "√",
219
- * "uniVer": "√",
220
- * "unixVer": "x"
221
- * },
222
- * "kuaishou": {
223
- * "hostVer": "√",
224
- * "uniVer": "√",
225
- * "unixVer": "x"
226
- * },
227
- * "jd": {
228
- * "hostVer": "√",
229
- * "uniVer": "√",
230
- * "unixVer": "x"
231
- * }
232
- * },
233
- * "web": {
234
- * "uniVer": "√",
235
- * "unixVer": "4.0"
236
- * }
237
- * }
238
- *
239
- */
240
- stopLocationUpdate(options:StopLocationUpdateOptions):void
241
- /**
242
- * @description 监听实时地理位置变化事件
243
- * @uniPlatform {
244
- * "app": {
245
- * "android": {
246
- * "osVer": "5.0",
247
- * "uniVer": "√",
248
- * "unixVer": "4.81"
249
- * },
250
- * "ios": {
251
- * "osVer": "12.0",
252
- * "uniVer": "√",
253
- * "unixVer": "4.81"
254
- * },
255
- * "harmony": {
256
- * "osVer": "5.0.0(11)",
257
- * "uniVer": "4.25",
258
- * "unixVer": "4.81",
259
- * "unixVaporVer": "5.0"
260
- * }
261
- * },
262
- * "mp": {
263
- * "weixin": {
264
- * "hostVer": "√",
265
- * "uniVer": "√",
266
- * "unixVer": "4.41"
267
- * },
268
- * "alipay": {
269
- * "hostVer": "√",
270
- * "uniVer": "√",
271
- * "unixVer": "x"
272
- * },
273
- * "baidu": {
274
- * "hostVer": "√",
275
- * "uniVer": "√",
276
- * "unixVer": "x"
277
- * },
278
- * "toutiao": {
279
- * "hostVer": "√",
280
- * "uniVer": "√",
281
- * "unixVer": "x"
282
- * },
283
- * "lark": {
284
- * "hostVer": "√",
285
- * "uniVer": "√",
286
- * "unixVer": "x"
287
- * },
288
- * "qq": {
289
- * "hostVer": "√",
290
- * "uniVer": "√",
291
- * "unixVer": "x"
292
- * },
293
- * "kuaishou": {
294
- * "hostVer": "√",
295
- * "uniVer": "√",
296
- * "unixVer": "x"
297
- * },
298
- * "jd": {
299
- * "hostVer": "√",
300
- * "uniVer": "√",
301
- * "unixVer": "x"
302
- * }
303
- * },
304
- * "web": {
305
- * "uniVer": "√",
306
- * "unixVer": "4.0"
307
- * }
308
- * }
309
- *
310
- */
311
- onLocationChange(listener:OnLocationChangeCallback):number
312
- /**
313
- * @description 移除实时地理位置变化事件。
314
- * @uniPlatform {
315
- * "app": {
316
- * "android": {
317
- * "osVer": "5.0",
318
- * "uniVer": "√",
319
- * "unixVer": "4.81"
320
- * },
321
- * "ios": {
322
- * "osVer": "12.0",
323
- * "uniVer": "√",
324
- * "unixVer": "4.81"
325
- * },
326
- * "harmony": {
327
- * "osVer": "5.0.0(11)",
328
- * "uniVer": "4.25",
329
- * "unixVer": "4.81",
330
- * "unixVaporVer": "5.0"
331
- * }
332
- * },
333
- * "mp": {
334
- * "weixin": {
335
- * "hostVer": "√",
336
- * "uniVer": "√",
337
- * "unixVer": "4.41"
338
- * },
339
- * "alipay": {
340
- * "hostVer": "√",
341
- * "uniVer": "√",
342
- * "unixVer": "x"
343
- * },
344
- * "baidu": {
345
- * "hostVer": "√",
346
- * "uniVer": "√",
347
- * "unixVer": "x"
348
- * },
349
- * "toutiao": {
350
- * "hostVer": "√",
351
- * "uniVer": "√",
352
- * "unixVer": "x"
353
- * },
354
- * "lark": {
355
- * "hostVer": "√",
356
- * "uniVer": "√",
357
- * "unixVer": "x"
358
- * },
359
- * "qq": {
360
- * "hostVer": "√",
361
- * "uniVer": "√",
362
- * "unixVer": "x"
363
- * },
364
- * "kuaishou": {
365
- * "hostVer": "√",
366
- * "uniVer": "√",
367
- * "unixVer": "x"
368
- * },
369
- * "jd": {
370
- * "hostVer": "√",
371
- * "uniVer": "√",
372
- * "unixVer": "x"
373
- * }
374
- * },
375
- * "web": {
376
- * "uniVer": "√",
377
- * "unixVer": "4.0"
378
- * }
379
- * }
380
- *
381
- */
382
- offLocationChange(listener?:number|OnLocationChangeCallback|null):void
383
-
384
- /**
385
- * @description 开始监听实时地理位置信息变化事件,应用进入前后台时均接收实时地理位置信息。
386
- * @param {StartLocationUpdateBackgroundOptions}
387
- * @uniPlatform {
388
- * "app": {
389
- * "android": {
390
- * "osVer": "5.0",
391
- * "uniVer": "√",
392
- * "unixVer": "4.81"
393
- * },
394
- * "ios": {
395
- * "osVer": "12.0",
396
- * "uniVer": "√",
397
- * "unixVer": "4.81"
398
- * },
399
- * "harmony": {
400
- * "osVer": "5.0.0(11)",
401
- * "uniVer": "4.25",
402
- * "unixVer": "4.81",
403
- * "unixVaporVer": "5.0"
404
- * }
405
- * },
406
- * "mp": {
407
- * "weixin": {
408
- * "hostVer": "√",
409
- * "uniVer": "√",
410
- * "unixVer": "4.41"
411
- * },
412
- * "alipay": {
413
- * "hostVer": "√",
414
- * "uniVer": "√",
415
- * "unixVer": "x"
416
- * },
417
- * "baidu": {
418
- * "hostVer": "√",
419
- * "uniVer": "√",
420
- * "unixVer": "x"
421
- * },
422
- * "toutiao": {
423
- * "hostVer": "√",
424
- * "uniVer": "√",
425
- * "unixVer": "x"
426
- * },
427
- * "lark": {
428
- * "hostVer": "√",
429
- * "uniVer": "√",
430
- * "unixVer": "x"
431
- * },
432
- * "qq": {
433
- * "hostVer": "√",
434
- * "uniVer": "√",
435
- * "unixVer": "x"
436
- * },
437
- * "kuaishou": {
438
- * "hostVer": "√",
439
- * "uniVer": "√",
440
- * "unixVer": "x"
441
- * },
442
- * "jd": {
443
- * "hostVer": "√",
444
- * "uniVer": "√",
445
- * "unixVer": "x"
446
- * }
447
- * },
448
- * "web": {
449
- * "uniVer": "√",
450
- * "unixVer": "4.0"
451
- * }
452
- * }
453
- *
454
- */
455
- startLocationUpdateBackground(options:StartLocationUpdateBackgroundOptions):void
456
- /**
457
- * @description 监听持续定位接口返回失败时触发。
458
- * @uniPlatform {
459
- * "app": {
460
- * "android": {
461
- * "osVer": "5.0",
462
- * "uniVer": "√",
463
- * "unixVer": "4.81"
464
- * },
465
- * "ios": {
466
- * "osVer": "12.0",
467
- * "uniVer": "√",
468
- * "unixVer": "4.81"
469
- * },
470
- * "harmony": {
471
- * "osVer": "5.0.0(11)",
472
- * "uniVer": "4.25",
473
- * "unixVer": "4.81",
474
- * "unixVaporVer": "5.0"
475
- * }
476
- * },
477
- * "mp": {
478
- * "weixin": {
479
- * "hostVer": "√",
480
- * "uniVer": "√",
481
- * "unixVer": "4.41"
482
- * },
483
- * "alipay": {
484
- * "hostVer": "√",
485
- * "uniVer": "√",
486
- * "unixVer": "x"
487
- * },
488
- * "baidu": {
489
- * "hostVer": "√",
490
- * "uniVer": "√",
491
- * "unixVer": "x"
492
- * },
493
- * "toutiao": {
494
- * "hostVer": "√",
495
- * "uniVer": "√",
496
- * "unixVer": "x"
497
- * },
498
- * "lark": {
499
- * "hostVer": "√",
500
- * "uniVer": "√",
501
- * "unixVer": "x"
502
- * },
503
- * "qq": {
504
- * "hostVer": "√",
505
- * "uniVer": "√",
506
- * "unixVer": "x"
507
- * },
508
- * "kuaishou": {
509
- * "hostVer": "√",
510
- * "uniVer": "√",
511
- * "unixVer": "x"
512
- * },
513
- * "jd": {
514
- * "hostVer": "√",
515
- * "uniVer": "√",
516
- * "unixVer": "x"
517
- * }
518
- * },
519
- * "web": {
520
- * "uniVer": "√",
521
- * "unixVer": "4.0"
522
- * }
523
- * }
524
- *
525
- */
526
- onLocationChangeError(listener:OnLocationChangeErrorCallback):number
527
- /**
528
- * @description 移除监听持续定位接口返回失败事件。
529
- * @uniPlatform {
530
- * "app": {
531
- * "android": {
532
- * "osVer": "5.0",
533
- * "uniVer": "√",
534
- * "unixVer": "4.81"
535
- * },
536
- * "ios": {
537
- * "osVer": "12.0",
538
- * "uniVer": "√",
539
- * "unixVer": "4.81"
540
- * },
541
- * "harmony": {
542
- * "osVer": "5.0.0(11)",
543
- * "uniVer": "4.25",
544
- * "unixVer": "4.81",
545
- * "unixVaporVer": "5.0"
546
- * }
547
- * },
548
- * "mp": {
549
- * "weixin": {
550
- * "hostVer": "√",
551
- * "uniVer": "√",
552
- * "unixVer": "4.41"
553
- * },
554
- * "alipay": {
555
- * "hostVer": "√",
556
- * "uniVer": "√",
557
- * "unixVer": "x"
558
- * },
559
- * "baidu": {
560
- * "hostVer": "√",
561
- * "uniVer": "√",
562
- * "unixVer": "x"
563
- * },
564
- * "toutiao": {
565
- * "hostVer": "√",
566
- * "uniVer": "√",
567
- * "unixVer": "x"
568
- * },
569
- * "lark": {
570
- * "hostVer": "√",
571
- * "uniVer": "√",
572
- * "unixVer": "x"
573
- * },
574
- * "qq": {
575
- * "hostVer": "√",
576
- * "uniVer": "√",
577
- * "unixVer": "x"
578
- * },
579
- * "kuaishou": {
580
- * "hostVer": "√",
581
- * "uniVer": "√",
582
- * "unixVer": "x"
583
- * },
584
- * "jd": {
585
- * "hostVer": "√",
586
- * "uniVer": "√",
587
- * "unixVer": "x"
588
- * }
589
- * },
590
- * "web": {
591
- * "uniVer": "√",
592
- * "unixVer": "4.0"
593
- * }
594
- * }
595
- *
596
- */
597
- offLocationChangeError(listener?:number|OnLocationChangeErrorCallback|null):void
598
-
599
- }
600
-
601
- /**
602
- * 错误码
603
- */
604
- export type LocationErrorCode =
605
- /**
606
- * 缺失高精度权限授权(iOS特有)
607
- * @deprecated 从4.25开始已经废弃
608
- * @uniPlatform {
609
- * "app": {
610
- * "android": {
611
- * "osVer": "5.0",
612
- * "uniVer": "√",
613
- * "unixVer": "3.9.0"
614
- * },
615
- * "ios": {
616
- * "osVer": "12.0",
617
- * "uniVer": "√",
618
- * "unixVer": "4.11"
619
- * },
620
- * "harmony": {
621
- * "osVer": "5.0.0(11)",
622
- * "uniVer": "4.25",
623
- * "unixVer": "4.61",
624
- * "unixVaporVer": "5.0"
625
- * }
626
- * },
627
- * "web": {
628
- * "uniVer": "√",
629
- * "unixVer": "4.0"
630
- * }
631
- * }
632
- */
633
- 1505005 |
634
- /**
635
- * 超时
636
- * @deprecated 从4.25开始已经废弃
637
- * @uniPlatform {
638
- * "app": {
639
- * "android": {
640
- * "osVer": "5.0",
641
- * "uniVer": "√",
642
- * "unixVer": "3.9.0"
643
- * },
644
- * "ios": {
645
- * "osVer": "12.0",
646
- * "uniVer": "√",
647
- * "unixVer": "4.11"
648
- * },
649
- * "harmony": {
650
- * "osVer": "5.0.0(11)",
651
- * "uniVer": "4.25",
652
- * "unixVer": "4.61",
653
- * "unixVaporVer": "5.0"
654
- * }
655
- * },
656
- * "web": {
657
- * "uniVer": "√",
658
- * "unixVer": "4.0"
659
- * }
660
- * }
661
- */
662
- 1505021 |
663
- /**
664
- * 不支持的定位类型
665
- * @deprecated 从4.25开始已经废弃
666
- * @uniPlatform {
667
- * "app": {
668
- * "android": {
669
- * "osVer": "5.0",
670
- * "uniVer": "√",
671
- * "unixVer": "3.9.0"
672
- * },
673
- * "ios": {
674
- * "osVer": "12.0",
675
- * "uniVer": "√",
676
- * "unixVer": "4.11"
677
- * },
678
- * "harmony": {
679
- * "osVer": "5.0.0(11)",
680
- * "uniVer": "4.25",
681
- * "unixVer": "4.61",
682
- * "unixVaporVer": "5.0"
683
- * }
684
- * },
685
- * "web": {
686
- * "uniVer": "√",
687
- * "unixVer": "4.0"
688
- * }
689
- * }
690
- */
691
- 1505022 |
692
- /**
693
- * 不支持逆地理编码
694
- * @uniPlatform {
695
- * "app": {
696
- * "android": {
697
- * "osVer": "5.0",
698
- * "uniVer": "√",
699
- * "unixVer": "3.9.0"
700
- * },
701
- * "ios": {
702
- * "osVer": "12.0",
703
- * "uniVer": "√",
704
- * "unixVer": "4.11"
705
- * },
706
- * "harmony": {
707
- * "osVer": "5.0.0(11)",
708
- * "uniVer": "4.25",
709
- * "unixVer": "4.61",
710
- * "unixVaporVer": "5.0"
711
- * }
712
- * },
713
- * "web": {
714
- * "uniVer": "√",
715
- * "unixVer": "4.0"
716
- * }
717
- * }
718
- */
719
- 1505023 |
720
- /**
721
- * 没有找到具体的定位引擎(GPS_PROVIDER,NETWORK_PROVIDER,PASSIVE_PROVIDER等),请定位开关是否已打开
722
- * @deprecated 从4.25开始已经废弃
723
- * @uniPlatform {
724
- * "app": {
725
- * "android": {
726
- * "osVer": "5.0",
727
- * "uniVer": "√",
728
- * "unixVer": "3.9.0"
729
- * },
730
- * "ios": {
731
- * "osVer": "12.0",
732
- * "uniVer": "√",
733
- * "unixVer": "4.11"
734
- * },
735
- * "harmony": {
736
- * "osVer": "5.0.0(11)",
737
- * "uniVer": "4.25",
738
- * "unixVer": "4.61",
739
- * "unixVaporVer": "5.0"
740
- * }
741
- * },
742
- * "web": {
743
- * "uniVer": "√",
744
- * "unixVer": "4.0"
745
- * }
746
- * }
747
- */
748
- 1505024 |
749
- /**
750
- * 逆地理编码捕获失败
751
- * @deprecated 从4.25开始已经废弃
752
- * @uniPlatform {
753
- * "app": {
754
- * "android": {
755
- * "osVer": "5.0",
756
- * "uniVer": "√",
757
- * "unixVer": "3.9.0"
758
- * },
759
- * "ios": {
760
- * "osVer": "12.0",
761
- * "uniVer": "√",
762
- * "unixVer": "4.11"
763
- * },
764
- * "harmony": {
765
- * "osVer": "5.0.0(11)",
766
- * "uniVer": "4.25",
767
- * "unixVer": "4.61",
768
- * "unixVaporVer": "5.0"
769
- * }
770
- * },
771
- * "web": {
772
- * "uniVer": "√",
773
- * "unixVer": "4.0"
774
- * }
775
- * }
776
- */
777
- 1505025 |
778
- /**
779
- * 捕获定位失败
780
- * @deprecated 从4.25开始已经废弃
781
- * @uniPlatform {
782
- * "app": {
783
- * "android": {
784
- * "osVer": "5.0",
785
- * "uniVer": "√",
786
- * "unixVer": "3.9.0"
787
- * },
788
- * "ios": {
789
- * "osVer": "12.0",
790
- * "uniVer": "√",
791
- * "unixVer": "4.11"
792
- * },
793
- * "harmony": {
794
- * "osVer": "5.0.0(11)",
795
- * "uniVer": "4.25",
796
- * "unixVer": "4.61",
797
- * "unixVaporVer": "5.0"
798
- * }
799
- * },
800
- * "web": {
801
- * "uniVer": "√",
802
- * "unixVer": "4.0"
803
- * }
804
- * }
805
- */
806
- 1505026 |
807
- /**
808
- * 系统定位未开启,请在系统设置中开启系统定位
809
- * @uniPlatform {
810
- * "app": {
811
- * "android": {
812
- * "osVer": "5.0",
813
- * "uniVer": "√",
814
- * "unixVer": "4.25"
815
- * },
816
- * "ios": {
817
- * "osVer": "12.0",
818
- * "uniVer": "√",
819
- * "unixVer": "4.25"
820
- * },
821
- * "harmony": {
822
- * "osVer": "5.0.0(11)",
823
- * "uniVer": "4.25",
824
- * "unixVer": "4.81",
825
- * "unixVaporVer": "5.0"
826
- * }
827
- * }
828
- * }
829
- */
830
- 1505003 |
831
- /**
832
- * 应用定位权限未开启
833
- * @uniPlatform {
834
- * "app": {
835
- * "android": {
836
- * "osVer": "5.0",
837
- * "uniVer": "√",
838
- * "unixVer": "4.25"
839
- * },
840
- * "ios": {
841
- * "osVer": "12.0",
842
- * "uniVer": "√",
843
- * "unixVer": "4.25"
844
- * },
845
- * "harmony": {
846
- * "osVer": "5.0.0(11)",
847
- * "uniVer": "4.25",
848
- * "unixVer": "4.81",
849
- * "unixVaporVer": "5.0"
850
- * }
851
- * }
852
- * }
853
- */
854
- 1505004 |
855
- /**
856
- * 超时
857
- * @uniPlatform {
858
- * "app": {
859
- * "android": {
860
- * "osVer": "5.0",
861
- * "uniVer": "√",
862
- * "unixVer": "4.25"
863
- * },
864
- * "ios": {
865
- * "osVer": "12.0",
866
- * "uniVer": "√",
867
- * "unixVer": "4.25"
868
- * }
869
- * }
870
- * }
871
- */
872
- 1505600 |
873
- /**
874
- * 不支持的定位类型
875
- * @uniPlatform {
876
- * "app": {
877
- * "android": {
878
- * "osVer": "5.0",
879
- * "uniVer": "√",
880
- * "unixVer": "4.25"
881
- * },
882
- * "ios": {
883
- * "osVer": "12.0",
884
- * "uniVer": "√",
885
- * "unixVer": "4.25"
886
- * },
887
- * "harmony": {
888
- * "osVer": "5.0.0(11)",
889
- * "uniVer": "4.25",
890
- * "unixVer": "4.81",
891
- * "unixVaporVer": "5.0"
892
- * }
893
- * }
894
- * }
895
- */
896
- 1505601 |
897
- /**
898
- * 捕获定位失败
899
- * @uniPlatform {
900
- * "app": {
901
- * "android": {
902
- * "osVer": "5.0",
903
- * "uniVer": "√",
904
- * "unixVer": "4.25"
905
- * },
906
- * "ios": {
907
- * "osVer": "12.0",
908
- * "uniVer": "√",
909
- * "unixVer": "4.25"
910
- * },
911
- * "harmony": {
912
- * "osVer": "5.0.0(11)",
913
- * "uniVer": "4.25",
914
- * "unixVer": "4.81",
915
- * "unixVaporVer": "5.0"
916
- * }
917
- * }
918
- * }
919
- */
920
- 1505602 |
921
- /**
922
- * 逆地理编码捕获失败
923
- * @uniPlatform {
924
- * "app": {
925
- * "android": {
926
- * "osVer": "5.0",
927
- * "uniVer": "√",
928
- * "unixVer": "4.25"
929
- * },
930
- * "ios": {
931
- * "osVer": "12.0",
932
- * "uniVer": "√",
933
- * "unixVer": "4.25"
934
- * },
935
- * "harmony": {
936
- * "osVer": "x",
937
- * "uniVer": "x",
938
- * "unixVer": "x"
939
- * }
940
- * }
941
- * }
942
- */
943
- 1505603 |
944
- /**
945
- * 服务供应商获取失败
946
- * @uniPlatform {
947
- * "app": {
948
- * "android": {
949
- * "osVer": "5.0",
950
- * "uniVer": "√",
951
- * "unixVer": "4.25"
952
- * },
953
- * "ios": {
954
- * "osVer": "12.0",
955
- * "uniVer": "√",
956
- * "unixVer": "4.25"
957
- * },
958
- * "harmony": {
959
- * "osVer": "x",
960
- * "uniVer": "x",
961
- * "unixVer": "x"
962
- * }
963
- * }
964
- * }
965
- */
966
- 1505604 |
967
- /**
968
- * 不支持逆地理编码
969
- * @uniPlatform {
970
- * "app": {
971
- * "android": {
972
- * "osVer": "5.0",
973
- * "uniVer": "√",
974
- * "unixVer": "4.25"
975
- * },
976
- * "ios": {
977
- * "osVer": "12.0",
978
- * "uniVer": "√",
979
- * "unixVer": "4.25"
980
- * },
981
- * "harmony": {
982
- * "osVer": "x",
983
- * "uniVer": "x",
984
- * "unixVer": "x"
985
- * }
986
- * }
987
- * }
988
- */
989
- 1505700 |
990
- /**
991
- * 没有找到具体的定位引擎(GPS_PROVIDER,NETWORK_PROVIDER,PASSIVE_PROVIDER等),请确定系统定位是否开启
992
- * @uniPlatform {
993
- * "app": {
994
- * "android": {
995
- * "osVer": "5.0",
996
- * "uniVer": "√",
997
- * "unixVer": "4.25"
998
- * },
999
- * "ios": {
1000
- * "osVer": "12.0",
1001
- * "uniVer": "√",
1002
- * "unixVer": "4.25"
1003
- * },
1004
- * "harmony": {
1005
- * "osVer": "x",
1006
- * "uniVer": "x",
1007
- * "unixVer": "x"
1008
- * }
1009
- * }
1010
- * }
1011
- */
1012
- 1505701 |
1013
- /**
1014
- * 应用高精度定位权限未开启
1015
- * @uniPlatform {
1016
- * "app": {
1017
- * "android": {
1018
- * "osVer": "5.0",
1019
- * "uniVer": "√",
1020
- * "unixVer": "4.25"
1021
- * },
1022
- * "ios": {
1023
- * "osVer": "12.0",
1024
- * "uniVer": "√",
1025
- * "unixVer": "4.25"
1026
- * },
1027
- * "harmony": {
1028
- * "osVer": "x",
1029
- * "uniVer": "x",
1030
- * "unixVer": "x"
1031
- * }
1032
- * }
1033
- * }
1034
- */
1035
- 1505800 |
1036
- /**
1037
- * 未通过配置预校验,通常是腾讯定位 api key 配置错误
1038
- * @uniPlatform {
1039
- * "app": {
1040
- * "android": {
1041
- * "osVer": "5.0",
1042
- * "uniVer": "√",
1043
- * "unixVer": "4.25"
1044
- * },
1045
- * "ios": {
1046
- * "osVer": "12.0",
1047
- * "uniVer": "√",
1048
- * "unixVer": "4.25"
1049
- * },
1050
- * "harmony": {
1051
- * "osVer": "x",
1052
- * "uniVer": "x",
1053
- * "unixVer": "x"
1054
- * }
1055
- * }
1056
- * }
1057
- */
1058
- 1505605 |
1059
- /**
1060
- * 腾讯定位只支持GCJ-02
1061
- * @uniPlatform {
1062
- * "app": {
1063
- * "android": {
1064
- * "osVer": "5.0",
1065
- * "uniVer": "√",
1066
- * "unixVer": "4.25"
1067
- * },
1068
- * "ios": {
1069
- * "osVer": "12.0",
1070
- * "uniVer": "√",
1071
- * "unixVer": "4.25"
1072
- * },
1073
- * "harmony": {
1074
- * "osVer": "x",
1075
- * "uniVer": "x",
1076
- * "unixVer": "x"
1077
- * }
1078
- * }
1079
- * }
1080
- */
1081
- 1505607 |
1082
- /**
1083
- * 同一时间只能单个provider开启持续定位
1084
- * @uniPlatform {
1085
- * "app": {
1086
- * "android": {
1087
- * "osVer": "5.0",
1088
- * "uniVer": "√",
1089
- * "unixVer": "4.81"
1090
- * },
1091
- * "ios": {
1092
- * "osVer": "12.0",
1093
- * "uniVer": "√",
1094
- * "unixVer": "4.81"
1095
- * },
1096
- * "harmony": {
1097
- * "osVer": "x",
1098
- * "uniVer": "x",
1099
- * "unixVer": "x"
1100
- * }
1101
- * }
1102
- * }
1103
- */
1104
- 1505608 |
1105
- /**
1106
- * iOS plist文件中缺少后台定位配置:UIBackgroundModes->location
1107
- * @uniPlatform {
1108
- * "app": {
1109
- * "android": {
1110
- * "osVer": "5.0",
1111
- * "uniVer": "√",
1112
- * "unixVer": "4.81"
1113
- * },
1114
- * "ios": {
1115
- * "osVer": "12.0",
1116
- * "uniVer": "√",
1117
- * "unixVer": "4.81"
1118
- * },
1119
- * "harmony": {
1120
- * "osVer": "x",
1121
- * "uniVer": "x",
1122
- * "unixVer": "x"
1123
- * }
1124
- * }
1125
- * }
1126
- */
1127
- 1505702
1128
- ;
1129
-
1130
- /**
1131
- * 网络请求失败的错误回调参数
1132
- */
1133
- export interface IGetLocationFail extends IUniError {
1134
- errCode: LocationErrorCode
1135
- };
1136
-
1137
- export type GetLocationFail = IGetLocationFail
1138
-
1139
- export type GetLocation = (options: GetLocationOptions) => void;
1140
- export type GetLocationSuccess = {
1141
- /**
1142
- * 纬度,浮点数,范围为-90~90,负数表示南纬
1143
- * @defaultValue 0
1144
- * @uniPlatform {
1145
- * "app": {
1146
- * "android": {
1147
- * "osVer": "5.0",
1148
- * "uniVer": "√",
1149
- * "unixVer": "3.9.0"
1150
- * },
1151
- * "ios": {
1152
- * "osVer": "12.0",
1153
- * "uniVer": "√",
1154
- * "unixVer": "4.11"
1155
- * },
1156
- * "harmony": {
1157
- * "osVer": "5.0.0(11)",
1158
- * "uniVer": "4.25",
1159
- * "unixVer": "4.61",
1160
- * "unixVaporVer": "5.0"
1161
- * }
1162
- * },
1163
- * "web": {
1164
- * "uniVer": "√",
1165
- * "unixVer": "4.0"
1166
- * }
1167
- * }
1168
- */
1169
- latitude: number,
1170
- /**
1171
- * 经度,范围为-180~180,负数表示西经
1172
- * @defaultValue 0
1173
- * @uniPlatform {
1174
- * "app": {
1175
- * "android": {
1176
- * "osVer": "5.0",
1177
- * "uniVer": "√",
1178
- * "unixVer": "3.9.0"
1179
- * },
1180
- * "ios": {
1181
- * "osVer": "12.0",
1182
- * "uniVer": "√",
1183
- * "unixVer": "4.11"
1184
- * },
1185
- * "harmony": {
1186
- * "osVer": "5.0.0(11)",
1187
- * "uniVer": "4.25",
1188
- * "unixVer": "4.61",
1189
- * "unixVaporVer": "5.0"
1190
- * }
1191
- * },
1192
- * "web": {
1193
- * "uniVer": "√",
1194
- * "unixVer": "4.0"
1195
- * }
1196
- * }
1197
- */
1198
- longitude: number,
1199
- /**
1200
- * 速度,浮点数,单位m/s
1201
- * @defaultValue 0
1202
- * @uniPlatform {
1203
- * "app": {
1204
- * "android": {
1205
- * "osVer": "5.0",
1206
- * "uniVer": "√",
1207
- * "unixVer": "3.9.0"
1208
- * },
1209
- * "ios": {
1210
- * "osVer": "12.0",
1211
- * "uniVer": "√",
1212
- * "unixVer": "4.11"
1213
- * },
1214
- * "harmony": {
1215
- * "osVer": "5.0.0(11)",
1216
- * "uniVer": "4.25",
1217
- * "unixVer": "4.61",
1218
- * "unixVaporVer": "5.0"
1219
- * }
1220
- * },
1221
- * "mp": {
1222
- * "weixin": {
1223
- * "hostVer": "√",
1224
- * "uniVer": "√",
1225
- * "unixVer": "4.41"
1226
- * },
1227
- * "alipay": {
1228
- * "hostVer": "√",
1229
- * "uniVer": "√",
1230
- * "unixVer": "x"
1231
- * },
1232
- * "baidu": {
1233
- * "hostVer": "√",
1234
- * "uniVer": "√",
1235
- * "unixVer": "x"
1236
- * },
1237
- * "toutiao": {
1238
- * "hostVer": "√",
1239
- * "uniVer": "√",
1240
- * "unixVer": "x"
1241
- * },
1242
- * "lark": {
1243
- * "hostVer": "√",
1244
- * "uniVer": "√",
1245
- * "unixVer": "x"
1246
- * },
1247
- * "qq": {
1248
- * "hostVer": "√",
1249
- * "uniVer": "√",
1250
- * "unixVer": "x"
1251
- * },
1252
- * "kuaishou": {
1253
- * "hostVer": "√",
1254
- * "uniVer": "√",
1255
- * "unixVer": "x"
1256
- * },
1257
- * "jd": {
1258
- * "hostVer": "√",
1259
- * "uniVer": "√",
1260
- * "unixVer": "x"
1261
- * }
1262
- * },
1263
- * "web": {
1264
- * "uniVer": "√",
1265
- * "unixVer": "4.0"
1266
- * }
1267
- * }
1268
- */
1269
- speed: number,
1270
- /**
1271
- * 位置的精确度
1272
- * @uniPlatform {
1273
- * "app": {
1274
- * "android": {
1275
- * "osVer": "5.0",
1276
- * "uniVer": "√",
1277
- * "unixVer": "3.9.0"
1278
- * },
1279
- * "ios": {
1280
- * "osVer": "12.0",
1281
- * "uniVer": "√",
1282
- * "unixVer": "4.11"
1283
- * },
1284
- * "harmony": {
1285
- * "osVer": "5.0.0(11)",
1286
- * "uniVer": "4.25",
1287
- * "unixVer": "4.61",
1288
- * "unixVaporVer": "5.0"
1289
- * }
1290
- * },
1291
- * "mp": {
1292
- * "weixin": {
1293
- * "hostVer": "√",
1294
- * "uniVer": "√",
1295
- * "unixVer": "4.41"
1296
- * },
1297
- * "alipay": {
1298
- * "hostVer": "√",
1299
- * "uniVer": "√",
1300
- * "unixVer": "x"
1301
- * },
1302
- * "baidu": {
1303
- * "hostVer": "√",
1304
- * "uniVer": "√",
1305
- * "unixVer": "x"
1306
- * },
1307
- * "toutiao": {
1308
- * "hostVer": "√",
1309
- * "uniVer": "√",
1310
- * "unixVer": "x"
1311
- * },
1312
- * "lark": {
1313
- * "hostVer": "√",
1314
- * "uniVer": "√",
1315
- * "unixVer": "x"
1316
- * },
1317
- * "qq": {
1318
- * "hostVer": "√",
1319
- * "uniVer": "√",
1320
- * "unixVer": "x"
1321
- * },
1322
- * "kuaishou": {
1323
- * "hostVer": "√",
1324
- * "uniVer": "√",
1325
- * "unixVer": "x"
1326
- * },
1327
- * "jd": {
1328
- * "hostVer": "√",
1329
- * "uniVer": "√",
1330
- * "unixVer": "x"
1331
- * }
1332
- * },
1333
- * "web": {
1334
- * "uniVer": "√",
1335
- * "unixVer": "4.0"
1336
- * }
1337
- * }
1338
- */
1339
- accuracy: number,
1340
- /**
1341
- * 高度,单位 m
1342
- * @defaultValue 0
1343
- * @uniPlatform {
1344
- * "app": {
1345
- * "android": {
1346
- * "osVer": "5.0",
1347
- * "uniVer": "√",
1348
- * "unixVer": "3.9.0"
1349
- * },
1350
- * "ios": {
1351
- * "osVer": "12.0",
1352
- * "uniVer": "√",
1353
- * "unixVer": "4.11"
1354
- * },
1355
- * "harmony": {
1356
- * "osVer": "5.0.0(11)",
1357
- * "uniVer": "4.25",
1358
- * "unixVer": "4.61",
1359
- * "unixVaporVer": "5.0"
1360
- * }
1361
- * },
1362
- * "mp": {
1363
- * "weixin": {
1364
- * "hostVer": "√",
1365
- * "uniVer": "√",
1366
- * "unixVer": "4.41"
1367
- * },
1368
- * "alipay": {
1369
- * "hostVer": "√",
1370
- * "uniVer": "√",
1371
- * "unixVer": "x"
1372
- * },
1373
- * "baidu": {
1374
- * "hostVer": "√",
1375
- * "uniVer": "√",
1376
- * "unixVer": "x"
1377
- * },
1378
- * "toutiao": {
1379
- * "hostVer": "√",
1380
- * "uniVer": "√",
1381
- * "unixVer": "x"
1382
- * },
1383
- * "lark": {
1384
- * "hostVer": "√",
1385
- * "uniVer": "√",
1386
- * "unixVer": "x"
1387
- * },
1388
- * "qq": {
1389
- * "hostVer": "√",
1390
- * "uniVer": "√",
1391
- * "unixVer": "x"
1392
- * },
1393
- * "kuaishou": {
1394
- * "hostVer": "√",
1395
- * "uniVer": "√",
1396
- * "unixVer": "x"
1397
- * },
1398
- * "jd": {
1399
- * "hostVer": "√",
1400
- * "uniVer": "√",
1401
- * "unixVer": "x"
1402
- * }
1403
- * },
1404
- * "web": {
1405
- * "uniVer": "√",
1406
- * "unixVer": "4.0"
1407
- * }
1408
- * }
1409
- */
1410
- altitude: number,
1411
- /**
1412
- * 垂直精度,单位 m(Android 无法获取,返回 0)
1413
- * @defaultValue 0
1414
- * @uniPlatform {
1415
- * "app": {
1416
- * "android": {
1417
- * "osVer": "5.0",
1418
- * "uniVer": "√",
1419
- * "unixVer": "3.9.0"
1420
- * },
1421
- * "ios": {
1422
- * "osVer": "12.0",
1423
- * "uniVer": "√",
1424
- * "unixVer": "4.11"
1425
- * },
1426
- * "harmony": {
1427
- * "osVer": "5.0.0(11)",
1428
- * "uniVer": "4.76",
1429
- * "unixVer": "4.81",
1430
- * "unixVaporVer": "5.0"
1431
- * }
1432
- * },
1433
- * "mp": {
1434
- * "weixin": {
1435
- * "hostVer": "√",
1436
- * "uniVer": "√",
1437
- * "unixVer": "4.41"
1438
- * },
1439
- * "alipay": {
1440
- * "hostVer": "√",
1441
- * "uniVer": "√",
1442
- * "unixVer": "x"
1443
- * },
1444
- * "baidu": {
1445
- * "hostVer": "√",
1446
- * "uniVer": "√",
1447
- * "unixVer": "x"
1448
- * },
1449
- * "toutiao": {
1450
- * "hostVer": "√",
1451
- * "uniVer": "√",
1452
- * "unixVer": "x"
1453
- * },
1454
- * "lark": {
1455
- * "hostVer": "√",
1456
- * "uniVer": "√",
1457
- * "unixVer": "x"
1458
- * },
1459
- * "qq": {
1460
- * "hostVer": "√",
1461
- * "uniVer": "√",
1462
- * "unixVer": "x"
1463
- * },
1464
- * "kuaishou": {
1465
- * "hostVer": "√",
1466
- * "uniVer": "√",
1467
- * "unixVer": "x"
1468
- * },
1469
- * "jd": {
1470
- * "hostVer": "√",
1471
- * "uniVer": "√",
1472
- * "unixVer": "x"
1473
- * }
1474
- * },
1475
- * "web": {
1476
- * "uniVer": "√",
1477
- * "unixVer": "4.0"
1478
- * }
1479
- * }
1480
- */
1481
- verticalAccuracy: number,
1482
- /**
1483
- * 水平精度,单位 m(Android、HarmonyOS 无法获取,返回 0)
1484
- * @defaultValue 0
1485
- * @uniPlatform {
1486
- * "app": {
1487
- * "android": {
1488
- * "osVer": "5.0",
1489
- * "uniVer": "√",
1490
- * "unixVer": "3.9.0"
1491
- * },
1492
- * "ios": {
1493
- * "osVer": "12.0",
1494
- * "uniVer": "√",
1495
- * "unixVer": "4.11"
1496
- * },
1497
- * "harmony": {
1498
- * "osVer": "x",
1499
- * "uniVer": "x",
1500
- * "unixVer": "x"
1501
- * }
1502
- * },
1503
- * "mp": {
1504
- * "weixin": {
1505
- * "hostVer": "√",
1506
- * "uniVer": "√",
1507
- * "unixVer": "4.41"
1508
- * },
1509
- * "alipay": {
1510
- * "hostVer": "√",
1511
- * "uniVer": "√",
1512
- * "unixVer": "x"
1513
- * },
1514
- * "baidu": {
1515
- * "hostVer": "√",
1516
- * "uniVer": "√",
1517
- * "unixVer": "x"
1518
- * },
1519
- * "toutiao": {
1520
- * "hostVer": "√",
1521
- * "uniVer": "√",
1522
- * "unixVer": "x"
1523
- * },
1524
- * "lark": {
1525
- * "hostVer": "√",
1526
- * "uniVer": "√",
1527
- * "unixVer": "x"
1528
- * },
1529
- * "qq": {
1530
- * "hostVer": "√",
1531
- * "uniVer": "√",
1532
- * "unixVer": "x"
1533
- * },
1534
- * "kuaishou": {
1535
- * "hostVer": "√",
1536
- * "uniVer": "√",
1537
- * "unixVer": "x"
1538
- * },
1539
- * "jd": {
1540
- * "hostVer": "√",
1541
- * "uniVer": "√",
1542
- * "unixVer": "x"
1543
- * }
1544
- * },
1545
- * "web": {
1546
- * "uniVer": "√",
1547
- * "unixVer": "4.0"
1548
- * }
1549
- * }
1550
- */
1551
- horizontalAccuracy: number,
1552
- /**
1553
- * 地址信息
1554
- * @defaultValue null
1555
- * @uniPlatform {
1556
- * "app": {
1557
- * "android": {
1558
- * "osVer": "5.0",
1559
- * "uniVer": "√",
1560
- * "unixVer": "3.9.0"
1561
- * },
1562
- * "ios": {
1563
- * "osVer": "12.0",
1564
- * "uniVer": "√",
1565
- * "unixVer": "4.11"
1566
- * },
1567
- * "harmony": {
1568
- * "osVer": "x",
1569
- * "uniVer": "x",
1570
- * "unixVer": "x"
1571
- * }
1572
- * },
1573
- * "mp": {
1574
- * "weixin": {
1575
- * "hostVer": "√",
1576
- * "uniVer": "x",
1577
- * "unixVer": "x"
1578
- * },
1579
- * "alipay": {
1580
- * "hostVer": "√",
1581
- * "uniVer": "x",
1582
- * "unixVer": "x"
1583
- * },
1584
- * "baidu": {
1585
- * "hostVer": "√",
1586
- * "uniVer": "x",
1587
- * "unixVer": "x"
1588
- * },
1589
- * "toutiao": {
1590
- * "hostVer": "√",
1591
- * "uniVer": "x",
1592
- * "unixVer": "x"
1593
- * },
1594
- * "lark": {
1595
- * "hostVer": "√",
1596
- * "uniVer": "x",
1597
- * "unixVer": "x"
1598
- * },
1599
- * "qq": {
1600
- * "hostVer": "√",
1601
- * "uniVer": "x",
1602
- * "unixVer": "x"
1603
- * },
1604
- * "kuaishou": {
1605
- * "hostVer": "√",
1606
- * "uniVer": "x",
1607
- * "unixVer": "x"
1608
- * },
1609
- * "jd": {
1610
- * "hostVer": "√",
1611
- * "uniVer": "x",
1612
- * "unixVer": "x"
1613
- * }
1614
- * },
1615
- * "web": {
1616
- * "uniVer": "x",
1617
- * "unixVer": "x"
1618
- * }
1619
- * }
1620
- */
1621
- address?: string | null
1622
- };
1623
- type GetLocationSuccessCallback = (result: GetLocationSuccess) => void;
1624
- type GetLocationFailCallback = (result: GetLocationFail) => void;
1625
- type GetLocationComplete = any;
1626
- type GetLocationCompleteCallback = (result: GetLocationComplete) => void;
1627
- export type GetLocationOptions = {
1628
- /**
1629
- * 定位服务提供商,通过 [uni.getProvider](https://doc.dcloud.net.cn/uni-app-x/api/provider.html) 获取,目前支持系统定位(system)、腾讯定位(tencent)
1630
- * 腾讯定位是4.25版本后支持的;
1631
- * web端暂不支持provider机制;
1632
- * @defaultValue system
1633
- * @uniPlatform {
1634
- * "app": {
1635
- * "android": {
1636
- * "osVer": "5.0",
1637
- * "uniVer": "√",
1638
- * "unixVer": "4.25"
1639
- * },
1640
- * "ios": {
1641
- * "osVer": "12.0",
1642
- * "uniVer": "√",
1643
- * "unixVer": "4.25"
1644
- * },
1645
- * "harmony": {
1646
- * "osVer": "5.0.0(11)",
1647
- * "uniVer": "4.25",
1648
- * "unixVer": "4.81",
1649
- * "unixVaporVer": "5.0"
1650
- * }
1651
- * },
1652
- * "mp": {
1653
- * "weixin": {
1654
- * "hostVer": "√",
1655
- * "uniVer": "x",
1656
- * "unixVer": "x"
1657
- * },
1658
- * "alipay": {
1659
- * "hostVer": "√",
1660
- * "uniVer": "x",
1661
- * "unixVer": "x"
1662
- * },
1663
- * "baidu": {
1664
- * "hostVer": "√",
1665
- * "uniVer": "x",
1666
- * "unixVer": "x"
1667
- * },
1668
- * "toutiao": {
1669
- * "hostVer": "√",
1670
- * "uniVer": "x",
1671
- * "unixVer": "x"
1672
- * },
1673
- * "lark": {
1674
- * "hostVer": "√",
1675
- * "uniVer": "x",
1676
- * "unixVer": "x"
1677
- * },
1678
- * "qq": {
1679
- * "hostVer": "√",
1680
- * "uniVer": "x",
1681
- * "unixVer": "x"
1682
- * },
1683
- * "kuaishou": {
1684
- * "hostVer": "√",
1685
- * "uniVer": "x",
1686
- * "unixVer": "x"
1687
- * },
1688
- * "jd": {
1689
- * "hostVer": "√",
1690
- * "uniVer": "x",
1691
- * "unixVer": "x"
1692
- * }
1693
- * },
1694
- * "web": {
1695
- * "uniVer": "x",
1696
- * "unixVer": "x"
1697
- * }
1698
- * }
1699
- */
1700
- provider?: string | null,
1701
- /**
1702
- * 默认为 wgs84 返回 gps 坐标,gcj02 返回可用于uni.openLocation的坐标,web端需配置定位 SDK 信息才可支持 gcj02;
1703
- * @defaultValue wgs84
1704
- * @uniPlatform {
1705
- * "app": {
1706
- * "android": {
1707
- * "osVer": "5.0",
1708
- * "uniVer": "√",
1709
- * "unixVer": "3.9.0"
1710
- * },
1711
- * "ios": {
1712
- * "osVer": "12.0",
1713
- * "uniVer": "√",
1714
- * "unixVer": "4.11"
1715
- * },
1716
- * "harmony": {
1717
- * "osVer": "5.0.0(11)",
1718
- * "uniVer": "4.25",
1719
- * "unixVer": "4.81",
1720
- * "unixVaporVer": "5.0"
1721
- * }
1722
- * },
1723
- * "mp": {
1724
- * "weixin": {
1725
- * "hostVer": "√",
1726
- * "uniVer": "√",
1727
- * "unixVer": "4.41"
1728
- * },
1729
- * "alipay": {
1730
- * "hostVer": "√",
1731
- * "uniVer": "√",
1732
- * "unixVer": "x"
1733
- * },
1734
- * "baidu": {
1735
- * "hostVer": "√",
1736
- * "uniVer": "√",
1737
- * "unixVer": "x"
1738
- * },
1739
- * "toutiao": {
1740
- * "hostVer": "√",
1741
- * "uniVer": "√",
1742
- * "unixVer": "x"
1743
- * },
1744
- * "lark": {
1745
- * "hostVer": "√",
1746
- * "uniVer": "√",
1747
- * "unixVer": "x"
1748
- * },
1749
- * "qq": {
1750
- * "hostVer": "√",
1751
- * "uniVer": "√",
1752
- * "unixVer": "x"
1753
- * },
1754
- * "kuaishou": {
1755
- * "hostVer": "√",
1756
- * "uniVer": "√",
1757
- * "unixVer": "x"
1758
- * },
1759
- * "jd": {
1760
- * "hostVer": "√",
1761
- * "uniVer": "√",
1762
- * "unixVer": "x"
1763
- * }
1764
- * },
1765
- * "web": {
1766
- * "uniVer": "√",
1767
- * "unixVer": "4.0"
1768
- * }
1769
- * }
1770
- */
1771
- type?:
1772
- /**
1773
- * wgs84坐标系,系统定位默认取值wgs84,系统定位仅支持wgs84坐标系
1774
- * @uniPlatform {
1775
- * "app": {
1776
- * "android": {
1777
- * "osVer": "5.0",
1778
- * "uniVer": "√",
1779
- * "unixVer": "3.9.0"
1780
- * },
1781
- * "ios": {
1782
- * "osVer": "12.0",
1783
- * "uniVer": "√",
1784
- * "unixVer": "4.11"
1785
- * }
1786
- * },
1787
- * "mp": {
1788
- * "weixin": {
1789
- * "hostVer": "√",
1790
- * "uniVer": "√",
1791
- * "unixVer": "4.41"
1792
- * },
1793
- * "alipay": {
1794
- * "hostVer": "√",
1795
- * "uniVer": "√",
1796
- * "unixVer": "x"
1797
- * },
1798
- * "baidu": {
1799
- * "hostVer": "√",
1800
- * "uniVer": "√",
1801
- * "unixVer": "x"
1802
- * },
1803
- * "toutiao": {
1804
- * "hostVer": "√",
1805
- * "uniVer": "√",
1806
- * "unixVer": "x"
1807
- * },
1808
- * "lark": {
1809
- * "hostVer": "√",
1810
- * "uniVer": "√",
1811
- * "unixVer": "x"
1812
- * },
1813
- * "qq": {
1814
- * "hostVer": "√",
1815
- * "uniVer": "√",
1816
- * "unixVer": "x"
1817
- * },
1818
- * "kuaishou": {
1819
- * "hostVer": "√",
1820
- * "uniVer": "√",
1821
- * "unixVer": "x"
1822
- * },
1823
- * "jd": {
1824
- * "hostVer": "√",
1825
- * "uniVer": "√",
1826
- * "unixVer": "x"
1827
- * }
1828
- * },
1829
- * "web": {
1830
- * "uniVer": "√",
1831
- * "unixVer": "4.0"
1832
- * }
1833
- * }
1834
- */
1835
- "wgs84" |
1836
- /**
1837
- * gcj02坐标系,腾讯定位默认取值gcj02,腾讯定位仅支持gcj02坐标系
1838
- * @uniPlatform {
1839
- * "app": {
1840
- * "android": {
1841
- * "osVer": "5.0",
1842
- * "uniVer": "√",
1843
- * "unixVer": "3.9.0"
1844
- * },
1845
- * "ios": {
1846
- * "osVer": "12.0",
1847
- * "uniVer": "√",
1848
- * "unixVer": "4.11"
1849
- * }
1850
- * },
1851
- * "mp": {
1852
- * "weixin": {
1853
- * "hostVer": "√",
1854
- * "uniVer": "√",
1855
- * "unixVer": "4.41"
1856
- * },
1857
- * "alipay": {
1858
- * "hostVer": "√",
1859
- * "uniVer": "√",
1860
- * "unixVer": "x"
1861
- * },
1862
- * "baidu": {
1863
- * "hostVer": "√",
1864
- * "uniVer": "√",
1865
- * "unixVer": "x"
1866
- * },
1867
- * "toutiao": {
1868
- * "hostVer": "√",
1869
- * "uniVer": "√",
1870
- * "unixVer": "x"
1871
- * },
1872
- * "lark": {
1873
- * "hostVer": "√",
1874
- * "uniVer": "√",
1875
- * "unixVer": "x"
1876
- * },
1877
- * "qq": {
1878
- * "hostVer": "√",
1879
- * "uniVer": "√",
1880
- * "unixVer": "x"
1881
- * },
1882
- * "kuaishou": {
1883
- * "hostVer": "√",
1884
- * "uniVer": "√",
1885
- * "unixVer": "x"
1886
- * },
1887
- * "jd": {
1888
- * "hostVer": "√",
1889
- * "uniVer": "√",
1890
- * "unixVer": "x"
1891
- * }
1892
- * },
1893
- * "web": {
1894
- * "uniVer": "√",
1895
- * "unixVer": "4.0"
1896
- * }
1897
- * }
1898
- */
1899
- "gcj02" | null,
1900
- /**
1901
- * 传入 true 会返回高度信息,由于获取高度需要较高精确度,会减慢接口返回速度
1902
- * @type boolean
1903
- * @defaultValue false
1904
- * @uniPlatform {
1905
- * "app": {
1906
- * "android": {
1907
- * "osVer": "5.0",
1908
- * "uniVer": "√",
1909
- * "unixVer": "3.9.0"
1910
- * },
1911
- * "ios": {
1912
- * "osVer": "12.0",
1913
- * "uniVer": "√",
1914
- * "unixVer": "4.11"
1915
- * },
1916
- * "harmony": {
1917
- * "osVer": "5.0.0(11)",
1918
- * "uniVer": "4.25",
1919
- * "unixVer": "4.81",
1920
- * "unixVaporVer": "5.0"
1921
- * }
1922
- * },
1923
- * "mp": {
1924
- * "weixin": {
1925
- * "hostVer": "√",
1926
- * "uniVer": "√",
1927
- * "unixVer": "4.41"
1928
- * },
1929
- * "alipay": {
1930
- * "hostVer": "√",
1931
- * "uniVer": "√",
1932
- * "unixVer": "x"
1933
- * },
1934
- * "baidu": {
1935
- * "hostVer": "√",
1936
- * "uniVer": "√",
1937
- * "unixVer": "x"
1938
- * },
1939
- * "toutiao": {
1940
- * "hostVer": "√",
1941
- * "uniVer": "√",
1942
- * "unixVer": "x"
1943
- * },
1944
- * "lark": {
1945
- * "hostVer": "√",
1946
- * "uniVer": "√",
1947
- * "unixVer": "x"
1948
- * },
1949
- * "qq": {
1950
- * "hostVer": "√",
1951
- * "uniVer": "√",
1952
- * "unixVer": "x"
1953
- * },
1954
- * "kuaishou": {
1955
- * "hostVer": "√",
1956
- * "uniVer": "√",
1957
- * "unixVer": "x"
1958
- * },
1959
- * "jd": {
1960
- * "hostVer": "√",
1961
- * "uniVer": "√",
1962
- * "unixVer": "x"
1963
- * }
1964
- * },
1965
- * "web": {
1966
- * "uniVer": "√",
1967
- * "unixVer": "4.0"
1968
- * }
1969
- * }
1970
- */
1971
- altitude?: boolean | null,
1972
- /**
1973
- * 传入 true 会解析地址;
1974
- * 使用系统定位时平台差异:iOS支持逆地理编码,Android、HarmonyOS 不支持;
1975
- * @type boolean
1976
- * @defaultValue false
1977
- * @uniPlatform {
1978
- * "app": {
1979
- * "android": {
1980
- * "osVer": "5.0",
1981
- * "uniVer": "√",
1982
- * "unixVer": "3.9.0"
1983
- * },
1984
- * "ios": {
1985
- * "osVer": "12.0",
1986
- * "uniVer": "√",
1987
- * "unixVer": "4.11"
1988
- * },
1989
- * "harmony": {
1990
- * "osVer": "x",
1991
- * "uniVer": "x",
1992
- * "unixVer": "x"
1993
- * }
1994
- * },
1995
- * "mp": {
1996
- * "weixin": {
1997
- * "hostVer": "√",
1998
- * "uniVer": "x",
1999
- * "unixVer": "x"
2000
- * },
2001
- * "alipay": {
2002
- * "hostVer": "√",
2003
- * "uniVer": "x",
2004
- * "unixVer": "x"
2005
- * },
2006
- * "baidu": {
2007
- * "hostVer": "√",
2008
- * "uniVer": "x",
2009
- * "unixVer": "x"
2010
- * },
2011
- * "toutiao": {
2012
- * "hostVer": "√",
2013
- * "uniVer": "x",
2014
- * "unixVer": "x"
2015
- * },
2016
- * "lark": {
2017
- * "hostVer": "√",
2018
- * "uniVer": "x",
2019
- * "unixVer": "x"
2020
- * },
2021
- * "qq": {
2022
- * "hostVer": "√",
2023
- * "uniVer": "x",
2024
- * "unixVer": "x"
2025
- * },
2026
- * "kuaishou": {
2027
- * "hostVer": "√",
2028
- * "uniVer": "x",
2029
- * "unixVer": "x"
2030
- * },
2031
- * "jd": {
2032
- * "hostVer": "√",
2033
- * "uniVer": "x",
2034
- * "unixVer": "x"
2035
- * }
2036
- * },
2037
- * "web": {
2038
- * "uniVer": "x",
2039
- * "unixVer": "x"
2040
- * }
2041
- * }
2042
- */
2043
- geocode?: boolean | null,
2044
- /**
2045
- * 高精度定位超时时间(ms),指定时间内返回最高精度,该值3000ms以上高精度定位才有效果
2046
- * @defaultValue 3000
2047
- * @uniPlatform {
2048
- * "app": {
2049
- * "android": {
2050
- * "osVer": "5.0",
2051
- * "uniVer": "√",
2052
- * "unixVer": "3.9.0"
2053
- * },
2054
- * "ios": {
2055
- * "osVer": "12.0",
2056
- * "uniVer": "√",
2057
- * "unixVer": "4.11"
2058
- * },
2059
- * "harmony": {
2060
- * "osVer": "5.0.0(11)",
2061
- * "uniVer": "4.25",
2062
- * "unixVer": "4.81",
2063
- * "unixVaporVer": "5.0"
2064
- * }
2065
- * },
2066
- * "mp": {
2067
- * "weixin": {
2068
- * "hostVer": "√",
2069
- * "uniVer": "√",
2070
- * "unixVer": "4.41"
2071
- * },
2072
- * "alipay": {
2073
- * "hostVer": "√",
2074
- * "uniVer": "√",
2075
- * "unixVer": "x"
2076
- * },
2077
- * "baidu": {
2078
- * "hostVer": "√",
2079
- * "uniVer": "√",
2080
- * "unixVer": "x"
2081
- * },
2082
- * "toutiao": {
2083
- * "hostVer": "√",
2084
- * "uniVer": "√",
2085
- * "unixVer": "x"
2086
- * },
2087
- * "lark": {
2088
- * "hostVer": "√",
2089
- * "uniVer": "√",
2090
- * "unixVer": "x"
2091
- * },
2092
- * "qq": {
2093
- * "hostVer": "√",
2094
- * "uniVer": "√",
2095
- * "unixVer": "x"
2096
- * },
2097
- * "kuaishou": {
2098
- * "hostVer": "√",
2099
- * "uniVer": "√",
2100
- * "unixVer": "x"
2101
- * },
2102
- * "jd": {
2103
- * "hostVer": "√",
2104
- * "uniVer": "√",
2105
- * "unixVer": "x"
2106
- * }
2107
- * },
2108
- * "web": {
2109
- * "uniVer": "x",
2110
- * "unixVer": "x"
2111
- * }
2112
- * }
2113
- */
2114
- highAccuracyExpireTime?: number | null,
2115
- /**
2116
- * 开启高精度定位
2117
- * @type boolean
2118
- * @defaultValue false
2119
- * @uniPlatform {
2120
- * "app": {
2121
- * "android": {
2122
- * "osVer": "5.0",
2123
- * "uniVer": "√",
2124
- * "unixVer": "3.9.0"
2125
- * },
2126
- * "ios": {
2127
- * "osVer": "12.0",
2128
- * "uniVer": "√",
2129
- * "unixVer": "4.11"
2130
- * },
2131
- * "harmony": {
2132
- * "osVer": "5.0.0(11)",
2133
- * "uniVer": "4.25",
2134
- * "unixVer": "4.81",
2135
- * "unixVaporVer": "5.0"
2136
- * }
2137
- * },
2138
- * "mp": {
2139
- * "weixin": {
2140
- * "hostVer": "√",
2141
- * "uniVer": "√",
2142
- * "unixVer": "4.41"
2143
- * },
2144
- * "alipay": {
2145
- * "hostVer": "√",
2146
- * "uniVer": "√",
2147
- * "unixVer": "x"
2148
- * },
2149
- * "baidu": {
2150
- * "hostVer": "√",
2151
- * "uniVer": "√",
2152
- * "unixVer": "x"
2153
- * },
2154
- * "toutiao": {
2155
- * "hostVer": "√",
2156
- * "uniVer": "√",
2157
- * "unixVer": "x"
2158
- * },
2159
- * "lark": {
2160
- * "hostVer": "√",
2161
- * "uniVer": "√",
2162
- * "unixVer": "x"
2163
- * },
2164
- * "qq": {
2165
- * "hostVer": "√",
2166
- * "uniVer": "√",
2167
- * "unixVer": "x"
2168
- * },
2169
- * "kuaishou": {
2170
- * "hostVer": "√",
2171
- * "uniVer": "√",
2172
- * "unixVer": "x"
2173
- * },
2174
- * "jd": {
2175
- * "hostVer": "√",
2176
- * "uniVer": "√",
2177
- * "unixVer": "x"
2178
- * }
2179
- * },
2180
- * "web": {
2181
- * "uniVer": "√",
2182
- * "unixVer": "4.0"
2183
- * }
2184
- * }
2185
- */
2186
- isHighAccuracy?: boolean | null,
2187
- /**
2188
- * 接口调用成功的回调函数
2189
- * @uniPlatform {
2190
- * "app": {
2191
- * "android": {
2192
- * "osVer": "5.0",
2193
- * "uniVer": "√",
2194
- * "unixVer": "3.9.0"
2195
- * },
2196
- * "ios": {
2197
- * "osVer": "12.0",
2198
- * "uniVer": "√",
2199
- * "unixVer": "4.11"
2200
- * },
2201
- * "harmony": {
2202
- * "osVer": "5.0.0(11)",
2203
- * "uniVer": "4.25",
2204
- * "unixVer": "4.81",
2205
- * "unixVaporVer": "5.0"
2206
- * }
2207
- * },
2208
- * "mp": {
2209
- * "weixin": {
2210
- * "hostVer": "√",
2211
- * "uniVer": "√",
2212
- * "unixVer": "4.41"
2213
- * },
2214
- * "alipay": {
2215
- * "hostVer": "√",
2216
- * "uniVer": "√",
2217
- * "unixVer": "x"
2218
- * },
2219
- * "baidu": {
2220
- * "hostVer": "√",
2221
- * "uniVer": "√",
2222
- * "unixVer": "x"
2223
- * },
2224
- * "toutiao": {
2225
- * "hostVer": "√",
2226
- * "uniVer": "√",
2227
- * "unixVer": "x"
2228
- * },
2229
- * "lark": {
2230
- * "hostVer": "√",
2231
- * "uniVer": "√",
2232
- * "unixVer": "x"
2233
- * },
2234
- * "qq": {
2235
- * "hostVer": "√",
2236
- * "uniVer": "√",
2237
- * "unixVer": "x"
2238
- * },
2239
- * "kuaishou": {
2240
- * "hostVer": "√",
2241
- * "uniVer": "√",
2242
- * "unixVer": "x"
2243
- * },
2244
- * "jd": {
2245
- * "hostVer": "√",
2246
- * "uniVer": "√",
2247
- * "unixVer": "x"
2248
- * }
2249
- * },
2250
- * "web": {
2251
- * "uniVer": "√",
2252
- * "unixVer": "4.0"
2253
- * }
2254
- * }
2255
- */
2256
- success?: GetLocationSuccessCallback | null,
2257
- /**
2258
- * 接口调用失败的回调函数
2259
- * @uniPlatform {
2260
- * "app": {
2261
- * "android": {
2262
- * "osVer": "5.0",
2263
- * "uniVer": "√",
2264
- * "unixVer": "3.9.0"
2265
- * },
2266
- * "ios": {
2267
- * "osVer": "12.0",
2268
- * "uniVer": "√",
2269
- * "unixVer": "4.11"
2270
- * },
2271
- * "harmony": {
2272
- * "osVer": "5.0.0(11)",
2273
- * "uniVer": "4.25",
2274
- * "unixVer": "4.81",
2275
- * "unixVaporVer": "5.0"
2276
- * }
2277
- * },
2278
- * "mp": {
2279
- * "weixin": {
2280
- * "hostVer": "√",
2281
- * "uniVer": "√",
2282
- * "unixVer": "4.41"
2283
- * },
2284
- * "alipay": {
2285
- * "hostVer": "√",
2286
- * "uniVer": "√",
2287
- * "unixVer": "x"
2288
- * },
2289
- * "baidu": {
2290
- * "hostVer": "√",
2291
- * "uniVer": "√",
2292
- * "unixVer": "x"
2293
- * },
2294
- * "toutiao": {
2295
- * "hostVer": "√",
2296
- * "uniVer": "√",
2297
- * "unixVer": "x"
2298
- * },
2299
- * "lark": {
2300
- * "hostVer": "√",
2301
- * "uniVer": "√",
2302
- * "unixVer": "x"
2303
- * },
2304
- * "qq": {
2305
- * "hostVer": "√",
2306
- * "uniVer": "√",
2307
- * "unixVer": "x"
2308
- * },
2309
- * "kuaishou": {
2310
- * "hostVer": "√",
2311
- * "uniVer": "√",
2312
- * "unixVer": "x"
2313
- * },
2314
- * "jd": {
2315
- * "hostVer": "√",
2316
- * "uniVer": "√",
2317
- * "unixVer": "x"
2318
- * }
2319
- * },
2320
- * "web": {
2321
- * "uniVer": "√",
2322
- * "unixVer": "4.0"
2323
- * }
2324
- * }
2325
- */
2326
- fail?: GetLocationFailCallback | null,
2327
- /**
2328
- * 接口调用结束的回调函数(调用成功、失败都会执行)
2329
- * @uniPlatform {
2330
- * "app": {
2331
- * "android": {
2332
- * "osVer": "5.0",
2333
- * "uniVer": "√",
2334
- * "unixVer": "3.9.0"
2335
- * },
2336
- * "ios": {
2337
- * "osVer": "12.0",
2338
- * "uniVer": "√",
2339
- * "unixVer": "4.11"
2340
- * },
2341
- * "harmony": {
2342
- * "osVer": "5.0.0(11)",
2343
- * "uniVer": "4.25",
2344
- * "unixVer": "4.81",
2345
- * "unixVaporVer": "5.0"
2346
- * }
2347
- * },
2348
- * "mp": {
2349
- * "weixin": {
2350
- * "hostVer": "√",
2351
- * "uniVer": "√",
2352
- * "unixVer": "4.41"
2353
- * },
2354
- * "alipay": {
2355
- * "hostVer": "√",
2356
- * "uniVer": "√",
2357
- * "unixVer": "x"
2358
- * },
2359
- * "baidu": {
2360
- * "hostVer": "√",
2361
- * "uniVer": "√",
2362
- * "unixVer": "x"
2363
- * },
2364
- * "toutiao": {
2365
- * "hostVer": "√",
2366
- * "uniVer": "√",
2367
- * "unixVer": "x"
2368
- * },
2369
- * "lark": {
2370
- * "hostVer": "√",
2371
- * "uniVer": "√",
2372
- * "unixVer": "x"
2373
- * },
2374
- * "qq": {
2375
- * "hostVer": "√",
2376
- * "uniVer": "√",
2377
- * "unixVer": "x"
2378
- * },
2379
- * "kuaishou": {
2380
- * "hostVer": "√",
2381
- * "uniVer": "√",
2382
- * "unixVer": "x"
2383
- * },
2384
- * "jd": {
2385
- * "hostVer": "√",
2386
- * "uniVer": "√",
2387
- * "unixVer": "x"
2388
- * }
2389
- * },
2390
- * "web": {
2391
- * "uniVer": "√",
2392
- * "unixVer": "4.0"
2393
- * }
2394
- * }
2395
- */
2396
- complete?: GetLocationCompleteCallback | null
2397
- };
2398
-
2399
- export type StartLocationUpdateSuccess = {}
2400
- type StartLocationUpdateSuccessCallback = (result:StartLocationUpdateSuccess) => void;
2401
- type StartLocationUpdateFailCallback = (result: IGetLocationFail) => void;
2402
- type StartLocationUpdateComplete = any;
2403
- type StartLocationUpdateCompleteCallback = (result: StartLocationUpdateComplete) => void;
2404
-
2405
- export type StartLocationUpdateOptionsType =
2406
- /**
2407
- * @description wgs84坐标系,系统定位默认取值wgs84,系统定位仅支持wgs84坐标系
2408
- * @uniPlatform {
2409
- * "app": {
2410
- * "android": {
2411
- * "osVer": "5.0",
2412
- * "uniVer": "√",
2413
- * "unixVer": "4.81"
2414
- * },
2415
- * "ios": {
2416
- * "osVer": "12.0",
2417
- * "uniVer": "√",
2418
- * "unixVer": "4.81"
2419
- * },
2420
- * "harmony": {
2421
- * "osVer": "5.0.0(11)",
2422
- * "uniVer": "4.25",
2423
- * "unixVer": "4.81",
2424
- * "unixVaporVer": "5.0"
2425
- * }
2426
- * },
2427
- * "mp": {
2428
- * "weixin": {
2429
- * "hostVer": "√",
2430
- * "uniVer": "√",
2431
- * "unixVer": "x"
2432
- * },
2433
- * "alipay": {
2434
- * "hostVer": "√",
2435
- * "uniVer": "√",
2436
- * "unixVer": "x"
2437
- * },
2438
- * "baidu": {
2439
- * "hostVer": "√",
2440
- * "uniVer": "√",
2441
- * "unixVer": "x"
2442
- * },
2443
- * "toutiao": {
2444
- * "hostVer": "√",
2445
- * "uniVer": "√",
2446
- * "unixVer": "x"
2447
- * },
2448
- * "lark": {
2449
- * "hostVer": "√",
2450
- * "uniVer": "√",
2451
- * "unixVer": "x"
2452
- * },
2453
- * "qq": {
2454
- * "hostVer": "√",
2455
- * "uniVer": "√",
2456
- * "unixVer": "x"
2457
- * },
2458
- * "kuaishou": {
2459
- * "hostVer": "√",
2460
- * "uniVer": "√",
2461
- * "unixVer": "x"
2462
- * },
2463
- * "jd": {
2464
- * "hostVer": "√",
2465
- * "uniVer": "√",
2466
- * "unixVer": "x"
2467
- * }
2468
- * },
2469
- * "web": {
2470
- * "uniVer": "√",
2471
- * "unixVer": "4.0"
2472
- * }
2473
- * }
2474
- *
2475
- */
2476
- "wgs84" |
2477
- /**
2478
- * @description gcj02坐标系,腾讯定位默认取值gcj02,腾讯定位仅支持gcj02坐标系
2479
- * @uniPlatform {
2480
- * "app": {
2481
- * "android": {
2482
- * "osVer": "5.0",
2483
- * "uniVer": "√",
2484
- * "unixVer": "4.81"
2485
- * },
2486
- * "ios": {
2487
- * "osVer": "12.0",
2488
- * "uniVer": "√",
2489
- * "unixVer": "4.81"
2490
- * },
2491
- * "harmony": {
2492
- * "osVer": "5.0.0(11)",
2493
- * "uniVer": "4.25",
2494
- * "unixVer": "4.81",
2495
- * "unixVaporVer": "5.0"
2496
- * }
2497
- * },
2498
- * "mp": {
2499
- * "weixin": {
2500
- * "hostVer": "√",
2501
- * "uniVer": "√",
2502
- * "unixVer": "x"
2503
- * },
2504
- * "alipay": {
2505
- * "hostVer": "√",
2506
- * "uniVer": "√",
2507
- * "unixVer": "x"
2508
- * },
2509
- * "baidu": {
2510
- * "hostVer": "√",
2511
- * "uniVer": "√",
2512
- * "unixVer": "x"
2513
- * },
2514
- * "toutiao": {
2515
- * "hostVer": "√",
2516
- * "uniVer": "√",
2517
- * "unixVer": "x"
2518
- * },
2519
- * "lark": {
2520
- * "hostVer": "√",
2521
- * "uniVer": "√",
2522
- * "unixVer": "x"
2523
- * },
2524
- * "qq": {
2525
- * "hostVer": "√",
2526
- * "uniVer": "√",
2527
- * "unixVer": "x"
2528
- * },
2529
- * "kuaishou": {
2530
- * "hostVer": "√",
2531
- * "uniVer": "√",
2532
- * "unixVer": "x"
2533
- * },
2534
- * "jd": {
2535
- * "hostVer": "√",
2536
- * "uniVer": "√",
2537
- * "unixVer": "x"
2538
- * }
2539
- * },
2540
- * "web": {
2541
- * "uniVer": "√",
2542
- * "unixVer": "4.0"
2543
- * }
2544
- * }
2545
- *
2546
- */
2547
- "gcj02"
2548
-
2549
- export type StartLocationUpdateOptions = {
2550
- /**
2551
- * @description 定位服务提供商,通过 uni.getProvider 获取,目前支持系统定位(system)、腾讯定位(tencent), web端暂不支持provider机制。
2552
- * @uniPlatform {
2553
- * "app": {
2554
- * "android": {
2555
- * "osVer": "5.0",
2556
- * "uniVer": "√",
2557
- * "unixVer": "4.81"
2558
- * },
2559
- * "ios": {
2560
- * "osVer": "12.0",
2561
- * "uniVer": "√",
2562
- * "unixVer": "4.81"
2563
- * },
2564
- * "harmony": {
2565
- * "osVer": "5.0.0(11)",
2566
- * "uniVer": "4.25",
2567
- * "unixVer": "4.81",
2568
- * "unixVaporVer": "5.0"
2569
- * }
2570
- * },
2571
- * "mp": {
2572
- * "weixin": {
2573
- * "hostVer": "√",
2574
- * "uniVer": "√",
2575
- * "unixVer": "x"
2576
- * },
2577
- * "alipay": {
2578
- * "hostVer": "√",
2579
- * "uniVer": "√",
2580
- * "unixVer": "x"
2581
- * },
2582
- * "baidu": {
2583
- * "hostVer": "√",
2584
- * "uniVer": "√",
2585
- * "unixVer": "x"
2586
- * },
2587
- * "toutiao": {
2588
- * "hostVer": "√",
2589
- * "uniVer": "√",
2590
- * "unixVer": "x"
2591
- * },
2592
- * "lark": {
2593
- * "hostVer": "√",
2594
- * "uniVer": "√",
2595
- * "unixVer": "x"
2596
- * },
2597
- * "qq": {
2598
- * "hostVer": "√",
2599
- * "uniVer": "√",
2600
- * "unixVer": "x"
2601
- * },
2602
- * "kuaishou": {
2603
- * "hostVer": "√",
2604
- * "uniVer": "√",
2605
- * "unixVer": "x"
2606
- * },
2607
- * "jd": {
2608
- * "hostVer": "√",
2609
- * "uniVer": "√",
2610
- * "unixVer": "x"
2611
- * }
2612
- * },
2613
- * "web": {
2614
- * "uniVer": "√",
2615
- * "unixVer": "4.0"
2616
- * }
2617
- * }
2618
- *
2619
- */
2620
- provider?: string | null,
2621
- /**
2622
- * @description 默认为 wgs84 返回 gps 坐标,gcj02 返回可用于uni.openLocation的坐标,web端需配置定位 SDK 信息才可支持 gcj02;
2623
- * @uniPlatform {
2624
- * "app": {
2625
- * "android": {
2626
- * "osVer": "5.0",
2627
- * "uniVer": "√",
2628
- * "unixVer": "4.81"
2629
- * },
2630
- * "ios": {
2631
- * "osVer": "12.0",
2632
- * "uniVer": "√",
2633
- * "unixVer": "4.81"
2634
- * },
2635
- * "harmony": {
2636
- * "osVer": "5.0.0(11)",
2637
- * "uniVer": "4.25",
2638
- * "unixVer": "4.81",
2639
- * "unixVaporVer": "5.0"
2640
- * }
2641
- * },
2642
- * "mp": {
2643
- * "weixin": {
2644
- * "hostVer": "√",
2645
- * "uniVer": "√",
2646
- * "unixVer": "x"
2647
- * },
2648
- * "alipay": {
2649
- * "hostVer": "√",
2650
- * "uniVer": "√",
2651
- * "unixVer": "x"
2652
- * },
2653
- * "baidu": {
2654
- * "hostVer": "√",
2655
- * "uniVer": "√",
2656
- * "unixVer": "x"
2657
- * },
2658
- * "toutiao": {
2659
- * "hostVer": "√",
2660
- * "uniVer": "√",
2661
- * "unixVer": "x"
2662
- * },
2663
- * "lark": {
2664
- * "hostVer": "√",
2665
- * "uniVer": "√",
2666
- * "unixVer": "x"
2667
- * },
2668
- * "qq": {
2669
- * "hostVer": "√",
2670
- * "uniVer": "√",
2671
- * "unixVer": "x"
2672
- * },
2673
- * "kuaishou": {
2674
- * "hostVer": "√",
2675
- * "uniVer": "√",
2676
- * "unixVer": "x"
2677
- * },
2678
- * "jd": {
2679
- * "hostVer": "√",
2680
- * "uniVer": "√",
2681
- * "unixVer": "x"
2682
- * }
2683
- * },
2684
- * "web": {
2685
- * "uniVer": "√",
2686
- * "unixVer": "4.0"
2687
- * }
2688
- * }
2689
- *
2690
- */
2691
- type?: StartLocationUpdateOptionsType | null,
2692
- /**
2693
- * @description 接口调用成功的回调函数
2694
- * @uniPlatform {
2695
- * "app": {
2696
- * "android": {
2697
- * "osVer": "5.0",
2698
- * "uniVer": "√",
2699
- * "unixVer": "4.81"
2700
- * },
2701
- * "ios": {
2702
- * "osVer": "12.0",
2703
- * "uniVer": "√",
2704
- * "unixVer": "4.81"
2705
- * },
2706
- * "harmony": {
2707
- * "osVer": "5.0.0(11)",
2708
- * "uniVer": "4.25",
2709
- * "unixVer": "4.81",
2710
- * "unixVaporVer": "5.0"
2711
- * }
2712
- * },
2713
- * "mp": {
2714
- * "weixin": {
2715
- * "hostVer": "√",
2716
- * "uniVer": "√",
2717
- * "unixVer": "x"
2718
- * },
2719
- * "alipay": {
2720
- * "hostVer": "√",
2721
- * "uniVer": "√",
2722
- * "unixVer": "x"
2723
- * },
2724
- * "baidu": {
2725
- * "hostVer": "√",
2726
- * "uniVer": "√",
2727
- * "unixVer": "x"
2728
- * },
2729
- * "toutiao": {
2730
- * "hostVer": "√",
2731
- * "uniVer": "√",
2732
- * "unixVer": "x"
2733
- * },
2734
- * "lark": {
2735
- * "hostVer": "√",
2736
- * "uniVer": "√",
2737
- * "unixVer": "x"
2738
- * },
2739
- * "qq": {
2740
- * "hostVer": "√",
2741
- * "uniVer": "√",
2742
- * "unixVer": "x"
2743
- * },
2744
- * "kuaishou": {
2745
- * "hostVer": "√",
2746
- * "uniVer": "√",
2747
- * "unixVer": "x"
2748
- * },
2749
- * "jd": {
2750
- * "hostVer": "√",
2751
- * "uniVer": "√",
2752
- * "unixVer": "x"
2753
- * }
2754
- * },
2755
- * "web": {
2756
- * "uniVer": "√",
2757
- * "unixVer": "4.0"
2758
- * }
2759
- * }
2760
- *
2761
- */
2762
- success?: StartLocationUpdateSuccessCallback | null,
2763
- /**
2764
- * @description 接口调用失败的回调函数
2765
- * @uniPlatform {
2766
- * "app": {
2767
- * "android": {
2768
- * "osVer": "5.0",
2769
- * "uniVer": "√",
2770
- * "unixVer": "4.81"
2771
- * },
2772
- * "ios": {
2773
- * "osVer": "12.0",
2774
- * "uniVer": "√",
2775
- * "unixVer": "4.81"
2776
- * },
2777
- * "harmony": {
2778
- * "osVer": "5.0.0(11)",
2779
- * "uniVer": "4.25",
2780
- * "unixVer": "4.81",
2781
- * "unixVaporVer": "5.0"
2782
- * }
2783
- * },
2784
- * "mp": {
2785
- * "weixin": {
2786
- * "hostVer": "√",
2787
- * "uniVer": "√",
2788
- * "unixVer": "x"
2789
- * },
2790
- * "alipay": {
2791
- * "hostVer": "√",
2792
- * "uniVer": "√",
2793
- * "unixVer": "x"
2794
- * },
2795
- * "baidu": {
2796
- * "hostVer": "√",
2797
- * "uniVer": "√",
2798
- * "unixVer": "x"
2799
- * },
2800
- * "toutiao": {
2801
- * "hostVer": "√",
2802
- * "uniVer": "√",
2803
- * "unixVer": "x"
2804
- * },
2805
- * "lark": {
2806
- * "hostVer": "√",
2807
- * "uniVer": "√",
2808
- * "unixVer": "x"
2809
- * },
2810
- * "qq": {
2811
- * "hostVer": "√",
2812
- * "uniVer": "√",
2813
- * "unixVer": "x"
2814
- * },
2815
- * "kuaishou": {
2816
- * "hostVer": "√",
2817
- * "uniVer": "√",
2818
- * "unixVer": "x"
2819
- * },
2820
- * "jd": {
2821
- * "hostVer": "√",
2822
- * "uniVer": "√",
2823
- * "unixVer": "x"
2824
- * }
2825
- * },
2826
- * "web": {
2827
- * "uniVer": "√",
2828
- * "unixVer": "4.0"
2829
- * }
2830
- * }
2831
- *
2832
- */
2833
- fail?: StartLocationUpdateFailCallback | null,
2834
- /**
2835
- * @description 接口调用结束的回调函数(调用成功、失败都会执行)
2836
- * @uniPlatform {
2837
- * "app": {
2838
- * "android": {
2839
- * "osVer": "5.0",
2840
- * "uniVer": "√",
2841
- * "unixVer": "4.81"
2842
- * },
2843
- * "ios": {
2844
- * "osVer": "12.0",
2845
- * "uniVer": "√",
2846
- * "unixVer": "4.81"
2847
- * },
2848
- * "harmony": {
2849
- * "osVer": "5.0.0(11)",
2850
- * "uniVer": "4.25",
2851
- * "unixVer": "4.81",
2852
- * "unixVaporVer": "5.0"
2853
- * }
2854
- * },
2855
- * "mp": {
2856
- * "weixin": {
2857
- * "hostVer": "√",
2858
- * "uniVer": "√",
2859
- * "unixVer": "x"
2860
- * },
2861
- * "alipay": {
2862
- * "hostVer": "√",
2863
- * "uniVer": "√",
2864
- * "unixVer": "x"
2865
- * },
2866
- * "baidu": {
2867
- * "hostVer": "√",
2868
- * "uniVer": "√",
2869
- * "unixVer": "x"
2870
- * },
2871
- * "toutiao": {
2872
- * "hostVer": "√",
2873
- * "uniVer": "√",
2874
- * "unixVer": "x"
2875
- * },
2876
- * "lark": {
2877
- * "hostVer": "√",
2878
- * "uniVer": "√",
2879
- * "unixVer": "x"
2880
- * },
2881
- * "qq": {
2882
- * "hostVer": "√",
2883
- * "uniVer": "√",
2884
- * "unixVer": "x"
2885
- * },
2886
- * "kuaishou": {
2887
- * "hostVer": "√",
2888
- * "uniVer": "√",
2889
- * "unixVer": "x"
2890
- * },
2891
- * "jd": {
2892
- * "hostVer": "√",
2893
- * "uniVer": "√",
2894
- * "unixVer": "x"
2895
- * }
2896
- * },
2897
- * "web": {
2898
- * "uniVer": "√",
2899
- * "unixVer": "4.0"
2900
- * }
2901
- * }
2902
- *
2903
- */
2904
- complete?: StartLocationUpdateCompleteCallback | null
2905
- }
2906
-
2907
- export type StartLocationUpdate = (options: StartLocationUpdateOptions) => void;
2908
-
2909
- export type StopLocationUpdateSuccess = {}
2910
- type StopLocationUpdateSuccessCallback = (result:StopLocationUpdateSuccess) => void;
2911
- type StopLocationUpdateFailCallback = (result: IGetLocationFail) => void;
2912
- type StopLocationUpdateComplete = any;
2913
- type StopLocationUpdateCompleteCallback = (result: StopLocationUpdateComplete) => void;
2914
-
2915
- export type StopLocationUpdateOptions = {
2916
- success?: StopLocationUpdateSuccessCallback | null,
2917
- fail?: StopLocationUpdateFailCallback | null,
2918
- complete?: StopLocationUpdateCompleteCallback | null
2919
- }
2920
-
2921
- export type StopLocationUpdate = (options: StopLocationUpdateOptions) => void;
2922
-
2923
- export type OnLocationChangeResult = GetLocationSuccess
2924
- export type OnLocationChangeCallback =(res:OnLocationChangeResult)=>void
2925
- export type OnLocationChange = (listener:OnLocationChangeCallback)=>number
2926
- export type OffLocationChange = (listener?:number|OnLocationChangeCallback|null)=>void
2927
-
2928
-
2929
-
2930
- export type OnLocationChangeErrorCallback =(listener:IGetLocationFail)=>void
2931
-
2932
-
2933
- export type OnLocationChangeError = (listener:OnLocationChangeErrorCallback)=>number
2934
- export type OffLocationChangeError = (listener?:number|OnLocationChangeErrorCallback|null)=>void
2935
-
2936
- export type StartLocationUpdateBackgroundSuccess = StartLocationUpdateSuccess
2937
- type StartLocationUpdateBackgroundSuccessCallback = (result:StartLocationUpdateBackgroundSuccess) => void;
2938
- type StartLocationUpdateBackgroundFailCallback = (result: IGetLocationFail) => void;
2939
- type StartLocationUpdateBackgroundComplete = any;
2940
- type StartLocationUpdateBackgroundCompleteCallback = (result: StartLocationUpdateBackgroundComplete) => void;
2941
-
2942
- export type StartLocationUpdateBackgroundOptionsType =
2943
- /**
2944
- * @description wgs84坐标系,系统定位默认取值wgs84,系统定位仅支持wgs84坐标系
2945
- * @uniPlatform {
2946
- * "app": {
2947
- * "android": {
2948
- * "osVer": "5.0",
2949
- * "uniVer": "√",
2950
- * "unixVer": "4.81"
2951
- * },
2952
- * "ios": {
2953
- * "osVer": "12.0",
2954
- * "uniVer": "√",
2955
- * "unixVer": "4.81"
2956
- * },
2957
- * "harmony": {
2958
- * "osVer": "5.0.0(11)",
2959
- * "uniVer": "4.25",
2960
- * "unixVer": "4.81",
2961
- * "unixVaporVer": "5.0"
2962
- * }
2963
- * },
2964
- * "mp": {
2965
- * "weixin": {
2966
- * "hostVer": "√",
2967
- * "uniVer": "√",
2968
- * "unixVer": "x"
2969
- * },
2970
- * "alipay": {
2971
- * "hostVer": "√",
2972
- * "uniVer": "√",
2973
- * "unixVer": "x"
2974
- * },
2975
- * "baidu": {
2976
- * "hostVer": "√",
2977
- * "uniVer": "√",
2978
- * "unixVer": "x"
2979
- * },
2980
- * "toutiao": {
2981
- * "hostVer": "√",
2982
- * "uniVer": "√",
2983
- * "unixVer": "x"
2984
- * },
2985
- * "lark": {
2986
- * "hostVer": "√",
2987
- * "uniVer": "√",
2988
- * "unixVer": "x"
2989
- * },
2990
- * "qq": {
2991
- * "hostVer": "√",
2992
- * "uniVer": "√",
2993
- * "unixVer": "x"
2994
- * },
2995
- * "kuaishou": {
2996
- * "hostVer": "√",
2997
- * "uniVer": "√",
2998
- * "unixVer": "x"
2999
- * },
3000
- * "jd": {
3001
- * "hostVer": "√",
3002
- * "uniVer": "√",
3003
- * "unixVer": "x"
3004
- * }
3005
- * },
3006
- * "web": {
3007
- * "uniVer": "√",
3008
- * "unixVer": "4.0"
3009
- * }
3010
- * }
3011
- *
3012
- */
3013
- "wgs84" |
3014
- /**
3015
- * @description gcj02坐标系,腾讯定位默认取值gcj02,腾讯定位仅支持gcj02坐标系
3016
- * @uniPlatform {
3017
- * "app": {
3018
- * "android": {
3019
- * "osVer": "5.0",
3020
- * "uniVer": "√",
3021
- * "unixVer": "4.81"
3022
- * },
3023
- * "ios": {
3024
- * "osVer": "12.0",
3025
- * "uniVer": "√",
3026
- * "unixVer": "4.81"
3027
- * },
3028
- * "harmony": {
3029
- * "osVer": "5.0.0(11)",
3030
- * "uniVer": "4.25",
3031
- * "unixVer": "4.81",
3032
- * "unixVaporVer": "5.0"
3033
- * }
3034
- * },
3035
- * "mp": {
3036
- * "weixin": {
3037
- * "hostVer": "√",
3038
- * "uniVer": "√",
3039
- * "unixVer": "x"
3040
- * },
3041
- * "alipay": {
3042
- * "hostVer": "√",
3043
- * "uniVer": "√",
3044
- * "unixVer": "x"
3045
- * },
3046
- * "baidu": {
3047
- * "hostVer": "√",
3048
- * "uniVer": "√",
3049
- * "unixVer": "x"
3050
- * },
3051
- * "toutiao": {
3052
- * "hostVer": "√",
3053
- * "uniVer": "√",
3054
- * "unixVer": "x"
3055
- * },
3056
- * "lark": {
3057
- * "hostVer": "√",
3058
- * "uniVer": "√",
3059
- * "unixVer": "x"
3060
- * },
3061
- * "qq": {
3062
- * "hostVer": "√",
3063
- * "uniVer": "√",
3064
- * "unixVer": "x"
3065
- * },
3066
- * "kuaishou": {
3067
- * "hostVer": "√",
3068
- * "uniVer": "√",
3069
- * "unixVer": "x"
3070
- * },
3071
- * "jd": {
3072
- * "hostVer": "√",
3073
- * "uniVer": "√",
3074
- * "unixVer": "x"
3075
- * }
3076
- * },
3077
- * "web": {
3078
- * "uniVer": "√",
3079
- * "unixVer": "4.0"
3080
- * }
3081
- * }
3082
- *
3083
- */
3084
- "gcj02"
3085
-
3086
- export type StartLocationUpdateBackgroundOptions = {
3087
- /**
3088
- * @description 定位服务提供商,通过 uni.getProvider 获取,目前支持系统定位(system)、腾讯定位(tencent), web端暂不支持provider机制。
3089
- * @uniPlatform {
3090
- * "app": {
3091
- * "android": {
3092
- * "osVer": "5.0",
3093
- * "uniVer": "√",
3094
- * "unixVer": "4.81"
3095
- * },
3096
- * "ios": {
3097
- * "osVer": "12.0",
3098
- * "uniVer": "√",
3099
- * "unixVer": "4.81"
3100
- * },
3101
- * "harmony": {
3102
- * "osVer": "5.0.0(11)",
3103
- * "uniVer": "4.25",
3104
- * "unixVer": "4.81",
3105
- * "unixVaporVer": "5.0"
3106
- * }
3107
- * },
3108
- * "mp": {
3109
- * "weixin": {
3110
- * "hostVer": "√",
3111
- * "uniVer": "√",
3112
- * "unixVer": "x"
3113
- * },
3114
- * "alipay": {
3115
- * "hostVer": "√",
3116
- * "uniVer": "√",
3117
- * "unixVer": "x"
3118
- * },
3119
- * "baidu": {
3120
- * "hostVer": "√",
3121
- * "uniVer": "√",
3122
- * "unixVer": "x"
3123
- * },
3124
- * "toutiao": {
3125
- * "hostVer": "√",
3126
- * "uniVer": "√",
3127
- * "unixVer": "x"
3128
- * },
3129
- * "lark": {
3130
- * "hostVer": "√",
3131
- * "uniVer": "√",
3132
- * "unixVer": "x"
3133
- * },
3134
- * "qq": {
3135
- * "hostVer": "√",
3136
- * "uniVer": "√",
3137
- * "unixVer": "x"
3138
- * },
3139
- * "kuaishou": {
3140
- * "hostVer": "√",
3141
- * "uniVer": "√",
3142
- * "unixVer": "x"
3143
- * },
3144
- * "jd": {
3145
- * "hostVer": "√",
3146
- * "uniVer": "√",
3147
- * "unixVer": "x"
3148
- * }
3149
- * },
3150
- * "web": {
3151
- * "uniVer": "√",
3152
- * "unixVer": "4.0"
3153
- * }
3154
- * }
3155
- *
3156
- */
3157
- provider?: string | null,
3158
- /**
3159
- * @description 默认为 wgs84 返回 gps 坐标,gcj02 返回可用于uni.openLocation的坐标,web端需配置定位 SDK 信息才可支持 gcj02;
3160
- * @uniPlatform {
3161
- * "app": {
3162
- * "android": {
3163
- * "osVer": "5.0",
3164
- * "uniVer": "√",
3165
- * "unixVer": "4.81"
3166
- * },
3167
- * "ios": {
3168
- * "osVer": "12.0",
3169
- * "uniVer": "√",
3170
- * "unixVer": "4.81"
3171
- * },
3172
- * "harmony": {
3173
- * "osVer": "5.0.0(11)",
3174
- * "uniVer": "4.25",
3175
- * "unixVer": "4.81",
3176
- * "unixVaporVer": "5.0"
3177
- * }
3178
- * },
3179
- * "mp": {
3180
- * "weixin": {
3181
- * "hostVer": "√",
3182
- * "uniVer": "√",
3183
- * "unixVer": "x"
3184
- * },
3185
- * "alipay": {
3186
- * "hostVer": "√",
3187
- * "uniVer": "√",
3188
- * "unixVer": "x"
3189
- * },
3190
- * "baidu": {
3191
- * "hostVer": "√",
3192
- * "uniVer": "√",
3193
- * "unixVer": "x"
3194
- * },
3195
- * "toutiao": {
3196
- * "hostVer": "√",
3197
- * "uniVer": "√",
3198
- * "unixVer": "x"
3199
- * },
3200
- * "lark": {
3201
- * "hostVer": "√",
3202
- * "uniVer": "√",
3203
- * "unixVer": "x"
3204
- * },
3205
- * "qq": {
3206
- * "hostVer": "√",
3207
- * "uniVer": "√",
3208
- * "unixVer": "x"
3209
- * },
3210
- * "kuaishou": {
3211
- * "hostVer": "√",
3212
- * "uniVer": "√",
3213
- * "unixVer": "x"
3214
- * },
3215
- * "jd": {
3216
- * "hostVer": "√",
3217
- * "uniVer": "√",
3218
- * "unixVer": "x"
3219
- * }
3220
- * },
3221
- * "web": {
3222
- * "uniVer": "√",
3223
- * "unixVer": "4.0"
3224
- * }
3225
- * }
3226
- *
3227
- */
3228
- type?: StartLocationUpdateBackgroundOptionsType | null,
3229
- /**
3230
- * @description 接口调用成功的回调函数
3231
- * @uniPlatform {
3232
- * "app": {
3233
- * "android": {
3234
- * "osVer": "5.0",
3235
- * "uniVer": "√",
3236
- * "unixVer": "4.81"
3237
- * },
3238
- * "ios": {
3239
- * "osVer": "12.0",
3240
- * "uniVer": "√",
3241
- * "unixVer": "4.81"
3242
- * },
3243
- * "harmony": {
3244
- * "osVer": "5.0.0(11)",
3245
- * "uniVer": "4.25",
3246
- * "unixVer": "4.81",
3247
- * "unixVaporVer": "5.0"
3248
- * }
3249
- * },
3250
- * "mp": {
3251
- * "weixin": {
3252
- * "hostVer": "√",
3253
- * "uniVer": "√",
3254
- * "unixVer": "x"
3255
- * },
3256
- * "alipay": {
3257
- * "hostVer": "√",
3258
- * "uniVer": "√",
3259
- * "unixVer": "x"
3260
- * },
3261
- * "baidu": {
3262
- * "hostVer": "√",
3263
- * "uniVer": "√",
3264
- * "unixVer": "x"
3265
- * },
3266
- * "toutiao": {
3267
- * "hostVer": "√",
3268
- * "uniVer": "√",
3269
- * "unixVer": "x"
3270
- * },
3271
- * "lark": {
3272
- * "hostVer": "√",
3273
- * "uniVer": "√",
3274
- * "unixVer": "x"
3275
- * },
3276
- * "qq": {
3277
- * "hostVer": "√",
3278
- * "uniVer": "√",
3279
- * "unixVer": "x"
3280
- * },
3281
- * "kuaishou": {
3282
- * "hostVer": "√",
3283
- * "uniVer": "√",
3284
- * "unixVer": "x"
3285
- * },
3286
- * "jd": {
3287
- * "hostVer": "√",
3288
- * "uniVer": "√",
3289
- * "unixVer": "x"
3290
- * }
3291
- * },
3292
- * "web": {
3293
- * "uniVer": "√",
3294
- * "unixVer": "4.0"
3295
- * }
3296
- * }
3297
- *
3298
- */
3299
- success?: StartLocationUpdateBackgroundSuccessCallback | null,
3300
- /**
3301
- * @description 接口调用失败的回调函数
3302
- * @uniPlatform {
3303
- * "app": {
3304
- * "android": {
3305
- * "osVer": "5.0",
3306
- * "uniVer": "√",
3307
- * "unixVer": "4.81"
3308
- * },
3309
- * "ios": {
3310
- * "osVer": "12.0",
3311
- * "uniVer": "√",
3312
- * "unixVer": "4.81"
3313
- * },
3314
- * "harmony": {
3315
- * "osVer": "5.0.0(11)",
3316
- * "uniVer": "4.25",
3317
- * "unixVer": "4.81",
3318
- * "unixVaporVer": "5.0"
3319
- * }
3320
- * },
3321
- * "mp": {
3322
- * "weixin": {
3323
- * "hostVer": "√",
3324
- * "uniVer": "√",
3325
- * "unixVer": "x"
3326
- * },
3327
- * "alipay": {
3328
- * "hostVer": "√",
3329
- * "uniVer": "√",
3330
- * "unixVer": "x"
3331
- * },
3332
- * "baidu": {
3333
- * "hostVer": "√",
3334
- * "uniVer": "√",
3335
- * "unixVer": "x"
3336
- * },
3337
- * "toutiao": {
3338
- * "hostVer": "√",
3339
- * "uniVer": "√",
3340
- * "unixVer": "x"
3341
- * },
3342
- * "lark": {
3343
- * "hostVer": "√",
3344
- * "uniVer": "√",
3345
- * "unixVer": "x"
3346
- * },
3347
- * "qq": {
3348
- * "hostVer": "√",
3349
- * "uniVer": "√",
3350
- * "unixVer": "x"
3351
- * },
3352
- * "kuaishou": {
3353
- * "hostVer": "√",
3354
- * "uniVer": "√",
3355
- * "unixVer": "x"
3356
- * },
3357
- * "jd": {
3358
- * "hostVer": "√",
3359
- * "uniVer": "√",
3360
- * "unixVer": "x"
3361
- * }
3362
- * },
3363
- * "web": {
3364
- * "uniVer": "√",
3365
- * "unixVer": "4.0"
3366
- * }
3367
- * }
3368
- *
3369
- */
3370
- fail?: StartLocationUpdateBackgroundFailCallback | null,
3371
- /**
3372
- * @description 接口调用结束的回调函数(调用成功、失败都会执行)
3373
- * @uniPlatform {
3374
- * "app": {
3375
- * "android": {
3376
- * "osVer": "5.0",
3377
- * "uniVer": "√",
3378
- * "unixVer": "4.81"
3379
- * },
3380
- * "ios": {
3381
- * "osVer": "12.0",
3382
- * "uniVer": "√",
3383
- * "unixVer": "4.81"
3384
- * },
3385
- * "harmony": {
3386
- * "osVer": "5.0.0(11)",
3387
- * "uniVer": "4.25",
3388
- * "unixVer": "4.81",
3389
- * "unixVaporVer": "5.0"
3390
- * }
3391
- * },
3392
- * "mp": {
3393
- * "weixin": {
3394
- * "hostVer": "√",
3395
- * "uniVer": "√",
3396
- * "unixVer": "x"
3397
- * },
3398
- * "alipay": {
3399
- * "hostVer": "√",
3400
- * "uniVer": "√",
3401
- * "unixVer": "x"
3402
- * },
3403
- * "baidu": {
3404
- * "hostVer": "√",
3405
- * "uniVer": "√",
3406
- * "unixVer": "x"
3407
- * },
3408
- * "toutiao": {
3409
- * "hostVer": "√",
3410
- * "uniVer": "√",
3411
- * "unixVer": "x"
3412
- * },
3413
- * "lark": {
3414
- * "hostVer": "√",
3415
- * "uniVer": "√",
3416
- * "unixVer": "x"
3417
- * },
3418
- * "qq": {
3419
- * "hostVer": "√",
3420
- * "uniVer": "√",
3421
- * "unixVer": "x"
3422
- * },
3423
- * "kuaishou": {
3424
- * "hostVer": "√",
3425
- * "uniVer": "√",
3426
- * "unixVer": "x"
3427
- * },
3428
- * "jd": {
3429
- * "hostVer": "√",
3430
- * "uniVer": "√",
3431
- * "unixVer": "x"
3432
- * }
3433
- * },
3434
- * "web": {
3435
- * "uniVer": "√",
3436
- * "unixVer": "4.0"
3437
- * }
3438
- * }
3439
- *
3440
- */
3441
- complete?: StartLocationUpdateBackgroundCompleteCallback | null
3442
- }
3443
- export type StartLocationUpdateBackground = (options:StartLocationUpdateBackgroundOptions)=>void