@dcloudio/uni-app-x 0.7.48 → 0.7.50

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