@dcloudio/uni-app-x 0.7.112 → 0.7.113

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 (379) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniNativeView.d.ts +1 -0
  3. package/types/dom2-internal/UniPage.d.ts +16 -0
  4. package/types/native/CSSStyleDeclaration.d.ts +172 -172
  5. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  6. package/types/native/DrawableContext.d.ts +1893 -1893
  7. package/types/native/IUniElement.d.ts +7468 -7468
  8. package/types/native/IUniNativeViewElement.d.ts +327 -327
  9. package/types/native/SnapshotOptions.d.ts +337 -62
  10. package/types/native/UniPage.d.ts +1305 -1305
  11. package/types/native/UniResizeObserver.d.ts +749 -749
  12. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  13. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  14. package/types/page.d.ts +3154 -3112
  15. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  16. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  18. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  19. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  20. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  21. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  22. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  25. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  28. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  31. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  32. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  33. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  34. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  35. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  36. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  37. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  38. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  41. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  42. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  43. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  44. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  45. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  46. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  47. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  48. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  49. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  50. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  51. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  52. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  53. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  54. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  56. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  59. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  60. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  61. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  62. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  63. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  64. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  65. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  66. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  67. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  68. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  69. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  70. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  71. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  72. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  73. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  74. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  75. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  76. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  77. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  78. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  79. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  80. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  81. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  82. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  83. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  84. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  85. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  86. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  87. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  90. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  91. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  94. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  97. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  98. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  99. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  100. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  101. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  102. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  103. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  131. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  132. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  136. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  139. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  142. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  145. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  148. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  151. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  152. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  159. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  162. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  180. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  183. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  189. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  192. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  195. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  198. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  201. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  243. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  246. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  249. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  252. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  255. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  264. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  267. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  270. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  273. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  276. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  279. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  288. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  294. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  297. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  312. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  315. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  318. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  321. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  324. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  327. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  330. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  333. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  336. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  339. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  342. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  348. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  351. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  354. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  357. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  360. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  363. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  366. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  369. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  372. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  375. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  376. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  379. package/types/vue/LifeCycle.d.ts +865 -854
@@ -1,1606 +1,1606 @@
1
- export type GetDeviceInfoOptions = {
2
- /**
3
- * @description 过滤字段的字符串数组,假如要获取指定字段,传入此数组。
4
- * @uniPlatform
5
- * {
6
- * "app": {
7
- * "android": {
8
- * "osVer": "5.0",
9
- * "uniVer": "√",
10
- * "unixVer": "3.9+"
11
- * },
12
- * "harmony": {
13
- * "osVer": "x",
14
- * "uniVer": "x",
15
- * "unixVer": "x"
16
- * }
17
- * }
18
- * }
19
- */
20
- filter: Array<string>
21
- }
22
-
23
- export type GetDeviceInfoResult = {
24
- /**
25
- * 设备品牌
26
- * @deprecated 已废弃,仅为了向下兼容保留
27
- *
28
- * @uniPlatform
29
- * {
30
- * "app": {
31
- * "android": {
32
- * "osVer": "5.0",
33
- * "uniVer": "√",
34
- * "unixVer": "3.9+"
35
- * },
36
- * "ios": {
37
- * "osVer": "12.0",
38
- * "uniVer": "√",
39
- * "unixVer": "4.11"
40
- * },
41
- * "harmony": {
42
- * "osVer": "x",
43
- * "uniVer": "x",
44
- * "unixVer": "x"
45
- * }
46
- * },
47
- * "mp": {
48
- * "weixin": {
49
- * "hostVer": "√",
50
- * "uniVer": "√",
51
- * "unixVer": "4.41"
52
- * },
53
- * "alipay": {
54
- * "hostVer": "√",
55
- * "uniVer": "√",
56
- * "unixVer": "x"
57
- * },
58
- * "baidu": {
59
- * "hostVer": "√",
60
- * "uniVer": "√",
61
- * "unixVer": "x"
62
- * },
63
- * "toutiao": {
64
- * "hostVer": "√",
65
- * "uniVer": "√",
66
- * "unixVer": "x"
67
- * },
68
- * "lark": {
69
- * "hostVer": "√",
70
- * "uniVer": "√",
71
- * "unixVer": "x"
72
- * },
73
- * "qq": {
74
- * "hostVer": "√",
75
- * "uniVer": "√",
76
- * "unixVer": "x"
77
- * },
78
- * "kuaishou": {
79
- * "hostVer": "√",
80
- * "uniVer": "√",
81
- * "unixVer": "x"
82
- * },
83
- * "jd": {
84
- * "hostVer": "√",
85
- * "uniVer": "√",
86
- * "unixVer": "x"
87
- * }
88
- * },
89
- * "web": {
90
- * "uniVer": "x",
91
- * "unixVer": "x"
92
- * }
93
- * }
94
- */
95
- brand?: string
96
- /**
97
- * 设备品牌
98
- *
99
- * @uniPlatform
100
- * {
101
- * "app": {
102
- * "android": {
103
- * "osVer": "5.0",
104
- * "uniVer": "√",
105
- * "unixVer": "3.9+"
106
- * },
107
- * "ios": {
108
- * "osVer": "12.0",
109
- * "uniVer": "√",
110
- * "unixVer": "4.11"
111
- * },
112
- * "harmony": {
113
- * "osVer": "3.0",
114
- * "uniVer": "4.23",
115
- * "unixVer": "4.61",
116
- * "unixvVer": "5.0"
117
- * }
118
- * },
119
- * "mp": {
120
- * "weixin": {
121
- * "hostVer": "√",
122
- * "uniVer": "√",
123
- * "unixVer": "4.41"
124
- * },
125
- * "alipay": {
126
- * "hostVer": "√",
127
- * "uniVer": "x",
128
- * "unixVer": "x"
129
- * },
130
- * "baidu": {
131
- * "hostVer": "√",
132
- * "uniVer": "x",
133
- * "unixVer": "x"
134
- * },
135
- * "toutiao": {
136
- * "hostVer": "√",
137
- * "uniVer": "x",
138
- * "unixVer": "x"
139
- * },
140
- * "lark": {
141
- * "hostVer": "√",
142
- * "uniVer": "x",
143
- * "unixVer": "x"
144
- * },
145
- * "qq": {
146
- * "hostVer": "√",
147
- * "uniVer": "x",
148
- * "unixVer": "x"
149
- * },
150
- * "kuaishou": {
151
- * "hostVer": "√",
152
- * "uniVer": "x",
153
- * "unixVer": "x"
154
- * },
155
- * "jd": {
156
- * "hostVer": "√",
157
- * "uniVer": "x",
158
- * "unixVer": "x"
159
- * }
160
- * },
161
- * "web": {
162
- * "uniVer": "x",
163
- * "unixVer": "x"
164
- * }
165
- * }
166
- */
167
- deviceBrand?: string,
168
- /**
169
- * 设备 id 。由 uni-app 框架生成并存储,清空 Storage 会导致改变
170
- *
171
- * @uniPlatform
172
- * {
173
- * "app": {
174
- * "android": {
175
- * "osVer": "5.0",
176
- * "uniVer": "√",
177
- * "unixVer": "3.9+"
178
- * },
179
- * "ios": {
180
- * "osVer": "12.0",
181
- * "uniVer": "√",
182
- * "unixVer": "4.11"
183
- * },
184
- * "harmony": {
185
- * "osVer": "3.0",
186
- * "uniVer": "4.23",
187
- * "unixVer": "4.61",
188
- * "unixvVer": "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
- deviceId?: string,
240
- /**
241
- * 设备型号
242
- * @deprecated 已废弃,仅为了向下兼容保留
243
- *
244
- * @uniPlatform
245
- * {
246
- * "app": {
247
- * "android": {
248
- * "osVer": "5.0",
249
- * "uniVer": "√",
250
- * "unixVer": "3.9+"
251
- * },
252
- * "ios": {
253
- * "osVer": "12.0",
254
- * "uniVer": "√",
255
- * "unixVer": "4.11"
256
- * },
257
- * "harmony": {
258
- * "osVer": "x",
259
- * "uniVer": "x",
260
- * "unixVer": "x"
261
- * }
262
- * },
263
- * "mp": {
264
- * "weixin": {
265
- * "hostVer": "√",
266
- * "uniVer": "√",
267
- * "unixVer": "4.41"
268
- * },
269
- * "alipay": {
270
- * "hostVer": "√",
271
- * "uniVer": "√",
272
- * "unixVer": "x"
273
- * },
274
- * "baidu": {
275
- * "hostVer": "√",
276
- * "uniVer": "√",
277
- * "unixVer": "x"
278
- * },
279
- * "toutiao": {
280
- * "hostVer": "√",
281
- * "uniVer": "√",
282
- * "unixVer": "x"
283
- * },
284
- * "lark": {
285
- * "hostVer": "√",
286
- * "uniVer": "√",
287
- * "unixVer": "x"
288
- * },
289
- * "qq": {
290
- * "hostVer": "√",
291
- * "uniVer": "√",
292
- * "unixVer": "x"
293
- * },
294
- * "kuaishou": {
295
- * "hostVer": "√",
296
- * "uniVer": "√",
297
- * "unixVer": "x"
298
- * },
299
- * "jd": {
300
- * "hostVer": "√",
301
- * "uniVer": "√",
302
- * "unixVer": "x"
303
- * }
304
- * },
305
- * "web": {
306
- * "uniVer": "√",
307
- * "unixVer": "4.0"
308
- * }
309
- * }
310
- */
311
- model?: string,
312
- /**
313
- * 设备型号
314
- *
315
- * @uniPlatform
316
- * {
317
- * "app": {
318
- * "android": {
319
- * "osVer": "5.0",
320
- * "uniVer": "√",
321
- * "unixVer": "3.9+"
322
- * },
323
- * "ios": {
324
- * "osVer": "12.0",
325
- * "uniVer": "√",
326
- * "unixVer": "4.11"
327
- * },
328
- * "harmony": {
329
- * "osVer": "3.0",
330
- * "uniVer": "4.23",
331
- * "unixVer": "4.61",
332
- * "unixvVer": "5.0"
333
- * }
334
- * },
335
- * "mp": {
336
- * "weixin": {
337
- * "hostVer": "√",
338
- * "uniVer": "√",
339
- * "unixVer": "4.41"
340
- * },
341
- * "alipay": {
342
- * "hostVer": "√",
343
- * "uniVer": "x",
344
- * "unixVer": "x"
345
- * },
346
- * "baidu": {
347
- * "hostVer": "√",
348
- * "uniVer": "x",
349
- * "unixVer": "x"
350
- * },
351
- * "toutiao": {
352
- * "hostVer": "√",
353
- * "uniVer": "x",
354
- * "unixVer": "x"
355
- * },
356
- * "lark": {
357
- * "hostVer": "√",
358
- * "uniVer": "x",
359
- * "unixVer": "x"
360
- * },
361
- * "qq": {
362
- * "hostVer": "√",
363
- * "uniVer": "x",
364
- * "unixVer": "x"
365
- * },
366
- * "kuaishou": {
367
- * "hostVer": "√",
368
- * "uniVer": "x",
369
- * "unixVer": "x"
370
- * },
371
- * "jd": {
372
- * "hostVer": "√",
373
- * "uniVer": "x",
374
- * "unixVer": "x"
375
- * }
376
- * },
377
- * "web": {
378
- * "uniVer": "√",
379
- * "unixVer": "4.0"
380
- * }
381
- * }
382
- */
383
- deviceModel?: string,
384
- /**
385
- * 设备类型phone、pad、pc
386
- *
387
- * @uniPlatform
388
- * {
389
- * "app": {
390
- * "android": {
391
- * "osVer": "5.0",
392
- * "uniVer": "√",
393
- * "unixVer": "3.9+"
394
- * },
395
- * "ios": {
396
- * "osVer": "12.0",
397
- * "uniVer": "√",
398
- * "unixVer": "4.11"
399
- * },
400
- * "harmony": {
401
- * "osVer": "3.0",
402
- * "uniVer": "4.23",
403
- * "unixVer": "4.61",
404
- * "unixvVer": "5.0"
405
- * }
406
- * },
407
- * "mp": {
408
- * "weixin": {
409
- * "hostVer": "√",
410
- * "uniVer": "√",
411
- * "unixVer": "4.41"
412
- * },
413
- * "alipay": {
414
- * "hostVer": "√",
415
- * "uniVer": "x",
416
- * "unixVer": "x"
417
- * },
418
- * "baidu": {
419
- * "hostVer": "√",
420
- * "uniVer": "x",
421
- * "unixVer": "x"
422
- * },
423
- * "toutiao": {
424
- * "hostVer": "√",
425
- * "uniVer": "x",
426
- * "unixVer": "x"
427
- * },
428
- * "lark": {
429
- * "hostVer": "√",
430
- * "uniVer": "x",
431
- * "unixVer": "x"
432
- * },
433
- * "qq": {
434
- * "hostVer": "√",
435
- * "uniVer": "x",
436
- * "unixVer": "x"
437
- * },
438
- * "kuaishou": {
439
- * "hostVer": "√",
440
- * "uniVer": "x",
441
- * "unixVer": "x"
442
- * },
443
- * "jd": {
444
- * "hostVer": "√",
445
- * "uniVer": "x",
446
- * "unixVer": "x"
447
- * }
448
- * },
449
- * "web": {
450
- * "uniVer": "√",
451
- * "unixVer": "4.0"
452
- * }
453
- * }
454
- */
455
- deviceType?: 'phone' | 'pad' | 'tv' | 'watch' | 'pc' | 'undefined' | 'car' | 'vr' | 'appliance',
456
- /**
457
- * 设备方向 竖屏 portrait、横屏 landscape
458
- *
459
- * @uniPlatform
460
- * {
461
- * "app": {
462
- * "android": {
463
- * "osVer": "5.0",
464
- * "uniVer": "√",
465
- * "unixVer": "3.9+"
466
- * },
467
- * "ios": {
468
- * "osVer": "12.0",
469
- * "uniVer": "√",
470
- * "unixVer": "4.11"
471
- * },
472
- * "harmony": {
473
- * "osVer": "3.0",
474
- * "uniVer": "4.23",
475
- * "unixVer": "4.61",
476
- * "unixvVer": "5.0"
477
- * }
478
- * },
479
- * "mp": {
480
- * "weixin": {
481
- * "hostVer": "√",
482
- * "uniVer": "x",
483
- * "unixVer": "x"
484
- * },
485
- * "alipay": {
486
- * "hostVer": "√",
487
- * "uniVer": "x",
488
- * "unixVer": "x"
489
- * },
490
- * "baidu": {
491
- * "hostVer": "√",
492
- * "uniVer": "x",
493
- * "unixVer": "x"
494
- * },
495
- * "toutiao": {
496
- * "hostVer": "√",
497
- * "uniVer": "x",
498
- * "unixVer": "x"
499
- * },
500
- * "lark": {
501
- * "hostVer": "√",
502
- * "uniVer": "x",
503
- * "unixVer": "x"
504
- * },
505
- * "qq": {
506
- * "hostVer": "√",
507
- * "uniVer": "x",
508
- * "unixVer": "x"
509
- * },
510
- * "kuaishou": {
511
- * "hostVer": "√",
512
- * "uniVer": "x",
513
- * "unixVer": "x"
514
- * },
515
- * "jd": {
516
- * "hostVer": "√",
517
- * "uniVer": "x",
518
- * "unixVer": "x"
519
- * }
520
- * },
521
- * "web": {
522
- * "uniVer": "√",
523
- * "unixVer": "4.0"
524
- * }
525
- * }
526
- */
527
- deviceOrientation?: string,
528
- /**
529
- * 设备像素比
530
- *
531
- * @uniPlatform
532
- * {
533
- * "app": {
534
- * "android": {
535
- * "osVer": "5.0",
536
- * "uniVer": "√",
537
- * "unixVer": "3.9+"
538
- * },
539
- * "ios": {
540
- * "osVer": "12.0",
541
- * "uniVer": "√",
542
- * "unixVer": "4.11"
543
- * },
544
- * "harmony": {
545
- * "osVer": "3.0",
546
- * "uniVer": "4.23",
547
- * "unixVer": "4.61",
548
- * "unixvVer": "5.0"
549
- * }
550
- * },
551
- * "mp": {
552
- * "weixin": {
553
- * "hostVer": "√",
554
- * "uniVer": "x",
555
- * "unixVer": "x"
556
- * },
557
- * "alipay": {
558
- * "hostVer": "√",
559
- * "uniVer": "x",
560
- * "unixVer": "x"
561
- * },
562
- * "baidu": {
563
- * "hostVer": "√",
564
- * "uniVer": "x",
565
- * "unixVer": "x"
566
- * },
567
- * "toutiao": {
568
- * "hostVer": "√",
569
- * "uniVer": "x",
570
- * "unixVer": "x"
571
- * },
572
- * "lark": {
573
- * "hostVer": "√",
574
- * "uniVer": "x",
575
- * "unixVer": "x"
576
- * },
577
- * "qq": {
578
- * "hostVer": "√",
579
- * "uniVer": "x",
580
- * "unixVer": "x"
581
- * },
582
- * "kuaishou": {
583
- * "hostVer": "√",
584
- * "uniVer": "x",
585
- * "unixVer": "x"
586
- * },
587
- * "jd": {
588
- * "hostVer": "√",
589
- * "uniVer": "x",
590
- * "unixVer": "x"
591
- * }
592
- * },
593
- * "web": {
594
- * "uniVer": "√",
595
- * "unixVer": "4.0"
596
- * }
597
- * }
598
- */
599
- devicePixelRatio?: number,
600
- /**
601
- * 操作系统及版本
602
- *
603
- * @uniPlatform
604
- * {
605
- * "app": {
606
- * "android": {
607
- * "osVer": "5.0",
608
- * "uniVer": "√",
609
- * "unixVer": "3.9+"
610
- * },
611
- * "ios": {
612
- * "osVer": "12.0",
613
- * "uniVer": "√",
614
- * "unixVer": "4.11"
615
- * },
616
- * "harmony": {
617
- * "osVer": "3.0",
618
- * "uniVer": "4.23",
619
- * "unixVer": "4.61",
620
- * "unixvVer": "5.0"
621
- * }
622
- * },
623
- * "mp": {
624
- * "weixin": {
625
- * "hostVer": "√",
626
- * "uniVer": "√",
627
- * "unixVer": "4.41"
628
- * },
629
- * "alipay": {
630
- * "hostVer": "√",
631
- * "uniVer": "√",
632
- * "unixVer": "x"
633
- * },
634
- * "baidu": {
635
- * "hostVer": "√",
636
- * "uniVer": "√",
637
- * "unixVer": "x"
638
- * },
639
- * "toutiao": {
640
- * "hostVer": "√",
641
- * "uniVer": "√",
642
- * "unixVer": "x"
643
- * },
644
- * "lark": {
645
- * "hostVer": "√",
646
- * "uniVer": "√",
647
- * "unixVer": "x"
648
- * },
649
- * "qq": {
650
- * "hostVer": "√",
651
- * "uniVer": "√",
652
- * "unixVer": "x"
653
- * },
654
- * "kuaishou": {
655
- * "hostVer": "√",
656
- * "uniVer": "√",
657
- * "unixVer": "x"
658
- * },
659
- * "jd": {
660
- * "hostVer": "√",
661
- * "uniVer": "√",
662
- * "unixVer": "x"
663
- * }
664
- * },
665
- * "web": {
666
- * "uniVer": "√",
667
- * "unixVer": "4.0"
668
- * }
669
- * }
670
- */
671
- system?: string,
672
- /**
673
- * 客户端平台
674
- *
675
- * @uniPlatform
676
- * {
677
- * "app": {
678
- * "android": {
679
- * "osVer": "5.0",
680
- * "uniVer": "√",
681
- * "unixVer": "3.9+"
682
- * },
683
- * "ios": {
684
- * "osVer": "12.0",
685
- * "uniVer": "√",
686
- * "unixVer": "4.11"
687
- * },
688
- * "harmony": {
689
- * "osVer": "3.0",
690
- * "uniVer": "4.23",
691
- * "unixVer": "4.61",
692
- * "unixvVer": "5.0"
693
- * }
694
- * },
695
- * "mp": {
696
- * "weixin": {
697
- * "hostVer": "√",
698
- * "uniVer": "√",
699
- * "unixVer": "4.41"
700
- * },
701
- * "alipay": {
702
- * "hostVer": "√",
703
- * "uniVer": "√",
704
- * "unixVer": "x"
705
- * },
706
- * "baidu": {
707
- * "hostVer": "√",
708
- * "uniVer": "√",
709
- * "unixVer": "x"
710
- * },
711
- * "toutiao": {
712
- * "hostVer": "√",
713
- * "uniVer": "√",
714
- * "unixVer": "x"
715
- * },
716
- * "lark": {
717
- * "hostVer": "√",
718
- * "uniVer": "√",
719
- * "unixVer": "x"
720
- * },
721
- * "qq": {
722
- * "hostVer": "√",
723
- * "uniVer": "√",
724
- * "unixVer": "x"
725
- * },
726
- * "kuaishou": {
727
- * "hostVer": "√",
728
- * "uniVer": "√",
729
- * "unixVer": "x"
730
- * },
731
- * "jd": {
732
- * "hostVer": "√",
733
- * "uniVer": "√",
734
- * "unixVer": "x"
735
- * }
736
- * },
737
- * "web": {
738
- * "uniVer": "√",
739
- * "unixVer": "4.0"
740
- * }
741
- * }
742
- */
743
- platform?: 'ios' | 'android' | 'harmonyos' | 'mac' | 'windows' | 'linux',
744
- /**
745
- * 是否root。iOS 为是否越狱
746
- *
747
- * @uniPlatform
748
- * {
749
- * "app": {
750
- * "android": {
751
- * "osVer": "5.0",
752
- * "uniVer": "x",
753
- * "unixVer": "3.9+"
754
- * },
755
- * "ios": {
756
- * "osVer": "12.0",
757
- * "uniVer": "x",
758
- * "unixVer": "4.11"
759
- * },
760
- * "harmony": {
761
- * "osVer": "x",
762
- * "uniVer": "x",
763
- * "unixVer": "x"
764
- * }
765
- * },
766
- * "mp": {
767
- * "weixin": {
768
- * "hostVer": "√",
769
- * "uniVer": "x",
770
- * "unixVer": "x"
771
- * },
772
- * "alipay": {
773
- * "hostVer": "√",
774
- * "uniVer": "x",
775
- * "unixVer": "x"
776
- * },
777
- * "baidu": {
778
- * "hostVer": "√",
779
- * "uniVer": "x",
780
- * "unixVer": "x"
781
- * },
782
- * "toutiao": {
783
- * "hostVer": "√",
784
- * "uniVer": "x",
785
- * "unixVer": "x"
786
- * },
787
- * "lark": {
788
- * "hostVer": "√",
789
- * "uniVer": "x",
790
- * "unixVer": "x"
791
- * },
792
- * "qq": {
793
- * "hostVer": "√",
794
- * "uniVer": "x",
795
- * "unixVer": "x"
796
- * },
797
- * "kuaishou": {
798
- * "hostVer": "√",
799
- * "uniVer": "x",
800
- * "unixVer": "x"
801
- * },
802
- * "jd": {
803
- * "hostVer": "√",
804
- * "uniVer": "x",
805
- * "unixVer": "x"
806
- * }
807
- * },
808
- * "web": {
809
- * "uniVer": "x",
810
- * "unixVer": "x"
811
- * }
812
- * }
813
- */
814
- isRoot?: boolean,
815
- /**
816
- * 是否是模拟器
817
- *
818
- * @deprecated 已废弃,由于合规问题在4.51版本后不会采集传感器信息,会影响准确度,建议使用`isSimulator()`代替。
819
- * @uniPlatform
820
- * {
821
- * "app": {
822
- * "android": {
823
- * "osVer": "5.0",
824
- * "uniVer": "x",
825
- * "unixVer": "3.9+"
826
- * },
827
- * "ios": {
828
- * "osVer": "12.0",
829
- * "uniVer": "x",
830
- * "unixVer": "4.11"
831
- * },
832
- * "harmony": {
833
- * "osVer": "x",
834
- * "uniVer": "x",
835
- * "unixVer": "x"
836
- * }
837
- * },
838
- * "mp": {
839
- * "weixin": {
840
- * "hostVer": "√",
841
- * "uniVer": "x",
842
- * "unixVer": "x"
843
- * },
844
- * "alipay": {
845
- * "hostVer": "√",
846
- * "uniVer": "x",
847
- * "unixVer": "x"
848
- * },
849
- * "baidu": {
850
- * "hostVer": "√",
851
- * "uniVer": "x",
852
- * "unixVer": "x"
853
- * },
854
- * "toutiao": {
855
- * "hostVer": "√",
856
- * "uniVer": "x",
857
- * "unixVer": "x"
858
- * },
859
- * "lark": {
860
- * "hostVer": "√",
861
- * "uniVer": "x",
862
- * "unixVer": "x"
863
- * },
864
- * "qq": {
865
- * "hostVer": "√",
866
- * "uniVer": "x",
867
- * "unixVer": "x"
868
- * },
869
- * "kuaishou": {
870
- * "hostVer": "√",
871
- * "uniVer": "x",
872
- * "unixVer": "x"
873
- * },
874
- * "jd": {
875
- * "hostVer": "√",
876
- * "uniVer": "x",
877
- * "unixVer": "x"
878
- * }
879
- * },
880
- * "web": {
881
- * "uniVer": "x",
882
- * "unixVer": "x"
883
- * }
884
- * }
885
- */
886
- isSimulator?: boolean,
887
- /**
888
- * adb是否开启
889
- *
890
- * @uniPlatform
891
- * {
892
- * "app": {
893
- * "android": {
894
- * "osVer": "5.0",
895
- * "uniVer": "x",
896
- * "unixVer": "√"
897
- * },
898
- * "ios": {
899
- * "osVer": "x",
900
- * "uniVer": "x",
901
- * "unixVer": "x"
902
- * },
903
- * "harmony": {
904
- * "osVer": "x",
905
- * "uniVer": "x",
906
- * "unixVer": "x"
907
- * }
908
- * },
909
- * "mp": {
910
- * "weixin": {
911
- * "hostVer": "√",
912
- * "uniVer": "x",
913
- * "unixVer": "x"
914
- * },
915
- * "alipay": {
916
- * "hostVer": "√",
917
- * "uniVer": "x",
918
- * "unixVer": "x"
919
- * },
920
- * "baidu": {
921
- * "hostVer": "√",
922
- * "uniVer": "x",
923
- * "unixVer": "x"
924
- * },
925
- * "toutiao": {
926
- * "hostVer": "√",
927
- * "uniVer": "x",
928
- * "unixVer": "x"
929
- * },
930
- * "lark": {
931
- * "hostVer": "√",
932
- * "uniVer": "x",
933
- * "unixVer": "x"
934
- * },
935
- * "qq": {
936
- * "hostVer": "√",
937
- * "uniVer": "x",
938
- * "unixVer": "x"
939
- * },
940
- * "kuaishou": {
941
- * "hostVer": "√",
942
- * "uniVer": "x",
943
- * "unixVer": "x"
944
- * },
945
- * "jd": {
946
- * "hostVer": "√",
947
- * "uniVer": "x",
948
- * "unixVer": "x"
949
- * }
950
- * },
951
- * "web": {
952
- * "uniVer": "x",
953
- * "unixVer": "x"
954
- * }
955
- * }
956
- */
957
- isUSBDebugging?: boolean,
958
- /**
959
- * 系统名称
960
- *
961
- * @uniPlatform
962
- * {
963
- * "app": {
964
- * "android": {
965
- * "osVer": "5.0",
966
- * "uniVer": "x",
967
- * "unixVer": "4.18"
968
- * },
969
- * "ios": {
970
- * "osVer": "12.0",
971
- * "uniVer": "x",
972
- * "unixVer": "4.18"
973
- * },
974
- * "harmony": {
975
- * "osVer": "3.0",
976
- * "uniVer": "4.23",
977
- * "unixVer": "4.61",
978
- * "unixvVer": "5.0"
979
- * }
980
- * },
981
- * "mp": {
982
- * "weixin": {
983
- * "hostVer": "√",
984
- * "uniVer": "√",
985
- * "unixVer": "4.41"
986
- * },
987
- * "alipay": {
988
- * "hostVer": "√",
989
- * "uniVer": "x",
990
- * "unixVer": "x"
991
- * },
992
- * "baidu": {
993
- * "hostVer": "√",
994
- * "uniVer": "x",
995
- * "unixVer": "x"
996
- * },
997
- * "toutiao": {
998
- * "hostVer": "√",
999
- * "uniVer": "x",
1000
- * "unixVer": "x"
1001
- * },
1002
- * "lark": {
1003
- * "hostVer": "√",
1004
- * "uniVer": "x",
1005
- * "unixVer": "x"
1006
- * },
1007
- * "qq": {
1008
- * "hostVer": "√",
1009
- * "uniVer": "x",
1010
- * "unixVer": "x"
1011
- * },
1012
- * "kuaishou": {
1013
- * "hostVer": "√",
1014
- * "uniVer": "x",
1015
- * "unixVer": "x"
1016
- * },
1017
- * "jd": {
1018
- * "hostVer": "√",
1019
- * "uniVer": "x",
1020
- * "unixVer": "x"
1021
- * }
1022
- * },
1023
- * "web": {
1024
- * "uniVer": "x",
1025
- * "unixVer": "4.18"
1026
- * }
1027
- * }
1028
- */
1029
- osName?: 'ios' | 'android' | 'harmonyos' | 'macos' | 'windows' | 'linux' | null,
1030
- /**
1031
- * 操作系统版本。如 ios 版本,andriod 版本
1032
- *
1033
- * @uniPlatform
1034
- * {
1035
- * "app": {
1036
- * "android": {
1037
- * "osVer": "5.0",
1038
- * "uniVer": "x",
1039
- * "unixVer": "4.18"
1040
- * },
1041
- * "ios": {
1042
- * "osVer": "12.0",
1043
- * "uniVer": "x",
1044
- * "unixVer": "4.18"
1045
- * },
1046
- * "harmony": {
1047
- * "osVer": "3.0",
1048
- * "uniVer": "4.23",
1049
- * "unixVer": "4.61",
1050
- * "unixvVer": "5.0"
1051
- * }
1052
- * },
1053
- * "mp": {
1054
- * "weixin": {
1055
- * "hostVer": "√",
1056
- * "uniVer": "√",
1057
- * "unixVer": "4.41"
1058
- * },
1059
- * "alipay": {
1060
- * "hostVer": "√",
1061
- * "uniVer": "x",
1062
- * "unixVer": "x"
1063
- * },
1064
- * "baidu": {
1065
- * "hostVer": "√",
1066
- * "uniVer": "x",
1067
- * "unixVer": "x"
1068
- * },
1069
- * "toutiao": {
1070
- * "hostVer": "√",
1071
- * "uniVer": "x",
1072
- * "unixVer": "x"
1073
- * },
1074
- * "lark": {
1075
- * "hostVer": "√",
1076
- * "uniVer": "x",
1077
- * "unixVer": "x"
1078
- * },
1079
- * "qq": {
1080
- * "hostVer": "√",
1081
- * "uniVer": "x",
1082
- * "unixVer": "x"
1083
- * },
1084
- * "kuaishou": {
1085
- * "hostVer": "√",
1086
- * "uniVer": "x",
1087
- * "unixVer": "x"
1088
- * },
1089
- * "jd": {
1090
- * "hostVer": "√",
1091
- * "uniVer": "x",
1092
- * "unixVer": "x"
1093
- * }
1094
- * },
1095
- * "web": {
1096
- * "uniVer": "x",
1097
- * "unixVer": "4.18"
1098
- * }
1099
- * }
1100
- */
1101
- osVersion?: string | null,
1102
- /**
1103
- * 操作系统语言
1104
- *
1105
- * @uniPlatform
1106
- * {
1107
- * "app": {
1108
- * "android": {
1109
- * "osVer": "5.0",
1110
- * "uniVer": "x",
1111
- * "unixVer": "4.18"
1112
- * },
1113
- * "ios": {
1114
- * "osVer": "12.0",
1115
- * "uniVer": "x",
1116
- * "unixVer": "4.18"
1117
- * },
1118
- * "harmony": {
1119
- * "osVer": "3.0",
1120
- * "uniVer": "4.23",
1121
- * "unixVer": "4.61",
1122
- * "unixvVer": "5.0"
1123
- * }
1124
- * },
1125
- * "mp": {
1126
- * "weixin": {
1127
- * "hostVer": "√",
1128
- * "uniVer": "x",
1129
- * "unixVer": "x"
1130
- * },
1131
- * "alipay": {
1132
- * "hostVer": "√",
1133
- * "uniVer": "x",
1134
- * "unixVer": "x"
1135
- * },
1136
- * "baidu": {
1137
- * "hostVer": "√",
1138
- * "uniVer": "x",
1139
- * "unixVer": "x"
1140
- * },
1141
- * "toutiao": {
1142
- * "hostVer": "√",
1143
- * "uniVer": "x",
1144
- * "unixVer": "x"
1145
- * },
1146
- * "lark": {
1147
- * "hostVer": "√",
1148
- * "uniVer": "x",
1149
- * "unixVer": "x"
1150
- * },
1151
- * "qq": {
1152
- * "hostVer": "√",
1153
- * "uniVer": "x",
1154
- * "unixVer": "x"
1155
- * },
1156
- * "kuaishou": {
1157
- * "hostVer": "√",
1158
- * "uniVer": "x",
1159
- * "unixVer": "x"
1160
- * },
1161
- * "jd": {
1162
- * "hostVer": "√",
1163
- * "uniVer": "x",
1164
- * "unixVer": "x"
1165
- * }
1166
- * },
1167
- * "web": {
1168
- * "uniVer": "x",
1169
- * "unixVer": "x"
1170
- * }
1171
- * }
1172
- */
1173
- osLanguage?: string | null,
1174
- /**
1175
- * 操作系统主题
1176
- *
1177
- * @uniPlatform
1178
- * {
1179
- * "app": {
1180
- * "android": {
1181
- * "osVer": "5.0",
1182
- * "uniVer": "x",
1183
- * "unixVer": "4.18"
1184
- * },
1185
- * "ios": {
1186
- * "osVer": "12.0",
1187
- * "uniVer": "x",
1188
- * "unixVer": "4.18"
1189
- * },
1190
- * "harmony": {
1191
- * "osVer": "3.0",
1192
- * "uniVer": "4.23",
1193
- * "unixVer": "4.61",
1194
- * "unixvVer": "5.0"
1195
- * }
1196
- * },
1197
- * "mp": {
1198
- * "weixin": {
1199
- * "hostVer": "√",
1200
- * "uniVer": "x",
1201
- * "unixVer": "x"
1202
- * },
1203
- * "alipay": {
1204
- * "hostVer": "√",
1205
- * "uniVer": "x",
1206
- * "unixVer": "x"
1207
- * },
1208
- * "baidu": {
1209
- * "hostVer": "√",
1210
- * "uniVer": "x",
1211
- * "unixVer": "x"
1212
- * },
1213
- * "toutiao": {
1214
- * "hostVer": "√",
1215
- * "uniVer": "x",
1216
- * "unixVer": "x"
1217
- * },
1218
- * "lark": {
1219
- * "hostVer": "√",
1220
- * "uniVer": "x",
1221
- * "unixVer": "x"
1222
- * },
1223
- * "qq": {
1224
- * "hostVer": "√",
1225
- * "uniVer": "x",
1226
- * "unixVer": "x"
1227
- * },
1228
- * "kuaishou": {
1229
- * "hostVer": "√",
1230
- * "uniVer": "x",
1231
- * "unixVer": "x"
1232
- * },
1233
- * "jd": {
1234
- * "hostVer": "√",
1235
- * "uniVer": "x",
1236
- * "unixVer": "x"
1237
- * }
1238
- * },
1239
- * "web": {
1240
- * "uniVer": "x",
1241
- * "unixVer": "x"
1242
- * }
1243
- * }
1244
- */
1245
- osTheme?: 'light' | 'dark' | null,
1246
- /**
1247
- * Android 系统API库的版本。
1248
- *
1249
- * @uniPlatform
1250
- * {
1251
- * "app": {
1252
- * "android": {
1253
- * "osVer": "5.0",
1254
- * "uniVer": "x",
1255
- * "unixVer": "4.18"
1256
- * },
1257
- * "ios": {
1258
- * "osVer": "x",
1259
- * "uniVer": "x",
1260
- * "unixVer": "x"
1261
- * },
1262
- * "harmony": {
1263
- * "osVer": "x",
1264
- * "uniVer": "x",
1265
- * "unixVer": "x"
1266
- * }
1267
- * },
1268
- * "mp": {
1269
- * "weixin": {
1270
- * "hostVer": "√",
1271
- * "uniVer": "x",
1272
- * "unixVer": "x"
1273
- * },
1274
- * "alipay": {
1275
- * "hostVer": "√",
1276
- * "uniVer": "x",
1277
- * "unixVer": "x"
1278
- * },
1279
- * "baidu": {
1280
- * "hostVer": "√",
1281
- * "uniVer": "x",
1282
- * "unixVer": "x"
1283
- * },
1284
- * "toutiao": {
1285
- * "hostVer": "√",
1286
- * "uniVer": "x",
1287
- * "unixVer": "x"
1288
- * },
1289
- * "lark": {
1290
- * "hostVer": "√",
1291
- * "uniVer": "x",
1292
- * "unixVer": "x"
1293
- * },
1294
- * "qq": {
1295
- * "hostVer": "√",
1296
- * "uniVer": "x",
1297
- * "unixVer": "x"
1298
- * },
1299
- * "kuaishou": {
1300
- * "hostVer": "√",
1301
- * "uniVer": "x",
1302
- * "unixVer": "x"
1303
- * },
1304
- * "jd": {
1305
- * "hostVer": "√",
1306
- * "uniVer": "x",
1307
- * "unixVer": "x"
1308
- * }
1309
- * },
1310
- * "web": {
1311
- * "uniVer": "x",
1312
- * "unixVer": "x"
1313
- * }
1314
- * }
1315
- */
1316
- osAndroidAPILevel?: number | null,
1317
- /**
1318
- * 鸿蒙系统软件API版本
1319
- *
1320
- * @uniPlatform
1321
- * {
1322
- * "app": {
1323
- * "android": {
1324
- * "osVer": "5.0",
1325
- * "uniVer": "√",
1326
- * "unixVer": "√"
1327
- * },
1328
- * "ios": {
1329
- * "osVer": "x",
1330
- * "uniVer": "x",
1331
- * "unixVer": "x"
1332
- * },
1333
- * "harmony": {
1334
- * "osVer": "√",
1335
- * "uniVer": "4.61",
1336
- * "unixVer": "4.61",
1337
- * "unixvVer": "5.0"
1338
- * }
1339
- * },
1340
- * "mp": {
1341
- * "weixin": {
1342
- * "hostVer": "√",
1343
- * "uniVer": "x",
1344
- * "unixVer": "x"
1345
- * },
1346
- * "alipay": {
1347
- * "hostVer": "√",
1348
- * "uniVer": "x",
1349
- * "unixVer": "x"
1350
- * },
1351
- * "baidu": {
1352
- * "hostVer": "√",
1353
- * "uniVer": "x",
1354
- * "unixVer": "x"
1355
- * },
1356
- * "toutiao": {
1357
- * "hostVer": "√",
1358
- * "uniVer": "x",
1359
- * "unixVer": "x"
1360
- * },
1361
- * "lark": {
1362
- * "hostVer": "√",
1363
- * "uniVer": "x",
1364
- * "unixVer": "x"
1365
- * },
1366
- * "qq": {
1367
- * "hostVer": "√",
1368
- * "uniVer": "x",
1369
- * "unixVer": "x"
1370
- * },
1371
- * "kuaishou": {
1372
- * "hostVer": "√",
1373
- * "uniVer": "x",
1374
- * "unixVer": "x"
1375
- * },
1376
- * "jd": {
1377
- * "hostVer": "√",
1378
- * "uniVer": "x",
1379
- * "unixVer": "x"
1380
- * }
1381
- * },
1382
- * "web": {
1383
- * "uniVer": "x",
1384
- * "unixVer": "x"
1385
- * }
1386
- * }
1387
- */
1388
- osHarmonySDKAPIVersion?: number | null,
1389
- /**
1390
- * 产品版本,关于本机信息内的软件版本
1391
- *
1392
- * @uniPlatform
1393
- * {
1394
- * "app": {
1395
- * "android": {
1396
- * "osVer": "5.0",
1397
- * "uniVer": "√",
1398
- * "unixVer": "√"
1399
- * },
1400
- * "ios": {
1401
- * "osVer": "x",
1402
- * "uniVer": "x",
1403
- * "unixVer": "x"
1404
- * },
1405
- * "harmony": {
1406
- * "osVer": "√",
1407
- * "uniVer": "4.61",
1408
- * "unixVer": "4.61",
1409
- * "unixvVer": "5.0"
1410
- * }
1411
- * },
1412
- * "mp": {
1413
- * "weixin": {
1414
- * "hostVer": "√",
1415
- * "uniVer": "x",
1416
- * "unixVer": "x"
1417
- * },
1418
- * "alipay": {
1419
- * "hostVer": "√",
1420
- * "uniVer": "x",
1421
- * "unixVer": "x"
1422
- * },
1423
- * "baidu": {
1424
- * "hostVer": "√",
1425
- * "uniVer": "x",
1426
- * "unixVer": "x"
1427
- * },
1428
- * "toutiao": {
1429
- * "hostVer": "√",
1430
- * "uniVer": "x",
1431
- * "unixVer": "x"
1432
- * },
1433
- * "lark": {
1434
- * "hostVer": "√",
1435
- * "uniVer": "x",
1436
- * "unixVer": "x"
1437
- * },
1438
- * "qq": {
1439
- * "hostVer": "√",
1440
- * "uniVer": "x",
1441
- * "unixVer": "x"
1442
- * },
1443
- * "kuaishou": {
1444
- * "hostVer": "√",
1445
- * "uniVer": "x",
1446
- * "unixVer": "x"
1447
- * },
1448
- * "jd": {
1449
- * "hostVer": "√",
1450
- * "uniVer": "x",
1451
- * "unixVer": "x"
1452
- * }
1453
- * },
1454
- * "web": {
1455
- * "uniVer": "x",
1456
- * "unixVer": "x"
1457
- * }
1458
- * }
1459
- */
1460
- osHarmonyDisplayVersion?: string | null,
1461
- /**
1462
- * rom 名称。Android 部分机型获取不到值。iOS 恒为 `ios`
1463
- *
1464
- * @uniPlatform
1465
- * {
1466
- * "app": {
1467
- * "android": {
1468
- * "osVer": "5.0",
1469
- * "uniVer": "x",
1470
- * "unixVer": "4.18"
1471
- * },
1472
- * "ios": {
1473
- * "osVer": "12.0",
1474
- * "uniVer": "x",
1475
- * "unixVer": "4.18"
1476
- * },
1477
- * "harmony": {
1478
- * "osVer": "3.0",
1479
- * "uniVer": "4.23",
1480
- * "unixVer": "4.61",
1481
- * "unixvVer": "5.0"
1482
- * }
1483
- * },
1484
- * "mp": {
1485
- * "weixin": {
1486
- * "hostVer": "√",
1487
- * "uniVer": "x",
1488
- * "unixVer": "x"
1489
- * },
1490
- * "alipay": {
1491
- * "hostVer": "√",
1492
- * "uniVer": "x",
1493
- * "unixVer": "x"
1494
- * },
1495
- * "baidu": {
1496
- * "hostVer": "√",
1497
- * "uniVer": "x",
1498
- * "unixVer": "x"
1499
- * },
1500
- * "toutiao": {
1501
- * "hostVer": "√",
1502
- * "uniVer": "x",
1503
- * "unixVer": "x"
1504
- * },
1505
- * "lark": {
1506
- * "hostVer": "√",
1507
- * "uniVer": "x",
1508
- * "unixVer": "x"
1509
- * },
1510
- * "qq": {
1511
- * "hostVer": "√",
1512
- * "uniVer": "x",
1513
- * "unixVer": "x"
1514
- * },
1515
- * "kuaishou": {
1516
- * "hostVer": "√",
1517
- * "uniVer": "x",
1518
- * "unixVer": "x"
1519
- * },
1520
- * "jd": {
1521
- * "hostVer": "√",
1522
- * "uniVer": "x",
1523
- * "unixVer": "x"
1524
- * }
1525
- * },
1526
- * "web": {
1527
- * "uniVer": "x",
1528
- * "unixVer": "x"
1529
- * }
1530
- * }
1531
- */
1532
- romName?: string | null,
1533
- /**
1534
- * rom 版本号。Android 部分机型获取不到值。iOS 为操作系统版本号(同 `osVersion`)。
1535
- *
1536
- * @uniPlatform
1537
- * {
1538
- * "app": {
1539
- * "android": {
1540
- * "osVer": "5.0",
1541
- * "uniVer": "x",
1542
- * "unixVer": "4.18"
1543
- * },
1544
- * "ios": {
1545
- * "osVer": "12.0",
1546
- * "uniVer": "x",
1547
- * "unixVer": "4.18"
1548
- * },
1549
- * "harmony": {
1550
- * "osVer": "3.0",
1551
- * "uniVer": "4.23",
1552
- * "unixVer": "4.61",
1553
- * "unixvVer": "5.0"
1554
- * }
1555
- * },
1556
- * "mp": {
1557
- * "weixin": {
1558
- * "hostVer": "√",
1559
- * "uniVer": "x",
1560
- * "unixVer": "x"
1561
- * },
1562
- * "alipay": {
1563
- * "hostVer": "√",
1564
- * "uniVer": "x",
1565
- * "unixVer": "x"
1566
- * },
1567
- * "baidu": {
1568
- * "hostVer": "√",
1569
- * "uniVer": "x",
1570
- * "unixVer": "x"
1571
- * },
1572
- * "toutiao": {
1573
- * "hostVer": "√",
1574
- * "uniVer": "x",
1575
- * "unixVer": "x"
1576
- * },
1577
- * "lark": {
1578
- * "hostVer": "√",
1579
- * "uniVer": "x",
1580
- * "unixVer": "x"
1581
- * },
1582
- * "qq": {
1583
- * "hostVer": "√",
1584
- * "uniVer": "x",
1585
- * "unixVer": "x"
1586
- * },
1587
- * "kuaishou": {
1588
- * "hostVer": "√",
1589
- * "uniVer": "x",
1590
- * "unixVer": "x"
1591
- * },
1592
- * "jd": {
1593
- * "hostVer": "√",
1594
- * "uniVer": "x",
1595
- * "unixVer": "x"
1596
- * }
1597
- * },
1598
- * "web": {
1599
- * "uniVer": "x",
1600
- * "unixVer": "x"
1601
- * }
1602
- * }
1603
- */
1
+ export type GetDeviceInfoOptions = {
2
+ /**
3
+ * @description 过滤字段的字符串数组,假如要获取指定字段,传入此数组。
4
+ * @uniPlatform
5
+ * {
6
+ * "app": {
7
+ * "android": {
8
+ * "osVer": "5.0",
9
+ * "uniVer": "√",
10
+ * "unixVer": "3.9+"
11
+ * },
12
+ * "harmony": {
13
+ * "osVer": "x",
14
+ * "uniVer": "x",
15
+ * "unixVer": "x"
16
+ * }
17
+ * }
18
+ * }
19
+ */
20
+ filter: Array<string>
21
+ }
22
+
23
+ export type GetDeviceInfoResult = {
24
+ /**
25
+ * 设备品牌
26
+ * @deprecated 已废弃,仅为了向下兼容保留
27
+ *
28
+ * @uniPlatform
29
+ * {
30
+ * "app": {
31
+ * "android": {
32
+ * "osVer": "5.0",
33
+ * "uniVer": "√",
34
+ * "unixVer": "3.9+"
35
+ * },
36
+ * "ios": {
37
+ * "osVer": "12.0",
38
+ * "uniVer": "√",
39
+ * "unixVer": "4.11"
40
+ * },
41
+ * "harmony": {
42
+ * "osVer": "x",
43
+ * "uniVer": "x",
44
+ * "unixVer": "x"
45
+ * }
46
+ * },
47
+ * "mp": {
48
+ * "weixin": {
49
+ * "hostVer": "√",
50
+ * "uniVer": "√",
51
+ * "unixVer": "4.41"
52
+ * },
53
+ * "alipay": {
54
+ * "hostVer": "√",
55
+ * "uniVer": "√",
56
+ * "unixVer": "x"
57
+ * },
58
+ * "baidu": {
59
+ * "hostVer": "√",
60
+ * "uniVer": "√",
61
+ * "unixVer": "x"
62
+ * },
63
+ * "toutiao": {
64
+ * "hostVer": "√",
65
+ * "uniVer": "√",
66
+ * "unixVer": "x"
67
+ * },
68
+ * "lark": {
69
+ * "hostVer": "√",
70
+ * "uniVer": "√",
71
+ * "unixVer": "x"
72
+ * },
73
+ * "qq": {
74
+ * "hostVer": "√",
75
+ * "uniVer": "√",
76
+ * "unixVer": "x"
77
+ * },
78
+ * "kuaishou": {
79
+ * "hostVer": "√",
80
+ * "uniVer": "√",
81
+ * "unixVer": "x"
82
+ * },
83
+ * "jd": {
84
+ * "hostVer": "√",
85
+ * "uniVer": "√",
86
+ * "unixVer": "x"
87
+ * }
88
+ * },
89
+ * "web": {
90
+ * "uniVer": "x",
91
+ * "unixVer": "x"
92
+ * }
93
+ * }
94
+ */
95
+ brand?: string
96
+ /**
97
+ * 设备品牌
98
+ *
99
+ * @uniPlatform
100
+ * {
101
+ * "app": {
102
+ * "android": {
103
+ * "osVer": "5.0",
104
+ * "uniVer": "√",
105
+ * "unixVer": "3.9+"
106
+ * },
107
+ * "ios": {
108
+ * "osVer": "12.0",
109
+ * "uniVer": "√",
110
+ * "unixVer": "4.11"
111
+ * },
112
+ * "harmony": {
113
+ * "osVer": "3.0",
114
+ * "uniVer": "4.23",
115
+ * "unixVer": "4.61",
116
+ * "unixVaporVer": "5.0"
117
+ * }
118
+ * },
119
+ * "mp": {
120
+ * "weixin": {
121
+ * "hostVer": "√",
122
+ * "uniVer": "√",
123
+ * "unixVer": "4.41"
124
+ * },
125
+ * "alipay": {
126
+ * "hostVer": "√",
127
+ * "uniVer": "x",
128
+ * "unixVer": "x"
129
+ * },
130
+ * "baidu": {
131
+ * "hostVer": "√",
132
+ * "uniVer": "x",
133
+ * "unixVer": "x"
134
+ * },
135
+ * "toutiao": {
136
+ * "hostVer": "√",
137
+ * "uniVer": "x",
138
+ * "unixVer": "x"
139
+ * },
140
+ * "lark": {
141
+ * "hostVer": "√",
142
+ * "uniVer": "x",
143
+ * "unixVer": "x"
144
+ * },
145
+ * "qq": {
146
+ * "hostVer": "√",
147
+ * "uniVer": "x",
148
+ * "unixVer": "x"
149
+ * },
150
+ * "kuaishou": {
151
+ * "hostVer": "√",
152
+ * "uniVer": "x",
153
+ * "unixVer": "x"
154
+ * },
155
+ * "jd": {
156
+ * "hostVer": "√",
157
+ * "uniVer": "x",
158
+ * "unixVer": "x"
159
+ * }
160
+ * },
161
+ * "web": {
162
+ * "uniVer": "x",
163
+ * "unixVer": "x"
164
+ * }
165
+ * }
166
+ */
167
+ deviceBrand?: string,
168
+ /**
169
+ * 设备 id 。由 uni-app 框架生成并存储,清空 Storage 会导致改变
170
+ *
171
+ * @uniPlatform
172
+ * {
173
+ * "app": {
174
+ * "android": {
175
+ * "osVer": "5.0",
176
+ * "uniVer": "√",
177
+ * "unixVer": "3.9+"
178
+ * },
179
+ * "ios": {
180
+ * "osVer": "12.0",
181
+ * "uniVer": "√",
182
+ * "unixVer": "4.11"
183
+ * },
184
+ * "harmony": {
185
+ * "osVer": "3.0",
186
+ * "uniVer": "4.23",
187
+ * "unixVer": "4.61",
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
+ deviceId?: string,
240
+ /**
241
+ * 设备型号
242
+ * @deprecated 已废弃,仅为了向下兼容保留
243
+ *
244
+ * @uniPlatform
245
+ * {
246
+ * "app": {
247
+ * "android": {
248
+ * "osVer": "5.0",
249
+ * "uniVer": "√",
250
+ * "unixVer": "3.9+"
251
+ * },
252
+ * "ios": {
253
+ * "osVer": "12.0",
254
+ * "uniVer": "√",
255
+ * "unixVer": "4.11"
256
+ * },
257
+ * "harmony": {
258
+ * "osVer": "x",
259
+ * "uniVer": "x",
260
+ * "unixVer": "x"
261
+ * }
262
+ * },
263
+ * "mp": {
264
+ * "weixin": {
265
+ * "hostVer": "√",
266
+ * "uniVer": "√",
267
+ * "unixVer": "4.41"
268
+ * },
269
+ * "alipay": {
270
+ * "hostVer": "√",
271
+ * "uniVer": "√",
272
+ * "unixVer": "x"
273
+ * },
274
+ * "baidu": {
275
+ * "hostVer": "√",
276
+ * "uniVer": "√",
277
+ * "unixVer": "x"
278
+ * },
279
+ * "toutiao": {
280
+ * "hostVer": "√",
281
+ * "uniVer": "√",
282
+ * "unixVer": "x"
283
+ * },
284
+ * "lark": {
285
+ * "hostVer": "√",
286
+ * "uniVer": "√",
287
+ * "unixVer": "x"
288
+ * },
289
+ * "qq": {
290
+ * "hostVer": "√",
291
+ * "uniVer": "√",
292
+ * "unixVer": "x"
293
+ * },
294
+ * "kuaishou": {
295
+ * "hostVer": "√",
296
+ * "uniVer": "√",
297
+ * "unixVer": "x"
298
+ * },
299
+ * "jd": {
300
+ * "hostVer": "√",
301
+ * "uniVer": "√",
302
+ * "unixVer": "x"
303
+ * }
304
+ * },
305
+ * "web": {
306
+ * "uniVer": "√",
307
+ * "unixVer": "4.0"
308
+ * }
309
+ * }
310
+ */
311
+ model?: string,
312
+ /**
313
+ * 设备型号
314
+ *
315
+ * @uniPlatform
316
+ * {
317
+ * "app": {
318
+ * "android": {
319
+ * "osVer": "5.0",
320
+ * "uniVer": "√",
321
+ * "unixVer": "3.9+"
322
+ * },
323
+ * "ios": {
324
+ * "osVer": "12.0",
325
+ * "uniVer": "√",
326
+ * "unixVer": "4.11"
327
+ * },
328
+ * "harmony": {
329
+ * "osVer": "3.0",
330
+ * "uniVer": "4.23",
331
+ * "unixVer": "4.61",
332
+ * "unixVaporVer": "5.0"
333
+ * }
334
+ * },
335
+ * "mp": {
336
+ * "weixin": {
337
+ * "hostVer": "√",
338
+ * "uniVer": "√",
339
+ * "unixVer": "4.41"
340
+ * },
341
+ * "alipay": {
342
+ * "hostVer": "√",
343
+ * "uniVer": "x",
344
+ * "unixVer": "x"
345
+ * },
346
+ * "baidu": {
347
+ * "hostVer": "√",
348
+ * "uniVer": "x",
349
+ * "unixVer": "x"
350
+ * },
351
+ * "toutiao": {
352
+ * "hostVer": "√",
353
+ * "uniVer": "x",
354
+ * "unixVer": "x"
355
+ * },
356
+ * "lark": {
357
+ * "hostVer": "√",
358
+ * "uniVer": "x",
359
+ * "unixVer": "x"
360
+ * },
361
+ * "qq": {
362
+ * "hostVer": "√",
363
+ * "uniVer": "x",
364
+ * "unixVer": "x"
365
+ * },
366
+ * "kuaishou": {
367
+ * "hostVer": "√",
368
+ * "uniVer": "x",
369
+ * "unixVer": "x"
370
+ * },
371
+ * "jd": {
372
+ * "hostVer": "√",
373
+ * "uniVer": "x",
374
+ * "unixVer": "x"
375
+ * }
376
+ * },
377
+ * "web": {
378
+ * "uniVer": "√",
379
+ * "unixVer": "4.0"
380
+ * }
381
+ * }
382
+ */
383
+ deviceModel?: string,
384
+ /**
385
+ * 设备类型phone、pad、pc
386
+ *
387
+ * @uniPlatform
388
+ * {
389
+ * "app": {
390
+ * "android": {
391
+ * "osVer": "5.0",
392
+ * "uniVer": "√",
393
+ * "unixVer": "3.9+"
394
+ * },
395
+ * "ios": {
396
+ * "osVer": "12.0",
397
+ * "uniVer": "√",
398
+ * "unixVer": "4.11"
399
+ * },
400
+ * "harmony": {
401
+ * "osVer": "3.0",
402
+ * "uniVer": "4.23",
403
+ * "unixVer": "4.61",
404
+ * "unixVaporVer": "5.0"
405
+ * }
406
+ * },
407
+ * "mp": {
408
+ * "weixin": {
409
+ * "hostVer": "√",
410
+ * "uniVer": "√",
411
+ * "unixVer": "4.41"
412
+ * },
413
+ * "alipay": {
414
+ * "hostVer": "√",
415
+ * "uniVer": "x",
416
+ * "unixVer": "x"
417
+ * },
418
+ * "baidu": {
419
+ * "hostVer": "√",
420
+ * "uniVer": "x",
421
+ * "unixVer": "x"
422
+ * },
423
+ * "toutiao": {
424
+ * "hostVer": "√",
425
+ * "uniVer": "x",
426
+ * "unixVer": "x"
427
+ * },
428
+ * "lark": {
429
+ * "hostVer": "√",
430
+ * "uniVer": "x",
431
+ * "unixVer": "x"
432
+ * },
433
+ * "qq": {
434
+ * "hostVer": "√",
435
+ * "uniVer": "x",
436
+ * "unixVer": "x"
437
+ * },
438
+ * "kuaishou": {
439
+ * "hostVer": "√",
440
+ * "uniVer": "x",
441
+ * "unixVer": "x"
442
+ * },
443
+ * "jd": {
444
+ * "hostVer": "√",
445
+ * "uniVer": "x",
446
+ * "unixVer": "x"
447
+ * }
448
+ * },
449
+ * "web": {
450
+ * "uniVer": "√",
451
+ * "unixVer": "4.0"
452
+ * }
453
+ * }
454
+ */
455
+ deviceType?: 'phone' | 'pad' | 'tv' | 'watch' | 'pc' | 'undefined' | 'car' | 'vr' | 'appliance',
456
+ /**
457
+ * 设备方向 竖屏 portrait、横屏 landscape
458
+ *
459
+ * @uniPlatform
460
+ * {
461
+ * "app": {
462
+ * "android": {
463
+ * "osVer": "5.0",
464
+ * "uniVer": "√",
465
+ * "unixVer": "3.9+"
466
+ * },
467
+ * "ios": {
468
+ * "osVer": "12.0",
469
+ * "uniVer": "√",
470
+ * "unixVer": "4.11"
471
+ * },
472
+ * "harmony": {
473
+ * "osVer": "3.0",
474
+ * "uniVer": "4.23",
475
+ * "unixVer": "4.61",
476
+ * "unixVaporVer": "5.0"
477
+ * }
478
+ * },
479
+ * "mp": {
480
+ * "weixin": {
481
+ * "hostVer": "√",
482
+ * "uniVer": "x",
483
+ * "unixVer": "x"
484
+ * },
485
+ * "alipay": {
486
+ * "hostVer": "√",
487
+ * "uniVer": "x",
488
+ * "unixVer": "x"
489
+ * },
490
+ * "baidu": {
491
+ * "hostVer": "√",
492
+ * "uniVer": "x",
493
+ * "unixVer": "x"
494
+ * },
495
+ * "toutiao": {
496
+ * "hostVer": "√",
497
+ * "uniVer": "x",
498
+ * "unixVer": "x"
499
+ * },
500
+ * "lark": {
501
+ * "hostVer": "√",
502
+ * "uniVer": "x",
503
+ * "unixVer": "x"
504
+ * },
505
+ * "qq": {
506
+ * "hostVer": "√",
507
+ * "uniVer": "x",
508
+ * "unixVer": "x"
509
+ * },
510
+ * "kuaishou": {
511
+ * "hostVer": "√",
512
+ * "uniVer": "x",
513
+ * "unixVer": "x"
514
+ * },
515
+ * "jd": {
516
+ * "hostVer": "√",
517
+ * "uniVer": "x",
518
+ * "unixVer": "x"
519
+ * }
520
+ * },
521
+ * "web": {
522
+ * "uniVer": "√",
523
+ * "unixVer": "4.0"
524
+ * }
525
+ * }
526
+ */
527
+ deviceOrientation?: string,
528
+ /**
529
+ * 设备像素比
530
+ *
531
+ * @uniPlatform
532
+ * {
533
+ * "app": {
534
+ * "android": {
535
+ * "osVer": "5.0",
536
+ * "uniVer": "√",
537
+ * "unixVer": "3.9+"
538
+ * },
539
+ * "ios": {
540
+ * "osVer": "12.0",
541
+ * "uniVer": "√",
542
+ * "unixVer": "4.11"
543
+ * },
544
+ * "harmony": {
545
+ * "osVer": "3.0",
546
+ * "uniVer": "4.23",
547
+ * "unixVer": "4.61",
548
+ * "unixVaporVer": "5.0"
549
+ * }
550
+ * },
551
+ * "mp": {
552
+ * "weixin": {
553
+ * "hostVer": "√",
554
+ * "uniVer": "x",
555
+ * "unixVer": "x"
556
+ * },
557
+ * "alipay": {
558
+ * "hostVer": "√",
559
+ * "uniVer": "x",
560
+ * "unixVer": "x"
561
+ * },
562
+ * "baidu": {
563
+ * "hostVer": "√",
564
+ * "uniVer": "x",
565
+ * "unixVer": "x"
566
+ * },
567
+ * "toutiao": {
568
+ * "hostVer": "√",
569
+ * "uniVer": "x",
570
+ * "unixVer": "x"
571
+ * },
572
+ * "lark": {
573
+ * "hostVer": "√",
574
+ * "uniVer": "x",
575
+ * "unixVer": "x"
576
+ * },
577
+ * "qq": {
578
+ * "hostVer": "√",
579
+ * "uniVer": "x",
580
+ * "unixVer": "x"
581
+ * },
582
+ * "kuaishou": {
583
+ * "hostVer": "√",
584
+ * "uniVer": "x",
585
+ * "unixVer": "x"
586
+ * },
587
+ * "jd": {
588
+ * "hostVer": "√",
589
+ * "uniVer": "x",
590
+ * "unixVer": "x"
591
+ * }
592
+ * },
593
+ * "web": {
594
+ * "uniVer": "√",
595
+ * "unixVer": "4.0"
596
+ * }
597
+ * }
598
+ */
599
+ devicePixelRatio?: number,
600
+ /**
601
+ * 操作系统及版本
602
+ *
603
+ * @uniPlatform
604
+ * {
605
+ * "app": {
606
+ * "android": {
607
+ * "osVer": "5.0",
608
+ * "uniVer": "√",
609
+ * "unixVer": "3.9+"
610
+ * },
611
+ * "ios": {
612
+ * "osVer": "12.0",
613
+ * "uniVer": "√",
614
+ * "unixVer": "4.11"
615
+ * },
616
+ * "harmony": {
617
+ * "osVer": "3.0",
618
+ * "uniVer": "4.23",
619
+ * "unixVer": "4.61",
620
+ * "unixVaporVer": "5.0"
621
+ * }
622
+ * },
623
+ * "mp": {
624
+ * "weixin": {
625
+ * "hostVer": "√",
626
+ * "uniVer": "√",
627
+ * "unixVer": "4.41"
628
+ * },
629
+ * "alipay": {
630
+ * "hostVer": "√",
631
+ * "uniVer": "√",
632
+ * "unixVer": "x"
633
+ * },
634
+ * "baidu": {
635
+ * "hostVer": "√",
636
+ * "uniVer": "√",
637
+ * "unixVer": "x"
638
+ * },
639
+ * "toutiao": {
640
+ * "hostVer": "√",
641
+ * "uniVer": "√",
642
+ * "unixVer": "x"
643
+ * },
644
+ * "lark": {
645
+ * "hostVer": "√",
646
+ * "uniVer": "√",
647
+ * "unixVer": "x"
648
+ * },
649
+ * "qq": {
650
+ * "hostVer": "√",
651
+ * "uniVer": "√",
652
+ * "unixVer": "x"
653
+ * },
654
+ * "kuaishou": {
655
+ * "hostVer": "√",
656
+ * "uniVer": "√",
657
+ * "unixVer": "x"
658
+ * },
659
+ * "jd": {
660
+ * "hostVer": "√",
661
+ * "uniVer": "√",
662
+ * "unixVer": "x"
663
+ * }
664
+ * },
665
+ * "web": {
666
+ * "uniVer": "√",
667
+ * "unixVer": "4.0"
668
+ * }
669
+ * }
670
+ */
671
+ system?: string,
672
+ /**
673
+ * 客户端平台
674
+ *
675
+ * @uniPlatform
676
+ * {
677
+ * "app": {
678
+ * "android": {
679
+ * "osVer": "5.0",
680
+ * "uniVer": "√",
681
+ * "unixVer": "3.9+"
682
+ * },
683
+ * "ios": {
684
+ * "osVer": "12.0",
685
+ * "uniVer": "√",
686
+ * "unixVer": "4.11"
687
+ * },
688
+ * "harmony": {
689
+ * "osVer": "3.0",
690
+ * "uniVer": "4.23",
691
+ * "unixVer": "4.61",
692
+ * "unixVaporVer": "5.0"
693
+ * }
694
+ * },
695
+ * "mp": {
696
+ * "weixin": {
697
+ * "hostVer": "√",
698
+ * "uniVer": "√",
699
+ * "unixVer": "4.41"
700
+ * },
701
+ * "alipay": {
702
+ * "hostVer": "√",
703
+ * "uniVer": "√",
704
+ * "unixVer": "x"
705
+ * },
706
+ * "baidu": {
707
+ * "hostVer": "√",
708
+ * "uniVer": "√",
709
+ * "unixVer": "x"
710
+ * },
711
+ * "toutiao": {
712
+ * "hostVer": "√",
713
+ * "uniVer": "√",
714
+ * "unixVer": "x"
715
+ * },
716
+ * "lark": {
717
+ * "hostVer": "√",
718
+ * "uniVer": "√",
719
+ * "unixVer": "x"
720
+ * },
721
+ * "qq": {
722
+ * "hostVer": "√",
723
+ * "uniVer": "√",
724
+ * "unixVer": "x"
725
+ * },
726
+ * "kuaishou": {
727
+ * "hostVer": "√",
728
+ * "uniVer": "√",
729
+ * "unixVer": "x"
730
+ * },
731
+ * "jd": {
732
+ * "hostVer": "√",
733
+ * "uniVer": "√",
734
+ * "unixVer": "x"
735
+ * }
736
+ * },
737
+ * "web": {
738
+ * "uniVer": "√",
739
+ * "unixVer": "4.0"
740
+ * }
741
+ * }
742
+ */
743
+ platform?: 'ios' | 'android' | 'harmonyos' | 'mac' | 'windows' | 'linux',
744
+ /**
745
+ * 是否root。iOS 为是否越狱
746
+ *
747
+ * @uniPlatform
748
+ * {
749
+ * "app": {
750
+ * "android": {
751
+ * "osVer": "5.0",
752
+ * "uniVer": "x",
753
+ * "unixVer": "3.9+"
754
+ * },
755
+ * "ios": {
756
+ * "osVer": "12.0",
757
+ * "uniVer": "x",
758
+ * "unixVer": "4.11"
759
+ * },
760
+ * "harmony": {
761
+ * "osVer": "x",
762
+ * "uniVer": "x",
763
+ * "unixVer": "x"
764
+ * }
765
+ * },
766
+ * "mp": {
767
+ * "weixin": {
768
+ * "hostVer": "√",
769
+ * "uniVer": "x",
770
+ * "unixVer": "x"
771
+ * },
772
+ * "alipay": {
773
+ * "hostVer": "√",
774
+ * "uniVer": "x",
775
+ * "unixVer": "x"
776
+ * },
777
+ * "baidu": {
778
+ * "hostVer": "√",
779
+ * "uniVer": "x",
780
+ * "unixVer": "x"
781
+ * },
782
+ * "toutiao": {
783
+ * "hostVer": "√",
784
+ * "uniVer": "x",
785
+ * "unixVer": "x"
786
+ * },
787
+ * "lark": {
788
+ * "hostVer": "√",
789
+ * "uniVer": "x",
790
+ * "unixVer": "x"
791
+ * },
792
+ * "qq": {
793
+ * "hostVer": "√",
794
+ * "uniVer": "x",
795
+ * "unixVer": "x"
796
+ * },
797
+ * "kuaishou": {
798
+ * "hostVer": "√",
799
+ * "uniVer": "x",
800
+ * "unixVer": "x"
801
+ * },
802
+ * "jd": {
803
+ * "hostVer": "√",
804
+ * "uniVer": "x",
805
+ * "unixVer": "x"
806
+ * }
807
+ * },
808
+ * "web": {
809
+ * "uniVer": "x",
810
+ * "unixVer": "x"
811
+ * }
812
+ * }
813
+ */
814
+ isRoot?: boolean,
815
+ /**
816
+ * 是否是模拟器
817
+ *
818
+ * @deprecated 已废弃,由于合规问题在4.51版本后不会采集传感器信息,会影响准确度,建议使用`isSimulator()`代替。
819
+ * @uniPlatform
820
+ * {
821
+ * "app": {
822
+ * "android": {
823
+ * "osVer": "5.0",
824
+ * "uniVer": "x",
825
+ * "unixVer": "3.9+"
826
+ * },
827
+ * "ios": {
828
+ * "osVer": "12.0",
829
+ * "uniVer": "x",
830
+ * "unixVer": "4.11"
831
+ * },
832
+ * "harmony": {
833
+ * "osVer": "x",
834
+ * "uniVer": "x",
835
+ * "unixVer": "x"
836
+ * }
837
+ * },
838
+ * "mp": {
839
+ * "weixin": {
840
+ * "hostVer": "√",
841
+ * "uniVer": "x",
842
+ * "unixVer": "x"
843
+ * },
844
+ * "alipay": {
845
+ * "hostVer": "√",
846
+ * "uniVer": "x",
847
+ * "unixVer": "x"
848
+ * },
849
+ * "baidu": {
850
+ * "hostVer": "√",
851
+ * "uniVer": "x",
852
+ * "unixVer": "x"
853
+ * },
854
+ * "toutiao": {
855
+ * "hostVer": "√",
856
+ * "uniVer": "x",
857
+ * "unixVer": "x"
858
+ * },
859
+ * "lark": {
860
+ * "hostVer": "√",
861
+ * "uniVer": "x",
862
+ * "unixVer": "x"
863
+ * },
864
+ * "qq": {
865
+ * "hostVer": "√",
866
+ * "uniVer": "x",
867
+ * "unixVer": "x"
868
+ * },
869
+ * "kuaishou": {
870
+ * "hostVer": "√",
871
+ * "uniVer": "x",
872
+ * "unixVer": "x"
873
+ * },
874
+ * "jd": {
875
+ * "hostVer": "√",
876
+ * "uniVer": "x",
877
+ * "unixVer": "x"
878
+ * }
879
+ * },
880
+ * "web": {
881
+ * "uniVer": "x",
882
+ * "unixVer": "x"
883
+ * }
884
+ * }
885
+ */
886
+ isSimulator?: boolean,
887
+ /**
888
+ * adb是否开启
889
+ *
890
+ * @uniPlatform
891
+ * {
892
+ * "app": {
893
+ * "android": {
894
+ * "osVer": "5.0",
895
+ * "uniVer": "x",
896
+ * "unixVer": "√"
897
+ * },
898
+ * "ios": {
899
+ * "osVer": "x",
900
+ * "uniVer": "x",
901
+ * "unixVer": "x"
902
+ * },
903
+ * "harmony": {
904
+ * "osVer": "x",
905
+ * "uniVer": "x",
906
+ * "unixVer": "x"
907
+ * }
908
+ * },
909
+ * "mp": {
910
+ * "weixin": {
911
+ * "hostVer": "√",
912
+ * "uniVer": "x",
913
+ * "unixVer": "x"
914
+ * },
915
+ * "alipay": {
916
+ * "hostVer": "√",
917
+ * "uniVer": "x",
918
+ * "unixVer": "x"
919
+ * },
920
+ * "baidu": {
921
+ * "hostVer": "√",
922
+ * "uniVer": "x",
923
+ * "unixVer": "x"
924
+ * },
925
+ * "toutiao": {
926
+ * "hostVer": "√",
927
+ * "uniVer": "x",
928
+ * "unixVer": "x"
929
+ * },
930
+ * "lark": {
931
+ * "hostVer": "√",
932
+ * "uniVer": "x",
933
+ * "unixVer": "x"
934
+ * },
935
+ * "qq": {
936
+ * "hostVer": "√",
937
+ * "uniVer": "x",
938
+ * "unixVer": "x"
939
+ * },
940
+ * "kuaishou": {
941
+ * "hostVer": "√",
942
+ * "uniVer": "x",
943
+ * "unixVer": "x"
944
+ * },
945
+ * "jd": {
946
+ * "hostVer": "√",
947
+ * "uniVer": "x",
948
+ * "unixVer": "x"
949
+ * }
950
+ * },
951
+ * "web": {
952
+ * "uniVer": "x",
953
+ * "unixVer": "x"
954
+ * }
955
+ * }
956
+ */
957
+ isUSBDebugging?: boolean,
958
+ /**
959
+ * 系统名称
960
+ *
961
+ * @uniPlatform
962
+ * {
963
+ * "app": {
964
+ * "android": {
965
+ * "osVer": "5.0",
966
+ * "uniVer": "x",
967
+ * "unixVer": "4.18"
968
+ * },
969
+ * "ios": {
970
+ * "osVer": "12.0",
971
+ * "uniVer": "x",
972
+ * "unixVer": "4.18"
973
+ * },
974
+ * "harmony": {
975
+ * "osVer": "3.0",
976
+ * "uniVer": "4.23",
977
+ * "unixVer": "4.61",
978
+ * "unixVaporVer": "5.0"
979
+ * }
980
+ * },
981
+ * "mp": {
982
+ * "weixin": {
983
+ * "hostVer": "√",
984
+ * "uniVer": "√",
985
+ * "unixVer": "4.41"
986
+ * },
987
+ * "alipay": {
988
+ * "hostVer": "√",
989
+ * "uniVer": "x",
990
+ * "unixVer": "x"
991
+ * },
992
+ * "baidu": {
993
+ * "hostVer": "√",
994
+ * "uniVer": "x",
995
+ * "unixVer": "x"
996
+ * },
997
+ * "toutiao": {
998
+ * "hostVer": "√",
999
+ * "uniVer": "x",
1000
+ * "unixVer": "x"
1001
+ * },
1002
+ * "lark": {
1003
+ * "hostVer": "√",
1004
+ * "uniVer": "x",
1005
+ * "unixVer": "x"
1006
+ * },
1007
+ * "qq": {
1008
+ * "hostVer": "√",
1009
+ * "uniVer": "x",
1010
+ * "unixVer": "x"
1011
+ * },
1012
+ * "kuaishou": {
1013
+ * "hostVer": "√",
1014
+ * "uniVer": "x",
1015
+ * "unixVer": "x"
1016
+ * },
1017
+ * "jd": {
1018
+ * "hostVer": "√",
1019
+ * "uniVer": "x",
1020
+ * "unixVer": "x"
1021
+ * }
1022
+ * },
1023
+ * "web": {
1024
+ * "uniVer": "x",
1025
+ * "unixVer": "4.18"
1026
+ * }
1027
+ * }
1028
+ */
1029
+ osName?: 'ios' | 'android' | 'harmonyos' | 'macos' | 'windows' | 'linux' | null,
1030
+ /**
1031
+ * 操作系统版本。如 ios 版本,andriod 版本
1032
+ *
1033
+ * @uniPlatform
1034
+ * {
1035
+ * "app": {
1036
+ * "android": {
1037
+ * "osVer": "5.0",
1038
+ * "uniVer": "x",
1039
+ * "unixVer": "4.18"
1040
+ * },
1041
+ * "ios": {
1042
+ * "osVer": "12.0",
1043
+ * "uniVer": "x",
1044
+ * "unixVer": "4.18"
1045
+ * },
1046
+ * "harmony": {
1047
+ * "osVer": "3.0",
1048
+ * "uniVer": "4.23",
1049
+ * "unixVer": "4.61",
1050
+ * "unixVaporVer": "5.0"
1051
+ * }
1052
+ * },
1053
+ * "mp": {
1054
+ * "weixin": {
1055
+ * "hostVer": "√",
1056
+ * "uniVer": "√",
1057
+ * "unixVer": "4.41"
1058
+ * },
1059
+ * "alipay": {
1060
+ * "hostVer": "√",
1061
+ * "uniVer": "x",
1062
+ * "unixVer": "x"
1063
+ * },
1064
+ * "baidu": {
1065
+ * "hostVer": "√",
1066
+ * "uniVer": "x",
1067
+ * "unixVer": "x"
1068
+ * },
1069
+ * "toutiao": {
1070
+ * "hostVer": "√",
1071
+ * "uniVer": "x",
1072
+ * "unixVer": "x"
1073
+ * },
1074
+ * "lark": {
1075
+ * "hostVer": "√",
1076
+ * "uniVer": "x",
1077
+ * "unixVer": "x"
1078
+ * },
1079
+ * "qq": {
1080
+ * "hostVer": "√",
1081
+ * "uniVer": "x",
1082
+ * "unixVer": "x"
1083
+ * },
1084
+ * "kuaishou": {
1085
+ * "hostVer": "√",
1086
+ * "uniVer": "x",
1087
+ * "unixVer": "x"
1088
+ * },
1089
+ * "jd": {
1090
+ * "hostVer": "√",
1091
+ * "uniVer": "x",
1092
+ * "unixVer": "x"
1093
+ * }
1094
+ * },
1095
+ * "web": {
1096
+ * "uniVer": "x",
1097
+ * "unixVer": "4.18"
1098
+ * }
1099
+ * }
1100
+ */
1101
+ osVersion?: string | null,
1102
+ /**
1103
+ * 操作系统语言
1104
+ *
1105
+ * @uniPlatform
1106
+ * {
1107
+ * "app": {
1108
+ * "android": {
1109
+ * "osVer": "5.0",
1110
+ * "uniVer": "x",
1111
+ * "unixVer": "4.18"
1112
+ * },
1113
+ * "ios": {
1114
+ * "osVer": "12.0",
1115
+ * "uniVer": "x",
1116
+ * "unixVer": "4.18"
1117
+ * },
1118
+ * "harmony": {
1119
+ * "osVer": "3.0",
1120
+ * "uniVer": "4.23",
1121
+ * "unixVer": "4.61",
1122
+ * "unixVaporVer": "5.0"
1123
+ * }
1124
+ * },
1125
+ * "mp": {
1126
+ * "weixin": {
1127
+ * "hostVer": "√",
1128
+ * "uniVer": "x",
1129
+ * "unixVer": "x"
1130
+ * },
1131
+ * "alipay": {
1132
+ * "hostVer": "√",
1133
+ * "uniVer": "x",
1134
+ * "unixVer": "x"
1135
+ * },
1136
+ * "baidu": {
1137
+ * "hostVer": "√",
1138
+ * "uniVer": "x",
1139
+ * "unixVer": "x"
1140
+ * },
1141
+ * "toutiao": {
1142
+ * "hostVer": "√",
1143
+ * "uniVer": "x",
1144
+ * "unixVer": "x"
1145
+ * },
1146
+ * "lark": {
1147
+ * "hostVer": "√",
1148
+ * "uniVer": "x",
1149
+ * "unixVer": "x"
1150
+ * },
1151
+ * "qq": {
1152
+ * "hostVer": "√",
1153
+ * "uniVer": "x",
1154
+ * "unixVer": "x"
1155
+ * },
1156
+ * "kuaishou": {
1157
+ * "hostVer": "√",
1158
+ * "uniVer": "x",
1159
+ * "unixVer": "x"
1160
+ * },
1161
+ * "jd": {
1162
+ * "hostVer": "√",
1163
+ * "uniVer": "x",
1164
+ * "unixVer": "x"
1165
+ * }
1166
+ * },
1167
+ * "web": {
1168
+ * "uniVer": "x",
1169
+ * "unixVer": "x"
1170
+ * }
1171
+ * }
1172
+ */
1173
+ osLanguage?: string | null,
1174
+ /**
1175
+ * 操作系统主题
1176
+ *
1177
+ * @uniPlatform
1178
+ * {
1179
+ * "app": {
1180
+ * "android": {
1181
+ * "osVer": "5.0",
1182
+ * "uniVer": "x",
1183
+ * "unixVer": "4.18"
1184
+ * },
1185
+ * "ios": {
1186
+ * "osVer": "12.0",
1187
+ * "uniVer": "x",
1188
+ * "unixVer": "4.18"
1189
+ * },
1190
+ * "harmony": {
1191
+ * "osVer": "3.0",
1192
+ * "uniVer": "4.23",
1193
+ * "unixVer": "4.61",
1194
+ * "unixVaporVer": "5.0"
1195
+ * }
1196
+ * },
1197
+ * "mp": {
1198
+ * "weixin": {
1199
+ * "hostVer": "√",
1200
+ * "uniVer": "x",
1201
+ * "unixVer": "x"
1202
+ * },
1203
+ * "alipay": {
1204
+ * "hostVer": "√",
1205
+ * "uniVer": "x",
1206
+ * "unixVer": "x"
1207
+ * },
1208
+ * "baidu": {
1209
+ * "hostVer": "√",
1210
+ * "uniVer": "x",
1211
+ * "unixVer": "x"
1212
+ * },
1213
+ * "toutiao": {
1214
+ * "hostVer": "√",
1215
+ * "uniVer": "x",
1216
+ * "unixVer": "x"
1217
+ * },
1218
+ * "lark": {
1219
+ * "hostVer": "√",
1220
+ * "uniVer": "x",
1221
+ * "unixVer": "x"
1222
+ * },
1223
+ * "qq": {
1224
+ * "hostVer": "√",
1225
+ * "uniVer": "x",
1226
+ * "unixVer": "x"
1227
+ * },
1228
+ * "kuaishou": {
1229
+ * "hostVer": "√",
1230
+ * "uniVer": "x",
1231
+ * "unixVer": "x"
1232
+ * },
1233
+ * "jd": {
1234
+ * "hostVer": "√",
1235
+ * "uniVer": "x",
1236
+ * "unixVer": "x"
1237
+ * }
1238
+ * },
1239
+ * "web": {
1240
+ * "uniVer": "x",
1241
+ * "unixVer": "x"
1242
+ * }
1243
+ * }
1244
+ */
1245
+ osTheme?: 'light' | 'dark' | null,
1246
+ /**
1247
+ * Android 系统API库的版本。
1248
+ *
1249
+ * @uniPlatform
1250
+ * {
1251
+ * "app": {
1252
+ * "android": {
1253
+ * "osVer": "5.0",
1254
+ * "uniVer": "x",
1255
+ * "unixVer": "4.18"
1256
+ * },
1257
+ * "ios": {
1258
+ * "osVer": "x",
1259
+ * "uniVer": "x",
1260
+ * "unixVer": "x"
1261
+ * },
1262
+ * "harmony": {
1263
+ * "osVer": "x",
1264
+ * "uniVer": "x",
1265
+ * "unixVer": "x"
1266
+ * }
1267
+ * },
1268
+ * "mp": {
1269
+ * "weixin": {
1270
+ * "hostVer": "√",
1271
+ * "uniVer": "x",
1272
+ * "unixVer": "x"
1273
+ * },
1274
+ * "alipay": {
1275
+ * "hostVer": "√",
1276
+ * "uniVer": "x",
1277
+ * "unixVer": "x"
1278
+ * },
1279
+ * "baidu": {
1280
+ * "hostVer": "√",
1281
+ * "uniVer": "x",
1282
+ * "unixVer": "x"
1283
+ * },
1284
+ * "toutiao": {
1285
+ * "hostVer": "√",
1286
+ * "uniVer": "x",
1287
+ * "unixVer": "x"
1288
+ * },
1289
+ * "lark": {
1290
+ * "hostVer": "√",
1291
+ * "uniVer": "x",
1292
+ * "unixVer": "x"
1293
+ * },
1294
+ * "qq": {
1295
+ * "hostVer": "√",
1296
+ * "uniVer": "x",
1297
+ * "unixVer": "x"
1298
+ * },
1299
+ * "kuaishou": {
1300
+ * "hostVer": "√",
1301
+ * "uniVer": "x",
1302
+ * "unixVer": "x"
1303
+ * },
1304
+ * "jd": {
1305
+ * "hostVer": "√",
1306
+ * "uniVer": "x",
1307
+ * "unixVer": "x"
1308
+ * }
1309
+ * },
1310
+ * "web": {
1311
+ * "uniVer": "x",
1312
+ * "unixVer": "x"
1313
+ * }
1314
+ * }
1315
+ */
1316
+ osAndroidAPILevel?: number | null,
1317
+ /**
1318
+ * 鸿蒙系统软件API版本
1319
+ *
1320
+ * @uniPlatform
1321
+ * {
1322
+ * "app": {
1323
+ * "android": {
1324
+ * "osVer": "5.0",
1325
+ * "uniVer": "√",
1326
+ * "unixVer": "√"
1327
+ * },
1328
+ * "ios": {
1329
+ * "osVer": "x",
1330
+ * "uniVer": "x",
1331
+ * "unixVer": "x"
1332
+ * },
1333
+ * "harmony": {
1334
+ * "osVer": "√",
1335
+ * "uniVer": "4.61",
1336
+ * "unixVer": "4.61",
1337
+ * "unixVaporVer": "5.0"
1338
+ * }
1339
+ * },
1340
+ * "mp": {
1341
+ * "weixin": {
1342
+ * "hostVer": "√",
1343
+ * "uniVer": "x",
1344
+ * "unixVer": "x"
1345
+ * },
1346
+ * "alipay": {
1347
+ * "hostVer": "√",
1348
+ * "uniVer": "x",
1349
+ * "unixVer": "x"
1350
+ * },
1351
+ * "baidu": {
1352
+ * "hostVer": "√",
1353
+ * "uniVer": "x",
1354
+ * "unixVer": "x"
1355
+ * },
1356
+ * "toutiao": {
1357
+ * "hostVer": "√",
1358
+ * "uniVer": "x",
1359
+ * "unixVer": "x"
1360
+ * },
1361
+ * "lark": {
1362
+ * "hostVer": "√",
1363
+ * "uniVer": "x",
1364
+ * "unixVer": "x"
1365
+ * },
1366
+ * "qq": {
1367
+ * "hostVer": "√",
1368
+ * "uniVer": "x",
1369
+ * "unixVer": "x"
1370
+ * },
1371
+ * "kuaishou": {
1372
+ * "hostVer": "√",
1373
+ * "uniVer": "x",
1374
+ * "unixVer": "x"
1375
+ * },
1376
+ * "jd": {
1377
+ * "hostVer": "√",
1378
+ * "uniVer": "x",
1379
+ * "unixVer": "x"
1380
+ * }
1381
+ * },
1382
+ * "web": {
1383
+ * "uniVer": "x",
1384
+ * "unixVer": "x"
1385
+ * }
1386
+ * }
1387
+ */
1388
+ osHarmonySDKAPIVersion?: number | null,
1389
+ /**
1390
+ * 产品版本,关于本机信息内的软件版本
1391
+ *
1392
+ * @uniPlatform
1393
+ * {
1394
+ * "app": {
1395
+ * "android": {
1396
+ * "osVer": "5.0",
1397
+ * "uniVer": "√",
1398
+ * "unixVer": "√"
1399
+ * },
1400
+ * "ios": {
1401
+ * "osVer": "x",
1402
+ * "uniVer": "x",
1403
+ * "unixVer": "x"
1404
+ * },
1405
+ * "harmony": {
1406
+ * "osVer": "√",
1407
+ * "uniVer": "4.61",
1408
+ * "unixVer": "4.61",
1409
+ * "unixVaporVer": "5.0"
1410
+ * }
1411
+ * },
1412
+ * "mp": {
1413
+ * "weixin": {
1414
+ * "hostVer": "√",
1415
+ * "uniVer": "x",
1416
+ * "unixVer": "x"
1417
+ * },
1418
+ * "alipay": {
1419
+ * "hostVer": "√",
1420
+ * "uniVer": "x",
1421
+ * "unixVer": "x"
1422
+ * },
1423
+ * "baidu": {
1424
+ * "hostVer": "√",
1425
+ * "uniVer": "x",
1426
+ * "unixVer": "x"
1427
+ * },
1428
+ * "toutiao": {
1429
+ * "hostVer": "√",
1430
+ * "uniVer": "x",
1431
+ * "unixVer": "x"
1432
+ * },
1433
+ * "lark": {
1434
+ * "hostVer": "√",
1435
+ * "uniVer": "x",
1436
+ * "unixVer": "x"
1437
+ * },
1438
+ * "qq": {
1439
+ * "hostVer": "√",
1440
+ * "uniVer": "x",
1441
+ * "unixVer": "x"
1442
+ * },
1443
+ * "kuaishou": {
1444
+ * "hostVer": "√",
1445
+ * "uniVer": "x",
1446
+ * "unixVer": "x"
1447
+ * },
1448
+ * "jd": {
1449
+ * "hostVer": "√",
1450
+ * "uniVer": "x",
1451
+ * "unixVer": "x"
1452
+ * }
1453
+ * },
1454
+ * "web": {
1455
+ * "uniVer": "x",
1456
+ * "unixVer": "x"
1457
+ * }
1458
+ * }
1459
+ */
1460
+ osHarmonyDisplayVersion?: string | null,
1461
+ /**
1462
+ * rom 名称。Android 部分机型获取不到值。iOS 恒为 `ios`
1463
+ *
1464
+ * @uniPlatform
1465
+ * {
1466
+ * "app": {
1467
+ * "android": {
1468
+ * "osVer": "5.0",
1469
+ * "uniVer": "x",
1470
+ * "unixVer": "4.18"
1471
+ * },
1472
+ * "ios": {
1473
+ * "osVer": "12.0",
1474
+ * "uniVer": "x",
1475
+ * "unixVer": "4.18"
1476
+ * },
1477
+ * "harmony": {
1478
+ * "osVer": "3.0",
1479
+ * "uniVer": "4.23",
1480
+ * "unixVer": "4.61",
1481
+ * "unixVaporVer": "5.0"
1482
+ * }
1483
+ * },
1484
+ * "mp": {
1485
+ * "weixin": {
1486
+ * "hostVer": "√",
1487
+ * "uniVer": "x",
1488
+ * "unixVer": "x"
1489
+ * },
1490
+ * "alipay": {
1491
+ * "hostVer": "√",
1492
+ * "uniVer": "x",
1493
+ * "unixVer": "x"
1494
+ * },
1495
+ * "baidu": {
1496
+ * "hostVer": "√",
1497
+ * "uniVer": "x",
1498
+ * "unixVer": "x"
1499
+ * },
1500
+ * "toutiao": {
1501
+ * "hostVer": "√",
1502
+ * "uniVer": "x",
1503
+ * "unixVer": "x"
1504
+ * },
1505
+ * "lark": {
1506
+ * "hostVer": "√",
1507
+ * "uniVer": "x",
1508
+ * "unixVer": "x"
1509
+ * },
1510
+ * "qq": {
1511
+ * "hostVer": "√",
1512
+ * "uniVer": "x",
1513
+ * "unixVer": "x"
1514
+ * },
1515
+ * "kuaishou": {
1516
+ * "hostVer": "√",
1517
+ * "uniVer": "x",
1518
+ * "unixVer": "x"
1519
+ * },
1520
+ * "jd": {
1521
+ * "hostVer": "√",
1522
+ * "uniVer": "x",
1523
+ * "unixVer": "x"
1524
+ * }
1525
+ * },
1526
+ * "web": {
1527
+ * "uniVer": "x",
1528
+ * "unixVer": "x"
1529
+ * }
1530
+ * }
1531
+ */
1532
+ romName?: string | null,
1533
+ /**
1534
+ * rom 版本号。Android 部分机型获取不到值。iOS 为操作系统版本号(同 `osVersion`)。
1535
+ *
1536
+ * @uniPlatform
1537
+ * {
1538
+ * "app": {
1539
+ * "android": {
1540
+ * "osVer": "5.0",
1541
+ * "uniVer": "x",
1542
+ * "unixVer": "4.18"
1543
+ * },
1544
+ * "ios": {
1545
+ * "osVer": "12.0",
1546
+ * "uniVer": "x",
1547
+ * "unixVer": "4.18"
1548
+ * },
1549
+ * "harmony": {
1550
+ * "osVer": "3.0",
1551
+ * "uniVer": "4.23",
1552
+ * "unixVer": "4.61",
1553
+ * "unixVaporVer": "5.0"
1554
+ * }
1555
+ * },
1556
+ * "mp": {
1557
+ * "weixin": {
1558
+ * "hostVer": "√",
1559
+ * "uniVer": "x",
1560
+ * "unixVer": "x"
1561
+ * },
1562
+ * "alipay": {
1563
+ * "hostVer": "√",
1564
+ * "uniVer": "x",
1565
+ * "unixVer": "x"
1566
+ * },
1567
+ * "baidu": {
1568
+ * "hostVer": "√",
1569
+ * "uniVer": "x",
1570
+ * "unixVer": "x"
1571
+ * },
1572
+ * "toutiao": {
1573
+ * "hostVer": "√",
1574
+ * "uniVer": "x",
1575
+ * "unixVer": "x"
1576
+ * },
1577
+ * "lark": {
1578
+ * "hostVer": "√",
1579
+ * "uniVer": "x",
1580
+ * "unixVer": "x"
1581
+ * },
1582
+ * "qq": {
1583
+ * "hostVer": "√",
1584
+ * "uniVer": "x",
1585
+ * "unixVer": "x"
1586
+ * },
1587
+ * "kuaishou": {
1588
+ * "hostVer": "√",
1589
+ * "uniVer": "x",
1590
+ * "unixVer": "x"
1591
+ * },
1592
+ * "jd": {
1593
+ * "hostVer": "√",
1594
+ * "uniVer": "x",
1595
+ * "unixVer": "x"
1596
+ * }
1597
+ * },
1598
+ * "web": {
1599
+ * "uniVer": "x",
1600
+ * "unixVer": "x"
1601
+ * }
1602
+ * }
1603
+ */
1604
1604
  romVersion?: string | null,
1605
1605
  /**
1606
1606
  * 应用(微信APP)二进制接口类型(仅 Android 支持)
@@ -1853,25 +1853,25 @@ export type GetDeviceInfoResult = {
1853
1853
  * }
1854
1854
  */
1855
1855
  memorySize?: string | null;
1856
- }
1857
-
1858
-
1859
- /**
1860
- * @param [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
1861
- */
1862
- export type GetDeviceInfo = (options?: GetDeviceInfoOptions | null) => GetDeviceInfoResult;
1863
-
1864
-
1865
- export interface Uni {
1866
- /**
1867
- * GetDeviceInfo(Object object)
1868
- * @description
1869
- * 获取设备信息
1870
- * @param {GetDeviceInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
1871
- * @return {object}
1872
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-device-info.html
1873
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-device-info.html
1874
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getDeviceInfo.html
1856
+ }
1857
+
1858
+
1859
+ /**
1860
+ * @param [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
1861
+ */
1862
+ export type GetDeviceInfo = (options?: GetDeviceInfoOptions | null) => GetDeviceInfoResult;
1863
+
1864
+
1865
+ export interface Uni {
1866
+ /**
1867
+ * GetDeviceInfo(Object object)
1868
+ * @description
1869
+ * 获取设备信息
1870
+ * @param {GetDeviceInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
1871
+ * @return {object}
1872
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-device-info.html
1873
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-device-info.html
1874
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getDeviceInfo.html
1875
1875
  * @uniPlatform {
1876
1876
  * "app": {
1877
1877
  * "android": {
@@ -1888,7 +1888,7 @@ export interface Uni {
1888
1888
  * "osVer": "3.0",
1889
1889
  * "uniVer": "4.23",
1890
1890
  * "unixVer": "4.61",
1891
- * "unixvVer": "5.0"
1891
+ * "unixVaporVer": "5.0"
1892
1892
  * }
1893
1893
  * },
1894
1894
  * "mp": {
@@ -1937,89 +1937,89 @@ export interface Uni {
1937
1937
  * "uniVer": "√",
1938
1938
  * "unixVer": "4.0"
1939
1939
  * }
1940
- * }
1941
- * @example
1942
- ```typescript
1943
- uni.getDeviceInfo({
1944
- filter:[]
1945
- })
1940
+ * }
1941
+ * @example
1942
+ ```typescript
1943
+ uni.getDeviceInfo({
1944
+ filter:[]
1945
+ })
1946
1946
  ```
1947
1947
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getDeviceInfo.html
1948
- */
1949
- getDeviceInfo(options?: GetDeviceInfoOptions | null): GetDeviceInfoResult;
1950
-
1951
- /**
1952
- * 判断当前是否是模拟器,Android设备上会采集传感器信息。
1953
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/is-simulator.html
1954
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/is-simulator.html
1955
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/tutorial/app-sec-api.html#issimulator
1956
- * @uniPlatform
1957
- * {
1958
- * "app": {
1959
- * "android": {
1960
- * "osVer": "5.0",
1961
- * "uniVer": "x",
1962
- * "unixVer": "4.51"
1963
- * },
1964
- * "ios": {
1965
- * "osVer": "x",
1966
- * "uniVer": "x",
1967
- * "unixVer": "4.51"
1968
- * },
1969
- * "harmony": {
1970
- * "osVer": "x",
1971
- * "uniVer": "x",
1972
- * "unixVer": "x"
1973
- * }
1974
- * },
1975
- * "mp": {
1976
- * "weixin": {
1977
- * "hostVer": "√",
1978
- * "uniVer": "x",
1979
- * "unixVer": "x"
1980
- * },
1981
- * "alipay": {
1982
- * "hostVer": "√",
1983
- * "uniVer": "x",
1984
- * "unixVer": "x"
1985
- * },
1986
- * "baidu": {
1987
- * "hostVer": "√",
1988
- * "uniVer": "x",
1989
- * "unixVer": "x"
1990
- * },
1991
- * "toutiao": {
1992
- * "hostVer": "√",
1993
- * "uniVer": "x",
1994
- * "unixVer": "x"
1995
- * },
1996
- * "lark": {
1997
- * "hostVer": "√",
1998
- * "uniVer": "x",
1999
- * "unixVer": "x"
2000
- * },
2001
- * "qq": {
2002
- * "hostVer": "√",
2003
- * "uniVer": "x",
2004
- * "unixVer": "x"
2005
- * },
2006
- * "kuaishou": {
2007
- * "hostVer": "√",
2008
- * "uniVer": "x",
2009
- * "unixVer": "x"
2010
- * },
2011
- * "jd": {
2012
- * "hostVer": "√",
2013
- * "uniVer": "x",
2014
- * "unixVer": "x"
2015
- * }
2016
- * },
2017
- * "web": {
2018
- * "uniVer": "x",
2019
- * "unixVer": "x"
2020
- * }
2021
- * }
2022
- */
2023
- isSimulator(): boolean;
2024
-
2025
- }
1948
+ */
1949
+ getDeviceInfo(options?: GetDeviceInfoOptions | null): GetDeviceInfoResult;
1950
+
1951
+ /**
1952
+ * 判断当前是否是模拟器,Android设备上会采集传感器信息。
1953
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/is-simulator.html
1954
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/is-simulator.html
1955
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/tutorial/app-sec-api.html#issimulator
1956
+ * @uniPlatform
1957
+ * {
1958
+ * "app": {
1959
+ * "android": {
1960
+ * "osVer": "5.0",
1961
+ * "uniVer": "x",
1962
+ * "unixVer": "4.51"
1963
+ * },
1964
+ * "ios": {
1965
+ * "osVer": "x",
1966
+ * "uniVer": "x",
1967
+ * "unixVer": "4.51"
1968
+ * },
1969
+ * "harmony": {
1970
+ * "osVer": "x",
1971
+ * "uniVer": "x",
1972
+ * "unixVer": "x"
1973
+ * }
1974
+ * },
1975
+ * "mp": {
1976
+ * "weixin": {
1977
+ * "hostVer": "√",
1978
+ * "uniVer": "x",
1979
+ * "unixVer": "x"
1980
+ * },
1981
+ * "alipay": {
1982
+ * "hostVer": "√",
1983
+ * "uniVer": "x",
1984
+ * "unixVer": "x"
1985
+ * },
1986
+ * "baidu": {
1987
+ * "hostVer": "√",
1988
+ * "uniVer": "x",
1989
+ * "unixVer": "x"
1990
+ * },
1991
+ * "toutiao": {
1992
+ * "hostVer": "√",
1993
+ * "uniVer": "x",
1994
+ * "unixVer": "x"
1995
+ * },
1996
+ * "lark": {
1997
+ * "hostVer": "√",
1998
+ * "uniVer": "x",
1999
+ * "unixVer": "x"
2000
+ * },
2001
+ * "qq": {
2002
+ * "hostVer": "√",
2003
+ * "uniVer": "x",
2004
+ * "unixVer": "x"
2005
+ * },
2006
+ * "kuaishou": {
2007
+ * "hostVer": "√",
2008
+ * "uniVer": "x",
2009
+ * "unixVer": "x"
2010
+ * },
2011
+ * "jd": {
2012
+ * "hostVer": "√",
2013
+ * "uniVer": "x",
2014
+ * "unixVer": "x"
2015
+ * }
2016
+ * },
2017
+ * "web": {
2018
+ * "uniVer": "x",
2019
+ * "unixVer": "x"
2020
+ * }
2021
+ * }
2022
+ */
2023
+ isSimulator(): boolean;
2024
+
2025
+ }