@dcloudio/uni-app-x 0.7.111 → 0.7.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniNativeView.d.ts +1 -0
  3. package/types/dom2-internal/UniPage.d.ts +16 -0
  4. package/types/dom2-internal/sharedData.d.ts +9 -14
  5. package/types/native/CSSStyleDeclaration.d.ts +172 -172
  6. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  7. package/types/native/DrawableContext.d.ts +1893 -1893
  8. package/types/native/IUniElement.d.ts +7468 -7461
  9. package/types/native/IUniNativeViewElement.d.ts +327 -327
  10. package/types/native/SnapshotOptions.d.ts +337 -62
  11. package/types/native/UniPage.d.ts +1305 -1305
  12. package/types/native/UniResizeObserver.d.ts +749 -749
  13. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  14. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  15. package/types/page.d.ts +3154 -3112
  16. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  20. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  21. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  22. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  25. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  28. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  31. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  32. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  33. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  34. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  35. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  36. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  37. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  38. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  41. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  42. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  43. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  44. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  45. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  46. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  47. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  48. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  49. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  50. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  51. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  53. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  54. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  59. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  60. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  61. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  62. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  63. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  64. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  65. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  66. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  67. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  68. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  69. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  70. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  71. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  72. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  73. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  74. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  75. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  76. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  77. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  78. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  79. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  80. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  81. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  82. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  83. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  84. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  85. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  86. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  87. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  90. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  91. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  94. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  97. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  98. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  99. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  100. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  101. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  102. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  103. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  131. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  132. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  136. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  139. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  142. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  145. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  148. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  151. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  152. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  159. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  162. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  180. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  183. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  189. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  192. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  195. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  198. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  201. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  243. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  246. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  249. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  252. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  255. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  264. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  267. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  270. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  273. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  276. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  279. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  288. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  294. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  297. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  312. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  315. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  318. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  321. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  324. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  327. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  330. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  333. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  336. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  339. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  342. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  348. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  351. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  354. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  357. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  360. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  363. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  366. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  369. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  372. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  375. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  376. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  379. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  380. package/types/vue/LifeCycle.d.ts +865 -854
@@ -0,0 +1,2999 @@
1
+ export interface Uni {
2
+ /**
3
+ * 录音管理
4
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#getrecordermanager
5
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#getrecordermanager
6
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
7
+ * @uniPlatform {
8
+ * "app": {
9
+ * "android": {
10
+ * "osVer": "5.0",
11
+ * "uniVer": "√",
12
+ * "unixVer": "4.61"
13
+ * },
14
+ * "ios": {
15
+ * "osVer": "12.0",
16
+ * "uniVer": "√",
17
+ * "unixVer": "4.61",
18
+ * "unixUtsPlugin": "4.61"
19
+ * },
20
+ * "harmony": {
21
+ * "osVer": "5.0.0",
22
+ * "uniVer": "4.31",
23
+ * "unixVer": "4.61",
24
+ * "unixVaporVer": "5.0"
25
+ * }
26
+ * },
27
+ * "web": {
28
+ * "uniVer": "x",
29
+ * "unixVer": "x"
30
+ * },
31
+ * "mp":{
32
+ * "weixin": {
33
+ * "hostVer": "√",
34
+ * "uniVer": "√",
35
+ * "unixVer": "4.41"
36
+ * },
37
+ * "alipay": {
38
+ * "hostVer": "√",
39
+ * "uniVer": "√",
40
+ * "unixVer": "x"
41
+ * },
42
+ * "baidu": {
43
+ * "hostVer": "√",
44
+ * "uniVer": "√",
45
+ * "unixVer": "x"
46
+ * },
47
+ * "toutiao": {
48
+ * "hostVer": "√",
49
+ * "uniVer": "√",
50
+ * "unixVer": "x"
51
+ * },
52
+ * "lark": {
53
+ * "hostVer": "√",
54
+ * "uniVer": "√",
55
+ * "unixVer": "x"
56
+ * },
57
+ * "qq": {
58
+ * "hostVer": "√",
59
+ * "uniVer": "√",
60
+ * "unixVer": "x"
61
+ * },
62
+ * "kuaishou": {
63
+ * "hostVer": "√",
64
+ * "uniVer": "√",
65
+ * "unixVer": "x"
66
+ * },
67
+ * "jd": {
68
+ * "hostVer": "√",
69
+ * "uniVer": "√",
70
+ * "unixVer": "x"
71
+ * }
72
+ * }
73
+ * }
74
+ */
75
+ getRecorderManager() : RecorderManager
76
+ }
77
+ export type GetRecorderManager = () => RecorderManager;
78
+ export type RecorderManagerStartOptions = {
79
+ /**
80
+ * 指定录音的时长,单位 ms ,如果传入了合法的 duration ,在到达指定的 duration 后会自动停止录音,默认值 60000(1 分钟),微信小程序最大值 600000(10 分钟), App 平台没有最大值限制
81
+ * @uniPlatform {
82
+ * "app": {
83
+ * "android": {
84
+ * "osVer": "5.0",
85
+ * "uniVer": "x",
86
+ * "unixVer": "4.61"
87
+ * },
88
+ * "ios": {
89
+ * "osVer": "12.0",
90
+ * "uniVer": "x",
91
+ * "unixVer": "4.61",
92
+ * "unixUtsPlugin": "4.61"
93
+ * },
94
+ * "harmony": {
95
+ * "osVer": "5.0.0",
96
+ * "uniVer": "4.31",
97
+ * "unixVer": "4.61",
98
+ * "unixVaporVer": "5.0"
99
+ * }
100
+ * },
101
+ * "web": {
102
+ * "uniVer": "x",
103
+ * "unixVer": "x"
104
+ * },
105
+ * "mp":{
106
+ * "weixin": {
107
+ * "hostVer": "√",
108
+ * "uniVer": "√",
109
+ * "unixVer": "4.41"
110
+ * },
111
+ * "alipay": {
112
+ * "hostVer": "x",
113
+ * "uniVer": "x",
114
+ * "unixVer": "x"
115
+ * },
116
+ * "baidu": {
117
+ * "hostVer": "√",
118
+ * "uniVer": "√",
119
+ * "unixVer": "x"
120
+ * },
121
+ * "toutiao": {
122
+ * "hostVer": "x",
123
+ * "uniVer": "x",
124
+ * "unixVer": "x"
125
+ * },
126
+ * "lark": {
127
+ * "hostVer": "x",
128
+ * "uniVer": "x",
129
+ * "unixVer": "x"
130
+ * },
131
+ * "qq": {
132
+ * "hostVer": "√",
133
+ * "uniVer": "√",
134
+ * "unixVer": "x"
135
+ * },
136
+ * "kuaishou": {
137
+ * "hostVer": "√",
138
+ * "uniVer": "√",
139
+ * "unixVer": "x"
140
+ * },
141
+ * "jd": {
142
+ * "hostVer": "x",
143
+ * "uniVer": "x",
144
+ * "unixVer": "x"
145
+ * }
146
+ * }
147
+ * }
148
+ */
149
+ duration ?: number | null,
150
+ /**
151
+ * 采样率,有效值 8000/16000/44100, Android平台默认是8000,iOS平台默认是44100
152
+ * @uniPlatform {
153
+ * "app": {
154
+ * "android": {
155
+ * "osVer": "5.0",
156
+ * "uniVer": "x",
157
+ * "unixVer": "4.61"
158
+ * },
159
+ * "ios": {
160
+ * "osVer": "12.0",
161
+ * "uniVer": "x",
162
+ * "unixVer": "4.61",
163
+ * "unixUtsPlugin": "4.61"
164
+ * },
165
+ * "harmony": {
166
+ * "osVer": "5.0.0",
167
+ * "uniVer": "4.31",
168
+ * "unixVer": "4.61",
169
+ * "unixVaporVer": "5.0"
170
+ * }
171
+ * },
172
+ * "web": {
173
+ * "uniVer": "x",
174
+ * "unixVer": "x"
175
+ * },
176
+ * "mp":{
177
+ * "weixin": {
178
+ * "hostVer": "√",
179
+ * "uniVer": "√",
180
+ * "unixVer": "4.41"
181
+ * },
182
+ * "alipay": {
183
+ * "hostVer": "x",
184
+ * "uniVer": "x",
185
+ * "unixVer": "x"
186
+ * },
187
+ * "baidu": {
188
+ * "hostVer": "√",
189
+ * "uniVer": "√",
190
+ * "unixVer": "x"
191
+ * },
192
+ * "toutiao": {
193
+ * "hostVer": "x",
194
+ * "uniVer": "x",
195
+ * "unixVer": "x"
196
+ * },
197
+ * "lark": {
198
+ * "hostVer": "x",
199
+ * "uniVer": "x",
200
+ * "unixVer": "x"
201
+ * },
202
+ * "qq": {
203
+ * "hostVer": "√",
204
+ * "uniVer": "√",
205
+ * "unixVer": "x"
206
+ * },
207
+ * "kuaishou": {
208
+ * "hostVer": "√",
209
+ * "uniVer": "√",
210
+ * "unixVer": "x"
211
+ * },
212
+ * "jd": {
213
+ * "hostVer": "x",
214
+ * "uniVer": "x",
215
+ * "unixVer": "x"
216
+ * }
217
+ * }
218
+ * }
219
+ */
220
+ sampleRate ?: number | null,
221
+ /**
222
+ * 录音通道数,有效值 1/2
223
+ * @defaultValue 2
224
+ * @uniPlatform {
225
+ * "app": {
226
+ * "android": {
227
+ * "osVer": "5.0",
228
+ * "uniVer": "x",
229
+ * "unixVer": "4.61"
230
+ * },
231
+ * "ios": {
232
+ * "osVer": "12.0",
233
+ * "uniVer": "x",
234
+ * "unixVer": "x",
235
+ * "unixUtsPlugin": "x"
236
+ * },
237
+ * "harmony": {
238
+ * "osVer": "5.0.0",
239
+ * "uniVer": "4.31",
240
+ * "unixVer": "4.61",
241
+ * "unixVaporVer": "5.0"
242
+ * }
243
+ * },
244
+ * "web": {
245
+ * "uniVer": "x",
246
+ * "unixVer": "x"
247
+ * },
248
+ * "mp":{
249
+ * "weixin": {
250
+ * "hostVer": "√",
251
+ * "uniVer": "√",
252
+ * "unixVer": "4.41"
253
+ * },
254
+ * "alipay": {
255
+ * "hostVer": "x",
256
+ * "uniVer": "x",
257
+ * "unixVer": "x"
258
+ * },
259
+ * "baidu": {
260
+ * "hostVer": "√",
261
+ * "uniVer": "√",
262
+ * "unixVer": "x"
263
+ * },
264
+ * "toutiao": {
265
+ * "hostVer": "x",
266
+ * "uniVer": "x",
267
+ * "unixVer": "x"
268
+ * },
269
+ * "lark": {
270
+ * "hostVer": "x",
271
+ * "uniVer": "x",
272
+ * "unixVer": "x"
273
+ * },
274
+ * "qq": {
275
+ * "hostVer": "√",
276
+ * "uniVer": "√",
277
+ * "unixVer": "x"
278
+ * },
279
+ * "kuaishou": {
280
+ * "hostVer": "√",
281
+ * "uniVer": "√",
282
+ * "unixVer": "x"
283
+ * },
284
+ * "jd": {
285
+ * "hostVer": "x",
286
+ * "uniVer": "x",
287
+ * "unixVer": "x"
288
+ * }
289
+ * }
290
+ * }
291
+ */
292
+ numberOfChannels ?: number | null,
293
+ /**
294
+ * 编码码率,有效值见下表格
295
+ * @defaultValue 48000
296
+ * @uniPlatform {
297
+ * "app": {
298
+ * "android": {
299
+ * "osVer": "5.0",
300
+ * "uniVer": "x",
301
+ * "unixVer": "4.61"
302
+ * },
303
+ * "ios": {
304
+ * "osVer": "12.0",
305
+ * "uniVer": "x",
306
+ * "unixVer": "4.61",
307
+ * "unixUtsPlugin": "4.61"
308
+ * },
309
+ * "harmony": {
310
+ * "osVer": "5.0.0",
311
+ * "uniVer": "4.31",
312
+ * "unixVer": "4.61",
313
+ * "unixVaporVer": "5.0"
314
+ * }
315
+ * },
316
+ * "web": {
317
+ * "uniVer": "x",
318
+ * "unixVer": "x"
319
+ * },
320
+ * "mp":{
321
+ * "weixin": {
322
+ * "hostVer": "√",
323
+ * "uniVer": "√",
324
+ * "unixVer": "4.41"
325
+ * },
326
+ * "alipay": {
327
+ * "hostVer": "x",
328
+ * "uniVer": "x",
329
+ * "unixVer": "x"
330
+ * },
331
+ * "baidu": {
332
+ * "hostVer": "√",
333
+ * "uniVer": "√",
334
+ * "unixVer": "x"
335
+ * },
336
+ * "toutiao": {
337
+ * "hostVer": "x",
338
+ * "uniVer": "x",
339
+ * "unixVer": "x"
340
+ * },
341
+ * "lark": {
342
+ * "hostVer": "x",
343
+ * "uniVer": "x",
344
+ * "unixVer": "x"
345
+ * },
346
+ * "qq": {
347
+ * "hostVer": "√",
348
+ * "uniVer": "√",
349
+ * "unixVer": "x"
350
+ * },
351
+ * "kuaishou": {
352
+ * "hostVer": "√",
353
+ * "uniVer": "√",
354
+ * "unixVer": "x"
355
+ * },
356
+ * "jd": {
357
+ * "hostVer": "x",
358
+ * "uniVer": "x",
359
+ * "unixVer": "x"
360
+ * }
361
+ * }
362
+ * }
363
+ */
364
+ encodeBitRate ?: number | null,
365
+ /**
366
+ * 音频格式
367
+ * @defaultValue aac
368
+ * @uniPlatform {
369
+ * "app": {
370
+ * "android": {
371
+ * "osVer": "5.0",
372
+ * "uniVer": "x",
373
+ * "unixVer": "4.61"
374
+ * },
375
+ * "ios": {
376
+ * "osVer": "12.0",
377
+ * "uniVer": "x",
378
+ * "unixVer": "4.61",
379
+ * "unixUtsPlugin": "4.61"
380
+ * },
381
+ * "harmony": {
382
+ * "osVer": "5.0.0",
383
+ * "uniVer": "4.31",
384
+ * "unixVer": "4.61",
385
+ * "unixVaporVer": "5.0"
386
+ * }
387
+ * },
388
+ * "web": {
389
+ * "uniVer": "x",
390
+ * "unixVer": "x"
391
+ * },
392
+ * "mp":{
393
+ * "weixin": {
394
+ * "hostVer": "√",
395
+ * "uniVer": "√",
396
+ * "unixVer": "4.41"
397
+ * },
398
+ * "alipay": {
399
+ * "hostVer": "x",
400
+ * "uniVer": "x",
401
+ * "unixVer": "x"
402
+ * },
403
+ * "baidu": {
404
+ * "hostVer": "√",
405
+ * "uniVer": "√",
406
+ * "unixVer": "x"
407
+ * },
408
+ * "toutiao": {
409
+ * "hostVer": "x",
410
+ * "uniVer": "x",
411
+ * "unixVer": "x"
412
+ * },
413
+ * "lark": {
414
+ * "hostVer": "x",
415
+ * "uniVer": "x",
416
+ * "unixVer": "x"
417
+ * },
418
+ * "qq": {
419
+ * "hostVer": "√",
420
+ * "uniVer": "√",
421
+ * "unixVer": "x"
422
+ * },
423
+ * "kuaishou": {
424
+ * "hostVer": "√",
425
+ * "uniVer": "√",
426
+ * "unixVer": "x"
427
+ * },
428
+ * "jd": {
429
+ * "hostVer": "x",
430
+ * "uniVer": "x",
431
+ * "unixVer": "x"
432
+ * }
433
+ * }
434
+ * }
435
+ */
436
+ format ?:
437
+ /**
438
+ * aac格式
439
+ * @uniPlatform {
440
+ * "app": {
441
+ * "android": {
442
+ * "osVer": "5.0",
443
+ * "uniVer": "x",
444
+ * "unixVer": "4.61"
445
+ * },
446
+ * "ios": {
447
+ * "osVer": "12.0",
448
+ * "uniVer": "x",
449
+ * "unixVer": "4.61",
450
+ * "unixUtsPlugin": "4.61"
451
+ * },
452
+ * "harmony": {
453
+ * "osVer": "5.0.0",
454
+ * "uniVer": "4.31",
455
+ * "unixVer": "4.61",
456
+ * "unixVaporVer": "5.0"
457
+ * }
458
+ * },
459
+ * "web": {
460
+ * "uniVer": "x",
461
+ * "unixVer": "x"
462
+ * },
463
+ * "mp":{
464
+ * "weixin": {
465
+ * "hostVer": "√",
466
+ * "uniVer": "√",
467
+ * "unixVer": "4.41"
468
+ * },
469
+ * "alipay": {
470
+ * "hostVer": "x",
471
+ * "uniVer": "x",
472
+ * "unixVer": "x"
473
+ * },
474
+ * "baidu": {
475
+ * "hostVer": "√",
476
+ * "uniVer": "√",
477
+ * "unixVer": "x"
478
+ * },
479
+ * "toutiao": {
480
+ * "hostVer": "x",
481
+ * "uniVer": "x",
482
+ * "unixVer": "x"
483
+ * },
484
+ * "lark": {
485
+ * "hostVer": "x",
486
+ * "uniVer": "x",
487
+ * "unixVer": "x"
488
+ * },
489
+ * "qq": {
490
+ * "hostVer": "√",
491
+ * "uniVer": "√",
492
+ * "unixVer": "x"
493
+ * },
494
+ * "kuaishou": {
495
+ * "hostVer": "√",
496
+ * "uniVer": "√",
497
+ * "unixVer": "x"
498
+ * },
499
+ * "jd": {
500
+ * "hostVer": "x",
501
+ * "uniVer": "x",
502
+ * "unixVer": "x"
503
+ * }
504
+ * }
505
+ * }
506
+ */
507
+ 'aac' |
508
+ /**
509
+ * mp3格式
510
+ * @uniPlatform {
511
+ * "app": {
512
+ * "android": {
513
+ * "osVer": "5.0",
514
+ * "uniVer": "x",
515
+ * "unixVer": "4.61"
516
+ * },
517
+ * "ios": {
518
+ * "osVer": "12.0",
519
+ * "uniVer": "x",
520
+ * "unixVer": "x",
521
+ * "unixUtsPlugin": "x"
522
+ * },
523
+ * "harmony": {
524
+ * "osVer": "5.0.0",
525
+ * "uniVer": "4.31",
526
+ * "unixVer": "4.61",
527
+ * "unixVaporVer": "5.0"
528
+ * }
529
+ * },
530
+ * "web": {
531
+ * "uniVer": "x",
532
+ * "unixVer": "x"
533
+ * },
534
+ * "mp":{
535
+ * "weixin": {
536
+ * "hostVer": "√",
537
+ * "uniVer": "√",
538
+ * "unixVer": "4.41"
539
+ * },
540
+ * "alipay": {
541
+ * "hostVer": "x",
542
+ * "uniVer": "x",
543
+ * "unixVer": "x"
544
+ * },
545
+ * "baidu": {
546
+ * "hostVer": "√",
547
+ * "uniVer": "√",
548
+ * "unixVer": "x"
549
+ * },
550
+ * "toutiao": {
551
+ * "hostVer": "x",
552
+ * "uniVer": "x",
553
+ * "unixVer": "x"
554
+ * },
555
+ * "lark": {
556
+ * "hostVer": "x",
557
+ * "uniVer": "x",
558
+ * "unixVer": "x"
559
+ * },
560
+ * "qq": {
561
+ * "hostVer": "√",
562
+ * "uniVer": "√",
563
+ * "unixVer": "x"
564
+ * },
565
+ * "kuaishou": {
566
+ * "hostVer": "√",
567
+ * "uniVer": "√",
568
+ * "unixVer": "x"
569
+ * },
570
+ * "jd": {
571
+ * "hostVer": "x",
572
+ * "uniVer": "x",
573
+ * "unixVer": "x"
574
+ * }
575
+ * }
576
+ * }
577
+ */
578
+ 'mp3' |
579
+ /**
580
+ * pcm格式
581
+ * @uniPlatform {
582
+ * "app": {
583
+ * "android": {
584
+ * "osVer": "5.0",
585
+ * "uniVer": "x",
586
+ * "unixVer": "4.61"
587
+ * },
588
+ * "ios": {
589
+ * "osVer": "12.0",
590
+ * "uniVer": "x",
591
+ * "unixVer": "4.61",
592
+ * "unixUtsPlugin": "4.61"
593
+ * },
594
+ * "harmony": {
595
+ * "osVer": "5.0.0",
596
+ * "uniVer": "4.31",
597
+ * "unixVer": "4.61",
598
+ * "unixVaporVer": "5.0"
599
+ * }
600
+ * },
601
+ * "web": {
602
+ * "uniVer": "x",
603
+ * "unixVer": "x"
604
+ * },
605
+ * "mp":{
606
+ * "weixin": {
607
+ * "hostVer": "√",
608
+ * "uniVer": "√",
609
+ * "unixVer": "4.41"
610
+ * },
611
+ * "alipay": {
612
+ * "hostVer": "x",
613
+ * "uniVer": "x",
614
+ * "unixVer": "x"
615
+ * },
616
+ * "baidu": {
617
+ * "hostVer": "√",
618
+ * "uniVer": "√",
619
+ * "unixVer": "x"
620
+ * },
621
+ * "toutiao": {
622
+ * "hostVer": "x",
623
+ * "uniVer": "x",
624
+ * "unixVer": "x"
625
+ * },
626
+ * "lark": {
627
+ * "hostVer": "x",
628
+ * "uniVer": "x",
629
+ * "unixVer": "x"
630
+ * },
631
+ * "qq": {
632
+ * "hostVer": "√",
633
+ * "uniVer": "√",
634
+ * "unixVer": "x"
635
+ * },
636
+ * "kuaishou": {
637
+ * "hostVer": "√",
638
+ * "uniVer": "√",
639
+ * "unixVer": "x"
640
+ * },
641
+ * "jd": {
642
+ * "hostVer": "x",
643
+ * "uniVer": "x",
644
+ * "unixVer": "x"
645
+ * }
646
+ * }
647
+ * }
648
+ */
649
+ 'pcm' |
650
+ /**
651
+ * wav格式
652
+ * @uniPlatform {
653
+ * "app": {
654
+ * "android": {
655
+ * "osVer": "5.0",
656
+ * "uniVer": "x",
657
+ * "unixVer": "4.61"
658
+ * },
659
+ * "ios": {
660
+ * "osVer": "12.0",
661
+ * "uniVer": "x",
662
+ * "unixVer": "4.61",
663
+ * "unixUtsPlugin": "4.61"
664
+ * },
665
+ * "harmony": {
666
+ * "osVer": "5.0.0",
667
+ * "uniVer": "4.31",
668
+ * "unixVer": "4.61",
669
+ * "unixVaporVer": "5.0"
670
+ * }
671
+ * },
672
+ * "web": {
673
+ * "uniVer": "x",
674
+ * "unixVer": "x"
675
+ * },
676
+ * "mp":{
677
+ * "weixin": {
678
+ * "hostVer": "√",
679
+ * "uniVer": "√",
680
+ * "unixVer": "4.41"
681
+ * },
682
+ * "alipay": {
683
+ * "hostVer": "x",
684
+ * "uniVer": "x",
685
+ * "unixVer": "x"
686
+ * },
687
+ * "baidu": {
688
+ * "hostVer": "√",
689
+ * "uniVer": "√",
690
+ * "unixVer": "x"
691
+ * },
692
+ * "toutiao": {
693
+ * "hostVer": "x",
694
+ * "uniVer": "x",
695
+ * "unixVer": "x"
696
+ * },
697
+ * "lark": {
698
+ * "hostVer": "x",
699
+ * "uniVer": "x",
700
+ * "unixVer": "x"
701
+ * },
702
+ * "qq": {
703
+ * "hostVer": "√",
704
+ * "uniVer": "√",
705
+ * "unixVer": "x"
706
+ * },
707
+ * "kuaishou": {
708
+ * "hostVer": "√",
709
+ * "uniVer": "√",
710
+ * "unixVer": "x"
711
+ * },
712
+ * "jd": {
713
+ * "hostVer": "x",
714
+ * "uniVer": "x",
715
+ * "unixVer": "x"
716
+ * }
717
+ * }
718
+ * }
719
+ */
720
+ 'wav' |
721
+ /**
722
+ * m4a格式
723
+ * @uniPlatform {
724
+ * "app": {
725
+ * "android": {
726
+ * "osVer": "5.0",
727
+ * "uniVer": "x",
728
+ * "unixVer": "x"
729
+ * },
730
+ * "ios": {
731
+ * "osVer": "12.0",
732
+ * "uniVer": "x",
733
+ * "unixVer": "x",
734
+ * "unixUtsPlugin": "x"
735
+ * },
736
+ * "harmony": {
737
+ * "osVer": "5.0.0",
738
+ * "uniVer": "4.31",
739
+ * "unixVer": "4.61",
740
+ * "unixVaporVer": "5.0"
741
+ * }
742
+ * },
743
+ * "web": {
744
+ * "uniVer": "x",
745
+ * "unixVer": "x"
746
+ * },
747
+ * "mp":{
748
+ * "weixin": {
749
+ * "hostVer": "√",
750
+ * "uniVer": "√",
751
+ * "unixVer": "4.41"
752
+ * },
753
+ * "alipay": {
754
+ * "hostVer": "x",
755
+ * "uniVer": "x",
756
+ * "unixVer": "x"
757
+ * },
758
+ * "baidu": {
759
+ * "hostVer": "√",
760
+ * "uniVer": "√",
761
+ * "unixVer": "x"
762
+ * },
763
+ * "toutiao": {
764
+ * "hostVer": "x",
765
+ * "uniVer": "x",
766
+ * "unixVer": "x"
767
+ * },
768
+ * "lark": {
769
+ * "hostVer": "x",
770
+ * "uniVer": "x",
771
+ * "unixVer": "x"
772
+ * },
773
+ * "qq": {
774
+ * "hostVer": "√",
775
+ * "uniVer": "√",
776
+ * "unixVer": "x"
777
+ * },
778
+ * "kuaishou": {
779
+ * "hostVer": "√",
780
+ * "uniVer": "√",
781
+ * "unixVer": "x"
782
+ * },
783
+ * "jd": {
784
+ * "hostVer": "x",
785
+ * "uniVer": "x",
786
+ * "unixVer": "x"
787
+ * }
788
+ * }
789
+ * }
790
+ */
791
+ 'm4a' | null,
792
+ /**
793
+ * 指定帧大小,单位 KB。传入 frameSize 后,每录制指定帧大小的内容后,会回调录制的文件内容,不指定则不会回调。暂仅支持 mp3 格式。
794
+ * @uniPlatform {
795
+ * "app": {
796
+ * "android": {
797
+ * "osVer": "5.0",
798
+ * "uniVer": "x",
799
+ * "unixVer": "x"
800
+ * },
801
+ * "ios": {
802
+ * "osVer": "12.0",
803
+ * "uniVer": "x",
804
+ * "unixVer": "x",
805
+ * "unixUtsPlugin": "x"
806
+ * },
807
+ * "harmony": {
808
+ * "osVer": "5.0.0",
809
+ * "uniVer": "x",
810
+ * "unixVer": "x"
811
+ * }
812
+ * },
813
+ * "web": {
814
+ * "uniVer": "x",
815
+ * "unixVer": "x"
816
+ * },
817
+ * "mp":{
818
+ * "weixin": {
819
+ * "hostVer": "√",
820
+ * "uniVer": "√",
821
+ * "unixVer": "4.41"
822
+ * },
823
+ * "alipay": {
824
+ * "hostVer": "x",
825
+ * "uniVer": "x",
826
+ * "unixVer": "x"
827
+ * },
828
+ * "baidu": {
829
+ * "hostVer": "√",
830
+ * "uniVer": "√",
831
+ * "unixVer": "x"
832
+ * },
833
+ * "toutiao": {
834
+ * "hostVer": "x",
835
+ * "uniVer": "x",
836
+ * "unixVer": "x"
837
+ * },
838
+ * "lark": {
839
+ * "hostVer": "x",
840
+ * "uniVer": "x",
841
+ * "unixVer": "x"
842
+ * },
843
+ * "qq": {
844
+ * "hostVer": "√",
845
+ * "uniVer": "√",
846
+ * "unixVer": "x"
847
+ * },
848
+ * "kuaishou": {
849
+ * "hostVer": "√",
850
+ * "uniVer": "√",
851
+ * "unixVer": "x"
852
+ * },
853
+ * "jd": {
854
+ * "hostVer": "x",
855
+ * "uniVer": "x",
856
+ * "unixVer": "x"
857
+ * }
858
+ * }
859
+ * }
860
+ */
861
+ frameSize ?: number | null
862
+ };
863
+
864
+ export interface RecorderManagerOnStopResult {
865
+ /**
866
+ * 录音文件的临时路径
867
+ * @uniPlatform {
868
+ * "app": {
869
+ * "android": {
870
+ * "osVer": "5.0",
871
+ * "uniVer": "x",
872
+ * "unixVer": "4.61"
873
+ * },
874
+ * "ios": {
875
+ * "osVer": "12.0",
876
+ * "uniVer": "x",
877
+ * "unixVer": "4.61",
878
+ * "unixUtsPlugin": "4.61"
879
+ * },
880
+ * "harmony": {
881
+ * "osVer": "5.0.0",
882
+ * "uniVer": "4.31",
883
+ * "unixVer": "4.61",
884
+ * "unixVaporVer": "5.0"
885
+ * }
886
+ * },
887
+ * "web": {
888
+ * "uniVer": "x",
889
+ * "unixVer": "x"
890
+ * },
891
+ * "mp":{
892
+ * "weixin": {
893
+ * "hostVer": "√",
894
+ * "uniVer": "√",
895
+ * "unixVer": "4.41"
896
+ * },
897
+ * "alipay": {
898
+ * "hostVer": "x",
899
+ * "uniVer": "x",
900
+ * "unixVer": "x"
901
+ * },
902
+ * "baidu": {
903
+ * "hostVer": "√",
904
+ * "uniVer": "√",
905
+ * "unixVer": "x"
906
+ * },
907
+ * "toutiao": {
908
+ * "hostVer": "x",
909
+ * "uniVer": "x",
910
+ * "unixVer": "x"
911
+ * },
912
+ * "lark": {
913
+ * "hostVer": "x",
914
+ * "uniVer": "x",
915
+ * "unixVer": "x"
916
+ * },
917
+ * "qq": {
918
+ * "hostVer": "√",
919
+ * "uniVer": "√",
920
+ * "unixVer": "x"
921
+ * },
922
+ * "kuaishou": {
923
+ * "hostVer": "√",
924
+ * "uniVer": "√",
925
+ * "unixVer": "x"
926
+ * },
927
+ * "jd": {
928
+ * "hostVer": "x",
929
+ * "uniVer": "x",
930
+ * "unixVer": "x"
931
+ * }
932
+ * }
933
+ * }
934
+ */
935
+ tempFilePath : string
936
+ };
937
+
938
+ export interface RecorderManager {
939
+ /**
940
+ * 开始录音
941
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#start
942
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#start
943
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
944
+ * @uniPlatform {
945
+ * "app": {
946
+ * "android": {
947
+ * "osVer": "5.0",
948
+ * "uniVer": "√",
949
+ * "unixVer": "4.61"
950
+ * },
951
+ * "ios": {
952
+ * "osVer": "12.0",
953
+ * "uniVer": "√",
954
+ * "unixVer": "4.61",
955
+ * "unixUtsPlugin": "4.61"
956
+ * },
957
+ * "harmony": {
958
+ * "osVer": "5.0.0",
959
+ * "uniVer": "4.31",
960
+ * "unixVer": "4.61",
961
+ * "unixVaporVer": "5.0"
962
+ * }
963
+ * },
964
+ * "web": {
965
+ * "uniVer": "√",
966
+ * "unixVer": "x"
967
+ * },
968
+ * "mp":{
969
+ * "weixin": {
970
+ * "hostVer": "√",
971
+ * "uniVer": "√",
972
+ * "unixVer": "4.41"
973
+ * },
974
+ * "alipay": {
975
+ * "hostVer": "√",
976
+ * "uniVer": "√",
977
+ * "unixVer": "x"
978
+ * },
979
+ * "baidu": {
980
+ * "hostVer": "√",
981
+ * "uniVer": "√",
982
+ * "unixVer": "x"
983
+ * },
984
+ * "toutiao": {
985
+ * "hostVer": "√",
986
+ * "uniVer": "√",
987
+ * "unixVer": "x"
988
+ * },
989
+ * "lark": {
990
+ * "hostVer": "√",
991
+ * "uniVer": "√",
992
+ * "unixVer": "x"
993
+ * },
994
+ * "qq": {
995
+ * "hostVer": "√",
996
+ * "uniVer": "√",
997
+ * "unixVer": "x"
998
+ * },
999
+ * "kuaishou": {
1000
+ * "hostVer": "√",
1001
+ * "uniVer": "√",
1002
+ * "unixVer": "x"
1003
+ * },
1004
+ * "jd": {
1005
+ * "hostVer": "√",
1006
+ * "uniVer": "√",
1007
+ * "unixVer": "x"
1008
+ * }
1009
+ * }
1010
+ * }
1011
+ */
1012
+ start(options : RecorderManagerStartOptions) : void;
1013
+ /**
1014
+ * 暂停录音,App-Android平台在Android 7.0及以后版本支持
1015
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#pause
1016
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#pause
1017
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1018
+ * @uniPlatform {
1019
+ * "app": {
1020
+ * "android": {
1021
+ * "osVer": "7.0",
1022
+ * "uniVer": "x",
1023
+ * "unixVer": "4.61"
1024
+ * },
1025
+ * "ios": {
1026
+ * "osVer": "12.0",
1027
+ * "uniVer": "√",
1028
+ * "unixVer": "4.61",
1029
+ * "unixUtsPlugin": "4.61"
1030
+ * },
1031
+ * "harmony": {
1032
+ * "osVer": "5.0.0",
1033
+ * "uniVer": "4.31",
1034
+ * "unixVer": "4.61",
1035
+ * "unixVaporVer": "5.0"
1036
+ * }
1037
+ * },
1038
+ * "web": {
1039
+ * "uniVer": "√",
1040
+ * "unixVer": "x"
1041
+ * },
1042
+ * "mp":{
1043
+ * "weixin": {
1044
+ * "hostVer": "√",
1045
+ * "uniVer": "√",
1046
+ * "unixVer": "4.41"
1047
+ * },
1048
+ * "alipay": {
1049
+ * "hostVer": "√",
1050
+ * "uniVer": "√",
1051
+ * "unixVer": "x"
1052
+ * },
1053
+ * "baidu": {
1054
+ * "hostVer": "√",
1055
+ * "uniVer": "√",
1056
+ * "unixVer": "x"
1057
+ * },
1058
+ * "toutiao": {
1059
+ * "hostVer": "√",
1060
+ * "uniVer": "√",
1061
+ * "unixVer": "x"
1062
+ * },
1063
+ * "lark": {
1064
+ * "hostVer": "√",
1065
+ * "uniVer": "√",
1066
+ * "unixVer": "x"
1067
+ * },
1068
+ * "qq": {
1069
+ * "hostVer": "√",
1070
+ * "uniVer": "√",
1071
+ * "unixVer": "x"
1072
+ * },
1073
+ * "kuaishou": {
1074
+ * "hostVer": "√",
1075
+ * "uniVer": "√",
1076
+ * "unixVer": "x"
1077
+ * },
1078
+ * "jd": {
1079
+ * "hostVer": "√",
1080
+ * "uniVer": "√",
1081
+ * "unixVer": "x"
1082
+ * }
1083
+ * }
1084
+ * }
1085
+ */
1086
+ pause() : void;
1087
+ /**
1088
+ * 继续录音,App-Android平台在Android 7.0及以后版本支持
1089
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#resume
1090
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#resume
1091
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1092
+ * @uniPlatform {
1093
+ * "app": {
1094
+ * "android": {
1095
+ * "osVer": "7.0",
1096
+ * "uniVer": "x",
1097
+ * "unixVer": "4.61"
1098
+ * },
1099
+ * "ios": {
1100
+ * "osVer": "12.0",
1101
+ * "uniVer": "√",
1102
+ * "unixVer": "4.61",
1103
+ * "unixUtsPlugin": "4.61"
1104
+ * },
1105
+ * "harmony": {
1106
+ * "osVer": "5.0.0",
1107
+ * "uniVer": "4.31",
1108
+ * "unixVer": "4.61",
1109
+ * "unixVaporVer": "5.0"
1110
+ * }
1111
+ * },
1112
+ * "web": {
1113
+ * "uniVer": "√",
1114
+ * "unixVer": "x"
1115
+ * },
1116
+ * "mp":{
1117
+ * "weixin": {
1118
+ * "hostVer": "√",
1119
+ * "uniVer": "√",
1120
+ * "unixVer": "4.41"
1121
+ * },
1122
+ * "alipay": {
1123
+ * "hostVer": "√",
1124
+ * "uniVer": "√",
1125
+ * "unixVer": "x"
1126
+ * },
1127
+ * "baidu": {
1128
+ * "hostVer": "√",
1129
+ * "uniVer": "√",
1130
+ * "unixVer": "x"
1131
+ * },
1132
+ * "toutiao": {
1133
+ * "hostVer": "√",
1134
+ * "uniVer": "√",
1135
+ * "unixVer": "x"
1136
+ * },
1137
+ * "lark": {
1138
+ * "hostVer": "√",
1139
+ * "uniVer": "√",
1140
+ * "unixVer": "x"
1141
+ * },
1142
+ * "qq": {
1143
+ * "hostVer": "√",
1144
+ * "uniVer": "√",
1145
+ * "unixVer": "x"
1146
+ * },
1147
+ * "kuaishou": {
1148
+ * "hostVer": "√",
1149
+ * "uniVer": "√",
1150
+ * "unixVer": "x"
1151
+ * },
1152
+ * "jd": {
1153
+ * "hostVer": "√",
1154
+ * "uniVer": "√",
1155
+ * "unixVer": "x"
1156
+ * }
1157
+ * }
1158
+ * }
1159
+ */
1160
+ resume() : void;
1161
+ /**
1162
+ * 停止录音
1163
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#stop
1164
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#stop
1165
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1166
+ * @uniPlatform {
1167
+ * "app": {
1168
+ * "android": {
1169
+ * "osVer": "5.0",
1170
+ * "uniVer": "√",
1171
+ * "unixVer": "4.61"
1172
+ * },
1173
+ * "ios": {
1174
+ * "osVer": "12.0",
1175
+ * "uniVer": "√",
1176
+ * "unixVer": "4.61",
1177
+ * "unixUtsPlugin": "4.61"
1178
+ * },
1179
+ * "harmony": {
1180
+ * "osVer": "5.0.0",
1181
+ * "uniVer": "4.31",
1182
+ * "unixVer": "4.61",
1183
+ * "unixVaporVer": "5.0"
1184
+ * }
1185
+ * },
1186
+ * "web": {
1187
+ * "uniVer": "√",
1188
+ * "unixVer": "x"
1189
+ * },
1190
+ * "mp":{
1191
+ * "weixin": {
1192
+ * "hostVer": "√",
1193
+ * "uniVer": "√",
1194
+ * "unixVer": "4.41"
1195
+ * },
1196
+ * "alipay": {
1197
+ * "hostVer": "√",
1198
+ * "uniVer": "√",
1199
+ * "unixVer": "x"
1200
+ * },
1201
+ * "baidu": {
1202
+ * "hostVer": "√",
1203
+ * "uniVer": "√",
1204
+ * "unixVer": "x"
1205
+ * },
1206
+ * "toutiao": {
1207
+ * "hostVer": "√",
1208
+ * "uniVer": "√",
1209
+ * "unixVer": "x"
1210
+ * },
1211
+ * "lark": {
1212
+ * "hostVer": "√",
1213
+ * "uniVer": "√",
1214
+ * "unixVer": "x"
1215
+ * },
1216
+ * "qq": {
1217
+ * "hostVer": "√",
1218
+ * "uniVer": "√",
1219
+ * "unixVer": "x"
1220
+ * },
1221
+ * "kuaishou": {
1222
+ * "hostVer": "√",
1223
+ * "uniVer": "√",
1224
+ * "unixVer": "x"
1225
+ * },
1226
+ * "jd": {
1227
+ * "hostVer": "√",
1228
+ * "uniVer": "√",
1229
+ * "unixVer": "x"
1230
+ * }
1231
+ * }
1232
+ * }
1233
+ */
1234
+ stop() : void;
1235
+ /**
1236
+ * 录音开始事件
1237
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onstart
1238
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onstart
1239
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1240
+ * @uniPlatform {
1241
+ * "app": {
1242
+ * "android": {
1243
+ * "osVer": "5.0",
1244
+ * "uniVer": "√",
1245
+ * "unixVer": "4.61"
1246
+ * },
1247
+ * "ios": {
1248
+ * "osVer": "12.0",
1249
+ * "uniVer": "√",
1250
+ * "unixVer": "4.61",
1251
+ * "unixUtsPlugin": "4.61"
1252
+ * },
1253
+ * "harmony": {
1254
+ * "osVer": "5.0.0",
1255
+ * "uniVer": "4.31",
1256
+ * "unixVer": "4.61",
1257
+ * "unixVaporVer": "5.0"
1258
+ * }
1259
+ * },
1260
+ * "web": {
1261
+ * "uniVer": "√",
1262
+ * "unixVer": "x"
1263
+ * },
1264
+ * "mp":{
1265
+ * "weixin": {
1266
+ * "hostVer": "√",
1267
+ * "uniVer": "√",
1268
+ * "unixVer": "4.41"
1269
+ * },
1270
+ * "alipay": {
1271
+ * "hostVer": "√",
1272
+ * "uniVer": "√",
1273
+ * "unixVer": "x"
1274
+ * },
1275
+ * "baidu": {
1276
+ * "hostVer": "√",
1277
+ * "uniVer": "√",
1278
+ * "unixVer": "x"
1279
+ * },
1280
+ * "toutiao": {
1281
+ * "hostVer": "√",
1282
+ * "uniVer": "√",
1283
+ * "unixVer": "x"
1284
+ * },
1285
+ * "lark": {
1286
+ * "hostVer": "√",
1287
+ * "uniVer": "√",
1288
+ * "unixVer": "x"
1289
+ * },
1290
+ * "qq": {
1291
+ * "hostVer": "√",
1292
+ * "uniVer": "√",
1293
+ * "unixVer": "x"
1294
+ * },
1295
+ * "kuaishou": {
1296
+ * "hostVer": "√",
1297
+ * "uniVer": "√",
1298
+ * "unixVer": "x"
1299
+ * },
1300
+ * "jd": {
1301
+ * "hostVer": "√",
1302
+ * "uniVer": "√",
1303
+ * "unixVer": "x"
1304
+ * }
1305
+ * }
1306
+ * }
1307
+ */
1308
+ onStart(options : (result : any) => void) : void;
1309
+
1310
+ /**
1311
+ * 取消监听录音开始事件
1312
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onstart
1313
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onstart
1314
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1315
+ * @uniPlatform {
1316
+ * "app": {
1317
+ * "android": {
1318
+ * "osVer": "5.0",
1319
+ * "uniVer": "√",
1320
+ * "unixVer": "5.0"
1321
+ * },
1322
+ * "ios": {
1323
+ * "osVer": "12.0",
1324
+ * "uniVer": "√",
1325
+ * "unixVer": "5.0",
1326
+ * "unixUtsPlugin": "5.0"
1327
+ * },
1328
+ * "harmony": {
1329
+ * "osVer": "5.0.0",
1330
+ * "uniVer": "x",
1331
+ * "unixVer": "5.0"
1332
+ * }
1333
+ * },
1334
+ * "web": {
1335
+ * "uniVer": "√",
1336
+ * "unixVer": "x"
1337
+ * },
1338
+ * "mp":{
1339
+ * "weixin": {
1340
+ * "hostVer": "√",
1341
+ * "uniVer": "√",
1342
+ * "unixVer": "4.41"
1343
+ * },
1344
+ * "alipay": {
1345
+ * "hostVer": "√",
1346
+ * "uniVer": "√",
1347
+ * "unixVer": "x"
1348
+ * },
1349
+ * "baidu": {
1350
+ * "hostVer": "√",
1351
+ * "uniVer": "√",
1352
+ * "unixVer": "x"
1353
+ * },
1354
+ * "toutiao": {
1355
+ * "hostVer": "√",
1356
+ * "uniVer": "√",
1357
+ * "unixVer": "x"
1358
+ * },
1359
+ * "lark": {
1360
+ * "hostVer": "√",
1361
+ * "uniVer": "√",
1362
+ * "unixVer": "x"
1363
+ * },
1364
+ * "qq": {
1365
+ * "hostVer": "√",
1366
+ * "uniVer": "√",
1367
+ * "unixVer": "x"
1368
+ * },
1369
+ * "kuaishou": {
1370
+ * "hostVer": "√",
1371
+ * "uniVer": "√",
1372
+ * "unixVer": "x"
1373
+ * },
1374
+ * "jd": {
1375
+ * "hostVer": "√",
1376
+ * "uniVer": "√",
1377
+ * "unixVer": "x"
1378
+ * }
1379
+ * }
1380
+ * }
1381
+ */
1382
+ offStart() : void;
1383
+ /**
1384
+ * 录音暂停事件,App-Android平台在Android 7.0及以后版本支持
1385
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onpause
1386
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onpause
1387
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1388
+ * @uniPlatform {
1389
+ * "app": {
1390
+ * "android": {
1391
+ * "osVer": "7.0",
1392
+ * "uniVer": "x",
1393
+ * "unixVer": "4.61"
1394
+ * },
1395
+ * "ios": {
1396
+ * "osVer": "12.0",
1397
+ * "uniVer": "√",
1398
+ * "unixVer": "4.61",
1399
+ * "unixUtsPlugin": "4.61"
1400
+ * },
1401
+ * "harmony": {
1402
+ * "osVer": "5.0.0",
1403
+ * "uniVer": "4.31",
1404
+ * "unixVer": "4.61",
1405
+ * "unixVaporVer": "5.0"
1406
+ * }
1407
+ * },
1408
+ * "web": {
1409
+ * "uniVer": "√",
1410
+ * "unixVer": "x"
1411
+ * },
1412
+ * "mp":{
1413
+ * "weixin": {
1414
+ * "hostVer": "√",
1415
+ * "uniVer": "√",
1416
+ * "unixVer": "4.41"
1417
+ * },
1418
+ * "alipay": {
1419
+ * "hostVer": "√",
1420
+ * "uniVer": "√",
1421
+ * "unixVer": "x"
1422
+ * },
1423
+ * "baidu": {
1424
+ * "hostVer": "√",
1425
+ * "uniVer": "√",
1426
+ * "unixVer": "x"
1427
+ * },
1428
+ * "toutiao": {
1429
+ * "hostVer": "√",
1430
+ * "uniVer": "√",
1431
+ * "unixVer": "x"
1432
+ * },
1433
+ * "lark": {
1434
+ * "hostVer": "√",
1435
+ * "uniVer": "√",
1436
+ * "unixVer": "x"
1437
+ * },
1438
+ * "qq": {
1439
+ * "hostVer": "√",
1440
+ * "uniVer": "√",
1441
+ * "unixVer": "x"
1442
+ * },
1443
+ * "kuaishou": {
1444
+ * "hostVer": "√",
1445
+ * "uniVer": "√",
1446
+ * "unixVer": "x"
1447
+ * },
1448
+ * "jd": {
1449
+ * "hostVer": "√",
1450
+ * "uniVer": "√",
1451
+ * "unixVer": "x"
1452
+ * }
1453
+ * }
1454
+ * }
1455
+ */
1456
+ onPause(options : (result : any) => void) : void;
1457
+
1458
+ /**
1459
+ * 取消监听录音暂停事件
1460
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onpause
1461
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onpause
1462
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1463
+ * @uniPlatform {
1464
+ * "app": {
1465
+ * "android": {
1466
+ * "osVer": "7.0",
1467
+ * "uniVer": "x",
1468
+ * "unixVer": "5.0"
1469
+ * },
1470
+ * "ios": {
1471
+ * "osVer": "12.0",
1472
+ * "uniVer": "√",
1473
+ * "unixVer": "5.0",
1474
+ * "unixUtsPlugin": "5.0"
1475
+ * },
1476
+ * "harmony": {
1477
+ * "osVer": "5.0.0",
1478
+ * "uniVer": "x",
1479
+ * "unixVer": "5.0"
1480
+ * }
1481
+ * },
1482
+ * "web": {
1483
+ * "uniVer": "√",
1484
+ * "unixVer": "x"
1485
+ * },
1486
+ * "mp":{
1487
+ * "weixin": {
1488
+ * "hostVer": "√",
1489
+ * "uniVer": "√",
1490
+ * "unixVer": "4.41"
1491
+ * },
1492
+ * "alipay": {
1493
+ * "hostVer": "√",
1494
+ * "uniVer": "√",
1495
+ * "unixVer": "x"
1496
+ * },
1497
+ * "baidu": {
1498
+ * "hostVer": "√",
1499
+ * "uniVer": "√",
1500
+ * "unixVer": "x"
1501
+ * },
1502
+ * "toutiao": {
1503
+ * "hostVer": "√",
1504
+ * "uniVer": "√",
1505
+ * "unixVer": "x"
1506
+ * },
1507
+ * "lark": {
1508
+ * "hostVer": "√",
1509
+ * "uniVer": "√",
1510
+ * "unixVer": "x"
1511
+ * },
1512
+ * "qq": {
1513
+ * "hostVer": "√",
1514
+ * "uniVer": "√",
1515
+ * "unixVer": "x"
1516
+ * },
1517
+ * "kuaishou": {
1518
+ * "hostVer": "√",
1519
+ * "uniVer": "√",
1520
+ * "unixVer": "x"
1521
+ * },
1522
+ * "jd": {
1523
+ * "hostVer": "√",
1524
+ * "uniVer": "√",
1525
+ * "unixVer": "x"
1526
+ * }
1527
+ * }
1528
+ * }
1529
+ */
1530
+ offPause() : void;
1531
+
1532
+ /**
1533
+ * 录音停止事件,会回调文件地址
1534
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onstop
1535
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onstop
1536
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1537
+ * @uniPlatform {
1538
+ * "app": {
1539
+ * "android": {
1540
+ * "osVer": "5.0",
1541
+ * "uniVer": "√",
1542
+ * "unixVer": "4.61"
1543
+ * },
1544
+ * "ios": {
1545
+ * "osVer": "12.0",
1546
+ * "uniVer": "√",
1547
+ * "unixVer": "4.61",
1548
+ * "unixUtsPlugin": "4.61"
1549
+ * },
1550
+ * "harmony": {
1551
+ * "osVer": "5.0.0",
1552
+ * "uniVer": "4.31",
1553
+ * "unixVer": "4.61",
1554
+ * "unixVaporVer": "5.0"
1555
+ * }
1556
+ * },
1557
+ * "web": {
1558
+ * "uniVer": "√",
1559
+ * "unixVer": "x"
1560
+ * },
1561
+ * "mp":{
1562
+ * "weixin": {
1563
+ * "hostVer": "√",
1564
+ * "uniVer": "√",
1565
+ * "unixVer": "4.41"
1566
+ * },
1567
+ * "alipay": {
1568
+ * "hostVer": "√",
1569
+ * "uniVer": "√",
1570
+ * "unixVer": "x"
1571
+ * },
1572
+ * "baidu": {
1573
+ * "hostVer": "√",
1574
+ * "uniVer": "√",
1575
+ * "unixVer": "x"
1576
+ * },
1577
+ * "toutiao": {
1578
+ * "hostVer": "√",
1579
+ * "uniVer": "√",
1580
+ * "unixVer": "x"
1581
+ * },
1582
+ * "lark": {
1583
+ * "hostVer": "√",
1584
+ * "uniVer": "√",
1585
+ * "unixVer": "x"
1586
+ * },
1587
+ * "qq": {
1588
+ * "hostVer": "√",
1589
+ * "uniVer": "√",
1590
+ * "unixVer": "x"
1591
+ * },
1592
+ * "kuaishou": {
1593
+ * "hostVer": "√",
1594
+ * "uniVer": "√",
1595
+ * "unixVer": "x"
1596
+ * },
1597
+ * "jd": {
1598
+ * "hostVer": "√",
1599
+ * "uniVer": "√",
1600
+ * "unixVer": "x"
1601
+ * }
1602
+ * }
1603
+ * }
1604
+ */
1605
+ onStop(options : (result : RecorderManagerOnStopResult) => void) : void;
1606
+
1607
+ /**
1608
+ * 取消监听录音停止事件
1609
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onstop
1610
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onstop
1611
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1612
+ * @uniPlatform {
1613
+ * "app": {
1614
+ * "android": {
1615
+ * "osVer": "5.0",
1616
+ * "uniVer": "√",
1617
+ * "unixVer": "5.0"
1618
+ * },
1619
+ * "ios": {
1620
+ * "osVer": "12.0",
1621
+ * "uniVer": "√",
1622
+ * "unixVer": "5.0",
1623
+ * "unixUtsPlugin": "5.0"
1624
+ * },
1625
+ * "harmony": {
1626
+ * "osVer": "5.0.0",
1627
+ * "uniVer": "x",
1628
+ * "unixVer": "5.0"
1629
+ * }
1630
+ * },
1631
+ * "web": {
1632
+ * "uniVer": "√",
1633
+ * "unixVer": "x"
1634
+ * },
1635
+ * "mp":{
1636
+ * "weixin": {
1637
+ * "hostVer": "√",
1638
+ * "uniVer": "√",
1639
+ * "unixVer": "4.41"
1640
+ * },
1641
+ * "alipay": {
1642
+ * "hostVer": "√",
1643
+ * "uniVer": "√",
1644
+ * "unixVer": "x"
1645
+ * },
1646
+ * "baidu": {
1647
+ * "hostVer": "√",
1648
+ * "uniVer": "√",
1649
+ * "unixVer": "x"
1650
+ * },
1651
+ * "toutiao": {
1652
+ * "hostVer": "√",
1653
+ * "uniVer": "√",
1654
+ * "unixVer": "x"
1655
+ * },
1656
+ * "lark": {
1657
+ * "hostVer": "√",
1658
+ * "uniVer": "√",
1659
+ * "unixVer": "x"
1660
+ * },
1661
+ * "qq": {
1662
+ * "hostVer": "√",
1663
+ * "uniVer": "√",
1664
+ * "unixVer": "x"
1665
+ * },
1666
+ * "kuaishou": {
1667
+ * "hostVer": "√",
1668
+ * "uniVer": "√",
1669
+ * "unixVer": "x"
1670
+ * },
1671
+ * "jd": {
1672
+ * "hostVer": "√",
1673
+ * "uniVer": "√",
1674
+ * "unixVer": "x"
1675
+ * }
1676
+ * }
1677
+ * }
1678
+ */
1679
+ offStop() : void;
1680
+ /**
1681
+ * 已录制完指定帧大小的文件,会回调录音分片结果数据。如果设置了 frameSize ,则会回调此事件
1682
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onframerecorded
1683
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onframerecorded
1684
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1685
+ * @uniPlatform {
1686
+ * "app": {
1687
+ * "android": {
1688
+ * "osVer": "5.0",
1689
+ * "uniVer": "x",
1690
+ * "unixVer": "x"
1691
+ * },
1692
+ * "ios": {
1693
+ * "osVer": "12.0",
1694
+ * "uniVer": "x",
1695
+ * "unixVer": "x",
1696
+ * "unixUtsPlugin": "x"
1697
+ * },
1698
+ * "harmony": {
1699
+ * "osVer": "5.0.0",
1700
+ * "uniVer": "x",
1701
+ * "unixVer": "x"
1702
+ * }
1703
+ * },
1704
+ * "web": {
1705
+ * "uniVer": "√",
1706
+ * "unixVer": "x"
1707
+ * },
1708
+ * "mp":{
1709
+ * "weixin": {
1710
+ * "hostVer": "√",
1711
+ * "uniVer": "√",
1712
+ * "unixVer": "4.41"
1713
+ * },
1714
+ * "alipay": {
1715
+ * "hostVer": "√",
1716
+ * "uniVer": "√",
1717
+ * "unixVer": "x"
1718
+ * },
1719
+ * "baidu": {
1720
+ * "hostVer": "√",
1721
+ * "uniVer": "√",
1722
+ * "unixVer": "x"
1723
+ * },
1724
+ * "toutiao": {
1725
+ * "hostVer": "√",
1726
+ * "uniVer": "√",
1727
+ * "unixVer": "x"
1728
+ * },
1729
+ * "lark": {
1730
+ * "hostVer": "√",
1731
+ * "uniVer": "√",
1732
+ * "unixVer": "x"
1733
+ * },
1734
+ * "qq": {
1735
+ * "hostVer": "√",
1736
+ * "uniVer": "√",
1737
+ * "unixVer": "x"
1738
+ * },
1739
+ * "kuaishou": {
1740
+ * "hostVer": "√",
1741
+ * "uniVer": "√",
1742
+ * "unixVer": "x"
1743
+ * },
1744
+ * "jd": {
1745
+ * "hostVer": "√",
1746
+ * "uniVer": "√",
1747
+ * "unixVer": "x"
1748
+ * }
1749
+ * }
1750
+ * }
1751
+ */
1752
+ onFrameRecorded(options : (result : any) => void) : void;
1753
+
1754
+ /**
1755
+ * 取消监听帧回调事件
1756
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onframerecorded
1757
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onframerecorded
1758
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1759
+ * @uniPlatform {
1760
+ * "app": {
1761
+ * "android": {
1762
+ * "osVer": "5.0",
1763
+ * "uniVer": "x",
1764
+ * "unixVer": "x"
1765
+ * },
1766
+ * "ios": {
1767
+ * "osVer": "12.0",
1768
+ * "uniVer": "x",
1769
+ * "unixVer": "x",
1770
+ * "unixUtsPlugin": "x"
1771
+ * },
1772
+ * "harmony": {
1773
+ * "osVer": "5.0.0",
1774
+ * "uniVer": "x",
1775
+ * "unixVer": "x"
1776
+ * }
1777
+ * },
1778
+ * "web": {
1779
+ * "uniVer": "√",
1780
+ * "unixVer": "x"
1781
+ * },
1782
+ * "mp":{
1783
+ * "weixin": {
1784
+ * "hostVer": "√",
1785
+ * "uniVer": "√",
1786
+ * "unixVer": "4.41"
1787
+ * },
1788
+ * "alipay": {
1789
+ * "hostVer": "√",
1790
+ * "uniVer": "√",
1791
+ * "unixVer": "x"
1792
+ * },
1793
+ * "baidu": {
1794
+ * "hostVer": "√",
1795
+ * "uniVer": "√",
1796
+ * "unixVer": "x"
1797
+ * },
1798
+ * "toutiao": {
1799
+ * "hostVer": "√",
1800
+ * "uniVer": "√",
1801
+ * "unixVer": "x"
1802
+ * },
1803
+ * "lark": {
1804
+ * "hostVer": "√",
1805
+ * "uniVer": "√",
1806
+ * "unixVer": "x"
1807
+ * },
1808
+ * "qq": {
1809
+ * "hostVer": "√",
1810
+ * "uniVer": "√",
1811
+ * "unixVer": "x"
1812
+ * },
1813
+ * "kuaishou": {
1814
+ * "hostVer": "√",
1815
+ * "uniVer": "√",
1816
+ * "unixVer": "x"
1817
+ * },
1818
+ * "jd": {
1819
+ * "hostVer": "√",
1820
+ * "uniVer": "√",
1821
+ * "unixVer": "x"
1822
+ * }
1823
+ * }
1824
+ * }
1825
+ */
1826
+ offFrameRecorded() : void;
1827
+
1828
+ /**
1829
+ * 录音错误事件, 会回调错误信息
1830
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onerror
1831
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onerror
1832
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1833
+ * @uniPlatform {
1834
+ * "app": {
1835
+ * "android": {
1836
+ * "osVer": "5.0",
1837
+ * "uniVer": "√",
1838
+ * "unixVer": "4.61"
1839
+ * },
1840
+ * "ios": {
1841
+ * "osVer": "12.0",
1842
+ * "uniVer": "v",
1843
+ * "unixVer": "4.61",
1844
+ * "unixUtsPlugin": "4.61"
1845
+ * },
1846
+ * "harmony": {
1847
+ * "osVer": "5.0.0",
1848
+ * "uniVer": "4.31",
1849
+ * "unixVer": "4.61",
1850
+ * "unixVaporVer": "5.0"
1851
+ * }
1852
+ * },
1853
+ * "web": {
1854
+ * "uniVer": "√",
1855
+ * "unixVer": "x"
1856
+ * },
1857
+ * "mp":{
1858
+ * "weixin": {
1859
+ * "hostVer": "√",
1860
+ * "uniVer": "√",
1861
+ * "unixVer": "4.41"
1862
+ * },
1863
+ * "alipay": {
1864
+ * "hostVer": "√",
1865
+ * "uniVer": "√",
1866
+ * "unixVer": "x"
1867
+ * },
1868
+ * "baidu": {
1869
+ * "hostVer": "√",
1870
+ * "uniVer": "√",
1871
+ * "unixVer": "x"
1872
+ * },
1873
+ * "toutiao": {
1874
+ * "hostVer": "√",
1875
+ * "uniVer": "√",
1876
+ * "unixVer": "x"
1877
+ * },
1878
+ * "lark": {
1879
+ * "hostVer": "√",
1880
+ * "uniVer": "√",
1881
+ * "unixVer": "x"
1882
+ * },
1883
+ * "qq": {
1884
+ * "hostVer": "√",
1885
+ * "uniVer": "√",
1886
+ * "unixVer": "x"
1887
+ * },
1888
+ * "kuaishou": {
1889
+ * "hostVer": "√",
1890
+ * "uniVer": "√",
1891
+ * "unixVer": "x"
1892
+ * },
1893
+ * "jd": {
1894
+ * "hostVer": "√",
1895
+ * "uniVer": "√",
1896
+ * "unixVer": "x"
1897
+ * }
1898
+ * }
1899
+ * }
1900
+ */
1901
+ onError(options: (result: IRecorderManagerFail) => void): void;
1902
+
1903
+ /**
1904
+ * 取消监听录音错误事件
1905
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onerror
1906
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onerror
1907
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1908
+ * @uniPlatform {
1909
+ * "app": {
1910
+ * "android": {
1911
+ * "osVer": "5.0",
1912
+ * "uniVer": "√",
1913
+ * "unixVer": "5.0"
1914
+ * },
1915
+ * "ios": {
1916
+ * "osVer": "12.0",
1917
+ * "uniVer": "v",
1918
+ * "unixVer": "5.0",
1919
+ * "unixUtsPlugin": "5.0"
1920
+ * },
1921
+ * "harmony": {
1922
+ * "osVer": "5.0.0",
1923
+ * "uniVer": "x",
1924
+ * "unixVer": "5.0"
1925
+ * }
1926
+ * },
1927
+ * "web": {
1928
+ * "uniVer": "√",
1929
+ * "unixVer": "x"
1930
+ * },
1931
+ * "mp":{
1932
+ * "weixin": {
1933
+ * "hostVer": "√",
1934
+ * "uniVer": "√",
1935
+ * "unixVer": "4.41"
1936
+ * },
1937
+ * "alipay": {
1938
+ * "hostVer": "√",
1939
+ * "uniVer": "√",
1940
+ * "unixVer": "x"
1941
+ * },
1942
+ * "baidu": {
1943
+ * "hostVer": "√",
1944
+ * "uniVer": "√",
1945
+ * "unixVer": "x"
1946
+ * },
1947
+ * "toutiao": {
1948
+ * "hostVer": "√",
1949
+ * "uniVer": "√",
1950
+ * "unixVer": "x"
1951
+ * },
1952
+ * "lark": {
1953
+ * "hostVer": "√",
1954
+ * "uniVer": "√",
1955
+ * "unixVer": "x"
1956
+ * },
1957
+ * "qq": {
1958
+ * "hostVer": "√",
1959
+ * "uniVer": "√",
1960
+ * "unixVer": "x"
1961
+ * },
1962
+ * "kuaishou": {
1963
+ * "hostVer": "√",
1964
+ * "uniVer": "√",
1965
+ * "unixVer": "x"
1966
+ * },
1967
+ * "jd": {
1968
+ * "hostVer": "√",
1969
+ * "uniVer": "√",
1970
+ * "unixVer": "x"
1971
+ * }
1972
+ * }
1973
+ * }
1974
+ */
1975
+ offError(): void;
1976
+
1977
+ /**
1978
+ * 监听录音继续事件,App-Android平台在Android 7.0及以后版本支持
1979
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onresume
1980
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onresume
1981
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
1982
+ * @uniPlatform {
1983
+ * "app": {
1984
+ * "android": {
1985
+ * "osVer": "7.0",
1986
+ * "uniVer": "x",
1987
+ * "unixVer": "4.61"
1988
+ * },
1989
+ * "ios": {
1990
+ * "osVer": "12.0",
1991
+ * "uniVer": "x",
1992
+ * "unixVer": "4.61",
1993
+ * "unixUtsPlugin": "4.61"
1994
+ * },
1995
+ * "harmony": {
1996
+ * "osVer": "5.0.0",
1997
+ * "uniVer": "4.31",
1998
+ * "unixVer": "4.61",
1999
+ * "unixVaporVer": "5.0"
2000
+ * }
2001
+ * },
2002
+ * "web": {
2003
+ * "uniVer": "x",
2004
+ * "unixVer": "x"
2005
+ * },
2006
+ * "mp":{
2007
+ * "weixin": {
2008
+ * "hostVer": "√",
2009
+ * "uniVer": "√",
2010
+ * "unixVer": "4.41"
2011
+ * },
2012
+ * "alipay": {
2013
+ * "hostVer": "√",
2014
+ * "uniVer": "√",
2015
+ * "unixVer": "x"
2016
+ * },
2017
+ * "baidu": {
2018
+ * "hostVer": "√",
2019
+ * "uniVer": "√",
2020
+ * "unixVer": "x"
2021
+ * },
2022
+ * "toutiao": {
2023
+ * "hostVer": "√",
2024
+ * "uniVer": "√",
2025
+ * "unixVer": "x"
2026
+ * },
2027
+ * "lark": {
2028
+ * "hostVer": "√",
2029
+ * "uniVer": "√",
2030
+ * "unixVer": "x"
2031
+ * },
2032
+ * "qq": {
2033
+ * "hostVer": "√",
2034
+ * "uniVer": "√",
2035
+ * "unixVer": "x"
2036
+ * },
2037
+ * "kuaishou": {
2038
+ * "hostVer": "√",
2039
+ * "uniVer": "√",
2040
+ * "unixVer": "x"
2041
+ * },
2042
+ * "jd": {
2043
+ * "hostVer": "√",
2044
+ * "uniVer": "√",
2045
+ * "unixVer": "x"
2046
+ * }
2047
+ * }
2048
+ * }
2049
+ */
2050
+ onResume(options : (result : any) => void) : void;
2051
+
2052
+ /**
2053
+ * 取消监听录音继续事件
2054
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onresume
2055
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#onresume
2056
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
2057
+ * @uniPlatform {
2058
+ * "app": {
2059
+ * "android": {
2060
+ * "osVer": "7.0",
2061
+ * "uniVer": "x",
2062
+ * "unixVer": "5.0"
2063
+ * },
2064
+ * "ios": {
2065
+ * "osVer": "12.0",
2066
+ * "uniVer": "x",
2067
+ * "unixVer": "5.0",
2068
+ * "unixUtsPlugin": "5.0"
2069
+ * },
2070
+ * "harmony": {
2071
+ * "osVer": "5.0.0",
2072
+ * "uniVer": "x",
2073
+ * "unixVer": "5.0"
2074
+ * }
2075
+ * },
2076
+ * "web": {
2077
+ * "uniVer": "x",
2078
+ * "unixVer": "x"
2079
+ * },
2080
+ * "mp":{
2081
+ * "weixin": {
2082
+ * "hostVer": "√",
2083
+ * "uniVer": "√",
2084
+ * "unixVer": "4.41"
2085
+ * },
2086
+ * "alipay": {
2087
+ * "hostVer": "√",
2088
+ * "uniVer": "√",
2089
+ * "unixVer": "x"
2090
+ * },
2091
+ * "baidu": {
2092
+ * "hostVer": "√",
2093
+ * "uniVer": "√",
2094
+ * "unixVer": "x"
2095
+ * },
2096
+ * "toutiao": {
2097
+ * "hostVer": "√",
2098
+ * "uniVer": "√",
2099
+ * "unixVer": "x"
2100
+ * },
2101
+ * "lark": {
2102
+ * "hostVer": "√",
2103
+ * "uniVer": "√",
2104
+ * "unixVer": "x"
2105
+ * },
2106
+ * "qq": {
2107
+ * "hostVer": "√",
2108
+ * "uniVer": "√",
2109
+ * "unixVer": "x"
2110
+ * },
2111
+ * "kuaishou": {
2112
+ * "hostVer": "√",
2113
+ * "uniVer": "√",
2114
+ * "unixVer": "x"
2115
+ * },
2116
+ * "jd": {
2117
+ * "hostVer": "√",
2118
+ * "uniVer": "√",
2119
+ * "unixVer": "x"
2120
+ * }
2121
+ * }
2122
+ * }
2123
+ */
2124
+ offResume() : void;
2125
+
2126
+ /**
2127
+ * 监听录音因为受到系统占用而被中断开始事件
2128
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#oninterruptionbegin
2129
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#oninterruptionbegin
2130
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
2131
+ * @uniPlatform {
2132
+ * "app": {
2133
+ * "android": {
2134
+ * "osVer": "5.0",
2135
+ * "uniVer": "x",
2136
+ * "unixVer": "4.61"
2137
+ * },
2138
+ * "ios": {
2139
+ * "osVer": "12.0",
2140
+ * "uniVer": "x",
2141
+ * "unixVer": "4.61",
2142
+ * "unixUtsPlugin": "4.61"
2143
+ * },
2144
+ * "harmony": {
2145
+ * "osVer": "5.0.0",
2146
+ * "uniVer": "4.31",
2147
+ * "unixVer": "4.61",
2148
+ * "unixVaporVer": "5.0"
2149
+ * }
2150
+ * },
2151
+ * "web": {
2152
+ * "uniVer": "x",
2153
+ * "unixVer": "x"
2154
+ * },
2155
+ * "mp":{
2156
+ * "weixin": {
2157
+ * "hostVer": "√",
2158
+ * "uniVer": "√",
2159
+ * "unixVer": "4.41"
2160
+ * },
2161
+ * "alipay": {
2162
+ * "hostVer": "x",
2163
+ * "uniVer": "x",
2164
+ * "unixVer": "x"
2165
+ * },
2166
+ * "baidu": {
2167
+ * "hostVer": "√",
2168
+ * "uniVer": "√",
2169
+ * "unixVer": "x"
2170
+ * },
2171
+ * "toutiao": {
2172
+ * "hostVer": "x",
2173
+ * "uniVer": "x",
2174
+ * "unixVer": "x"
2175
+ * },
2176
+ * "lark": {
2177
+ * "hostVer": "x",
2178
+ * "uniVer": "x",
2179
+ * "unixVer": "x"
2180
+ * },
2181
+ * "qq": {
2182
+ * "hostVer": "√",
2183
+ * "uniVer": "√",
2184
+ * "unixVer": "x"
2185
+ * },
2186
+ * "kuaishou": {
2187
+ * "hostVer": "√",
2188
+ * "uniVer": "√",
2189
+ * "unixVer": "x"
2190
+ * },
2191
+ * "jd": {
2192
+ * "hostVer": "x",
2193
+ * "uniVer": "x",
2194
+ * "unixVer": "x"
2195
+ * }
2196
+ * }
2197
+ * }
2198
+ */
2199
+ onInterruptionBegin(options : (result : any) => void) : void;
2200
+
2201
+ /**
2202
+ * 取消监听录音因为受到系统占用而被中断开始事件
2203
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#oninterruptionbegin
2204
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#oninterruptionbegin
2205
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
2206
+ * @uniPlatform {
2207
+ * "app": {
2208
+ * "android": {
2209
+ * "osVer": "5.0",
2210
+ * "uniVer": "x",
2211
+ * "unixVer": "5.0"
2212
+ * },
2213
+ * "ios": {
2214
+ * "osVer": "12.0",
2215
+ * "uniVer": "x",
2216
+ * "unixVer": "5.0",
2217
+ * "unixUtsPlugin": "5.0"
2218
+ * },
2219
+ * "harmony": {
2220
+ * "osVer": "5.0.0",
2221
+ * "uniVer": "x",
2222
+ * "unixVer": "5.0"
2223
+ * }
2224
+ * },
2225
+ * "web": {
2226
+ * "uniVer": "x",
2227
+ * "unixVer": "x"
2228
+ * },
2229
+ * "mp":{
2230
+ * "weixin": {
2231
+ * "hostVer": "√",
2232
+ * "uniVer": "√",
2233
+ * "unixVer": "4.41"
2234
+ * },
2235
+ * "alipay": {
2236
+ * "hostVer": "x",
2237
+ * "uniVer": "x",
2238
+ * "unixVer": "x"
2239
+ * },
2240
+ * "baidu": {
2241
+ * "hostVer": "√",
2242
+ * "uniVer": "√",
2243
+ * "unixVer": "x"
2244
+ * },
2245
+ * "toutiao": {
2246
+ * "hostVer": "x",
2247
+ * "uniVer": "x",
2248
+ * "unixVer": "x"
2249
+ * },
2250
+ * "lark": {
2251
+ * "hostVer": "x",
2252
+ * "uniVer": "x",
2253
+ * "unixVer": "x"
2254
+ * },
2255
+ * "qq": {
2256
+ * "hostVer": "√",
2257
+ * "uniVer": "√",
2258
+ * "unixVer": "x"
2259
+ * },
2260
+ * "kuaishou": {
2261
+ * "hostVer": "√",
2262
+ * "uniVer": "√",
2263
+ * "unixVer": "x"
2264
+ * },
2265
+ * "jd": {
2266
+ * "hostVer": "x",
2267
+ * "uniVer": "x",
2268
+ * "unixVer": "x"
2269
+ * }
2270
+ * }
2271
+ * }
2272
+ */
2273
+ offInterruptionBegin() : void;
2274
+ /**
2275
+ * 监听录音中断结束事件
2276
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#oninterruptionend
2277
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#oninterruptionend
2278
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
2279
+ * @uniPlatform {
2280
+ * "app": {
2281
+ * "android": {
2282
+ * "osVer": "5.0",
2283
+ * "uniVer": "x",
2284
+ * "unixVer": "4.61"
2285
+ * },
2286
+ * "ios": {
2287
+ * "osVer": "12.0",
2288
+ * "uniVer": "x",
2289
+ * "unixVer": "4.61",
2290
+ * "unixUtsPlugin": "4.61"
2291
+ * },
2292
+ * "harmony": {
2293
+ * "osVer": "5.0.0",
2294
+ * "uniVer": "4.31",
2295
+ * "unixVer": "4.61",
2296
+ * "unixVaporVer": "5.0"
2297
+ * }
2298
+ * },
2299
+ * "web": {
2300
+ * "uniVer": "x",
2301
+ * "unixVer": "x"
2302
+ * },
2303
+ * "mp":{
2304
+ * "weixin": {
2305
+ * "hostVer": "√",
2306
+ * "uniVer": "√",
2307
+ * "unixVer": "4.41"
2308
+ * },
2309
+ * "alipay": {
2310
+ * "hostVer": "x",
2311
+ * "uniVer": "x",
2312
+ * "unixVer": "x"
2313
+ * },
2314
+ * "baidu": {
2315
+ * "hostVer": "√",
2316
+ * "uniVer": "√",
2317
+ * "unixVer": "x"
2318
+ * },
2319
+ * "toutiao": {
2320
+ * "hostVer": "x",
2321
+ * "uniVer": "x",
2322
+ * "unixVer": "x"
2323
+ * },
2324
+ * "lark": {
2325
+ * "hostVer": "x",
2326
+ * "uniVer": "x",
2327
+ * "unixVer": "x"
2328
+ * },
2329
+ * "qq": {
2330
+ * "hostVer": "√",
2331
+ * "uniVer": "√",
2332
+ * "unixVer": "x"
2333
+ * },
2334
+ * "kuaishou": {
2335
+ * "hostVer": "√",
2336
+ * "uniVer": "√",
2337
+ * "unixVer": "x"
2338
+ * },
2339
+ * "jd": {
2340
+ * "hostVer": "x",
2341
+ * "uniVer": "x",
2342
+ * "unixVer": "x"
2343
+ * }
2344
+ * }
2345
+ * }
2346
+ */
2347
+ onInterruptionEnd(options : (result : any) => void) : void;
2348
+
2349
+ /**
2350
+ * 取消监听录音中断结束事件
2351
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#oninterruptionend
2352
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-recorder-manager.html#oninterruptionend
2353
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/record-manager.html
2354
+ * @uniPlatform {
2355
+ * "app": {
2356
+ * "android": {
2357
+ * "osVer": "5.0",
2358
+ * "uniVer": "x",
2359
+ * "unixVer": "5.0"
2360
+ * },
2361
+ * "ios": {
2362
+ * "osVer": "12.0",
2363
+ * "uniVer": "x",
2364
+ * "unixVer": "5.0",
2365
+ * "unixUtsPlugin": "5.0"
2366
+ * },
2367
+ * "harmony": {
2368
+ * "osVer": "5.0.0",
2369
+ * "uniVer": "x",
2370
+ * "unixVer": "5.0"
2371
+ * }
2372
+ * },
2373
+ * "web": {
2374
+ * "uniVer": "x",
2375
+ * "unixVer": "x"
2376
+ * },
2377
+ * "mp":{
2378
+ * "weixin": {
2379
+ * "hostVer": "√",
2380
+ * "uniVer": "√",
2381
+ * "unixVer": "4.41"
2382
+ * },
2383
+ * "alipay": {
2384
+ * "hostVer": "x",
2385
+ * "uniVer": "x",
2386
+ * "unixVer": "x"
2387
+ * },
2388
+ * "baidu": {
2389
+ * "hostVer": "√",
2390
+ * "uniVer": "√",
2391
+ * "unixVer": "x"
2392
+ * },
2393
+ * "toutiao": {
2394
+ * "hostVer": "x",
2395
+ * "uniVer": "x",
2396
+ * "unixVer": "x"
2397
+ * },
2398
+ * "lark": {
2399
+ * "hostVer": "x",
2400
+ * "uniVer": "x",
2401
+ * "unixVer": "x"
2402
+ * },
2403
+ * "qq": {
2404
+ * "hostVer": "√",
2405
+ * "uniVer": "√",
2406
+ * "unixVer": "x"
2407
+ * },
2408
+ * "kuaishou": {
2409
+ * "hostVer": "√",
2410
+ * "uniVer": "√",
2411
+ * "unixVer": "x"
2412
+ * },
2413
+ * "jd": {
2414
+ * "hostVer": "x",
2415
+ * "uniVer": "x",
2416
+ * "unixVer": "x"
2417
+ * }
2418
+ * }
2419
+ * }
2420
+ */
2421
+ offInterruptionEnd() : void;
2422
+ }
2423
+
2424
+
2425
+ /**
2426
+ * 错误码
2427
+ */
2428
+ export type RecorderManagerErrorCode =
2429
+ /**
2430
+ * 没有麦克风权限
2431
+ * @uniPlatform {
2432
+ * "app": {
2433
+ * "android": {
2434
+ * "osVer": "5.0",
2435
+ * "uniVer": "x",
2436
+ * "unixVer": "4.61"
2437
+ * },
2438
+ * "ios": {
2439
+ * "osVer": "12.0",
2440
+ * "uniVer": "x",
2441
+ * "unixVer": "4.61",
2442
+ * "unixUtsPlugin": "4.61"
2443
+ * },
2444
+ * "harmony": {
2445
+ * "osVer": "5.0.0",
2446
+ * "uniVer": "4.61",
2447
+ * "unixVer": "4.61",
2448
+ * "unixVaporVer": "5.0"
2449
+ * }
2450
+ * },
2451
+ * "web": {
2452
+ * "uniVer": "x",
2453
+ * "unixVer": "x"
2454
+ * },
2455
+ * "mp":{
2456
+ * "weixin": {
2457
+ * "hostVer": "√",
2458
+ * "uniVer": "√",
2459
+ * "unixVer": "4.41"
2460
+ * },
2461
+ * "alipay": {
2462
+ * "hostVer": "x",
2463
+ * "uniVer": "x",
2464
+ * "unixVer": "x"
2465
+ * },
2466
+ * "baidu": {
2467
+ * "hostVer": "√",
2468
+ * "uniVer": "√",
2469
+ * "unixVer": "x"
2470
+ * },
2471
+ * "toutiao": {
2472
+ * "hostVer": "x",
2473
+ * "uniVer": "x",
2474
+ * "unixVer": "x"
2475
+ * },
2476
+ * "lark": {
2477
+ * "hostVer": "x",
2478
+ * "uniVer": "x",
2479
+ * "unixVer": "x"
2480
+ * },
2481
+ * "qq": {
2482
+ * "hostVer": "√",
2483
+ * "uniVer": "√",
2484
+ * "unixVer": "x"
2485
+ * },
2486
+ * "kuaishou": {
2487
+ * "hostVer": "√",
2488
+ * "uniVer": "√",
2489
+ * "unixVer": "x"
2490
+ * },
2491
+ * "jd": {
2492
+ * "hostVer": "x",
2493
+ * "uniVer": "x",
2494
+ * "unixVer": "x"
2495
+ * }
2496
+ * }
2497
+ * }
2498
+ */
2499
+ 1107601 |
2500
+ /**
2501
+ * 不支持该采样率
2502
+ * @uniPlatform {
2503
+ * "app": {
2504
+ * "android": {
2505
+ * "osVer": "5.0",
2506
+ * "uniVer": "x",
2507
+ * "unixVer": "4.61"
2508
+ * },
2509
+ * "ios": {
2510
+ * "osVer": "12.0",
2511
+ * "uniVer": "x",
2512
+ * "unixVer": "4.61",
2513
+ * "unixUtsPlugin": "4.61"
2514
+ * },
2515
+ * "harmony": {
2516
+ * "osVer": "5.0.0",
2517
+ * "uniVer": "4.61",
2518
+ * "unixVer": "4.61",
2519
+ * "unixVaporVer": "5.0"
2520
+ * }
2521
+ * },
2522
+ * "web": {
2523
+ * "uniVer": "x",
2524
+ * "unixVer": "x"
2525
+ * },
2526
+ * "mp":{
2527
+ * "weixin": {
2528
+ * "hostVer": "√",
2529
+ * "uniVer": "√",
2530
+ * "unixVer": "4.41"
2531
+ * },
2532
+ * "alipay": {
2533
+ * "hostVer": "x",
2534
+ * "uniVer": "x",
2535
+ * "unixVer": "x"
2536
+ * },
2537
+ * "baidu": {
2538
+ * "hostVer": "√",
2539
+ * "uniVer": "√",
2540
+ * "unixVer": "x"
2541
+ * },
2542
+ * "toutiao": {
2543
+ * "hostVer": "x",
2544
+ * "uniVer": "x",
2545
+ * "unixVer": "x"
2546
+ * },
2547
+ * "lark": {
2548
+ * "hostVer": "x",
2549
+ * "uniVer": "x",
2550
+ * "unixVer": "x"
2551
+ * },
2552
+ * "qq": {
2553
+ * "hostVer": "√",
2554
+ * "uniVer": "√",
2555
+ * "unixVer": "x"
2556
+ * },
2557
+ * "kuaishou": {
2558
+ * "hostVer": "√",
2559
+ * "uniVer": "√",
2560
+ * "unixVer": "x"
2561
+ * },
2562
+ * "jd": {
2563
+ * "hostVer": "x",
2564
+ * "uniVer": "x",
2565
+ * "unixVer": "x"
2566
+ * }
2567
+ * }
2568
+ * }
2569
+ */
2570
+ 1107602 |
2571
+ /**
2572
+ * 采样率是和编码码率不匹配
2573
+ * @uniPlatform {
2574
+ * "app": {
2575
+ * "android": {
2576
+ * "osVer": "5.0",
2577
+ * "uniVer": "x",
2578
+ * "unixVer": "4.61"
2579
+ * },
2580
+ * "ios": {
2581
+ * "osVer": "12.0",
2582
+ * "uniVer": "x",
2583
+ * "unixVer": "4.61",
2584
+ * "unixUtsPlugin": "4.61"
2585
+ * },
2586
+ * "harmony": {
2587
+ * "osVer": "5.0.0",
2588
+ * "uniVer": "4.61",
2589
+ * "unixVer": "4.61",
2590
+ * "unixVaporVer": "5.0"
2591
+ * }
2592
+ * },
2593
+ * "web": {
2594
+ * "uniVer": "x",
2595
+ * "unixVer": "x"
2596
+ * },
2597
+ * "mp":{
2598
+ * "weixin": {
2599
+ * "hostVer": "√",
2600
+ * "uniVer": "√",
2601
+ * "unixVer": "4.41"
2602
+ * },
2603
+ * "alipay": {
2604
+ * "hostVer": "x",
2605
+ * "uniVer": "x",
2606
+ * "unixVer": "x"
2607
+ * },
2608
+ * "baidu": {
2609
+ * "hostVer": "√",
2610
+ * "uniVer": "√",
2611
+ * "unixVer": "x"
2612
+ * },
2613
+ * "toutiao": {
2614
+ * "hostVer": "x",
2615
+ * "uniVer": "x",
2616
+ * "unixVer": "x"
2617
+ * },
2618
+ * "lark": {
2619
+ * "hostVer": "x",
2620
+ * "uniVer": "x",
2621
+ * "unixVer": "x"
2622
+ * },
2623
+ * "qq": {
2624
+ * "hostVer": "√",
2625
+ * "uniVer": "√",
2626
+ * "unixVer": "x"
2627
+ * },
2628
+ * "kuaishou": {
2629
+ * "hostVer": "√",
2630
+ * "uniVer": "√",
2631
+ * "unixVer": "x"
2632
+ * },
2633
+ * "jd": {
2634
+ * "hostVer": "x",
2635
+ * "uniVer": "x",
2636
+ * "unixVer": "x"
2637
+ * }
2638
+ * }
2639
+ * }
2640
+ */
2641
+ 1107603 |
2642
+ /**
2643
+ * 启动失败
2644
+ * @uniPlatform {
2645
+ * "app": {
2646
+ * "android": {
2647
+ * "osVer": "5.0",
2648
+ * "uniVer": "x",
2649
+ * "unixVer": "4.61"
2650
+ * },
2651
+ * "ios": {
2652
+ * "osVer": "12.0",
2653
+ * "uniVer": "x",
2654
+ * "unixVer": "4.61",
2655
+ * "unixUtsPlugin": "4.61"
2656
+ * },
2657
+ * "harmony": {
2658
+ * "osVer": "5.0.0",
2659
+ * "uniVer": "4.61",
2660
+ * "unixVer": "4.61",
2661
+ * "unixVaporVer": "5.0"
2662
+ * }
2663
+ * },
2664
+ * "web": {
2665
+ * "uniVer": "x",
2666
+ * "unixVer": "x"
2667
+ * },
2668
+ * "mp":{
2669
+ * "weixin": {
2670
+ * "hostVer": "√",
2671
+ * "uniVer": "√",
2672
+ * "unixVer": "4.41"
2673
+ * },
2674
+ * "alipay": {
2675
+ * "hostVer": "x",
2676
+ * "uniVer": "x",
2677
+ * "unixVer": "x"
2678
+ * },
2679
+ * "baidu": {
2680
+ * "hostVer": "√",
2681
+ * "uniVer": "√",
2682
+ * "unixVer": "x"
2683
+ * },
2684
+ * "toutiao": {
2685
+ * "hostVer": "x",
2686
+ * "uniVer": "x",
2687
+ * "unixVer": "x"
2688
+ * },
2689
+ * "lark": {
2690
+ * "hostVer": "x",
2691
+ * "uniVer": "x",
2692
+ * "unixVer": "x"
2693
+ * },
2694
+ * "qq": {
2695
+ * "hostVer": "√",
2696
+ * "uniVer": "√",
2697
+ * "unixVer": "x"
2698
+ * },
2699
+ * "kuaishou": {
2700
+ * "hostVer": "√",
2701
+ * "uniVer": "√",
2702
+ * "unixVer": "x"
2703
+ * },
2704
+ * "jd": {
2705
+ * "hostVer": "x",
2706
+ * "uniVer": "x",
2707
+ * "unixVer": "x"
2708
+ * }
2709
+ * }
2710
+ * }
2711
+ */
2712
+ 1107604 |
2713
+ /**
2714
+ * 不支持该音频格式
2715
+ * @uniPlatform {
2716
+ * "app": {
2717
+ * "android": {
2718
+ * "osVer": "5.0",
2719
+ * "uniVer": "x",
2720
+ * "unixVer": "4.61"
2721
+ * },
2722
+ * "ios": {
2723
+ * "osVer": "12.0",
2724
+ * "uniVer": "x",
2725
+ * "unixVer": "4.61",
2726
+ * "unixUtsPlugin": "4.61"
2727
+ * },
2728
+ * "harmony": {
2729
+ * "osVer": "5.0.0",
2730
+ * "uniVer": "4.61",
2731
+ * "unixVer": "4.61",
2732
+ * "unixVaporVer": "5.0"
2733
+ * }
2734
+ * },
2735
+ * "web": {
2736
+ * "uniVer": "x",
2737
+ * "unixVer": "x"
2738
+ * },
2739
+ * "mp":{
2740
+ * "weixin": {
2741
+ * "hostVer": "√",
2742
+ * "uniVer": "√",
2743
+ * "unixVer": "4.41"
2744
+ * },
2745
+ * "alipay": {
2746
+ * "hostVer": "x",
2747
+ * "uniVer": "x",
2748
+ * "unixVer": "x"
2749
+ * },
2750
+ * "baidu": {
2751
+ * "hostVer": "√",
2752
+ * "uniVer": "√",
2753
+ * "unixVer": "x"
2754
+ * },
2755
+ * "toutiao": {
2756
+ * "hostVer": "x",
2757
+ * "uniVer": "x",
2758
+ * "unixVer": "x"
2759
+ * },
2760
+ * "lark": {
2761
+ * "hostVer": "x",
2762
+ * "uniVer": "x",
2763
+ * "unixVer": "x"
2764
+ * },
2765
+ * "qq": {
2766
+ * "hostVer": "√",
2767
+ * "uniVer": "√",
2768
+ * "unixVer": "x"
2769
+ * },
2770
+ * "kuaishou": {
2771
+ * "hostVer": "√",
2772
+ * "uniVer": "√",
2773
+ * "unixVer": "x"
2774
+ * },
2775
+ * "jd": {
2776
+ * "hostVer": "x",
2777
+ * "uniVer": "x",
2778
+ * "unixVer": "x"
2779
+ * }
2780
+ * }
2781
+ * }
2782
+ */
2783
+ 1107605 |
2784
+ /**
2785
+ * 其他错误
2786
+ * @uniPlatform {
2787
+ * "app": {
2788
+ * "android": {
2789
+ * "osVer": "5.0",
2790
+ * "uniVer": "x",
2791
+ * "unixVer": "4.61"
2792
+ * },
2793
+ * "ios": {
2794
+ * "osVer": "12.0",
2795
+ * "uniVer": "x",
2796
+ * "unixVer": "4.61",
2797
+ * "unixUtsPlugin": "4.61"
2798
+ * },
2799
+ * "harmony": {
2800
+ * "osVer": "5.0.0",
2801
+ * "uniVer": "4.61",
2802
+ * "unixVer": "4.61",
2803
+ * "unixVaporVer": "5.0"
2804
+ * }
2805
+ * },
2806
+ * "web": {
2807
+ * "uniVer": "x",
2808
+ * "unixVer": "x"
2809
+ * },
2810
+ * "mp":{
2811
+ * "weixin": {
2812
+ * "hostVer": "√",
2813
+ * "uniVer": "√",
2814
+ * "unixVer": "4.41"
2815
+ * },
2816
+ * "alipay": {
2817
+ * "hostVer": "x",
2818
+ * "uniVer": "x",
2819
+ * "unixVer": "x"
2820
+ * },
2821
+ * "baidu": {
2822
+ * "hostVer": "√",
2823
+ * "uniVer": "√",
2824
+ * "unixVer": "x"
2825
+ * },
2826
+ * "toutiao": {
2827
+ * "hostVer": "x",
2828
+ * "uniVer": "x",
2829
+ * "unixVer": "x"
2830
+ * },
2831
+ * "lark": {
2832
+ * "hostVer": "x",
2833
+ * "uniVer": "x",
2834
+ * "unixVer": "x"
2835
+ * },
2836
+ * "qq": {
2837
+ * "hostVer": "√",
2838
+ * "uniVer": "√",
2839
+ * "unixVer": "x"
2840
+ * },
2841
+ * "kuaishou": {
2842
+ * "hostVer": "√",
2843
+ * "uniVer": "√",
2844
+ * "unixVer": "x"
2845
+ * },
2846
+ * "jd": {
2847
+ * "hostVer": "x",
2848
+ * "uniVer": "x",
2849
+ * "unixVer": "x"
2850
+ * }
2851
+ * }
2852
+ * }
2853
+ */
2854
+ 1107606 |
2855
+ /**
2856
+ * 被打断
2857
+ * @uniPlatform {
2858
+ * "app": {
2859
+ * "android": {
2860
+ * "osVer": "5.0",
2861
+ * "uniVer": "x",
2862
+ * "unixVer": "4.61"
2863
+ * },
2864
+ * "ios": {
2865
+ * "osVer": "12.0",
2866
+ * "uniVer": "x",
2867
+ * "unixVer": "4.61",
2868
+ * "unixUtsPlugin": "4.61"
2869
+ * },
2870
+ * "harmony": {
2871
+ * "osVer": "5.0.0",
2872
+ * "uniVer": "4.61",
2873
+ * "unixVer": "4.61",
2874
+ * "unixVaporVer": "5.0"
2875
+ * }
2876
+ * },
2877
+ * "web": {
2878
+ * "uniVer": "x",
2879
+ * "unixVer": "x"
2880
+ * },
2881
+ * "mp":{
2882
+ * "weixin": {
2883
+ * "hostVer": "√",
2884
+ * "uniVer": "√",
2885
+ * "unixVer": "4.41"
2886
+ * },
2887
+ * "alipay": {
2888
+ * "hostVer": "x",
2889
+ * "uniVer": "x",
2890
+ * "unixVer": "x"
2891
+ * },
2892
+ * "baidu": {
2893
+ * "hostVer": "√",
2894
+ * "uniVer": "√",
2895
+ * "unixVer": "x"
2896
+ * },
2897
+ * "toutiao": {
2898
+ * "hostVer": "x",
2899
+ * "uniVer": "x",
2900
+ * "unixVer": "x"
2901
+ * },
2902
+ * "lark": {
2903
+ * "hostVer": "x",
2904
+ * "uniVer": "x",
2905
+ * "unixVer": "x"
2906
+ * },
2907
+ * "qq": {
2908
+ * "hostVer": "√",
2909
+ * "uniVer": "√",
2910
+ * "unixVer": "x"
2911
+ * },
2912
+ * "kuaishou": {
2913
+ * "hostVer": "√",
2914
+ * "uniVer": "√",
2915
+ * "unixVer": "x"
2916
+ * },
2917
+ * "jd": {
2918
+ * "hostVer": "x",
2919
+ * "uniVer": "x",
2920
+ * "unixVer": "x"
2921
+ * }
2922
+ * }
2923
+ * }
2924
+ */
2925
+ 1107607 |
2926
+ /**
2927
+ * 正在录音中,请稍后执行此操作
2928
+ * @uniPlatform {
2929
+ * "app": {
2930
+ * "android": {
2931
+ * "osVer": "5.0",
2932
+ * "uniVer": "x",
2933
+ * "unixVer": "4.81"
2934
+ * },
2935
+ * "ios": {
2936
+ * "osVer": "12.0",
2937
+ * "uniVer": "x",
2938
+ * "unixVer": "x",
2939
+ * "unixUtsPlugin": x""
2940
+ * },
2941
+ * "harmony": {
2942
+ * "osVer": "5.0.0",
2943
+ * "uniVer": "x",
2944
+ * "unixVer": "x"
2945
+ * }
2946
+ * },
2947
+ * "web": {
2948
+ * "uniVer": "x",
2949
+ * "unixVer": "x"
2950
+ * },
2951
+ * "mp":{
2952
+ * "weixin": {
2953
+ * "hostVer": "√",
2954
+ * "uniVer": "√",
2955
+ * "unixVer": "4.41"
2956
+ * },
2957
+ * "alipay": {
2958
+ * "hostVer": "x",
2959
+ * "uniVer": "x",
2960
+ * "unixVer": "x"
2961
+ * },
2962
+ * "baidu": {
2963
+ * "hostVer": "√",
2964
+ * "uniVer": "√",
2965
+ * "unixVer": "x"
2966
+ * },
2967
+ * "toutiao": {
2968
+ * "hostVer": "x",
2969
+ * "uniVer": "x",
2970
+ * "unixVer": "x"
2971
+ * },
2972
+ * "lark": {
2973
+ * "hostVer": "x",
2974
+ * "uniVer": "x",
2975
+ * "unixVer": "x"
2976
+ * },
2977
+ * "qq": {
2978
+ * "hostVer": "√",
2979
+ * "uniVer": "√",
2980
+ * "unixVer": "x"
2981
+ * },
2982
+ * "kuaishou": {
2983
+ * "hostVer": "√",
2984
+ * "uniVer": "√",
2985
+ * "unixVer": "x"
2986
+ * },
2987
+ * "jd": {
2988
+ * "hostVer": "x",
2989
+ * "uniVer": "x",
2990
+ * "unixVer": "x"
2991
+ * }
2992
+ * }
2993
+ * }
2994
+ */
2995
+ 1107608;
2996
+
2997
+ export interface IRecorderManagerFail extends IUniError {
2998
+ errCode : RecorderManagerErrorCode
2999
+ };