diff --git a/docs/.vuepress/utils/uniappApiJson.json b/docs/.vuepress/utils/uniappApiJson.json index 2d2bcbcc4f5ca5483f5847241ee3b922009b84be..dcf5e31fa35c446a94e09ca176a56bb5e0bffede 100644 --- a/docs/.vuepress/utils/uniappApiJson.json +++ b/docs/.vuepress/utils/uniappApiJson.json @@ -1 +1 @@ -{"getApp":{"name":"## getApp() @getapp","description":"`getApp()` 函数用于获取当前应用实例,可通过应用实例调用 App.uvue methods 中定义的方法。","compatibility":"### getApp HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"getCurrentPages":{"name":"## getCurrentPages() @getcurrentpages","description":"`getCurrentPages()` 函数用于获取当前页面栈的实例,以数组形式按栈的顺序给出,数组中的元素为页面实例,第一个元素为首页,最后一个元素为当前页面。","compatibility":"### getCurrentPages HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[Page](#page-values)\\> |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| route | - |\n@| options | - |\n#### Page 的方法 @page-values \n\n#### $getPageStyle() @$getpagestyle\n获取当前页面样式 \\\n包含 pages.json 页面下的 style 节点属性和根节点 globalStyle 属性\n##### $getPageStyle HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| UTSJSONObject |\n \n\n#### $setPageStyle(style) @$setpagestyle\n设置当前页面样式 \\\n支持 pages.json 页面下的 style 节点属性和根节点 globalStyle 属性\n##### $setPageStyle HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| style | - | \n\n \n","tutorial":""},"env":{"name":"## env","description":"环境变量","param":"### env 的属性值 @env-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| USER_DATA_PATH | - |\n| CACHE_PATH | - |\n| SANDBOX_PATH | - |\n| ANDROID_INTERNAL_SANDBOX_PATH | - |\n","compatibility":"","returnValue":"","tutorial":""},"$on":{"name":"## uni.$on(eventName, callback) @$on","description":"监听自定义事件。事件可以由 uni.$emit 触发。回调函数会接收 uni.$emit 传递的参数。\n","compatibility":"### $on HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| eventName | - |\n| callback | - | \n","returnValue":"","tutorial":""},"$once":{"name":"## uni.$once(eventName, callback) @$once","description":"监听一个自定义事件。事件只触发一次,在第一次触发之后移除事件监听器。\n","compatibility":"### $once HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| eventName | - |\n| callback | - | \n","returnValue":"","tutorial":""},"$off":{"name":"## uni.$off(eventName, callback?) @$off","description":"移除自定义事件监听器。如果提供了事件名和回调,则只移除这个回调的监听器。\n4.13+ 开始支持第二个参数为可选,如果仅提供事件名,则移除该事件的所有监听器。","compatibility":"### $off HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| eventName | - |\n| callback | - | \n","returnValue":"","tutorial":""},"$emit":{"name":"## uni.$emit(eventName, args?) @$emit","description":"触发自定义事件,附加的参数会传递给事件监听器。\n","compatibility":"### $emit HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| eventName | - |\n| args | - | \n","returnValue":"","tutorial":""},"base64ToArrayBuffer":{"name":"## uni.base64ToArrayBuffer(base64) @base64toarraybuffer","description":"将 Base64 字符串转成 ArrayBuffer 对象\n","compatibility":"### base64ToArrayBuffer HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| base64 | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| ArrayBuffer |\n \n","tutorial":""},"arrayBufferToBase64":{"name":"## uni.arrayBufferToBase64(arrayBuffer) @arraybuffertobase64","description":"将 ArrayBuffer 对象转成 Base64 字符串\n","compatibility":"### arrayBufferToBase64 HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| arrayBuffer | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n","tutorial":""},"addInterceptor":{"name":"## uni.addInterceptor(name, interceptor) @addinterceptor","description":"添加拦截器","compatibility":"### addInterceptor HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| interceptor | - | \n","returnValue":"","tutorial":""},"removeInterceptor":{"name":"## uni.removeInterceptor(name, interceptor?) @removeinterceptor","description":"删除拦截器","compatibility":"### removeInterceptor HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| interceptor | - | \n","returnValue":"","tutorial":""},"getLaunchOptionsSync":{"name":"## uni.getLaunchOptionsSync() @getlaunchoptionssync","description":"获取本次启动时的参数。返回值与App.onLaunch的回调参数一致\n","compatibility":"### getLaunchOptionsSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **OnLaunchOptions** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| path | - |\n@| appScheme | - |\n@| appLink | - | \n","tutorial":""},"getEnterOptionsSync":{"name":"## uni.getEnterOptionsSync() @getenteroptionssync","description":"获取本次启动时的参数。返回值与App.onShow的回调参数一致\n","compatibility":"### getEnterOptionsSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **OnShowOptions** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| path | - |\n@| appScheme | - |\n@| appLink | - | \n","tutorial":""},"exit":{"name":"## uni.exit(options?) @exit","description":"退出当前应用","compatibility":"### exit HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ExitSuccess 的属性值 @exitsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n##### IExitError 的属性值 @iexiterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getProvider":{"name":"## uni.~~getProvider~~(options) @getprovider","description":"获取服务供应商 **已废弃(仅为了兼容uni1的规范)**","compatibility":"### getProvider HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"","tutorial":""},"getProviderIds":{"name":"## uni.getProviderIds(options) @getproviderids","description":"获取服务供应商ids","compatibility":"### getProviderIds HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 | 必备 |\n| :- | :- | :- |\n| Array\\ \\| null | 服务提供商 | 否 |\n \n","tutorial":""},"getProviderObject":{"name":"## uni.getProviderObject(options) @getproviderobject","description":"获取服务供应商对象","compatibility":"### getProviderObject HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 | 必备 |\n| :- | :- | :- |\n| **UniProvider** \\| null | provider对象 | 否 |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| description | - |\n@| isAppExist | - | \n","tutorial":""},"getPerformance":{"name":"## uni.getPerformance() @getperformance","description":"返回一个Performance对象实例\n","compatibility":"### getPerformance HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [Performance](#performance-values) |\n\n#### Performance 的方法 @performance-values \n\n#### createObserver(callback) @createobserver\n创建全局性能事件监听器\n##### createObserver HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### PerformanceObserverEntryList 的方法 @performanceobserverentrylist-values \n\n###### getEntries() @getentries\n该方法返回当前列表中的所有性能数据\n###### getEntries HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<**PerformanceEntry**\\> |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| entryType | - |\n@| name | - |\n@| duration | - |\n@| startTime | - |\n@| path | - |\n@| referrerPath | - |\n@| pageId | - |\n@| referrerPageId | - |\n@| navigationStart | - |\n@| navigationType | - |\n@| initDataRecvTime | - |\n@| viewLayerRenderEndTime | - | \n\n###### getEntriesByType(entryType) @getentriesbytype\n获取当前列表中所有类型为 \\[entryType]的性能数据\n###### getEntriesByType HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| entryType | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n###### getEntriesByName(name, entryType) @getentriesbyname\n获取当前列表中所有名称为 \\[name] 且类型为 [entryType]的性能数据\n###### getEntriesByName HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| entryType | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [PerformanceObserver](#performanceobserver-values) |\n\n###### PerformanceObserver 的方法 @performanceobserver-values \n\n###### observe(options) @observe\n开始监听\n###### observe HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| buffered | - |\n@| entryTypes | - |\n@| type | - | \n\n\n###### disconnect() @disconnect\n停止监听\n###### disconnect HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n \n\n#### getEntries() @getentries\n该方法返回当前缓冲区中的所有性能数据\n##### getEntries HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n#### getEntriesByType(entryType) @getentriesbytype\n获取当前缓冲区中所有类型为 \\[entryType]的性能数据\n##### getEntriesByType HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| entryType | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n#### getEntriesByName(name, entryType) @getentriesbyname\n获取当前缓冲区中所有名称为 \\[name] 且类型为 [entryType]的性能数据\n##### getEntriesByName HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| entryType | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n#### setBufferSize(size) @setbuffersize\n设置缓冲区大小,默认缓冲 30 条性能数据\n##### setBufferSize HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| size | - | \n\n \n","tutorial":""},"navigateTo":{"name":"## uni.navigateTo(options) @navigateto","description":"保留当前页面,跳转到应用内的某个页面\n","compatibility":"### navigateTo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| animationType | HBuilderX 4.23 |\n@| animationDuration | HBuilderX 4.23 |\n@| events | HBuilderX 4.23 |\n@| success | HBuilderX 4.23 |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n##### NavigateToFail 的属性值 @navigatetofail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"reLaunch":{"name":"## uni.reLaunch(options) @relaunch","description":"关闭所有页面,打开到应用内的某个页面\n","compatibility":"### reLaunch HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| success | HBuilderX 4.23 |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n##### ReLaunchFail 的属性值 @relaunchfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"navigateBack":{"name":"## uni.navigateBack(options?) @navigateback","description":"关闭当前页面,返回上一页面或多级页面\n","compatibility":"### navigateBack HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| delta | HBuilderX 4.23 |\n@| success | - |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n##### NavigateBackFail 的属性值 @navigatebackfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"redirectTo":{"name":"## uni.redirectTo(options) @redirectto","description":"关闭当前页面,跳转到应用内的某个页面\n","compatibility":"### redirectTo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| success | HBuilderX 4.23 |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n##### RedirectToFail 的属性值 @redirecttofail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"switchTab":{"name":"## uni.switchTab(options) @switchtab","description":"跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面\n","compatibility":"### switchTab HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| success | HBuilderX 4.23 |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n##### SwitchTabFail 的属性值 @switchtabfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"setNavigationBarColor":{"name":"## uni.setNavigationBarColor(options) @setnavigationbarcolor","description":"设置导航条、状态栏颜色\n","compatibility":"### setNavigationBarColor HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| frontColor | HBuilderX 4.23 |\n@| backgroundColor | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetNavigationBarColorFail 的属性值 @setnavigationbarcolorfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"setNavigationBarTitle":{"name":"## uni.setNavigationBarTitle(options) @setnavigationbartitle","description":"动态设置当前页面的标题\n","compatibility":"### setNavigationBarTitle HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetNavigationBarTitleFail 的属性值 @setnavigationbartitlefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"showTabBar":{"name":"## uni.showTabBar(options?) @showtabbar","description":"显示 tabBar\n","compatibility":"### showTabBar HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| animation | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"hideTabBar":{"name":"## uni.hideTabBar(options?) @hidetabbar","description":"隐藏 tabBar\n","compatibility":"### hideTabBar HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| animation | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"showTabBarRedDot":{"name":"## uni.showTabBarRedDot(options) @showtabbarreddot","description":"显示 tabBar 某一项的右上角的红点\n","compatibility":"### showTabBarRedDot HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"hideTabBarRedDot":{"name":"## uni.hideTabBarRedDot(options) @hidetabbarreddot","description":"隐藏 tabBar 某一项的右上角的红点\n","compatibility":"### hideTabBarRedDot HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"setTabBarBadge":{"name":"## uni.setTabBarBadge(options) @settabbarbadge","description":"为 tabBar 某一项的右上角添加文本\n","compatibility":"### setTabBarBadge HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| text | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"removeTabBarBadge":{"name":"## uni.removeTabBarBadge(options) @removetabbarbadge","description":"移除 tabBar 某一项右上角的文本\n","compatibility":"### removeTabBarBadge HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"setTabBarStyle":{"name":"## uni.setTabBarStyle(options) @settabbarstyle","description":"动态设置 tabBar 的整体样式\n","compatibility":"### setTabBarStyle HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| color | - |\n@| selectedColor | - |\n@| backgroundColor | - |\n@| backgroundImage | - |\n@| backgroundRepeat | - |\n@| borderColor | HBuilderX 4.23 |\n@| borderStyle | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"setTabBarItem":{"name":"## uni.setTabBarItem(options) @settabbaritem","description":"动态设置 tabBar 某一项的内容\n","compatibility":"### setTabBarItem HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| text | - |\n@| iconPath | - |\n@| selectedIconPath | - |\n@| pagePath | - |\n@| iconfont | - |\n@| visible | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"startPullDownRefresh":{"name":"## uni.startPullDownRefresh(options?) @startpulldownrefresh","description":"开始下拉刷新\n","compatibility":"### startPullDownRefresh HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### StartPullDownRefreshFail 的属性值 @startpulldownrefreshfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"stopPullDownRefresh":{"name":"## uni.stopPullDownRefresh() @stoppulldownrefresh","description":"停止当前页面下拉刷新\n","compatibility":"### stopPullDownRefresh HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"","tutorial":""},"pageScrollTo":{"name":"## uni.pageScrollTo(options) @pagescrollto","description":"将页面滚动到目标位置\n","compatibility":"### pageScrollTo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| scrollTop | - |\n@| selector | - |\n@| offsetTop | HBuilderX 4.23 |\n@| duration | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### PageScrollToFail 的属性值 @pagescrolltofail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"onTabBarMidButtonTap":{"name":"## uni.onTabBarMidButtonTap(options) @ontabbarmidbuttontap","description":"监听中间按钮的点击事件","compatibility":"### onTabBarMidButtonTap HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"","tutorial":""},"getElementById":{"name":"## uni.getElementById(id) @getelementbyid","description":"返回一个匹配特定 ID 的元素, 如果不存在,返回 null。\\\n如果需要获取指定的节点类型,需要使用 as 进行类型转换。\\\nID 区分大小写,且应该是唯一的。如果存在多个匹配的元素,则返回第一个匹配的元素。\n","compatibility":"### getElementById HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| id | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| [UniElement](/dom/unielement.md) \\| null | 否 |\n \n","tutorial":""},"createSelectorQuery":{"name":"## uni.createSelectorQuery() @createselectorquery","description":"返回一个SelectorQuery对象实例\n","compatibility":"### createSelectorQuery HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n\n#### SelectorQuery 的方法 @selectorquery-values \n\n#### in(component?) @in\n将选择器的选取范围更改为自定义组件component内\n##### in HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| component | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n#### select(selector) @select\n在当前页面下选择第一个匹配选择器selector的节点\n##### select HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| selector | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [NodesRef](#nodesref-values) |\n\n###### NodesRef 的方法 @nodesref-values \n\n###### boundingClientRect(callback?) @boundingclientrect\n添加节点的布局位置的查询请求,相对于显示区域,以像素为单位\n###### boundingClientRect HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n###### scrollOffset(callback) @scrolloffset\n添加节点的滚动位置查询请求,以像素为单位\n###### scrollOffset HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n###### fields(fields, callback?) @fields\n获取节点的相关信息,需要获取的字段在fields中指定\n###### fields HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| fields | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| dataset | - |\n@| rect | - |\n@| size | - |\n@| scrollOffset | - |\n@| properties | - |\n@| computedStyle | - |\n@| context | - |\n@| node | - |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n###### context(callback) @context\n添加节点的 Context 对象查询请求\n###### context HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n###### node(callback) @node\n获取 Node 节点实例。目前支持 Canvas 的获取。\n###### node HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n \n\n#### selectAll(selector) @selectall\n在当前页面下选择匹配选择器selector的所有节点\n##### selectAll HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| selector | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [NodesRef](#nodesref-values) |\n \n\n#### selectViewport() @selectviewport\n选择显示区域\n##### selectViewport HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [NodesRef](#nodesref-values) |\n \n\n#### exec(callback) @exec\n执行所有的请求\n##### exec HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| [NodesRef](#nodesref-values) \\| null | 否 |\n \n \n","tutorial":""},"createIntersectionObserver":{"name":"## uni.createIntersectionObserver(component, options) @createintersectionobserver","description":"创建并返回一个 IntersectionObserver 对象实例\n","compatibility":"### createIntersectionObserver HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| component | - |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| thresholds | - |\n@| initialRatio | - |\n@| observeAll | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [IntersectionObserver](#intersectionobserver-values) |\n\n#### IntersectionObserver 的方法 @intersectionobserver-values \n\n#### relativeTo(selector, margins?) @relativeto\n使用选择器指定一个节点,作为参照区域之一\n##### relativeTo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| selector | - |\n| margins | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [IntersectionObserver](#intersectionobserver-values) |\n \n\n#### relativeToViewport(margins?) @relativetoviewport\n指定页面显示区域作为参照区域之一\n##### relativeToViewport HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| margins | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [IntersectionObserver](#intersectionobserver-values) |\n \n\n#### observe(targetSelector, callback) @observe\n指定目标节点并开始监听相交状态变化情况\n##### observe HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| targetSelector | - |\n| callback | - | \n\n###### ObserveResult 的属性值 @observeresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| intersectionRatio | - |\n| intersectionRect | - |\n| boundingClientRect | - |\n| relativeRect | - |\n| time | - |\n\n\n#### disconnect() @disconnect\n停止监听\n##### disconnect HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n \n","tutorial":""},"showActionSheet":{"name":"## uni.showActionSheet(options) @showactionsheet","description":"从底部向上弹出操作菜单","compatibility":"### showActionSheet HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | - |\n@| alertText | - |\n@| itemList | - |\n@| itemColor | - |\n@| popover | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ShowActionSheetSuccess 的属性值 @showactionsheetsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tapIndex | - |\n\n##### IPromptError 的属性值 @iprompterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"showModal":{"name":"## uni.showModal(options) @showmodal","description":"显示模态弹窗,可以只有一个确定按钮,也可以同时有确定和取消按钮。类似于一个API整合了 html 中:alert、confirm。","compatibility":"### showModal HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | - |\n@| content | - |\n@| showCancel | - |\n@| cancelText | - |\n@| cancelColor | - |\n@| confirmText | - |\n@| confirmColor | - |\n@| editable | - |\n@| placeholderText | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ShowModalSuccess 的属性值 @showmodalsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| confirm | - |\n| cancel | - |\n| content | - |\n\n##### IPromptError 的属性值 @iprompterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"showLoading":{"name":"## uni.showLoading(options) @showloading","description":"显示 loading 提示框, 需主动调用 uni.hideLoading 才能关闭提示框。","compatibility":"### showLoading HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | - |\n@| mask | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### IPromptError 的属性值 @iprompterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"hideLoading":{"name":"## uni.hideLoading() @hideloading","description":"隐藏 loading 提示框。","compatibility":"### hideLoading HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"","tutorial":""},"showToast":{"name":"## uni.showToast(options) @showtoast","description":"显示消息提示框","compatibility":"### showToast HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | - |\n@| icon | - |\n@| image | - |\n@| mask | - |\n@| duration | - |\n@| position | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### IPromptError 的属性值 @iprompterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"hideToast":{"name":"## uni.hideToast() @hidetoast","description":"隐藏消息提示框。","compatibility":"### hideToast HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"","tutorial":""},"loadFontFace":{"name":"## uni.loadFontFace(options) @loadfontface","description":"动态加载网络字体\n","compatibility":"### loadFontFace HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| global | - |\n@| family | - |\n@| source | - |\n@| desc | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### LoadFontFaceFail 的属性值 @loadfontfacefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n##### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise \\| null | 否 |\n \n","tutorial":""},"rpx2px":{"name":"## uni.rpx2px(number) @rpx2px","description":"将rpx单位值转换成px","compatibility":"### rpx2px HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| number | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| number |\n \n","tutorial":""},"setAppTheme":{"name":"## uni.setAppTheme(options) @setapptheme","description":"设置应用主题","compatibility":"### setAppTheme HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | x | \n\n##### SetAppThemeSuccessResult 的属性值 @setappthemesuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| theme | - |\n\n##### IAppThemeFail 的属性值 @iappthemefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"onOsThemeChange":{"name":"## uni.onOsThemeChange(callback) @onosthemechange","description":"开启监听系统主题变化","compatibility":"### onOsThemeChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| number |\n \n","tutorial":""},"offOsThemeChange":{"name":"## uni.offOsThemeChange(id) @offosthemechange","description":"取消监听系统主题变化","compatibility":"### offOsThemeChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| id | - | \n","returnValue":"","tutorial":""},"onAppThemeChange":{"name":"## uni.onAppThemeChange(callback) @onappthemechange","description":"开启监听应用主题变化","compatibility":"### onAppThemeChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| number |\n \n","tutorial":""},"offAppThemeChange":{"name":"## uni.offAppThemeChange(id) @offappthemechange","description":"取消监听应用主题变化","compatibility":"### offAppThemeChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| id | - | \n","returnValue":"","tutorial":""},"onThemeChange":{"name":"## uni.onThemeChange(callback) @onthemechange","description":"监听系统主题状态变化。\n","compatibility":"### onThemeChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnThemeChangeCallbackResult 的属性值 @onthemechangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| theme | - |\n","returnValue":"","tutorial":""},"offThemeChange":{"name":"## uni.offThemeChange(callback) @offthemechange","description":"取消监听系统主题状态变化。\n","compatibility":"### offThemeChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OffThemeChangeCallbackResult 的属性值 @offthemechangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| theme | - |\n","returnValue":"","tutorial":""},"getLocale":{"name":"## uni.getLocale() @getlocale","description":"获取当前设置的语言\n","compatibility":"### getLocale HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n","tutorial":""},"setLocale":{"name":"## uni.setLocale(locale) @setlocale","description":"设置当前语言\n","compatibility":"### setLocale HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| locale | - | \n","returnValue":"","tutorial":""},"onLocaleChange":{"name":"## uni.onLocaleChange(callback) @onlocalechange","description":"设置当前语言\n","compatibility":"### onLocaleChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnLocaleChangeCallbackResult 的属性值 @onlocalechangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| locale | - |\n","returnValue":"","tutorial":""},"request":{"name":"## uni.request(param) @request","description":"发起网络请求。","compatibility":"### request HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| param | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| data | HBuilderX 4.23 |\n@| header | HBuilderX 4.23 |\n@| method | HBuilderX 4.23 |\n@| timeout | - |\n@| withCredentials | x |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### RequestSuccess\\ 的属性值 @requestsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.23 |\n| statusCode | HBuilderX 4.23 |\n| header | HBuilderX 4.23 |\n| cookies | HBuilderX 4.23 |\n\n##### RequestFail 的属性值 @requestfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [RequestTask](#requesttask-values) |\n\n#### RequestTask 的方法 @requesttask-values \n\n#### abort() @abort\n中断网络请求。\n##### abort HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n \n","tutorial":""},"uploadFile":{"name":"## uni.uploadFile(options) @uploadfile","description":"将本地资源上传到开发者服务器。","compatibility":"### uploadFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| filePath | HBuilderX 4.23 |\n@| name | HBuilderX 4.23 |\n@| files | HBuilderX 4.23 |\n@| header | HBuilderX 4.23 |\n@| formData | HBuilderX 4.23 |\n@| timeout | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### UploadFileSuccess 的属性值 @uploadfilesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.23 |\n| statusCode | HBuilderX 4.23 |\n\n##### UploadFileFail 的属性值 @uploadfilefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [UploadTask](#uploadtask-values) |\n\n#### UploadTask 的方法 @uploadtask-values \n\n#### abort() @abort\n中断上传任务。\n##### abort HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### onProgressUpdate(callback) @onprogressupdate\n监听上传进度变化。\n##### onProgressUpdate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### OnProgressUpdateResult 的属性值 @onprogressupdateresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| progress | HBuilderX 4.23 |\n| totalBytesSent | HBuilderX 4.23 |\n| totalBytesExpectedToSend | HBuilderX 4.23 |\n\n \n","tutorial":""},"downloadFile":{"name":"## uni.downloadFile(options) @downloadfile","description":"下载文件资源到本地,客户端直接发起一个 HTTP GET 请求,返回文件的本地临时路径。","compatibility":"### downloadFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| header | - |\n@| filePath | HBuilderX 4.23 |\n@| timeout | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### DownloadFileSuccess 的属性值 @downloadfilesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | HBuilderX 4.23 |\n| statusCode | HBuilderX 4.23 |\n\n##### DownloadFileFail 的属性值 @downloadfilefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [DownloadTask](#downloadtask-values) |\n\n#### DownloadTask 的方法 @downloadtask-values \n\n#### abort() @abort\n中断下载任务\n##### abort HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### onProgressUpdate(callback) @onprogressupdate\n监听下载进度变化。\n##### onProgressUpdate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### OnProgressDownloadResult 的属性值 @onprogressdownloadresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| progress | HBuilderX 4.23 |\n| totalBytesWritten | HBuilderX 4.23 |\n| totalBytesExpectedToWrite | HBuilderX 4.23 |\n\n \n","tutorial":""},"getNetworkType":{"name":"## uni.getNetworkType(options) @getnetworktype","description":"获取网络类型","compatibility":"### getNetworkType HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### GetNetworkTypeSuccess 的属性值 @getnetworktypesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| networkType | - |\n","returnValue":"","tutorial":""},"connectSocket":{"name":"## uni.connectSocket(options) @connectsocket","description":"创建一个 WebSocket 连接。","compatibility":"### connectSocket HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| header | HBuilderX 4.23 |\n@| protocols | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ConnectSocketSuccess 的属性值 @connectsocketsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n##### ConnectSocketFail 的属性值 @connectsocketfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SocketTask](#sockettask-values) |\n\n#### SocketTask 的方法 @sockettask-values \n\n#### send(options) @send\n通过 WebSocket 连接发送数据\n##### send HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| data | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### SendSocketMessageFail 的属性值 @sendsocketmessagefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### close(options) @close\n关闭 WebSocket 连接\n##### close HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| code | HBuilderX 4.23 |\n@| reason | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### onOpen(callback) @onopen\n监听 WebSocket 连接打开事件\n##### onOpen HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### OnSocketOpenCallbackResult 的属性值 @onsocketopencallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| header | HBuilderX 4.23 |\n\n\n#### onClose(callback) @onclose\n监听 WebSocket 连接关闭事件\n##### onClose HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onError(callback) @onerror\n监听 WebSocket 错误\n##### onError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onMessage(callback) @onmessage\n监听 WebSocket 接受到服务器的消息事件\n##### onMessage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### OnSocketMessageCallbackResult 的属性值 @onsocketmessagecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.23 |\n\n \n","tutorial":""},"onSocketOpen":{"name":"## uni.onSocketOpen(options) @onsocketopen","description":"监听WebSocket连接打开事件。","compatibility":"### onSocketOpen HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"","tutorial":""},"onSocketError":{"name":"## uni.onSocketError(callback) @onsocketerror","description":"监听WebSocket错误。","compatibility":"### onSocketError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnSocketErrorCallbackResult 的属性值 @onsocketerrorcallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"","tutorial":""},"sendSocketMessage":{"name":"## uni.sendSocketMessage(options) @sendsocketmessage","description":"通过 WebSocket 连接发送数据,需要先 uni.connectSocket,并在 uni.onSocketOpen 回调之后才能发送。","compatibility":"### sendSocketMessage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| data | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SendSocketMessageFail 的属性值 @sendsocketmessagefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"onSocketMessage":{"name":"## uni.onSocketMessage(callback) @onsocketmessage","description":"监听WebSocket接受到服务器的消息事件。","compatibility":"### onSocketMessage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnSocketMessageCallbackResult 的属性值 @onsocketmessagecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.23 |\n","returnValue":"","tutorial":""},"closeSocket":{"name":"## uni.closeSocket(options) @closesocket","description":"关闭 WebSocket 连接。","compatibility":"### closeSocket HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| code | HBuilderX 4.23 |\n@| reason | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"onSocketClose":{"name":"## uni.onSocketClose(callback) @onsocketclose","description":"监听WebSocket关闭。","compatibility":"### onSocketClose HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnSocketCloseCallbackResult 的属性值 @onsocketclosecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| code | HBuilderX 4.23 |\n| reason | HBuilderX 4.23 |\n","returnValue":"","tutorial":""},"onNetworkStatusChange":{"name":"## uni.onNetworkStatusChange(callback) @onnetworkstatuschange","description":"监听网络状态变化\r\n","compatibility":"### onNetworkStatusChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnNetworkStatusChangeCallbackResult 的属性值 @onnetworkstatuschangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| isConnected | - |\n| networkType | - |\n","returnValue":"","tutorial":""},"offNetworkStatusChange":{"name":"## uni.offNetworkStatusChange(callback) @offnetworkstatuschange","description":"取消监听网络状态变化\r\n","compatibility":"### offNetworkStatusChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"addPhoneContact":{"name":"## uni.addPhoneContact(options) @addphonecontact","description":"手机通讯录联系人和联系方式的增加","compatibility":"### addPhoneContact HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| photoFilePath | - |\n@| nickName | - |\n@| lastName | - |\n@| middleName | - |\n@| firstName | - |\n@| remark | - |\n@| mobilePhoneNumber | - |\n@| weChatNumber | - |\n@| addressCountry | - |\n@| addressState | - |\n@| addressCity | - |\n@| addressStreet | - |\n@| addressPostalCode | - |\n@| organization | - |\n@| title | - |\n@| workFaxNumber | - |\n@| workPhoneNumber | - |\n@| hostNumber | - |\n@| email | - |\n@| url | - |\n@| workAddressCountry | - |\n@| workAddressState | - |\n@| workAddressCity | - |\n@| workAddressStreet | - |\n@| workAddressPostalCode | - |\n@| homeFaxNumber | - |\n@| homePhoneNumber | - |\n@| homeAddressCountry | - |\n@| homeAddressState | - |\n@| homeAddressCity | - |\n@| homeAddressStreet | - |\n@| homeAddressPostalCode | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"openAppAuthorizeSetting":{"name":"## uni.openAppAuthorizeSetting(options) @openappauthorizesetting","description":"跳转系统授权管理页","compatibility":"### openAppAuthorizeSetting HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### OpenAppAuthorizeSettingSuccess 的属性值 @openappauthorizesettingsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n##### OpenAppAuthorizeSettingFail 的属性值 @openappauthorizesettingfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n##### OpenAppAuthorizeSettingComplete 的属性值 @openappauthorizesettingcomplete-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"","tutorial":""},"showNavigationBarLoading":{"name":"## uni.showNavigationBarLoading(options?) @shownavigationbarloading","description":"在当前页面显示导航条加载动画\n","compatibility":"### showNavigationBarLoading HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ShowNavigationBarLoadingFail 的属性值 @shownavigationbarloadingfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"hideNavigationBarLoading":{"name":"## uni.hideNavigationBarLoading(options?) @hidenavigationbarloading","description":"隐藏导航条加载动画\n","compatibility":"### hideNavigationBarLoading HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### HideNavigationBarLoadingFail 的属性值 @hidenavigationbarloadingfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"hideKeyboard":{"name":"## uni.hideKeyboard(options?) @hidekeyboard","description":"隐藏键盘","compatibility":"### hideKeyboard HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"getRecorderManager":{"name":"## uni.getRecorderManager() @getrecordermanager","description":"录音管理\n","compatibility":"### getRecorderManager HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [RecorderManager](#recordermanager-values) |\n\n#### RecorderManager 的方法 @recordermanager-values \n\n#### start(options) @start\n开始录音\n##### start HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| duration | - |\n@| sampleRate | - |\n@| numberOfChannels | - |\n@| encodeBitRate | - |\n@| format | - |\n@| frameSize | - | \n\n\n#### pause() @pause\n暂停录音\n##### pause HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### resume() @resume\n暂停录音\n##### resume HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### stop() @stop\n停止录音\n##### stop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### onStart(options) @onstart\n录音开始事件\n##### onStart HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onPause(options) @onpause\n录音暂停事件\n##### onPause HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onStop(options) @onstop\n录音停止事件,会回调文件地址\n##### onStop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n###### RecorderManagerOnStopResult 的属性值 @recordermanageronstopresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n\n\n#### onFrameRecorded(options) @onframerecorded\n已录制完指定帧大小的文件,会回调录音分片结果数据。如果设置了 frameSize ,则会回调此事件\n##### onFrameRecorded HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onError(options) @onerror\n录音错误事件, 会回调错误信息\n##### onError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onResume(options) @onresume\n监听录音继续事件\n\n##### onResume HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onInterruptionBegin(options) @oninterruptionbegin\n监听录音因为受到系统占用而被中断开始事件\n\n##### onInterruptionBegin HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onInterruptionEnd(options) @oninterruptionend\n监听录音中断结束事件\n\n##### onInterruptionEnd HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n \n","tutorial":""},"getSystemInfo":{"name":"## uni.getSystemInfo(options) @getsysteminfo","description":"异步获取系统信息","compatibility":"### getSystemInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### GetSystemInfoResult 的属性值 @getsysteminforesult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| appId | HBuilderX 4.23 |\n| appLanguage | HBuilderX 4.23 |\n| appName | HBuilderX 4.23 |\n| appVersion | HBuilderX 4.23 |\n| appVersionCode | HBuilderX 4.23 |\n| appWgtVersion | HBuilderX 4.23 |\n| brand | HBuilderX 4.23 |\n| browserName | x |\n| browserVersion | x |\n| deviceId | HBuilderX 4.23 |\n| deviceBrand | HBuilderX 4.23 |\n| deviceModel | HBuilderX 4.23 |\n| deviceType | HBuilderX 4.23 |\n| devicePixelRatio | HBuilderX 4.23 |\n| deviceOrientation | HBuilderX 4.23 |\n| language | x |\n| model | x |\n| osName | HBuilderX 4.23 |\n| osVersion | HBuilderX 4.23 |\n| osLanguage | HBuilderX 4.23 |\n| osTheme | HBuilderX 4.23 |\n| pixelRatio | x |\n| platform | x |\n| screenWidth | HBuilderX 4.23 |\n| screenHeight | HBuilderX 4.23 |\n| statusBarHeight | HBuilderX 4.23 |\n| system | HBuilderX 4.23 |\n| safeArea | HBuilderX 4.23 |\n| safeAreaInsets | HBuilderX 4.23 |\n| ua | x |\n| uniCompileVersion | x |\n| uniCompilerVersion | HBuilderX 4.23 |\n| uniPlatform | HBuilderX 4.23 |\n| uniRuntimeVersion | HBuilderX 4.23 |\n| uniCompileVersionCode | x |\n| uniCompilerVersionCode | HBuilderX 4.23 |\n| uniRuntimeVersionCode | HBuilderX 4.23 |\n| version | x |\n| romName | HBuilderX 4.23 |\n| romVersion | HBuilderX 4.23 |\n| windowWidth | HBuilderX 4.23 |\n| windowHeight | HBuilderX 4.23 |\n| windowTop | HBuilderX 4.23 |\n| windowBottom | HBuilderX 4.23 |\n| appTheme | HBuilderX 4.23 |\n","returnValue":"","tutorial":""},"getSystemInfoSync":{"name":"## uni.getSystemInfoSync() @getsysteminfosync","description":"同步获取系统信息","compatibility":"### getSystemInfoSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetSystemInfoResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| appId | HBuilderX 4.23 |\n@| appLanguage | HBuilderX 4.23 |\n@| appName | HBuilderX 4.23 |\n@| appVersion | HBuilderX 4.23 |\n@| appVersionCode | HBuilderX 4.23 |\n@| appWgtVersion | HBuilderX 4.23 |\n@| brand | HBuilderX 4.23 |\n@| browserName | x |\n@| browserVersion | x |\n@| deviceId | HBuilderX 4.23 |\n@| deviceBrand | HBuilderX 4.23 |\n@| deviceModel | HBuilderX 4.23 |\n@| deviceType | HBuilderX 4.23 |\n@| devicePixelRatio | HBuilderX 4.23 |\n@| deviceOrientation | HBuilderX 4.23 |\n@| language | x |\n@| model | x |\n@| osName | HBuilderX 4.23 |\n@| osVersion | HBuilderX 4.23 |\n@| osLanguage | HBuilderX 4.23 |\n@| osTheme | HBuilderX 4.23 |\n@| pixelRatio | x |\n@| platform | x |\n@| screenWidth | HBuilderX 4.23 |\n@| screenHeight | HBuilderX 4.23 |\n@| statusBarHeight | HBuilderX 4.23 |\n@| system | HBuilderX 4.23 |\n@| safeArea | HBuilderX 4.23 |\n@| safeAreaInsets | HBuilderX 4.23 |\n@| ua | x |\n@| uniCompileVersion | x |\n@| uniCompilerVersion | HBuilderX 4.23 |\n@| uniPlatform | HBuilderX 4.23 |\n@| uniRuntimeVersion | HBuilderX 4.23 |\n@| uniCompileVersionCode | x |\n@| uniCompilerVersionCode | HBuilderX 4.23 |\n@| uniRuntimeVersionCode | HBuilderX 4.23 |\n@| version | x |\n@| romName | HBuilderX 4.23 |\n@| romVersion | HBuilderX 4.23 |\n@| windowWidth | HBuilderX 4.23 |\n@| windowHeight | HBuilderX 4.23 |\n@| windowTop | HBuilderX 4.23 |\n@| windowBottom | HBuilderX 4.23 |\n@| appTheme | HBuilderX 4.23 | \n","tutorial":""},"getDeviceInfo":{"name":"## uni.getDeviceInfo(options?) @getdeviceinfo","description":"获取设备信息","compatibility":"### getDeviceInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filter | x | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetDeviceInfoResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| deviceBrand | HBuilderX 4.23 |\n@| deviceId | HBuilderX 4.23 |\n@| model | x |\n@| deviceModel | HBuilderX 4.23 |\n@| deviceType | HBuilderX 4.23 |\n@| deviceOrientation | HBuilderX 4.23 |\n@| devicePixelRatio | HBuilderX 4.23 |\n@| system | HBuilderX 4.23 |\n@| platform | HBuilderX 4.23 |\n@| osName | HBuilderX 4.23 |\n@| osVersion | HBuilderX 4.23 |\n@| osLanguage | HBuilderX 4.23 |\n@| osTheme | HBuilderX 4.23 |\n@| romName | HBuilderX 4.23 |\n@| romVersion | HBuilderX 4.23 | \n","tutorial":""},"getWindowInfo":{"name":"## uni.getWindowInfo() @getwindowinfo","description":"同步获取窗口信息","compatibility":"### getWindowInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| **GetWindowInfoResult** | result |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| pixelRatio | HBuilderX 4.23 |\n@| screenWidth | HBuilderX 4.23 |\n@| screenHeight | HBuilderX 4.23 |\n@| windowWidth | HBuilderX 4.23 |\n@| windowHeight | HBuilderX 4.23 |\n@| statusBarHeight | HBuilderX 4.23 |\n@| windowTop | HBuilderX 4.23 |\n@| windowBottom | HBuilderX 4.23 |\n@| safeArea | HBuilderX 4.23 |\n@| safeAreaInsets | HBuilderX 4.23 |\n@| screenTop | HBuilderX 4.23 | \n","tutorial":""},"getAppBaseInfo":{"name":"## uni.getAppBaseInfo(options?) @getappbaseinfo","description":"获取app基本信息","compatibility":"### getAppBaseInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filter | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetAppBaseInfoResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| appId | HBuilderX 4.23 |\n@| appName | HBuilderX 4.23 |\n@| appVersion | HBuilderX 4.23 |\n@| appVersionCode | HBuilderX 4.23 |\n@| appLanguage | HBuilderX 4.23 |\n@| language | x |\n@| version | HBuilderX 4.23 |\n@| appWgtVersion | HBuilderX 4.23 |\n@| hostLanguage | HBuilderX 4.23 |\n@| isUniAppX | HBuilderX 4.23 |\n@| uniCompilerVersion | HBuilderX 4.23 |\n@| uniPlatform | HBuilderX 4.23 |\n@| uniRuntimeVersionCode | HBuilderX 4.23 |\n@| packageName | HBuilderX 4.23 |\n@| appTheme | HBuilderX 4.23 | \n","tutorial":""},"getAppAuthorizeSetting":{"name":"## uni.getAppAuthorizeSetting() @getappauthorizesetting","description":"获取 APP 授权设置。","compatibility":"### getAppAuthorizeSetting HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetAppAuthorizeSettingResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| albumAuthorized | - |\n@| bluetoothAuthorized | - |\n@| cameraAuthorized | - |\n@| locationAuthorized | - |\n@| locationAccuracy | - |\n@| locationReducedAccuracy | - |\n@| microphoneAuthorized | - |\n@| notificationAuthorized | - |\n@| notificationAlertAuthorized | - |\n@| notificationBadgeAuthorized | - |\n@| notificationSoundAuthorized | - |\n@| phoneCalendarAuthorized | x | \n","tutorial":""},"getSystemSetting":{"name":"## uni.getSystemSetting() @getsystemsetting","description":"获取系统设置","compatibility":"### getSystemSetting HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetSystemSettingResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| bluetoothEnabled | - |\n@| bluetoothError | - |\n@| locationEnabled | - |\n@| wifiEnabled | - |\n@| wifiError | - |\n@| deviceOrientation | - | \n","tutorial":""},"installApk":{"name":"## uni.installApk(options) @installapk","description":"安装apk","compatibility":"### installApk HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### InstallApkSuccess 的属性值 @installapksuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n##### InstallApkFail 的属性值 @installapkfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getBatteryInfo":{"name":"## uni.getBatteryInfo(options) @getbatteryinfo","description":"获取电池电量信息\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-getbatteryinfo](https://ext.dcloud.net.cn/plugin?name=uni-getbatteryinfo)\n","compatibility":"### getBatteryInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### GetBatteryInfoSuccess 的属性值 @getbatteryinfosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n| level | - |\n| isCharging | - |\n","returnValue":"","tutorial":""},"getBatteryInfoSync":{"name":"## uni.getBatteryInfoSync() @getbatteryinfosync","description":"同步获取电池电量信息\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-getbatteryinfo](https://ext.dcloud.net.cn/plugin?name=uni-getbatteryinfo)\n","compatibility":"### getBatteryInfoSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetBatteryInfoResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| level | - |\n@| isCharging | - | \n","tutorial":""},"makePhoneCall":{"name":"## uni.makePhoneCall(options) @makephonecall","description":"拨打电话\n","compatibility":"### makePhoneCall HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| phoneNumber | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"getClipboardData":{"name":"## uni.getClipboardData(options) @getclipboarddata","description":"获得系统剪贴板的内容\n","compatibility":"### getClipboardData HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### GetClipboardDataSuccess 的属性值 @getclipboarddatasuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | - |\n","returnValue":"","tutorial":""},"setClipboardData":{"name":"## uni.setClipboardData(options) @setclipboarddata","description":"设置系统剪贴板的内容\n","compatibility":"### setClipboardData HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| data | - |\n@| showToast | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"onCompassChange":{"name":"## uni.onCompassChange(callback) @oncompasschange","description":"监听罗盘数据\n","compatibility":"### onCompassChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnCompassChangeSuccess 的属性值 @oncompasschangesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | - |\n","returnValue":"","tutorial":""},"offCompassChange":{"name":"## uni.offCompassChange(callback) @offcompasschange","description":"取消监听罗盘数据\n","compatibility":"### offCompassChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"startCompass":{"name":"## uni.startCompass(options?) @startcompass","description":"开始监听罗盘数据\n","compatibility":"### startCompass HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ICompassError 的属性值 @icompasserror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"stopCompass":{"name":"## uni.stopCompass(options?) @stopcompass","description":"停止监听罗盘数据\n","compatibility":"### stopCompass HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ICompassError 的属性值 @icompasserror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"onAccelerometerChange":{"name":"## uni.onAccelerometerChange(callback) @onaccelerometerchange","description":"监听加速度数据\n","compatibility":"### onAccelerometerChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnAccelerometerChangeCallbackResult 的属性值 @onaccelerometerchangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| x | - |\n| y | - |\n| z | - |\n","returnValue":"","tutorial":""},"offAccelerometerChange":{"name":"## uni.offAccelerometerChange(callback) @offaccelerometerchange","description":"取消监听加速度数据\n","compatibility":"### offAccelerometerChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"startAccelerometer":{"name":"## uni.startAccelerometer(options) @startaccelerometer","description":"开始监听加速度数据\n","compatibility":"### startAccelerometer HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| interval | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"stopAccelerometer":{"name":"## uni.stopAccelerometer(options) @stopaccelerometer","description":"停止监听加速度数据\n","compatibility":"### stopAccelerometer HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"startWifi":{"name":"## uni.startWifi(option) @startwifi","description":"初始化Wi-Fi模块\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### startWifi HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"stopWifi":{"name":"## uni.stopWifi(option) @stopwifi","description":"关闭 Wi-Fi 模块\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### stopWifi HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"connectWifi":{"name":"## uni.connectWifi(option) @connectwifi","description":"","compatibility":"### connectWifi HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| SSID | - |\n@| BSSID | - |\n@| password | - |\n@| maunal | - |\n@| partialInfo | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"getWifiList":{"name":"## uni.getWifiList(option) @getwifilist","description":"请求获取 Wi-Fi 列表。wifiList 数据会在 onGetWifiList 注册的回调中返回。\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### getWifiList HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"onGetWifiList":{"name":"## uni.onGetWifiList(callback) @ongetwifilist","description":"监听获取到 Wi-Fi 列表数据事件。\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### onGetWifiList HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"offGetWifiList":{"name":"## uni.offGetWifiList(callback) @offgetwifilist","description":"移除获取到 Wi-Fi 列表数据事件的监听函数。\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### offGetWifiList HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"getConnectedWifi":{"name":"## uni.getConnectedWifi(option) @getconnectedwifi","description":"获取已连接的 Wi-Fi 信息\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### getConnectedWifi HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| partialInfo | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"onWifiConnected":{"name":"## uni.onWifiConnected(callback) @onwificonnected","description":"监听连接上 Wi-Fi 的事件\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### onWifiConnected HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"onWifiConnectedWithPartialInfo":{"name":"## uni.onWifiConnectedWithPartialInfo(callback) @onwificonnectedwithpartialinfo","description":"监听连接上 Wi-Fi 的事件。\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### onWifiConnectedWithPartialInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### UniWifiInfoWithPartialInfo 的属性值 @uniwifiinfowithpartialinfo-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| SSID | - |\n","returnValue":"","tutorial":""},"offWifiConnected":{"name":"## uni.offWifiConnected(callback?) @offwificonnected","description":"移除连接上 Wi-Fi 的事件的监听函数。\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### offWifiConnected HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"setWifiList":{"name":"## uni.setWifiList(option) @setwifilist","description":"SetWifiList 暂未实现\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"### setWifiList HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"onMemoryWarning":{"name":"## uni.onMemoryWarning(callback) @onmemorywarning","description":"监听内存不足告警事件。\n","compatibility":"### onMemoryWarning HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnMemoryWarningCallbackResult 的属性值 @onmemorywarningcallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| level | - |\n","returnValue":"","tutorial":""},"offMemoryWarning":{"name":"## uni.offMemoryWarning(callback) @offmemorywarning","description":"取消监听内存不足告警事件。不传入 callback 则取消所有监听。\n","compatibility":"### offMemoryWarning HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OffMemoryWarningCallbackResult 的属性值 @offmemorywarningcallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| level | - |\n","returnValue":"","tutorial":""},"onUserCaptureScreen":{"name":"## uni.onUserCaptureScreen(callback?) @onusercapturescreen","description":"开启截屏监听\r\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-usercapturescreen](https://ext.dcloud.net.cn/plugin?name=uni-usercapturescreen)\n","compatibility":"### onUserCaptureScreen HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnUserCaptureScreenCallbackResult 的属性值 @onusercapturescreencallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - |\n","returnValue":"","tutorial":""},"offUserCaptureScreen":{"name":"## uni.offUserCaptureScreen(callback?) @offusercapturescreen","description":"关闭截屏监听\r\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-usercapturescreen](https://ext.dcloud.net.cn/plugin?name=uni-usercapturescreen)\n","compatibility":"### offUserCaptureScreen HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnUserCaptureScreenCallbackResult 的属性值 @onusercapturescreencallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - |\n","returnValue":"","tutorial":""},"createRequestPermissionListener":{"name":"## uni.createRequestPermissionListener() @createrequestpermissionlistener","description":"创建一个监听权限申请的对象。","compatibility":"### createRequestPermissionListener HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [RequestPermissionListener](#requestpermissionlistener-values) |\n\n#### RequestPermissionListener 的方法 @requestpermissionlistener-values \n\n#### onRequest(callback) @onrequest\n监听申请系统权限\n##### onRequest HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onConfirm(callback) @onconfirm\n监听弹出系统权限授权框\n##### onConfirm HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onComplete(callback) @oncomplete\n监听权限申请完成\n##### onComplete HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### stop() @stop\n取消所有监听\n##### stop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n \n","tutorial":""},"chooseImage":{"name":"## uni.chooseImage(options) @chooseimage","description":"从本地相册选择图片或使用相机拍照","compatibility":"### chooseImage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| count | - |\n@| sizeType | HBuilderX 4.23 |\n@| sourceType | - |\n@| extension | HBuilderX 4.23 |\n@| crop | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ChooseImageSuccess 的属性值 @chooseimagesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| errMsg | - |\n| tempFilePaths | - |\n| tempFiles | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"previewImage":{"name":"## uni.previewImage(options) @previewimage","description":"预览图片","compatibility":"### previewImage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| current | - |\n@| urls | - |\n@| showmenu | - |\n@| indicator | x |\n@| loop | - |\n@| longPressActions | x |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### LongPressActionsSuccessData 的属性值 @longpressactionssuccessdata-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tapIndex | - |\n| index | - |\n\n##### PreviewImageSuccess 的属性值 @previewimagesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| errMsg | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"closePreviewImage":{"name":"## uni.closePreviewImage(options) @closepreviewimage","description":"关闭图片预览","compatibility":"### closePreviewImage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ClosePreviewImageSuccess 的属性值 @closepreviewimagesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"saveImageToPhotosAlbum":{"name":"## uni.saveImageToPhotosAlbum(options) @saveimagetophotosalbum","description":"保存图片到系统相册","compatibility":"### saveImageToPhotosAlbum HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### SaveImageToPhotosAlbumSuccess 的属性值 @saveimagetophotosalbumsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getImageInfo":{"name":"## uni.getImageInfo(options) @getimageinfo","description":"获取图片信息","compatibility":"### getImageInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| src | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### GetImageInfoSuccess 的属性值 @getimageinfosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| width | - |\n| height | - |\n| path | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"compressImage":{"name":"## uni.compressImage(options) @compressimage","description":"压缩图片","compatibility":"### compressImage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| src | - |\n@| quality | - |\n@| rotate | - |\n@| width | - |\n@| height | - |\n@| compressedHeight | - |\n@| compressedWidth | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### CompressImageSuccess 的属性值 @compressimagesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"chooseVideo":{"name":"## uni.chooseVideo(options) @choosevideo","description":"拍摄视频或从手机相册中选视频,返回视频的临时文件路径。","compatibility":"### chooseVideo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| sourceType | - |\n@| extension | x |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ChooseVideoSuccess 的属性值 @choosevideosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n| duration | - |\n| size | - |\n| height | - |\n| width | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"saveVideoToPhotosAlbum":{"name":"## uni.saveVideoToPhotosAlbum(options) @savevideotophotosalbum","description":"保存视频到系统相册","compatibility":"### saveVideoToPhotosAlbum HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getVideoInfo":{"name":"## uni.getVideoInfo(options) @getvideoinfo","description":"获取视频详细信息","compatibility":"### getVideoInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| src | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### GetVideoInfoSuccess 的属性值 @getvideoinfosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| orientation | HBuilderX 4.23 |\n| type | HBuilderX 4.23 |\n| duration | - |\n| size | - |\n| height | - |\n| width | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"compressVideo":{"name":"## uni.compressVideo(options) @compressvideo","description":"压缩视频","compatibility":"### compressVideo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| src | - |\n@| quality | - |\n@| bitrate | - |\n@| fps | - |\n@| resolution | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### CompressVideoSuccess 的属性值 @compressvideosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n| size | - |\n\n##### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"createInnerAudioContext":{"name":"## uni.createInnerAudioContext() @createinneraudiocontext","description":"创建并返回 audio 上下文 audioContext 对象\n","compatibility":"### createInnerAudioContext HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [InnerAudioContext](#inneraudiocontext-values) |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| duration | - |\n@| currentTime | - |\n@| paused | - |\n@| src | - |\n@| startTime | - |\n@| buffered | - |\n@| autoplay | - |\n@| loop | - |\n@| obeyMuteSwitch | - |\n@| volume | - |\n@| playbackRate | - |\n#### InnerAudioContext 的方法 @inneraudiocontext-values \n\n#### pause() @pause\n暂停\n##### pause HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### stop() @stop\n停止\n##### stop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### play() @play\n播放\n##### play HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### seek(position) @seek\n跳转到指定位置,单位 s\n##### seek HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| position | - | \n\n\n#### destroy() @destroy\n销毁当前实例\n##### destroy HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### onCanplay(callback) @oncanplay\n音频进入可以播放状态,但不保证后面可以流畅播放\n##### onCanplay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPlay(callback) @onplay\n音频播放事件\n##### onPlay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPause(callback) @onpause\n音频暂停事件\n##### onPause HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onStop(callback) @onstop\n音频停止事件\n##### onStop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onEnded(callback) @onended\n音频自然播放结束事件\n##### onEnded HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onTimeUpdate(callback) @ontimeupdate\n音频播放进度更新事件\n##### onTimeUpdate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onError(callback) @onerror\n音频播放错误事件\n##### onError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onWaiting(callback) @onwaiting\n音频加载中事件,当音频因为数据不足,需要停下来加载时会触发\n##### onWaiting HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onSeeking(callback) @onseeking\n音频进行 seek 操作事件\n##### onSeeking HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onSeeked(callback) @onseeked\n音频完成 seek 操作事件\n##### onSeeked HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offCanplay(callback) @offcanplay\n取消监听 onCanplay 事件\n##### offCanplay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offPlay(callback) @offplay\n取消监听 onPlay 事件\n##### offPlay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offPause(callback) @offpause\n取消监听 onPause 事件\n##### offPause HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offStop(callback) @offstop\n取消监听 onStop 事件\n##### offStop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offEnded(callback) @offended\n取消监听 onEnded 事件\n##### offEnded HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offTimeUpdate(callback) @offtimeupdate\n取消监听 onTimeUpdate 事件\n##### offTimeUpdate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offError(callback) @offerror\n取消监听 onWaiting 事件\n##### offError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offWaiting(callback) @offwaiting\n取消监听 onWaiting 事件\n##### offWaiting HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offSeeking(callback) @offseeking\n取消监听 onSeeking 事件\n##### offSeeking HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offSeeked(callback) @offseeked\n取消监听 onSeeked 事件\n##### offSeeked HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n \n","tutorial":""},"getBackgroundAudioManager":{"name":"## uni.getBackgroundAudioManager() @getbackgroundaudiomanager","description":"获取全局唯一的背景音频管理器 backgroundAudioManager\n","compatibility":"### getBackgroundAudioManager HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [BackgroundAudioManager](#backgroundaudiomanager-values) |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| duration | - |\n@| currentTime | - |\n@| paused | - |\n@| src | - |\n@| startTime | - |\n@| buffered | - |\n@| title | - |\n@| epname | - |\n@| singer | - |\n@| coverImgUrl | - |\n@| webUrl | - |\n@| protocol | - |\n@| playbackRate | - |\n#### BackgroundAudioManager 的方法 @backgroundaudiomanager-values \n\n#### play() @play\n播放\n##### play HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### pause() @pause\n暂停\n##### pause HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### seek(position) @seek\n跳转到指定位置,单位 s\n##### seek HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| position | - | \n\n\n#### stop() @stop\n停止\n##### stop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### onCanplay(callback) @oncanplay\n背景音频进入可以播放状态,但不保证后面可以流畅播放\n##### onCanplay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPlay(callback) @onplay\n背景音频播放事件\n##### onPlay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPause(callback) @onpause\n背景音频暂停事件\n##### onPause HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onStop(callback) @onstop\n背景音频停止事件\n##### onStop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onEnded(callback) @onended\n背景音频自然播放结束事件\n##### onEnded HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onTimeUpdate(callback) @ontimeupdate\n背景音频播放进度更新事件\n##### onTimeUpdate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPrev(callback) @onprev\n用户在系统音乐播放面板点击上一曲事件(iOS only)\n##### onPrev HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onNext(callback) @onnext\n用户在系统音乐播放面板点击下一曲事件(iOS only)\n##### onNext HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onError(callback) @onerror\n背景音频播放错误事件\n##### onError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onWaiting(callback) @onwaiting\n音频加载中事件,当音频因为数据不足,需要停下来加载时会触发\n##### onWaiting HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n \n","tutorial":""},"canvasToTempFilePath":{"name":"## uni.canvasToTempFilePath(options, componentInstance) @canvastotempfilepath","description":"把当前画布指定区域的内容导出生成指定大小的图片\n","compatibility":"### canvasToTempFilePath HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| x | - |\n@| y | - |\n@| width | - |\n@| height | - |\n@| destWidth | - |\n@| destHeight | - |\n@| canvasId | - |\n@| fileType | - |\n@| quality | - |\n@| success | - |\n@| fail | - |\n@| complete | - |\n| componentInstance | - | \n\n##### CanvasToTempFilePathSuccess 的属性值 @canvastotempfilepathsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n","returnValue":"","tutorial":""},"canvasGetImageData":{"name":"## uni.canvasGetImageData(options) @canvasgetimagedata","description":"描述 canvas 区域隐含的像素数据","compatibility":"### canvasGetImageData HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| canvasId | - |\n@| x | - |\n@| y | - |\n@| width | - |\n@| height | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### CanvasGetImageDataSuccess 的属性值 @canvasgetimagedatasuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n| width | - |\n| height | - |\n| data | - |\n","returnValue":"","tutorial":""},"canvasPutImageData":{"name":"## uni.canvasPutImageData(options) @canvasputimagedata","description":"将像素数据绘制到画布","compatibility":"### canvasPutImageData HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| canvasId | - |\n@| data | - |\n@| x | - |\n@| y | - |\n@| width | - |\n@| height | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"getLocation":{"name":"## uni.getLocation(options) @getlocation","description":"获取当前的地理位置、速度","compatibility":"### getLocation HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| provider | x |\n@| type | HBuilderX 4.25 |\n@| altitude | HBuilderX 4.25 |\n@| geocode | x |\n@| highAccuracyExpireTime | HBuilderX 4.25 |\n@| isHighAccuracy | HBuilderX 4.25 |\n@| success | HBuilderX 4.25 |\n@| fail | HBuilderX 4.25 |\n@| complete | HBuilderX 4.25 | \n\n##### GetLocationSuccess 的属性值 @getlocationsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| latitude | HBuilderX 4.25 |\n| longitude | HBuilderX 4.25 |\n| speed | HBuilderX 4.25 |\n| accuracy | HBuilderX 4.25 |\n| altitude | HBuilderX 4.25 |\n| verticalAccuracy | x |\n| horizontalAccuracy | x |\n| address | x |\n\n##### IUniError 的属性值 @iunierror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"openLocation":{"name":"## uni.openLocation(options) @openlocation","description":"使用地图查看位置\n","compatibility":"### openLocation HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| latitude | - |\n@| longitude | - |\n@| scale | - |\n@| name | - |\n@| address | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### IOpenLocationError 的属性值 @iopenlocationerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"chooseLocation":{"name":"## uni.chooseLocation(options) @chooselocation","description":"打开地图选择位置。","compatibility":"### chooseLocation HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| latitude | - |\n@| longitude | - |\n@| keyword | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### ChooseLocationSuccess 的属性值 @chooselocationsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| address | - |\n| latitude | - |\n| longitude | - |\n\n##### IChooseLocationError 的属性值 @ichooselocationerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"onLocationChange":{"name":"## uni.onLocationChange(callback) @onlocationchange","description":"监听实时地理位置变化事件,需结合 uni.startLocationUpdate 或 uni.startLocationUpdateBackground 使用。\n","compatibility":"### onLocationChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OnLocationChangeCallbackResult 的属性值 @onlocationchangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| latitude | - |\n| longitude | - |\n| accuracy | - |\n| altitude | - |\n| altitudeAccuracy | - |\n| speed | - |\n| horizontalAccuracy | - |\n| verticalAccuracy | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"offLocationChange":{"name":"## uni.offLocationChange(callback) @offlocationchange","description":"关闭监听实时位置变化,前后台都停止消息接收。\n","compatibility":"### offLocationChange HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n#### OffLocationChangeCallbackResult 的属性值 @offlocationchangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| latitude | - |\n| longitude | - |\n| accuracy | - |\n| altitude | - |\n| altitudeAccuracy | - |\n| speed | - |\n| horizontalAccuracy | - |\n| verticalAccuracy | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"onLocationChangeError":{"name":"## uni.onLocationChangeError(callback) @onlocationchangeerror","description":"监听持续定位接口返回失败时触发。\n","compatibility":"### onLocationChangeError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"offLocationChangeError":{"name":"## uni.offLocationChangeError(callback) @offlocationchangeerror","description":"取消注册位置更新错误回调。\n","compatibility":"### offLocationChangeError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"startLocationUpdate":{"name":"## uni.startLocationUpdate(options) @startlocationupdate","description":"开启小程序进入前台时接收位置消息。\n","compatibility":"### startLocationUpdate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| type | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### StartLocationUpdateSuccess 的属性值 @startlocationupdatesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| address | - |\n| latitude | - |\n| longitude | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"stopLocationUpdate":{"name":"## uni.stopLocationUpdate(options) @stoplocationupdate","description":"关闭监听实时位置变化,前后台都停止消息接收。\n","compatibility":"### stopLocationUpdate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"getStorageInfo":{"name":"## uni.getStorageInfo(options) @getstorageinfo","description":"uni.getStorageInfo函数定义\n异步获取当前 storage 的相关信息。\n","compatibility":"### getStorageInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### GetStorageInfoSuccess 的属性值 @getstorageinfosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| keys | - |\n| currentSize | - |\n| limitSize | - |\n","returnValue":"","tutorial":""},"getStorageInfoSync":{"name":"## uni.getStorageInfoSync() @getstorageinfosync","description":"uni.getStorageInfoSync函数定义\n同步获取当前 storage 的相关信息。\n","compatibility":"### getStorageInfoSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| **GetStorageInfoSuccess** | uni.getStorageInfo成功回调参数 |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| keys | - |\n@| currentSize | - |\n@| limitSize | - | \n","tutorial":""},"getStorage":{"name":"## uni.getStorage(options) @getstorage","description":"uni.getStorage函数定义\n从本地存储中异步获取指定 key 对应的内容。\n","compatibility":"### getStorage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| key | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### GetStorageSuccess 的属性值 @getstoragesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | - |\n","returnValue":"","tutorial":""},"getStorageSync":{"name":"## uni.getStorageSync(key) @getstoragesync","description":"uni.getStorageSync函数定义\n从本地存储中同步获取指定 key 对应的内容。\n","compatibility":"### getStorageSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| key | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| any \\| null | 否 |\n \n","tutorial":""},"setStorage":{"name":"## uni.setStorage(options) @setstorage","description":"uni.setStorage函数定义\n将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。\n","compatibility":"### setStorage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| key | - |\n@| data | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"setStorageSync":{"name":"## uni.setStorageSync(key, data) @setstoragesync","description":"uni.setStorageSync函数定义\n将 data 存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个同步接口。\n","compatibility":"### setStorageSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| key | - |\n| data | - | \n","returnValue":"","tutorial":""},"removeStorage":{"name":"## uni.removeStorage(options) @removestorage","description":"uni.removeStorage函数定义\n从本地存储中异步移除指定 key。\n","compatibility":"### removeStorage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| key | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"removeStorageSync":{"name":"## uni.removeStorageSync(key) @removestoragesync","description":"uni.removeStorageSync函数定义\n从本地存储中同步移除指定 key。\n","compatibility":"### removeStorageSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| key | - | \n","returnValue":"","tutorial":""},"clearStorage":{"name":"## uni.clearStorage(option?) @clearstorage","description":"uni.clearStorage函数定义\n清除本地数据存储。\n","compatibility":"### clearStorage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"clearStorageSync":{"name":"## uni.clearStorageSync() @clearstoragesync","description":"uni.clearStorageSync函数定义\n清除本地数据存储。\n","compatibility":"### clearStorageSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"","tutorial":""},"getFileSystemManager":{"name":"## uni.getFileSystemManager() @getfilesystemmanager","description":"获取文件管理器","compatibility":"### getFileSystemManager HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [FileSystemManager](#filesystemmanager-values) |\n\n#### FileSystemManager 的方法 @filesystemmanager-values \n\n#### readFile(options) @readfile\n读取本地文件内容\n##### readFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| encoding | - |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### ReadFileSuccessResult 的属性值 @readfilesuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | - |\n\n###### IFileSystemManagerFail 的属性值 @ifilesystemmanagerfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### readFileSync(filePath, encoding?) @readfilesync\nFileSystemManager.readFile 的同步版本参数\n##### readFileSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| encoding | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### writeFile(options) @writefile\n写文件\n##### writeFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| encoding | - |\n@| data | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### FileManagerSuccessResult 的属性值 @filemanagersuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n\n#### writeFileSync(filePath, data, encoding) @writefilesync\nFileSystemManager.writeFile 的同步版本\n##### writeFileSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| data | - |\n| encoding | - | \n\n\n#### unlink(options) @unlink\n删除文件\n##### unlink HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### unlinkSync(filePath) @unlinksync\nFileSystemManager.unlink 的同步版本\n##### unlinkSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - | \n\n\n#### mkdir(options) @mkdir\n创建目录\n##### mkdir HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| dirPath | - |\n@| recursive | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### mkdirSync(dirPath, recursive) @mkdirsync\nFileSystemManager.mkdir 的同步版本\n##### mkdirSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| dirPath | - |\n| recursive | - | \n\n\n#### rmdir(options) @rmdir\n删除目录\n##### rmdir HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| dirPath | - |\n@| recursive | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### rmdirSync(dirPath, recursive) @rmdirsync\nFileSystemManager.rmdir 的同步版本\n##### rmdirSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| dirPath | - |\n| recursive | - | \n\n\n#### readdir(options) @readdir\n读取目录内文件列表\n##### readdir HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| dirPath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### ReadDirSuccessResult 的属性值 @readdirsuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| files | - |\n\n\n#### readdirSync(dirPath) @readdirsync\nFileSystemManager.readdir 的同步版本\n##### readdirSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| dirPath | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Array\\ \\| null | 否 |\n \n\n#### access(options) @access\n判断文件/目录是否存在\n##### access HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| path | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### accessSync(path) @accesssync\nFileSystemManager.access 的同步版本\n##### accessSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - | \n\n\n#### rename(options) @rename\n重命名文件。可以把文件从 oldPath 移动到 newPath\n##### rename HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| oldPath | - |\n@| newPath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### renameSync(oldPath, newPath) @renamesync\nFileSystemManager.rename 的同步版本\n##### renameSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| oldPath | - |\n| newPath | - | \n\n\n#### copyFile(options) @copyfile\n复制文件\n##### copyFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| srcPath | - |\n@| destPath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### copyFileSync(srcPath, destPath) @copyfilesync\nFileSystemManager.copyFile 的同步版本\n##### copyFileSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| srcPath | - |\n| destPath | - | \n\n\n#### getFileInfo(options) @getfileinfo\n获取该本地临时文件 或 本地缓存文件 信息\n##### getFileInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| digestAlgorithm | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### GetFileInfoSuccessResult 的属性值 @getfileinfosuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| digest | - |\n| size | - |\n| errMsg | - |\n\n\n#### stat(options) @stat\n获取文件 Stats 对象\n##### stat HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| path | - |\n@| recursive | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### StatSuccessResult 的属性值 @statsuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n| stats | - |\n\n###### Stats 的方法 @stats-values \n\n###### isDirectory() @isdirectory\n判断当前文件是否一个目录\n###### isDirectory HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| boolean |\n \n\n###### isFile() @isfile\n判断当前文件是否一个普通文件\n###### isFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| boolean |\n \n\n\n#### statSync(path, recursive) @statsync\nFileSystemManager.stat 的同步版本\n##### statSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - |\n| recursive | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[FileStats](#filestats-values)\\> |\n \n\n#### appendFile(options) @appendfile\n在文件结尾追加内容\n##### appendFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| encoding | - |\n@| data | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### appendFileSync(filePath, data, encoding) @appendfilesync\nFileSystemManager.appendFile 的同步版本\n##### appendFileSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| data | - |\n| encoding | - | \n\n\n#### saveFile(options) @savefile\n保存临时文件到本地。此接口会移动临时文件,因此调用成功后,tempFilePath 将不可用。\n##### saveFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| tempFilePath | - |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### SaveFileSuccessResult 的属性值 @savefilesuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| savedFilePath | - |\n\n\n#### saveFileSync(tempFilePath, filePath?) @savefilesync\nFileSystemManager.saveFile 的同步版本\n##### saveFileSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n| filePath | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### removeSavedFile(options) @removesavedfile\n删除该小程序下已保存的本地缓存文件\n##### removeSavedFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### unzip(options) @unzip\n解压文件\n##### unzip HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| zipFilePath | - |\n@| targetPath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### getSavedFileList(options) @getsavedfilelist\n获取该已保存的本地缓存文件列表\n##### getSavedFileList HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### GetSavedFileListResult 的属性值 @getsavedfilelistresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| fileList | - |\n\n\n#### truncate(options) @truncate\n对文件内容进行截断操作\n##### truncate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| length | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### truncateSync(filePath, length?) @truncatesync\n对文件内容进行截断操作 (truncate 的同步版本)\n##### truncateSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| length | - | \n\n\n#### readCompressedFile(options) @readcompressedfile\n读取指定压缩类型的本地文件内容\n##### readCompressedFile HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| compressionAlgorithm | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### ReadCompressedFileResult 的属性值 @readcompressedfileresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | - |\n\n\n#### readCompressedFileSync(filePath, compressionAlgorithm) @readcompressedfilesync\n同步读取指定压缩类型的本地文件内容\n##### readCompressedFileSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| compressionAlgorithm | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### open(options) @open\n打开文件,返回文件描述符\n##### open HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| flag | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### OpenFileSuccessResult 的属性值 @openfilesuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| fd | - |\n\n\n#### openSync(options) @opensync\n同步打开文件,返回文件描述符\n##### openSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| flag | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### write(options) @write\n写入文件\n##### write HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| data | - |\n@| encoding | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### WriteResult 的属性值 @writeresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| bytesWritten | - |\n\n\n#### writeSync(options) @writesync\n同步写入文件\n##### writeSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| data | - |\n@| encoding | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [WriteResult](#writeresult-values) |\n \n\n#### close(options) @close\n关闭文件\n##### close HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### closeSync(options) @closesync\n同步关闭文件\n##### closeSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - | \n\n\n#### fstat(options) @fstat\n获取文件的状态信息\n##### fstat HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### FStatSuccessResult 的属性值 @fstatsuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| stats | - |\n\n\n#### fstatSync(options) @fstatsync\n同步获取文件的状态信息\n##### fstatSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| [Stats](#stats-values) | Stats 对象,包含了文件的状态信息 |\n \n\n#### ftruncate(options) @ftruncate\n对文件内容进行截断操作\n##### ftruncate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| length | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### ftruncateSync(options) @ftruncatesync\n同步对文件内容进行截断操作\n##### ftruncateSync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| length | - | \n\n\n#### readZipEntry(options) @readzipentry\n读取压缩包内的文件\n##### readZipEntry HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| encoding | - |\n@| entries | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### EntriesResult 的属性值 @entriesresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| result | - |\n\n \n","tutorial":""},"getUniverifyManager":{"name":"## uni.getUniverifyManager() @getuniverifymanager","description":"获取一键登录管理对象","compatibility":"### getUniverifyManager HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [UniverifyManager](#univerifymanager-values) |\n\n#### UniverifyManager 的方法 @univerifymanager-values \n\n#### preLogin(options) @prelogin\n预登录\n##### preLogin HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### PreLoginFail 的属性值 @preloginfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### login(options) @login\n登录\n##### login HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| univerifyStyle | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### LoginSuccess 的属性值 @loginsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| openId | - |\n| accessToken | - |\n\n###### LoginFail 的属性值 @loginfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### close() @close\n关闭登录页\n##### close HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### isPreLoginValid() @ispreloginvalid\n预登录是否有效\n##### isPreLoginValid HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| boolean |\n \n \n","tutorial":""},"getFacialRecognitionMetaInfo":{"name":"## uni.getFacialRecognitionMetaInfo() @getfacialrecognitionmetainfo","description":"获取阿里云实人认证meta info","compatibility":"### getFacialRecognitionMetaInfo HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n","tutorial":""},"startFacialRecognitionVerify":{"name":"## uni.startFacialRecognitionVerify(faceStyle) @startfacialrecognitionverify","description":"启动人脸识别","compatibility":"### startFacialRecognitionVerify HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| faceStyle | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| certifyId | - |\n@| progressBarColor | - |\n@| screenOrientation | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### StartFacialRecognitionVerifySuccess 的属性值 @startfacialrecognitionverifysuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| cause | - |\n\n##### IFacialRecognitionVerifyError 的属性值 @ifacialrecognitionverifyerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"createRewardedVideoAd":{"name":"## uni.createRewardedVideoAd(option) @createrewardedvideoad","description":"创建激励视频广告对象","compatibility":"### createRewardedVideoAd HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| adpid | - |\n@| urlCallback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [RewardedVideoAd](#rewardedvideoad-values) |\n\n#### RewardedVideoAd 的方法 @rewardedvideoad-values \n\n#### show() @show\n广告加载成功之后,调用此方法展示广告\n##### show HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Promise\\ |\n \n\n#### load() @load\n加载广告\n##### load HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Promise\\ |\n \n\n#### destroy() @destroy\n销毁广告\n##### destroy HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### onLoad(callback) @onload\n绑定广告 load 事件的监听器\n##### onLoad HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offLoad(callback) @offload\n解除绑定 load 事件的监听器\n##### offLoad HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onError(callback) @onerror\n绑定 error 事件的监听器\n##### onError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### IUniAdError 的属性值 @iuniaderror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### offError(callback) @offerror\n解除绑定 error 事件的监听器\n##### offError HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onClose(callback) @onclose\n绑定 close 事件的监听器\n##### onClose HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### VideoAdClose 的属性值 @videoadclose-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| isEnded | - |\n\n\n#### offClose(callback) @offclose\n解除绑定 close 事件的监听器\n##### offClose HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onAdClicked(callback) @onadclicked\n绑定广告可点击屏幕区域事件的监听器\n##### onAdClicked HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onVerify(callback) @onverify\n绑定 verify 事件的监听器\n##### onVerify HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n \n","tutorial":""},"requestPayment":{"name":"## uni.requestPayment(options) @requestpayment","description":"请求支付","compatibility":"### requestPayment HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| provider | HBuilderX 4.25 |\n@| orderInfo | HBuilderX 4.25 |\n@| success | HBuilderX 4.25 |\n@| fail | HBuilderX 4.25 |\n@| complete | HBuilderX 4.25 | \n\n##### RequestPaymentSuccess 的属性值 @requestpaymentsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.25 |\n\n##### IRequestPaymentFail 的属性值 @irequestpaymentfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"requestVirtualPayment":{"name":"## uni.requestVirtualPayment(options) @requestvirtualpayment","description":"请求支付","compatibility":"### requestVirtualPayment HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n##### IRequestVirtualPaymentFail 的属性值 @irequestvirtualpaymentfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getVirtualPaymentManager":{"name":"## uni.getVirtualPaymentManager() @getvirtualpaymentmanager","description":"获取各平台虚拟支付的管理类,用于操作各平台专有的API。","compatibility":"### getVirtualPaymentManager HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| () => [VirtualPaymentManager](#virtualpaymentmanager-values) | virtual-payment的管理类 |\n\n#### VirtualPaymentManager 的方法 @virtualpaymentmanager-values \n\n#### restoreTransactions(options) @restoretransactions\n恢复苹果服务器已支付的交易列表\n##### restoreTransactions HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n###### IAppleIAPRestoreFail 的属性值 @iappleiaprestorefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### getUnfinishedTransactions(options) @getunfinishedtransactions\n获取苹果服务器已支付且未关闭的交易列表\n##### getUnfinishedTransactions HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n###### IAppleIAPUnfinishedTransactionFail 的属性值 @iappleiapunfinishedtransactionfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### finishTransaction(options) @finishtransaction\n关闭苹果服务器订单\n##### finishTransaction HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n###### IAppleIAPFinishTransactionFail 的属性值 @iappleiapfinishtransactionfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n \n","tutorial":""},"getPushClientId":{"name":"## uni.getPushClientId(options) @getpushclientid","description":"获取客户端唯一的推送标识","compatibility":"### getPushClientId HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"onPushMessage":{"name":"## uni.onPushMessage(callback) @onpushmessage","description":"启动监听推送消息事件","compatibility":"### onPushMessage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"offPushMessage":{"name":"## uni.offPushMessage(callback) @offpushmessage","description":"关闭推送消息监听事件,iOS端调用会关闭所有监听。","compatibility":"### offPushMessage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"getChannelManager":{"name":"## uni.~~getChannelManager~~() @getchannelmanager","description":"获取通知渠道管理器,Android 8系统以上才可以设置通知渠道,Android 8系统以下返回null。 **已废弃,仅为了向下兼容保留,建议使用`getPushChannelManager`。**","compatibility":"### getChannelManager HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [ChannelManager](#channelmanager-values) |\n\n#### ChannelManager 的方法 @channelmanager-values \n\n#### setPushChannel(options) @setpushchannel\n设置推送渠道\n\n##### setPushChannel HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| soundName | - |\n@| channelId | - |\n@| channelDesc | - |\n@| enableLights | - |\n@| enableVibration | - |\n@| importance | - |\n@| lockscreenVisibility | - | \n\n\n#### getAllChannels() @getallchannels\n获取当前应用注册的所有的通知渠道。\n\n##### getAllChannels HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\ |\n \n \n","tutorial":""},"createPushMessage":{"name":"## uni.createPushMessage(options) @createpushmessage","description":"创建本地通知栏消息","compatibility":"### createPushMessage HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"getPushChannelManager":{"name":"## uni.getPushChannelManager() @getpushchannelmanager","description":"获取通知渠道管理器,Android 8系统以上才可以设置通知渠道,Android 8系统以下返回null。","compatibility":"### getPushChannelManager HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [ChannelManager](#channelmanager-values) |\n\n#### ChannelManager 的方法 @channelmanager-values \n\n#### setPushChannel(options) @setpushchannel\n设置推送渠道\n\n##### setPushChannel HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| soundName | - |\n@| channelId | - |\n@| channelDesc | - |\n@| enableLights | - |\n@| enableVibration | - |\n@| importance | - |\n@| lockscreenVisibility | - | \n\n\n#### getAllChannels() @getallchannels\n获取当前应用注册的所有的通知渠道。\n\n##### getAllChannels HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\ |\n \n \n","tutorial":""},"setAppBadgeNumber":{"name":"## uni.setAppBadgeNumber(num, options?) @setappbadgenumber","description":"设置应用图标上显示的角标数字","compatibility":"### setAppBadgeNumber HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| num | - |\n| options | - | \n","returnValue":"","tutorial":""},"createWebviewContext":{"name":"## uni.createWebviewContext(webviewId, component?) @createwebviewcontext","description":"创建 web-view 组件的上下文对象,用于操作 web-view 的行为。","compatibility":"### createWebviewContext HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| webviewId | - |\n| component | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 | 必备 |\n| :- | :- | :- |\n| [WebviewContext](#webviewcontext-values) \\| null | web-view组件上下文对象 | 否 |\n\n#### WebviewContext 的方法 @webviewcontext-values \n\n#### back() @back\n后退到 web-view 组件网页加载历史的上一页,如果不存在上一页则没有任何效果。\n##### back HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### forward() @forward\n前进到 web-view 组件网页加载历史的下一页,如果不存在下一页则没有任何效果。\n##### forward HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### reload() @reload\n重新加载 web-view 组件当前页面。\n##### reload HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### stop() @stop\n停止加载 web-view 组件当前网页,该方法不能阻止已经加载的 html 文档,但是能够阻止未完成的图片及延迟加载的资源。\n##### stop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### evalJS(js) @evaljs\n在网页中执行指定的js脚本,在 uvue 页面中可通过此方法向 web-view 组件加载的页面发送数据\n##### evalJS HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| js | - | \n\n \n","tutorial":""},"createVideoContext":{"name":"## uni.createVideoContext(videoId, component?) @createvideocontext","description":"创建并返回 video 上下文 videoContext 对象","compatibility":"### createVideoContext HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| videoId | - |\n| component | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 | 必备 |\n| :- | :- | :- |\n| [VideoContext](#videocontext-values) \\| null | video组件上下文对象 | 否 |\n\n#### VideoContext 的方法 @videocontext-values \n\n#### play() @play\n播放\n##### play HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### pause() @pause\n暂停\n##### pause HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### seek(position) @seek\n跳转到指定位置\n##### seek HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| position | - | \n\n\n#### stop() @stop\n停止视频\n##### stop HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### sendDanmu(danmu) @senddanmu\n发送弹幕\n##### sendDanmu HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| danmu | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| text | - |\n@| color | - |\n@| time | - | \n\n\n#### playbackRate(rate) @playbackrate\n设置倍速播放\n##### playbackRate HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| rate | - | \n\n\n#### requestFullScreen(direction?) @requestfullscreen\n进入全屏\n##### requestFullScreen HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | - | \n\n\n#### exitFullScreen() @exitfullscreen\n退出全屏\n##### exitFullScreen HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n \n","tutorial":""},"createMapContext":{"name":"## uni.createMapContext(mapId, currentComponent?) @createmapcontext","description":"创建并返回 map 上下文 mapContext 对象\n","compatibility":"### createMapContext HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| mapId | - |\n| currentComponent | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [MapContext](#mapcontext-values) |\n\n#### MapContext 的方法 @mapcontext-values \n\n#### getCenterLocation(options) @getcenterlocation\n获取当前地图中心的经纬度,返回的是 gcj02 坐标系,可以用于 uni.openLocation\n##### getCenterLocation HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### LocationObject 的属性值 @locationobject-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| latitude | - |\n| longitude | - |\n\n\n#### moveToLocation(options) @movetolocation\n将地图中心移动到当前定位点,需要配合map组件的show-location使用\n##### moveToLocation HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| latitude | - |\n@| longitude | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### translateMarker(options) @translatemarker\n平移marker,带动画\n##### translateMarker HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| markerId | - |\n@| destination | - |\n@| autoRotate | - |\n@| rotate | - |\n@| moveWithRotate | - |\n@| duration | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### MapContextTranslateMarkerOptions 的方法 @mapcontexttranslatemarkeroptions-values \n\n###### animationEnd(result) @animationend\n动画结束回调函数\n###### animationEnd HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| result | - | \n\n\n\n#### includePoints(options) @includepoints\n缩放视野展示所有经纬度\n##### includePoints HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| points | - |\n@| padding | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### getRegion(options) @getregion\n获取当前地图的视野范围\n##### getRegion HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### MapContextGetRegionResult 的属性值 @mapcontextgetregionresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| southwest | - |\n| northeast | - |\n\n\n#### getScale(options) @getscale\n获取当前地图的缩放级别\n##### getScale HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### MapContextGetScaleResult 的属性值 @mapcontextgetscaleresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| scale | - |\n\n\n#### addCustomLayer(options) @addcustomlayer\n添加个性化图层\n##### addCustomLayer HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| layerId | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### addGroundOverlay(options) @addgroundoverlay\n创建自定义图片图层,图片会随着地图缩放而缩放\n##### addGroundOverlay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| src | - |\n@| bounds | - |\n@| visible | - |\n@| zIndex | - |\n@| opacity | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### addMarkers(options) @addmarkers\n添加 marker\n##### addMarkers HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| markers | - |\n@| clear | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### fromScreenLocation(options) @fromscreenlocation\n获取屏幕上的点对应的经纬度,坐标原点为地图左上角\n##### fromScreenLocation HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| x | - |\n@| y | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### initMarkerCluster(options) @initmarkercluster\n初始化点聚合的配置,未调用时采用默认配置\n##### initMarkerCluster HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| enableDefaultStyle | - |\n@| zoomOnClick | - |\n@| gridSize | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### moveAlong(options) @movealong\n沿指定路径移动 marker,用于轨迹回放等场景。动画完成时触发回调事件,若动画进行中,对同一 marker 再次调用 moveAlong 方法,前一次的动画将被打断。\n##### moveAlong HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| markerId | - |\n@| path | - |\n@| autoRotate | - |\n@| duration | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### openMapApp(options) @openmapapp\n拉起地图APP选择导航。\n##### openMapApp HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| destination | - |\n@| latitude | - |\n@| longitude | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### removeCustomLayer(options) @removecustomlayer\n移除个性化图层\n##### removeCustomLayer HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| layerId | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### removeGroundOverlay(options) @removegroundoverlay\n移除自定义图片图层\n##### removeGroundOverlay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### removeMarkers(options) @removemarkers\n移除 marker\n##### removeMarkers HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| markerIds | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### setCenterOffset(options) @setcenteroffset\n设置地图中心点偏移,向后向下为增长,屏幕比例范围(0.25~0.75),默认偏移为[0.5, 0.5\\]\n##### setCenterOffset HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| offset | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### toScreenLocation(options) @toscreenlocation\n获取经纬度对应的屏幕坐标,坐标原点为地图左上角。\n##### toScreenLocation HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| latitude | - |\n@| longitude | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### updateGroundOverlay(options) @updategroundoverlay\n更新自定义图片图层。\n##### updateGroundOverlay HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| src | - |\n@| bounds | - |\n@| visible | - |\n@| zIndex | - |\n@| opacity | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### on(event, callback) @on\n监听地图事件。\n##### on HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| event | - |\n| callback | - | \n\n \n","tutorial":""},"createCanvasContextAsync":{"name":"## uni.createCanvasContextAsync(options) @createcanvascontextasync","description":"获取CanvasContext对象实例\n","compatibility":"### createCanvasContextAsync HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| complete | - | \n\n##### CanvasContext 的方法 @canvascontext-values \n\n##### getContext(type) @getcontext\n\n###### getContext HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| type | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| [CanvasRenderingContext2D](/dom/canvasrenderingcontext2d.md) \\| null | 否 |\n \n\n##### toBlob(callback) @toblob\n创造 Blob 对象\n###### toBlob HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n##### toDataUrl() @todataurl\n返回一个包含图片展示的 data URI\n###### toDataUrl HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n","returnValue":"","tutorial":""},"createCanvasContext":{"name":"## uni.createCanvasContext(canvasId, componentInstance) @createcanvascontext","description":"创建 canvas 绘图上下文\n","compatibility":"### createCanvasContext HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| canvasId | - |\n| componentInstance | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [CanvasContext](#canvascontext-values) |\n\n#### CanvasContext 的方法 @canvascontext-values \n\n#### getContext(type) @getcontext\n\n##### getContext HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| type | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| [CanvasRenderingContext2D](/dom/canvasrenderingcontext2d.md) \\| null | 否 |\n \n\n#### toBlob(callback) @toblob\n创造 Blob 对象\n##### toBlob HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### toDataUrl() @todataurl\n返回一个包含图片展示的 data URI\n##### toDataUrl HarmonyOS Next 兼容性 \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n \n","tutorial":""},"general_type":{"name":"## 通用类型\n","param":""}} \ No newline at end of file +{"getApp":{"name":"## function getApp\\(): AppInstance\\ @getapp","description":"`getApp()` 函数用于获取当前应用实例,可通过应用实例调用 App.uvue methods 中定义的方法。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"getCurrentPages":{"name":"## () => Page[\\] @getcurrentpages","description":"`getCurrentPages()` 函数用于获取当前页面栈的实例,以数组形式按栈的顺序给出,数组中的元素为页面实例,第一个元素为首页,最后一个元素为当前页面。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[Page](#page-values)\\> |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| route | - |\n@| options | - |\n#### Page 的方法 @page-values \n\n#### $getPageStyle(): UTSJSONObject; @$getpagestyle\n获取当前页面样式 \\\n包含 pages.json 页面下的 style 节点属性和根节点 globalStyle 属性\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| UTSJSONObject |\n \n\n#### $setPageStyle(style: UTSJSONObject): void; @$setpagestyle\n设置当前页面样式 \\\n支持 pages.json 页面下的 style 节点属性和根节点 globalStyle 属性\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| style | - | \n\n \n","tutorial":""},"env":{"name":"## env","description":"环境变量","param":"### env 的属性值 @env-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| USER_DATA_PATH | - |\n| CACHE_PATH | - |\n| SANDBOX_PATH | - |\n| ANDROID_INTERNAL_SANDBOX_PATH | - |\n","compatibility":"","returnValue":"","tutorial":""},"$on":{"name":"## uni.$on(eventName, callback) @$on","description":"监听自定义事件。事件可以由 uni.$emit 触发。回调函数会接收 uni.$emit 传递的参数。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| eventName | - |\n| callback | - | \n","returnValue":"","tutorial":""},"$once":{"name":"## uni.$once(eventName, callback) @$once","description":"监听一个自定义事件。事件只触发一次,在第一次触发之后移除事件监听器。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| eventName | - |\n| callback | - | \n","returnValue":"","tutorial":""},"$off":{"name":"## uni.$off(eventName, callback?) @$off","description":"移除自定义事件监听器。如果提供了事件名和回调,则只移除这个回调的监听器。\n4.13+ 开始支持第二个参数为可选,如果仅提供事件名,则移除该事件的所有监听器。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| eventName | - |\n| callback | - | \n","returnValue":"","tutorial":""},"$emit":{"name":"## uni.$emit(eventName, args?) @$emit","description":"触发自定义事件,附加的参数会传递给事件监听器。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| eventName | - |\n| args | - | \n","returnValue":"","tutorial":""},"base64ToArrayBuffer":{"name":"## uni.base64ToArrayBuffer(base64) @base64toarraybuffer","description":"将 Base64 字符串转成 ArrayBuffer 对象\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| base64 | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| ArrayBuffer |\n \n","tutorial":""},"arrayBufferToBase64":{"name":"## uni.arrayBufferToBase64(arrayBuffer) @arraybuffertobase64","description":"将 ArrayBuffer 对象转成 Base64 字符串\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| arrayBuffer | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n","tutorial":""},"addInterceptor":{"name":"## uni.addInterceptor(name, interceptor) @addinterceptor","description":"添加拦截器","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| interceptor | - | \n","returnValue":"","tutorial":""},"removeInterceptor":{"name":"## uni.removeInterceptor(name, interceptor?) @removeinterceptor","description":"删除拦截器","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| interceptor | - | \n","returnValue":"","tutorial":""},"getLaunchOptionsSync":{"name":"## uni.getLaunchOptionsSync() @getlaunchoptionssync","description":"获取首次启动时的参数。返回值与App.onLaunch的回调参数一致\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **OnLaunchOptions** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| path | x | \n","tutorial":""},"getEnterOptionsSync":{"name":"## uni.getEnterOptionsSync() @getenteroptionssync","description":"获取本次启动时的参数。返回值与App.onShow的回调参数一致\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **OnShowOptions** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| path | x | \n","tutorial":""},"exit":{"name":"## uni.exit(options?) @exit","description":"退出当前应用","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ExitSuccess 的属性值 @exitsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n#### IExitError 的属性值 @iexiterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getProvider":{"name":"## uni.getProvider(options) @getprovider","description":"获取服务供应商","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n#### IGetProviderFail 的属性值 @igetproviderfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getPerformance":{"name":"## uni.getPerformance() @getperformance","description":"返回一个Performance对象实例\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [Performance](#performance-values) |\n\n#### Performance 的方法 @performance-values \n\n#### createObserver(callback: PerformanceObserverCallback): PerformanceObserver @createobserver\n创建全局性能事件监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### PerformanceObserverEntryList 的方法 @performanceobserverentrylist-values \n\n##### getEntries(): PerformanceEntry[\\] @getentries\n该方法返回当前列表中的所有性能数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<**PerformanceEntry**\\> |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| entryType | - |\n@| name | - |\n@| duration | - |\n@| startTime | - |\n@| path | - |\n@| referrerPath | - |\n@| pageId | - |\n@| referrerPageId | - |\n@| navigationStart | - |\n@| navigationType | - |\n@| initDataRecvTime | - |\n@| viewLayerRenderEndTime | - | \n\n##### getEntriesByType(entryType: string): PerformanceEntry[\\] @getentriesbytype\n获取当前列表中所有类型为 \\[entryType]的性能数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| entryType | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n##### getEntriesByName(name: string, entryType: string): PerformanceEntry[\\] @getentriesbyname\n获取当前列表中所有名称为 \\[name] 且类型为 [entryType]的性能数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| entryType | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [PerformanceObserver](#performanceobserver-values) |\n\n###### PerformanceObserver 的方法 @performanceobserver-values \n\n###### observe(options: PerformanceObserverOptions): void @observe\n开始监听\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| buffered | - |\n@| entryTypes | - |\n@| type | - | \n\n\n###### disconnect(): void @disconnect\n停止监听\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n \n\n#### getEntries(): PerformanceEntry[\\] @getentries\n该方法返回当前缓冲区中的所有性能数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n#### getEntriesByType(entryType: string): PerformanceEntry[\\] @getentriesbytype\n获取当前缓冲区中所有类型为 \\[entryType]的性能数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| entryType | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n#### getEntriesByName(name: string, entryType: string): PerformanceEntry[\\] @getentriesbyname\n获取当前缓冲区中所有名称为 \\[name] 且类型为 [entryType]的性能数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| entryType | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[PerformanceEntry](#performanceentry-values)\\> |\n \n\n#### setBufferSize(size: number): void @setbuffersize\n设置缓冲区大小,默认缓冲 30 条性能数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| size | - | \n\n \n","tutorial":""},"navigateTo":{"name":"## uni.navigateTo(options) @navigateto","description":"保留当前页面,跳转到应用内的某个页面\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| animationType | HBuilderX 4.23 |\n@| animationDuration | HBuilderX 4.23 |\n@| events | HBuilderX 4.23 |\n@| success | HBuilderX 4.23 |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n#### NavigateToFail 的属性值 @navigatetofail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"reLaunch":{"name":"## uni.reLaunch(options) @relaunch","description":"关闭所有页面,打开到应用内的某个页面\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| success | HBuilderX 4.23 |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n#### ReLaunchFail 的属性值 @relaunchfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"navigateBack":{"name":"## uni.navigateBack(options?) @navigateback","description":"关闭当前页面,返回上一页面或多级页面\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| delta | HBuilderX 4.23 |\n@| success | - |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n#### NavigateBackFail 的属性值 @navigatebackfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"redirectTo":{"name":"## uni.redirectTo(options) @redirectto","description":"关闭当前页面,跳转到应用内的某个页面\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| success | HBuilderX 4.23 |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n#### RedirectToFail 的属性值 @redirecttofail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"switchTab":{"name":"## uni.switchTab(options) @switchtab","description":"跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| success | HBuilderX 4.23 |\n@| fail | HBuilderX 4.23 |\n@| complete | HBuilderX 4.23 | \n\n#### SwitchTabFail 的属性值 @switchtabfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"setNavigationBarColor":{"name":"## uni.setNavigationBarColor(options) @setnavigationbarcolor","description":"设置导航条、状态栏颜色\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| frontColor | HBuilderX 4.23 |\n@| backgroundColor | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetNavigationBarColorFail 的属性值 @setnavigationbarcolorfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"setNavigationBarTitle":{"name":"## uni.setNavigationBarTitle(options) @setnavigationbartitle","description":"动态设置当前页面的标题\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetNavigationBarTitleFail 的属性值 @setnavigationbartitlefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"showTabBar":{"name":"## uni.showTabBar(options?) @showtabbar","description":"显示 tabBar\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| animation | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"hideTabBar":{"name":"## uni.hideTabBar(options?) @hidetabbar","description":"隐藏 tabBar\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| animation | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"showTabBarRedDot":{"name":"## uni.showTabBarRedDot(options) @showtabbarreddot","description":"显示 tabBar 某一项的右上角的红点\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"hideTabBarRedDot":{"name":"## uni.hideTabBarRedDot(options) @hidetabbarreddot","description":"隐藏 tabBar 某一项的右上角的红点\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"setTabBarBadge":{"name":"## uni.setTabBarBadge(options) @settabbarbadge","description":"为 tabBar 某一项的右上角添加文本\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| text | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"removeTabBarBadge":{"name":"## uni.removeTabBarBadge(options) @removetabbarbadge","description":"移除 tabBar 某一项右上角的文本\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"setTabBarStyle":{"name":"## uni.setTabBarStyle(options) @settabbarstyle","description":"动态设置 tabBar 的整体样式\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| color | - |\n@| selectedColor | - |\n@| backgroundColor | - |\n@| backgroundImage | - |\n@| backgroundRepeat | - |\n@| borderColor | HBuilderX 4.23 |\n@| borderStyle | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"setTabBarItem":{"name":"## uni.setTabBarItem(options) @settabbaritem","description":"动态设置 tabBar 某一项的内容\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| index | - |\n@| text | - |\n@| iconPath | - |\n@| selectedIconPath | - |\n@| pagePath | - |\n@| iconfont | - |\n@| visible | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SetTabBarFail 的属性值 @settabbarfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"startPullDownRefresh":{"name":"## uni.startPullDownRefresh(options?) @startpulldownrefresh","description":"开始下拉刷新\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### StartPullDownRefreshFail 的属性值 @startpulldownrefreshfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"stopPullDownRefresh":{"name":"## uni.stopPullDownRefresh() @stoppulldownrefresh","description":"停止当前页面下拉刷新\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"","tutorial":""},"pageScrollTo":{"name":"## uni.pageScrollTo(options) @pagescrollto","description":"将页面滚动到目标位置\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| scrollTop | - |\n@| selector | - |\n@| offsetTop | HBuilderX 4.23 |\n@| duration | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### PageScrollToFail 的属性值 @pagescrolltofail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"onTabBarMidButtonTap":{"name":"## uni.onTabBarMidButtonTap(options) @ontabbarmidbuttontap","description":"监听中间按钮的点击事件","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"","tutorial":""},"getElementById":{"name":"## uni.getElementById(id) @getelementbyid","description":"返回一个匹配特定 ID 的元素, 如果不存在,返回 null。\\\n如果需要获取指定的节点类型,需要使用 as 进行类型转换。\\\nID 区分大小写,且应该是唯一的。如果存在多个匹配的元素,则返回第一个匹配的元素。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| id | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| [UniElement](/dom/unielement.md) | 否 |\n \n","tutorial":""},"createSelectorQuery":{"name":"## uni.createSelectorQuery() @createselectorquery","description":"返回一个SelectorQuery对象实例\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n\n#### SelectorQuery 的方法 @selectorquery-values \n\n#### in(component: any \\| null): SelectorQuery @in\n将选择器的选取范围更改为自定义组件component内\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| component | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n#### select(selector: string): NodesRef @select\n在当前页面下选择第一个匹配选择器selector的节点\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| selector | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [NodesRef](#nodesref-values) |\n\n###### NodesRef 的方法 @nodesref-values \n\n###### boundingClientRect( callback: SelectorQueryNodeInfoCallback \\| null, ): SelectorQuery @boundingclientrect\n添加节点的布局位置的查询请求,相对于显示区域,以像素为单位\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n###### scrollOffset(callback: SelectorQueryNodeInfoCallback): SelectorQuery @scrolloffset\n添加节点的滚动位置查询请求,以像素为单位\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n###### fields( fields: NodeField, callback: SelectorQueryNodeInfoCallback \\| null, ): SelectorQuery @fields\n获取节点的相关信息,需要获取的字段在fields中指定\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| fields | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| dataset | - |\n@| rect | - |\n@| size | - |\n@| scrollOffset | - |\n@| properties | - |\n@| computedStyle | - |\n@| context | - |\n@| node | - |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n###### context(callback: SelectorQueryNodeInfoCallback): SelectorQuery @context\n添加节点的 Context 对象查询请求\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n\n###### node(callback: (result: any) => void): SelectorQuery @node\n获取 Node 节点实例。目前支持 Canvas 的获取。\n获取节点的相关信息,需要获取的字段在fields中指定\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SelectorQuery](#selectorquery-values) |\n \n \n\n#### selectAll(selector: string): NodesRef @selectall\n在当前页面下选择匹配选择器selector的所有节点\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| selector | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [NodesRef](#nodesref-values) |\n \n\n#### selectViewport(): NodesRef @selectviewport\n选择显示区域\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [NodesRef](#nodesref-values) |\n \n\n#### exec(callback: (result: Array\\) => void \\| null): NodesRef \\| null @exec\n执行所有的请求\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| [NodesRef](#nodesref-values) | 否 |\n \n \n","tutorial":""},"createIntersectionObserver":{"name":"## uni.createIntersectionObserver(component, options) @createintersectionobserver","description":"创建并返回一个 IntersectionObserver 对象实例\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| component | - |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| thresholds | - |\n@| initialRatio | - |\n@| observeAll | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [IntersectionObserver](#intersectionobserver-values) |\n\n#### IntersectionObserver 的方法 @intersectionobserver-values \n\n#### relativeTo(selector: string, margins?: any): IntersectionObserver; @relativeto\n使用选择器指定一个节点,作为参照区域之一\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| selector | - |\n| margins | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [IntersectionObserver](#intersectionobserver-values) |\n \n\n#### relativeToViewport(margins?: any): IntersectionObserver; @relativetoviewport\n指定页面显示区域作为参照区域之一\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| margins | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [IntersectionObserver](#intersectionobserver-values) |\n \n\n#### observe(targetSelector: string, callback: ObserveCallback): void; @observe\n指定目标节点并开始监听相交状态变化情况\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| targetSelector | - |\n| callback | - | \n\n##### ObserveResult 的属性值 @observeresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| intersectionRatio | - |\n| intersectionRect | - |\n| boundingClientRect | - |\n| relativeRect | - |\n| time | - |\n\n\n#### disconnect(): void; @disconnect\n停止监听\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n \n","tutorial":""},"showActionSheet":{"name":"## uni.showActionSheet(options) @showactionsheet","description":"从底部向上弹出操作菜单","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | - |\n@| alertText | - |\n@| itemList | - |\n@| itemColor | - |\n@| popover | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ShowActionSheetSuccess 的属性值 @showactionsheetsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tapIndex | - |\n\n#### IPromptError 的属性值 @iprompterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"showModal":{"name":"## uni.showModal(options) @showmodal","description":"显示模态弹窗,可以只有一个确定按钮,也可以同时有确定和取消按钮。类似于一个API整合了 html 中:alert、confirm。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | - |\n@| content | - |\n@| showCancel | - |\n@| cancelText | - |\n@| cancelColor | - |\n@| confirmText | - |\n@| confirmColor | - |\n@| editable | - |\n@| placeholderText | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ShowModalSuccess 的属性值 @showmodalsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| confirm | - |\n| cancel | - |\n| content | - |\n\n#### IPromptError 的属性值 @iprompterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"showLoading":{"name":"## uni.showLoading(options) @showloading","description":"显示 loading 提示框, 需主动调用 uni.hideLoading 才能关闭提示框。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | - |\n@| mask | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### IPromptError 的属性值 @iprompterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"hideLoading":{"name":"## uni.hideLoading() @hideloading","description":"隐藏 loading 提示框。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"","tutorial":""},"showToast":{"name":"## uni.showToast(options) @showtoast","description":"显示消息提示框","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| title | - |\n@| icon | - |\n@| image | - |\n@| mask | - |\n@| duration | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### IPromptError 的属性值 @iprompterror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"hideToast":{"name":"## uni.hideToast() @hidetoast","description":"隐藏消息提示框。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"","tutorial":""},"loadFontFace":{"name":"## uni.loadFontFace(options) @loadfontface","description":"动态加载网络字体\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| global | - |\n@| family | - |\n@| source | - |\n@| desc | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### LoadFontFaceFail 的属性值 @loadfontfacefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n#### AsyncApiResult 的属性值 @asyncapiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Promise\\ | 否 |\n \n","tutorial":""},"rpx2px":{"name":"## uni.rpx2px(number) @rpx2px","description":"将rpx单位值转换成px","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| number | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| number |\n \n","tutorial":""},"setAppTheme":{"name":"## uni.setAppTheme(options) @setapptheme","description":"设置应用主题","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | x | \n\n#### SetAppThemeSuccessResult 的属性值 @setappthemesuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| theme | - |\n\n#### IAppThemeFail 的属性值 @iappthemefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"onOsThemeChange":{"name":"## uni.onOsThemeChange(callback) @onosthemechange","description":"开启监听系统主题变化","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| number |\n \n","tutorial":""},"offOsThemeChange":{"name":"## uni.offOsThemeChange(id) @offosthemechange","description":"取消监听系统主题变化","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| id | - | \n","returnValue":"","tutorial":""},"onAppThemeChange":{"name":"## uni.onAppThemeChange(callback) @onappthemechange","description":"开启监听应用主题变化","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| number |\n \n","tutorial":""},"offAppThemeChange":{"name":"## uni.offAppThemeChange(id) @offappthemechange","description":"取消监听应用主题变化","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| id | - | \n","returnValue":"","tutorial":""},"onThemeChange":{"name":"## uni.onThemeChange(callback) @onthemechange","description":"监听系统主题状态变化。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnThemeChangeCallbackResult 的属性值 @onthemechangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| theme | - |\n","returnValue":"","tutorial":""},"offThemeChange":{"name":"## uni.offThemeChange(callback) @offthemechange","description":"取消监听系统主题状态变化。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OffThemeChangeCallbackResult 的属性值 @offthemechangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| theme | - |\n","returnValue":"","tutorial":""},"getLocale":{"name":"## uni.getLocale() @getlocale","description":"获取当前设置的语言\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n","tutorial":""},"setLocale":{"name":"## uni.setLocale(locale) @setlocale","description":"设置当前语言\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| locale | - | \n","returnValue":"","tutorial":""},"onLocaleChange":{"name":"## uni.onLocaleChange(callback) @onlocalechange","description":"设置当前语言\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnLocaleChangeCallbackResult 的属性值 @onlocalechangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| locale | - |\n","returnValue":"","tutorial":""},"request":{"name":"## uni.request(param) @request","description":"发起网络请求。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| param | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| data | HBuilderX 4.23 |\n@| header | HBuilderX 4.23 |\n@| method | HBuilderX 4.23 |\n@| timeout | - |\n@| withCredentials | x |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### RequestSuccess\\ 的属性值 @requestsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.23 |\n| statusCode | HBuilderX 4.23 |\n| header | HBuilderX 4.23 |\n| cookies | HBuilderX 4.23 |\n\n#### RequestFail 的属性值 @requestfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [RequestTask](#requesttask-values) |\n\n#### RequestTask 的方法 @requesttask-values \n\n#### abort(): void @abort\n中断网络请求。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n \n","tutorial":""},"uploadFile":{"name":"## uni.uploadFile(options) @uploadfile","description":"将本地资源上传到开发者服务器。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| filePath | HBuilderX 4.23 |\n@| name | HBuilderX 4.23 |\n@| files | HBuilderX 4.23 |\n@| header | HBuilderX 4.23 |\n@| formData | HBuilderX 4.23 |\n@| timeout | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### UploadFileSuccess 的属性值 @uploadfilesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.23 |\n| statusCode | HBuilderX 4.23 |\n\n#### UploadFileFail 的属性值 @uploadfilefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [UploadTask](#uploadtask-values) |\n\n#### UploadTask 的方法 @uploadtask-values \n\n#### abort(): void, @abort\n中断上传任务。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### onProgressUpdate(callback: UploadFileProgressUpdateCallback): void, @onprogressupdate\n监听上传进度变化。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### OnProgressUpdateResult 的属性值 @onprogressupdateresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| progress | HBuilderX 4.23 |\n| totalBytesSent | HBuilderX 4.23 |\n| totalBytesExpectedToSend | HBuilderX 4.23 |\n\n \n","tutorial":""},"downloadFile":{"name":"## uni.downloadFile(options) @downloadfile","description":"下载文件资源到本地,客户端直接发起一个 HTTP GET 请求,返回文件的本地临时路径。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| header | - |\n@| filePath | HBuilderX 4.23 |\n@| timeout | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### DownloadFileSuccess 的属性值 @downloadfilesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | HBuilderX 4.23 |\n| statusCode | HBuilderX 4.23 |\n\n#### DownloadFileFail 的属性值 @downloadfilefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [DownloadTask](#downloadtask-values) |\n\n#### DownloadTask 的方法 @downloadtask-values \n\n#### abort(): void, @abort\n中断下载任务\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### onProgressUpdate(callback: DownloadFileProgressUpdateCallback): void, @onprogressupdate\n监听下载进度变化。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### OnProgressDownloadResult 的属性值 @onprogressdownloadresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| progress | HBuilderX 4.23 |\n| totalBytesWritten | HBuilderX 4.23 |\n| totalBytesExpectedToWrite | HBuilderX 4.23 |\n\n \n","tutorial":""},"getNetworkType":{"name":"## uni.getNetworkType(options) @getnetworktype","description":"获取网络类型","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### GetNetworkTypeSuccess 的属性值 @getnetworktypesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| networkType | - |\n","returnValue":"","tutorial":""},"connectSocket":{"name":"## uni.connectSocket(options) @connectsocket","description":"创建一个 WebSocket 连接。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| url | HBuilderX 4.23 |\n@| header | HBuilderX 4.23 |\n@| protocols | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ConnectSocketSuccess 的属性值 @connectsocketsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n#### ConnectSocketFail 的属性值 @connectsocketfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [SocketTask](#sockettask-values) |\n\n#### SocketTask 的方法 @sockettask-values \n\n#### send(options: SendSocketMessageOptions): void; @send\n通过 WebSocket 连接发送数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| data | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### SendSocketMessageFail 的属性值 @sendsocketmessagefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### close(options: CloseSocketOptions): void; @close\n关闭 WebSocket 连接\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| code | HBuilderX 4.23 |\n@| reason | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### onOpen(callback: (result: OnSocketOpenCallbackResult) => void): void; @onopen\n监听 WebSocket 连接打开事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### OnSocketOpenCallbackResult 的属性值 @onsocketopencallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| header | HBuilderX 4.23 |\n\n\n#### onClose(callback: (result: any) => void): void; @onclose\n监听 WebSocket 连接关闭事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onError(callback: (result: GeneralCallbackResult) => void): void; @onerror\n监听 WebSocket 错误\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onMessage(callback: (result: OnSocketMessageCallbackResult) => void): void; @onmessage\n监听 WebSocket 接受到服务器的消息事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### OnSocketMessageCallbackResult 的属性值 @onsocketmessagecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.23 |\n\n \n","tutorial":""},"onSocketOpen":{"name":"## uni.onSocketOpen(options) @onsocketopen","description":"监听WebSocket连接打开事件。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"","tutorial":""},"onSocketError":{"name":"## uni.onSocketError(callback) @onsocketerror","description":"监听WebSocket错误。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnSocketErrorCallbackResult 的属性值 @onsocketerrorcallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"","tutorial":""},"sendSocketMessage":{"name":"## uni.sendSocketMessage(options) @sendsocketmessage","description":"通过 WebSocket 连接发送数据,需要先 uni.connectSocket,并在 uni.onSocketOpen 回调之后才能发送。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| data | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SendSocketMessageFail 的属性值 @sendsocketmessagefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"onSocketMessage":{"name":"## uni.onSocketMessage(callback) @onsocketmessage","description":"监听WebSocket接受到服务器的消息事件。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnSocketMessageCallbackResult 的属性值 @onsocketmessagecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.23 |\n","returnValue":"","tutorial":""},"closeSocket":{"name":"## uni.closeSocket(options) @closesocket","description":"关闭 WebSocket 连接。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| code | HBuilderX 4.23 |\n@| reason | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"onSocketClose":{"name":"## uni.onSocketClose(callback) @onsocketclose","description":"监听WebSocket关闭。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnSocketCloseCallbackResult 的属性值 @onsocketclosecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| code | HBuilderX 4.23 |\n| reason | HBuilderX 4.23 |\n","returnValue":"","tutorial":""},"onNetworkStatusChange":{"name":"## uni.onNetworkStatusChange(callback) @onnetworkstatuschange","description":"监听网络状态变化\r\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnNetworkStatusChangeCallbackResult 的属性值 @onnetworkstatuschangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| isConnected | - |\n| networkType | - |\n","returnValue":"","tutorial":""},"offNetworkStatusChange":{"name":"## uni.offNetworkStatusChange(callback) @offnetworkstatuschange","description":"取消监听网络状态变化\r\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"addPhoneContact":{"name":"## uni.addPhoneContact(options) @addphonecontact","description":"手机通讯录联系人和联系方式的增加","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| photoFilePath | - |\n@| nickName | - |\n@| lastName | - |\n@| middleName | - |\n@| firstName | - |\n@| remark | - |\n@| mobilePhoneNumber | - |\n@| weChatNumber | - |\n@| addressCountry | - |\n@| addressState | - |\n@| addressCity | - |\n@| addressStreet | - |\n@| addressPostalCode | - |\n@| organization | - |\n@| title | - |\n@| workFaxNumber | - |\n@| workPhoneNumber | - |\n@| hostNumber | - |\n@| email | - |\n@| url | - |\n@| workAddressCountry | - |\n@| workAddressState | - |\n@| workAddressCity | - |\n@| workAddressStreet | - |\n@| workAddressPostalCode | - |\n@| homeFaxNumber | - |\n@| homePhoneNumber | - |\n@| homeAddressCountry | - |\n@| homeAddressState | - |\n@| homeAddressCity | - |\n@| homeAddressStreet | - |\n@| homeAddressPostalCode | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"openAppAuthorizeSetting":{"name":"## uni.openAppAuthorizeSetting(options) @openappauthorizesetting","description":"跳转系统授权管理页","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### OpenAppAuthorizeSettingSuccess 的属性值 @openappauthorizesettingsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n#### OpenAppAuthorizeSettingFail 的属性值 @openappauthorizesettingfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n#### OpenAppAuthorizeSettingComplete 的属性值 @openappauthorizesettingcomplete-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n","returnValue":"","tutorial":""},"showNavigationBarLoading":{"name":"## uni.showNavigationBarLoading(options?) @shownavigationbarloading","description":"在当前页面显示导航条加载动画\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ShowNavigationBarLoadingFail 的属性值 @shownavigationbarloadingfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"hideNavigationBarLoading":{"name":"## uni.hideNavigationBarLoading(options?) @hidenavigationbarloading","description":"隐藏导航条加载动画\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.24 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### HideNavigationBarLoadingFail 的属性值 @hidenavigationbarloadingfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"hideKeyboard":{"name":"## uni.hideKeyboard(options?) @hidekeyboard","description":"隐藏键盘","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"getRecorderManager":{"name":"## uni.getRecorderManager() @getrecordermanager","description":"录音管理\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [RecorderManager](#recordermanager-values) |\n\n#### RecorderManager 的方法 @recordermanager-values \n\n#### start(options: RecorderManagerStartOptions): void; @start\n开始录音\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| duration | - |\n@| sampleRate | - |\n@| numberOfChannels | - |\n@| encodeBitRate | - |\n@| format | - |\n@| frameSize | - | \n\n\n#### pause(): void; @pause\n暂停录音\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### resume(): void; @resume\n暂停录音\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### stop(): void; @stop\n停止录音\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### onStart(options: (result: any) => void): void; @onstart\n录音开始事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onPause(options: (result: any) => void): void; @onpause\n录音暂停事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onStop(options: (result: RecorderManagerOnStopResult) => void): void; @onstop\n录音停止事件,会回调文件地址\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n##### RecorderManagerOnStopResult 的属性值 @recordermanageronstopresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n\n\n#### onFrameRecorded(options: (result: any) => void): void; @onframerecorded\n已录制完指定帧大小的文件,会回调录音分片结果数据。如果设置了 frameSize ,则会回调此事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### onError(options: (result: any) => void): void; @onerror\n录音错误事件, 会回调错误信息\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### (options: (result: any) => void) => void @onresume\n监听录音继续事件\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### (options: (result: any) => void) => void @oninterruptionbegin\n监听录音因为受到系统占用而被中断开始事件\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n\n#### (options: (result: any) => void) => void @oninterruptionend\n监听录音中断结束事件\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n \n","tutorial":""},"getSystemInfo":{"name":"## uni.getSystemInfo(options) @getsysteminfo","description":"异步获取系统信息","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### GetSystemInfoResult 的属性值 @getsysteminforesult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| appId | HBuilderX 4.23 |\n| appLanguage | HBuilderX 4.23 |\n| appName | HBuilderX 4.23 |\n| appVersion | HBuilderX 4.23 |\n| appVersionCode | HBuilderX 4.23 |\n| appWgtVersion | HBuilderX 4.23 |\n| browserName | x |\n| browserVersion | x |\n| deviceId | HBuilderX 4.23 |\n| deviceBrand | HBuilderX 4.23 |\n| deviceModel | HBuilderX 4.23 |\n| deviceType | HBuilderX 4.23 |\n| devicePixelRatio | HBuilderX 4.23 |\n| deviceOrientation | HBuilderX 4.23 |\n| osName | HBuilderX 4.23 |\n| osVersion | HBuilderX 4.23 |\n| osLanguage | HBuilderX 4.23 |\n| osTheme | HBuilderX 4.23 |\n| screenWidth | HBuilderX 4.23 |\n| screenHeight | HBuilderX 4.23 |\n| statusBarHeight | HBuilderX 4.23 |\n| safeArea | HBuilderX 4.23 |\n| safeAreaInsets | HBuilderX 4.23 |\n| ua | x |\n| uniCompilerVersion | HBuilderX 4.23 |\n| uniPlatform | HBuilderX 4.23 |\n| uniRuntimeVersion | HBuilderX 4.23 |\n| uniCompilerVersionCode | HBuilderX 4.23 |\n| uniRuntimeVersionCode | HBuilderX 4.23 |\n| romName | HBuilderX 4.23 |\n| romVersion | HBuilderX 4.23 |\n| windowWidth | HBuilderX 4.23 |\n| windowHeight | HBuilderX 4.23 |\n| windowTop | HBuilderX 4.23 |\n| windowBottom | HBuilderX 4.23 |\n| appTheme | HBuilderX 4.23 |\n| version | x |\n| uniCompileVersionCode | x |\n| uniCompileVersion | x |\n| system | HBuilderX 4.23 |\n| platform | x |\n| pixelRatio | x |\n| model | x |\n| language | x |\n| brand | HBuilderX 4.23 |\n","returnValue":"","tutorial":""},"getSystemInfoSync":{"name":"## uni.getSystemInfoSync() @getsysteminfosync","description":"同步获取系统信息","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetSystemInfoResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| appId | HBuilderX 4.23 |\n@| appLanguage | HBuilderX 4.23 |\n@| appName | HBuilderX 4.23 |\n@| appVersion | HBuilderX 4.23 |\n@| appVersionCode | HBuilderX 4.23 |\n@| appWgtVersion | HBuilderX 4.23 |\n@| browserName | x |\n@| browserVersion | x |\n@| deviceId | HBuilderX 4.23 |\n@| deviceBrand | HBuilderX 4.23 |\n@| deviceModel | HBuilderX 4.23 |\n@| deviceType | HBuilderX 4.23 |\n@| devicePixelRatio | HBuilderX 4.23 |\n@| deviceOrientation | HBuilderX 4.23 |\n@| osName | HBuilderX 4.23 |\n@| osVersion | HBuilderX 4.23 |\n@| osLanguage | HBuilderX 4.23 |\n@| osTheme | HBuilderX 4.23 |\n@| screenWidth | HBuilderX 4.23 |\n@| screenHeight | HBuilderX 4.23 |\n@| statusBarHeight | HBuilderX 4.23 |\n@| safeArea | HBuilderX 4.23 |\n@| safeAreaInsets | HBuilderX 4.23 |\n@| ua | x |\n@| uniCompilerVersion | HBuilderX 4.23 |\n@| uniPlatform | HBuilderX 4.23 |\n@| uniRuntimeVersion | HBuilderX 4.23 |\n@| uniCompilerVersionCode | HBuilderX 4.23 |\n@| uniRuntimeVersionCode | HBuilderX 4.23 |\n@| romName | HBuilderX 4.23 |\n@| romVersion | HBuilderX 4.23 |\n@| windowWidth | HBuilderX 4.23 |\n@| windowHeight | HBuilderX 4.23 |\n@| windowTop | HBuilderX 4.23 |\n@| windowBottom | HBuilderX 4.23 |\n@| appTheme | HBuilderX 4.23 |\n@| version | x |\n@| uniCompileVersionCode | x |\n@| uniCompileVersion | x |\n@| system | HBuilderX 4.23 |\n@| platform | x |\n@| pixelRatio | x |\n@| model | x |\n@| language | x |\n@| brand | HBuilderX 4.23 | \n","tutorial":""},"getDeviceInfo":{"name":"## uni.getDeviceInfo(options?) @getdeviceinfo","description":"获取设备信息","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filter | x | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetDeviceInfoResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| deviceBrand | HBuilderX 4.23 |\n@| deviceId | HBuilderX 4.23 |\n@| deviceModel | HBuilderX 4.23 |\n@| deviceType | HBuilderX 4.23 |\n@| deviceOrientation | HBuilderX 4.23 |\n@| devicePixelRatio | HBuilderX 4.23 |\n@| system | HBuilderX 4.23 |\n@| platform | HBuilderX 4.23 |\n@| osName | HBuilderX 4.23 |\n@| osVersion | HBuilderX 4.23 |\n@| osLanguage | HBuilderX 4.23 |\n@| osTheme | HBuilderX 4.23 |\n@| romName | HBuilderX 4.23 |\n@| romVersion | HBuilderX 4.23 |\n@| model | x | \n","tutorial":""},"getWindowInfo":{"name":"## uni.getWindowInfo() @getwindowinfo","description":"同步获取窗口信息","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| **GetWindowInfoResult** | result |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| pixelRatio | HBuilderX 4.23 |\n@| screenWidth | HBuilderX 4.23 |\n@| screenHeight | HBuilderX 4.23 |\n@| windowWidth | HBuilderX 4.23 |\n@| windowHeight | HBuilderX 4.23 |\n@| statusBarHeight | HBuilderX 4.23 |\n@| windowTop | HBuilderX 4.23 |\n@| windowBottom | HBuilderX 4.23 |\n@| safeArea | HBuilderX 4.23 |\n@| safeAreaInsets | HBuilderX 4.23 |\n@| screenTop | HBuilderX 4.23 | \n","tutorial":""},"getAppBaseInfo":{"name":"## uni.getAppBaseInfo(options?) @getappbaseinfo","description":"获取app基本信息","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filter | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetAppBaseInfoResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| appId | HBuilderX 4.23 |\n@| appName | HBuilderX 4.23 |\n@| appVersion | HBuilderX 4.23 |\n@| appVersionCode | HBuilderX 4.23 |\n@| appLanguage | HBuilderX 4.23 |\n@| language | x |\n@| appWgtVersion | HBuilderX 4.23 |\n@| hostLanguage | HBuilderX 4.23 |\n@| isUniAppX | HBuilderX 4.23 |\n@| uniCompilerVersion | HBuilderX 4.23 |\n@| uniPlatform | HBuilderX 4.23 |\n@| uniRuntimeVersionCode | HBuilderX 4.23 |\n@| packageName | HBuilderX 4.23 |\n@| appTheme | HBuilderX 4.23 |\n@| version | HBuilderX 4.23 | \n","tutorial":""},"getAppAuthorizeSetting":{"name":"## uni.getAppAuthorizeSetting() @getappauthorizesetting","description":"获取 APP 授权设置。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetAppAuthorizeSettingResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| albumAuthorized | - |\n@| bluetoothAuthorized | - |\n@| cameraAuthorized | - |\n@| locationAuthorized | - |\n@| locationAccuracy | - |\n@| locationReducedAccuracy | - |\n@| microphoneAuthorized | - |\n@| notificationAuthorized | - |\n@| notificationAlertAuthorized | - |\n@| notificationBadgeAuthorized | - |\n@| notificationSoundAuthorized | - |\n@| phoneCalendarAuthorized | x | \n","tutorial":""},"getSystemSetting":{"name":"## uni.getSystemSetting() @getsystemsetting","description":"获取系统设置","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetSystemSettingResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| bluetoothEnabled | - |\n@| bluetoothError | - |\n@| locationEnabled | - |\n@| wifiEnabled | - |\n@| wifiError | - |\n@| deviceOrientation | - | \n","tutorial":""},"installApk":{"name":"## uni.installApk(options) @installapk","description":"安装apk","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### InstallApkSuccess 的属性值 @installapksuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n#### InstallApkFail 的属性值 @installapkfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getBatteryInfo":{"name":"## uni.getBatteryInfo(options) @getbatteryinfo","description":"获取电池电量信息\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-getbatteryinfo](https://ext.dcloud.net.cn/plugin?name=uni-getbatteryinfo)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### GetBatteryInfoSuccess 的属性值 @getbatteryinfosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n| level | - |\n| isCharging | - |\n","returnValue":"","tutorial":""},"getBatteryInfoSync":{"name":"## uni.getBatteryInfoSync() @getbatteryinfosync","description":"同步获取电池电量信息\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-getbatteryinfo](https://ext.dcloud.net.cn/plugin?name=uni-getbatteryinfo)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| **GetBatteryInfoResult** |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| level | - |\n@| isCharging | - | \n","tutorial":""},"makePhoneCall":{"name":"## uni.makePhoneCall(options) @makephonecall","description":"拨打电话\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| phoneNumber | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"getClipboardData":{"name":"## uni.getClipboardData(options) @getclipboarddata","description":"获得系统剪贴板的内容\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### GetClipboardDataSuccess 的属性值 @getclipboarddatasuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | - |\n","returnValue":"","tutorial":""},"setClipboardData":{"name":"## uni.setClipboardData(options) @setclipboarddata","description":"设置系统剪贴板的内容\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| data | - |\n@| showToast | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"onCompassChange":{"name":"## uni.onCompassChange(callback) @oncompasschange","description":"监听罗盘数据\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnCompassChangeSuccess 的属性值 @oncompasschangesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | - |\n","returnValue":"","tutorial":""},"offCompassChange":{"name":"## uni.offCompassChange(callback) @offcompasschange","description":"取消监听罗盘数据\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"startCompass":{"name":"## uni.startCompass(options?) @startcompass","description":"开始监听罗盘数据\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ICompassError 的属性值 @icompasserror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"stopCompass":{"name":"## uni.stopCompass(options?) @stopcompass","description":"停止监听罗盘数据\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ICompassError 的属性值 @icompasserror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"onAccelerometerChange":{"name":"## uni.onAccelerometerChange(callback) @onaccelerometerchange","description":"监听加速度数据\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnAccelerometerChangeCallbackResult 的属性值 @onaccelerometerchangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| x | - |\n| y | - |\n| z | - |\n","returnValue":"","tutorial":""},"offAccelerometerChange":{"name":"## uni.offAccelerometerChange(callback) @offaccelerometerchange","description":"取消监听加速度数据\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"startAccelerometer":{"name":"## uni.startAccelerometer(options) @startaccelerometer","description":"开始监听加速度数据\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| interval | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"stopAccelerometer":{"name":"## uni.stopAccelerometer(options) @stopaccelerometer","description":"停止监听加速度数据\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"startWifi":{"name":"## uni.startWifi(option) @startwifi","description":"初始化Wi-Fi模块\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"stopWifi":{"name":"## uni.stopWifi(option) @stopwifi","description":"关闭 Wi-Fi 模块\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"connectWifi":{"name":"## uni.connectWifi(option) @connectwifi","description":"","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| SSID | - |\n@| BSSID | - |\n@| password | - |\n@| maunal | - |\n@| partialInfo | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"getWifiList":{"name":"## uni.getWifiList(option) @getwifilist","description":"请求获取 Wi-Fi 列表。wifiList 数据会在 onGetWifiList 注册的回调中返回。\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"onGetWifiList":{"name":"## uni.onGetWifiList(callback) @ongetwifilist","description":"监听获取到 Wi-Fi 列表数据事件。\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"offGetWifiList":{"name":"## uni.offGetWifiList(callback) @offgetwifilist","description":"移除获取到 Wi-Fi 列表数据事件的监听函数。\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"getConnectedWifi":{"name":"## uni.getConnectedWifi(option) @getconnectedwifi","description":"获取已连接的 Wi-Fi 信息\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| partialInfo | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"onWifiConnected":{"name":"## uni.onWifiConnected(callback) @onwificonnected","description":"监听连接上 Wi-Fi 的事件\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"onWifiConnectedWithPartialInfo":{"name":"## uni.onWifiConnectedWithPartialInfo(callback) @onwificonnectedwithpartialinfo","description":"监听连接上 Wi-Fi 的事件。\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### UniWifiInfoWithPartialInfo 的属性值 @uniwifiinfowithpartialinfo-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| SSID | - |\n","returnValue":"","tutorial":""},"offWifiConnected":{"name":"## uni.offWifiConnected(callback?) @offwificonnected","description":"移除连接上 Wi-Fi 的事件的监听函数。\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"setWifiList":{"name":"## uni.setWifiList(option) @setwifilist","description":"SetWifiList 暂未实现\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-wifi](https://ext.dcloud.net.cn/plugin?name=uni-wifi)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### UniWifiResult 的属性值 @uniwifiresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| wifi | - |\n","returnValue":"","tutorial":""},"onMemoryWarning":{"name":"## uni.onMemoryWarning(callback) @onmemorywarning","description":"监听内存不足告警事件。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnMemoryWarningCallbackResult 的属性值 @onmemorywarningcallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| level | - |\n","returnValue":"","tutorial":""},"offMemoryWarning":{"name":"## uni.offMemoryWarning(callback) @offmemorywarning","description":"取消监听内存不足告警事件。不传入 callback 则取消所有监听。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OffMemoryWarningCallbackResult 的属性值 @offmemorywarningcallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| level | - |\n","returnValue":"","tutorial":""},"onUserCaptureScreen":{"name":"## uni.onUserCaptureScreen(callback?) @onusercapturescreen","description":"开启截屏监听\r\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-usercapturescreen](https://ext.dcloud.net.cn/plugin?name=uni-usercapturescreen)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnUserCaptureScreenCallbackResult 的属性值 @onusercapturescreencallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - |\n","returnValue":"","tutorial":""},"offUserCaptureScreen":{"name":"## uni.offUserCaptureScreen(callback?) @offusercapturescreen","description":"关闭截屏监听\r\n\n\n> 本 API 是 [uni ext api](https://uniapp.dcloud.net.cn/api/extapi.html),需下载插件:[uni-usercapturescreen](https://ext.dcloud.net.cn/plugin?name=uni-usercapturescreen)\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnUserCaptureScreenCallbackResult 的属性值 @onusercapturescreencallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - |\n","returnValue":"","tutorial":""},"createRequestPermissionListener":{"name":"## uni.createRequestPermissionListener() @createrequestpermissionlistener","description":"创建一个监听权限申请的对象。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [RequestPermissionListener](#requestpermissionlistener-values) |\n\n#### RequestPermissionListener 的方法 @requestpermissionlistener-values \n\n#### onRequest(callback : RequestPermissionListenerRequestCallback) : void @onrequest\n监听申请系统权限\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onConfirm(callback : RequestPermissionListenerConfirmCallback) : void @onconfirm\n监听弹出系统权限授权框\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onComplete(callback : RequestPermissionListenerCompleteCallback) : void @oncomplete\n监听权限申请完成\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### stop() : void @stop\n取消所有监听\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n \n","tutorial":""},"scanCode":{"name":"## uni.scanCode(options?) @scancode","description":"扫码","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| onlyFromCamera | - |\n@| scanType | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ScanCodeSuccess 的属性值 @scancodesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| result | - |\n| scanType | - |\n","returnValue":"","tutorial":""},"chooseImage":{"name":"## uni.chooseImage(options) @chooseimage","description":"从本地相册选择图片或使用相机拍照","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| count | - |\n@| sizeType | HBuilderX 4.23 |\n@| sourceType | - |\n@| extension | HBuilderX 4.23 |\n@| crop | HBuilderX 4.23 |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ChooseImageSuccess 的属性值 @chooseimagesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| errMsg | - |\n| tempFilePaths | - |\n| tempFiles | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"previewImage":{"name":"## uni.previewImage(options) @previewimage","description":"预览图片","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| current | - |\n@| urls | - |\n@| showmenu | - |\n@| indicator | x |\n@| loop | - |\n@| longPressActions | x |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### LongPressActionsSuccessData 的属性值 @longpressactionssuccessdata-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tapIndex | - |\n| index | - |\n\n#### PreviewImageSuccess 的属性值 @previewimagesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| errMsg | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"closePreviewImage":{"name":"## uni.closePreviewImage(options) @closepreviewimage","description":"关闭图片预览","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ClosePreviewImageSuccess 的属性值 @closepreviewimagesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"saveImageToPhotosAlbum":{"name":"## uni.saveImageToPhotosAlbum(options) @saveimagetophotosalbum","description":"保存图片到系统相册","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### SaveImageToPhotosAlbumSuccess 的属性值 @saveimagetophotosalbumsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getImageInfo":{"name":"## uni.getImageInfo(options) @getimageinfo","description":"获取图片信息","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| src | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### GetImageInfoSuccess 的属性值 @getimageinfosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| width | - |\n| height | - |\n| path | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"compressImage":{"name":"## uni.compressImage(options) @compressimage","description":"压缩图片","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| src | - |\n@| quality | - |\n@| rotate | - |\n@| compressedHeight | - |\n@| compressedWidth | - |\n@| success | - |\n@| fail | - |\n@| complete | - |\n@| height | - |\n@| width | - | \n\n#### CompressImageSuccess 的属性值 @compressimagesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"chooseVideo":{"name":"## uni.chooseVideo(options) @choosevideo","description":"拍摄视频或从手机相册中选视频,返回视频的临时文件路径。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| sourceType | - |\n@| extension | x |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ChooseVideoSuccess 的属性值 @choosevideosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n| duration | - |\n| size | - |\n| height | - |\n| width | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"saveVideoToPhotosAlbum":{"name":"## uni.saveVideoToPhotosAlbum(options) @savevideotophotosalbum","description":"保存视频到系统相册","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getVideoInfo":{"name":"## uni.getVideoInfo(options) @getvideoinfo","description":"获取视频详细信息","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| src | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### GetVideoInfoSuccess 的属性值 @getvideoinfosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| orientation | HBuilderX 4.23 |\n| type | HBuilderX 4.23 |\n| duration | - |\n| size | - |\n| height | - |\n| width | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"compressVideo":{"name":"## uni.compressVideo(options) @compressvideo","description":"压缩视频","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| src | - |\n@| quality | - |\n@| bitrate | - |\n@| fps | - |\n@| resolution | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### CompressVideoSuccess 的属性值 @compressvideosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n| size | - |\n\n#### IMediaError 的属性值 @imediaerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"createInnerAudioContext":{"name":"## uni.createInnerAudioContext() @createinneraudiocontext","description":"创建并返回 audio 上下文 audioContext 对象\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [InnerAudioContext](#inneraudiocontext-values) |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| duration | - |\n@| currentTime | - |\n@| paused | - |\n@| src | - |\n@| startTime | - |\n@| buffered | - |\n@| autoplay | - |\n@| loop | - |\n@| obeyMuteSwitch | - |\n@| volume | - |\n@| playbackRate | - |\n#### InnerAudioContext 的方法 @inneraudiocontext-values \n\n#### pause(): void; @pause\n暂停\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### stop(): void; @stop\n停止\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### play(): void; @play\n播放\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### seek(position: number): void; @seek\n跳转到指定位置,单位 s\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| position | - | \n\n\n#### destroy(): void; @destroy\n销毁当前实例\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n\n\n#### onCanplay(callback: (result: any) => void): void; @oncanplay\n音频进入可以播放状态,但不保证后面可以流畅播放\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPlay(callback: (result: any) => void): void; @onplay\n音频播放事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPause(callback: (result: any) => void): void; @onpause\n音频暂停事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onStop(callback: (result: any) => void): void; @onstop\n音频停止事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onEnded(callback: (result: any) => void): void; @onended\n音频自然播放结束事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onTimeUpdate(callback: (result: any) => void): void; @ontimeupdate\n音频播放进度更新事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onError(callback: (result: any) => void): void; @onerror\n音频播放错误事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onWaiting(callback: (result: any) => void): void; @onwaiting\n音频加载中事件,当音频因为数据不足,需要停下来加载时会触发\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onSeeking(callback: (result: any) => void): void; @onseeking\n音频进行 seek 操作事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onSeeked(callback: (result: any) => void): void; @onseeked\n音频完成 seek 操作事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offCanplay(callback: (result: any) => void): void; @offcanplay\n取消监听 onCanplay 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offPlay(callback: (result: any) => void): void; @offplay\n取消监听 onPlay 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offPause(callback: (result: any) => void): void; @offpause\n取消监听 onPause 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offStop(callback: (result: any) => void): void; @offstop\n取消监听 onStop 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offEnded(callback: (result: any) => void): void; @offended\n取消监听 onEnded 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offTimeUpdate(callback: (result: any) => void): void; @offtimeupdate\n取消监听 onTimeUpdate 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offError(callback: (result: any) => void): void; @offerror\n取消监听 onWaiting 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offWaiting(callback: (result: any) => void): void; @offwaiting\n取消监听 onWaiting 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offSeeking(callback: (result: any) => void): void; @offseeking\n取消监听 onSeeking 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offSeeked(callback: (result: any) => void): void; @offseeked\n取消监听 onSeeked 事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n \n","tutorial":""},"getBackgroundAudioManager":{"name":"## uni.getBackgroundAudioManager() @getbackgroundaudiomanager","description":"获取全局唯一的背景音频管理器 backgroundAudioManager\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [BackgroundAudioManager](#backgroundaudiomanager-values) |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| duration | - |\n@| currentTime | - |\n@| paused | - |\n@| src | - |\n@| startTime | - |\n@| buffered | - |\n@| title | - |\n@| epname | - |\n@| singer | - |\n@| coverImgUrl | - |\n@| webUrl | - |\n@| protocol | - |\n@| playbackRate | - |\n#### BackgroundAudioManager 的方法 @backgroundaudiomanager-values \n\n#### play(): void; @play\n播放\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### pause(): void; @pause\n暂停\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### seek(position: number): void; @seek\n跳转到指定位置,单位 s\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| position | - | \n\n\n#### stop(): void; @stop\n停止\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### onCanplay(callback: (result: any) => void): void; @oncanplay\n背景音频进入可以播放状态,但不保证后面可以流畅播放\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPlay(callback: (result: any) => void): void; @onplay\n背景音频播放事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPause(callback: (result: any) => void): void; @onpause\n背景音频暂停事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onStop(callback: (result: any) => void): void; @onstop\n背景音频停止事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onEnded(callback: (result: any) => void): void; @onended\n背景音频自然播放结束事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onTimeUpdate(callback: (result: any) => void): void; @ontimeupdate\n背景音频播放进度更新事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onPrev(callback: (result: any) => void): void; @onprev\n用户在系统音乐播放面板点击上一曲事件(iOS only)\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onNext(callback: (result: any) => void): void; @onnext\n用户在系统音乐播放面板点击下一曲事件(iOS only)\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onError(callback: (result: any) => void): void; @onerror\n背景音频播放错误事件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onWaiting(callback: (result: any) => void): void; @onwaiting\n音频加载中事件,当音频因为数据不足,需要停下来加载时会触发\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n \n","tutorial":""},"canvasToTempFilePath":{"name":"## uni.canvasToTempFilePath(options, componentInstance) @canvastotempfilepath","description":"把当前画布指定区域的内容导出生成指定大小的图片\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| x | - |\n@| y | - |\n@| width | - |\n@| height | - |\n@| destWidth | - |\n@| destHeight | - |\n@| canvasId | - |\n@| fileType | - |\n@| quality | - |\n@| success | - |\n@| fail | - |\n@| complete | - |\n| componentInstance | - | \n\n#### CanvasToTempFilePathSuccess 的属性值 @canvastotempfilepathsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n","returnValue":"","tutorial":""},"createCanvasContextAsync":{"name":"## uni.createCanvasContextAsync(options) @createcanvascontextasync","description":"获取CanvasContext对象实例\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| complete | - | \n\n#### CanvasContext 的方法 @canvascontext-values \n\n#### getContext(type: '2d'): CanvasRenderingContext2D \\| null @getcontext\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| type | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| [CanvasRenderingContext2D](/api/canvasrenderingcontext2d.md) | 否 |\n \n\n#### toBlob(callback: CanvasContextToBlobCallback, type?: string, quality?: number): void @toblob\n创造 Blob 对象\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - |\n| type | - |\n| quality | - | \n\n\n#### toDataURL(): string @todataurl\n返回一个包含图片展示的 data URI\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### createImage(): Image @createimage\n返回一个包含图片展示的 data URI\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| [UniImageElement](/dom/uniimageelement.md) | 重复的图像源,支持代码包路径和本地临时路径 (本地路径) |\n \n\n#### createPath2D(): Path2D @createpath2d\n返回一个包含图片展示的 data URI\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [Path2D](/api/path2d.md) |\n \n\n#### requestAnimationFrame(callback: RequestAnimationFrameCallback): number; @requestanimationframe\n在下一次重绘之前,调用用户提供的回调函数\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| number |\n \n\n#### cancelAnimationFrame(taskId: number): void; @cancelanimationframe\n取消一个先前通过调用 uni.requestAnimationFrame() 方法添加到计划中的动画帧请求\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| taskId | - | \n\n","returnValue":"","tutorial":""},"getLocation":{"name":"## uni.getLocation(options) @getlocation","description":"获取当前的地理位置、速度","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.25 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| type | HBuilderX 4.25 |\n@| altitude | HBuilderX 4.25 |\n@| highAccuracyExpireTime | HBuilderX 4.25 |\n@| isHighAccuracy | HBuilderX 4.25 |\n@| success | HBuilderX 4.25 |\n@| fail | HBuilderX 4.25 |\n@| complete | HBuilderX 4.25 | \n\n#### GetLocationSuccess 的属性值 @getlocationsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| latitude | HBuilderX 4.25 |\n| longitude | HBuilderX 4.25 |\n| speed | HBuilderX 4.25 |\n| accuracy | HBuilderX 4.25 |\n| altitude | HBuilderX 4.25 |\n| verticalAccuracy | x |\n| horizontalAccuracy | x |\n| address | x |\n\n#### IGetLocationFail 的属性值 @igetlocationfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"openLocation":{"name":"## uni.openLocation(options) @openlocation","description":"使用地图查看位置\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| latitude | - |\n@| longitude | - |\n@| scale | - |\n@| name | - |\n@| address | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### IOpenLocationError 的属性值 @iopenlocationerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"chooseLocation":{"name":"## uni.chooseLocation(options) @chooselocation","description":"打开地图选择位置。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| latitude | - |\n@| longitude | - |\n@| keyword | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### ChooseLocationSuccess 的属性值 @chooselocationsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| address | - |\n| latitude | - |\n| longitude | - |\n\n#### IChooseLocationError 的属性值 @ichooselocationerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"onLocationChange":{"name":"## uni.onLocationChange(callback) @onlocationchange","description":"监听实时地理位置变化事件,需结合 uni.startLocationUpdate 或 uni.startLocationUpdateBackground 使用。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OnLocationChangeCallbackResult 的属性值 @onlocationchangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| latitude | - |\n| longitude | - |\n| accuracy | - |\n| altitude | - |\n| altitudeAccuracy | - |\n| speed | - |\n| horizontalAccuracy | - |\n| verticalAccuracy | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"offLocationChange":{"name":"## uni.offLocationChange(callback) @offlocationchange","description":"关闭监听实时位置变化,前后台都停止消息接收。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n### OffLocationChangeCallbackResult 的属性值 @offlocationchangecallbackresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| latitude | - |\n| longitude | - |\n| accuracy | - |\n| altitude | - |\n| altitudeAccuracy | - |\n| speed | - |\n| horizontalAccuracy | - |\n| verticalAccuracy | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"onLocationChangeError":{"name":"## uni.onLocationChangeError(callback) @onlocationchangeerror","description":"监听持续定位接口返回失败时触发。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"offLocationChangeError":{"name":"## uni.offLocationChangeError(callback) @offlocationchangeerror","description":"取消注册位置更新错误回调。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"startLocationUpdate":{"name":"## uni.startLocationUpdate(options) @startlocationupdate","description":"开启小程序进入前台时接收位置消息。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| type | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### StartLocationUpdateSuccess 的属性值 @startlocationupdatesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| address | - |\n| latitude | - |\n| longitude | - |\n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"stopLocationUpdate":{"name":"## uni.stopLocationUpdate(options) @stoplocationupdate","description":"关闭监听实时位置变化,前后台都停止消息接收。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| any |\n \n","tutorial":""},"getStorageInfo":{"name":"## uni.getStorageInfo(options) @getstorageinfo","description":"uni.getStorageInfo函数定义\n异步获取当前 storage 的相关信息。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### GetStorageInfoSuccess 的属性值 @getstorageinfosuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| keys | - |\n| currentSize | - |\n| limitSize | - |\n","returnValue":"","tutorial":""},"getStorageInfoSync":{"name":"## uni.getStorageInfoSync() @getstorageinfosync","description":"uni.getStorageInfoSync函数定义\n同步获取当前 storage 的相关信息。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| **GetStorageInfoSuccess** | uni.getStorageInfo成功回调参数 |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| keys | - |\n@| currentSize | - |\n@| limitSize | - | \n","tutorial":""},"getStorage":{"name":"## uni.getStorage(options) @getstorage","description":"uni.getStorage函数定义\n从本地存储中异步获取指定 key 对应的内容。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| key | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### GetStorageSuccess 的属性值 @getstoragesuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | - |\n","returnValue":"","tutorial":""},"getStorageSync":{"name":"## uni.getStorageSync(key) @getstoragesync","description":"uni.getStorageSync函数定义\n从本地存储中同步获取指定 key 对应的内容。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| key | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| any | 否 |\n \n","tutorial":""},"setStorage":{"name":"## uni.setStorage(options) @setstorage","description":"uni.setStorage函数定义\n将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| key | - |\n@| data | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"setStorageSync":{"name":"## uni.setStorageSync(key, data) @setstoragesync","description":"uni.setStorageSync函数定义\n将 data 存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个同步接口。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| key | - |\n| data | - | \n","returnValue":"","tutorial":""},"removeStorage":{"name":"## uni.removeStorage(options) @removestorage","description":"uni.removeStorage函数定义\n从本地存储中异步移除指定 key。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| key | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"removeStorageSync":{"name":"## uni.removeStorageSync(key) @removestoragesync","description":"uni.removeStorageSync函数定义\n从本地存储中同步移除指定 key。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| key | - | \n","returnValue":"","tutorial":""},"clearStorage":{"name":"## uni.clearStorage(option?) @clearstorage","description":"uni.clearStorage函数定义\n清除本地数据存储。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"clearStorageSync":{"name":"## uni.clearStorageSync() @clearstoragesync","description":"uni.clearStorageSync函数定义\n清除本地数据存储。\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"","returnValue":"","tutorial":""},"getFileSystemManager":{"name":"## uni.getFileSystemManager() @getfilesystemmanager","description":"获取文件管理器","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [FileSystemManager](#filesystemmanager-values) |\n\n#### FileSystemManager 的方法 @filesystemmanager-values \n\n#### readFile(options : ReadFileOptions) : void; @readfile\n读取本地文件内容\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| encoding | - |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### ReadFileSuccessResult 的属性值 @readfilesuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | - |\n\n###### IFileSystemManagerFail 的属性值 @ifilesystemmanagerfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### readFileSync(filePath : string, encoding : string \\| null) : string; @readfilesync\nFileSystemManager.readFile 的同步版本参数\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| encoding | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### writeFile(options : WriteFileOptions) : void; @writefile\n写文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| encoding | - |\n@| data | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### FileManagerSuccessResult 的属性值 @filemanagersuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n\n\n#### writeFileSync(filePath : string, data : string, encoding : string) : void; @writefilesync\nFileSystemManager.writeFile 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| data | - |\n| encoding | - | \n\n\n#### unlink(options : UnLinkOptions) : void; @unlink\n删除文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### unlinkSync(filePath : string) : void; @unlinksync\nFileSystemManager.unlink 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - | \n\n\n#### mkdir(options : MkDirOptions) : void; @mkdir\n创建目录\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| dirPath | - |\n@| recursive | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### mkdirSync(dirPath : string, recursive : boolean) : void; @mkdirsync\nFileSystemManager.mkdir 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| dirPath | - |\n| recursive | - | \n\n\n#### rmdir(options : RmDirOptions) : void; @rmdir\n删除目录\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| dirPath | - |\n@| recursive | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### rmdirSync(dirPath : string, recursive : boolean) : void; @rmdirsync\nFileSystemManager.rmdir 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| dirPath | - |\n| recursive | - | \n\n\n#### readdir(options : ReadDirOptions) : void; @readdir\n读取目录内文件列表\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| dirPath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### ReadDirSuccessResult 的属性值 @readdirsuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| files | - |\n\n\n#### readdirSync(dirPath : string) : string[] \\| null; @readdirsync\nFileSystemManager.readdir 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| dirPath | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| Array\\ | 否 |\n \n\n#### access(options : AccessOptions) : void; @access\n判断文件/目录是否存在\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| path | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### accessSync(path : string) : void; @accesssync\nFileSystemManager.access 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - | \n\n\n#### rename(options : RenameOptions) : void; @rename\n重命名文件。可以把文件从 oldPath 移动到 newPath\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| oldPath | - |\n@| newPath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### renameSync(oldPath : string, newPath : string) : void; @renamesync\nFileSystemManager.rename 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| oldPath | - |\n| newPath | - | \n\n\n#### copyFile(options : CopyFileOptions) : void; @copyfile\n复制文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| srcPath | - |\n@| destPath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### copyFileSync(srcPath : string, destPath : string) : void; @copyfilesync\nFileSystemManager.copyFile 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| srcPath | - |\n| destPath | - | \n\n\n#### getFileInfo(options : GetFileInfoOptions) : void; @getfileinfo\n获取该本地临时文件 或 本地缓存文件 信息\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| digestAlgorithm | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### GetFileInfoSuccessResult 的属性值 @getfileinfosuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| digest | - |\n| size | - |\n| errMsg | - |\n\n\n#### stat(options : StatOptions) : void; @stat\n获取文件 Stats 对象\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| path | - |\n@| recursive | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### StatSuccessResult 的属性值 @statsuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errMsg | - |\n| stats | - |\n\n###### Stats 的方法 @stats-values \n\n###### isDirectory() : boolean; @isdirectory\n判断当前文件是否一个目录\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| boolean |\n \n\n###### isFile() : boolean; @isfile\n判断当前文件是否一个普通文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n###### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| boolean |\n \n\n\n#### statSync(path : string, recursive : boolean) : FileStats[]; @statsync\nFileSystemManager.stat 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| path | - |\n| recursive | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\<[FileStats](#filestats-values)\\> |\n \n\n#### appendFile(options : AppendFileOptions) : void; @appendfile\n在文件结尾追加内容\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| encoding | - |\n@| data | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### appendFileSync(filePath : string, data : string, encoding : string) : void; @appendfilesync\nFileSystemManager.appendFile 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| data | - |\n| encoding | - | \n\n\n#### saveFile(options : SaveFileOptions) : void; @savefile\n保存临时文件到本地。此接口会移动临时文件,因此调用成功后,tempFilePath 将不可用。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| tempFilePath | - |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### SaveFileSuccessResult 的属性值 @savefilesuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| savedFilePath | - |\n\n\n#### saveFileSync(tempFilePath : string, filePath : string \\| null) : string; @savefilesync\nFileSystemManager.saveFile 的同步版本\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| tempFilePath | - |\n| filePath | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### removeSavedFile(options : RemoveSavedFileOptions) : void; @removesavedfile\n删除该小程序下已保存的本地缓存文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### unzip(options : UnzipFileOptions) : void; @unzip\n解压文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| zipFilePath | - |\n@| targetPath | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### getSavedFileList(options : GetSavedFileListOptions) : void; @getsavedfilelist\n获取该已保存的本地缓存文件列表\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### GetSavedFileListResult 的属性值 @getsavedfilelistresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| fileList | - |\n\n\n#### truncate(options : TruncateFileOptions) : void; @truncate\n对文件内容进行截断操作\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| length | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### truncateSync(filePath : string, length ?: number) : void; @truncatesync\n对文件内容进行截断操作 (truncate 的同步版本)\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| length | - | \n\n\n#### readCompressedFile(options : ReadCompressedFileOptions) : void; @readcompressedfile\n读取指定压缩类型的本地文件内容\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| compressionAlgorithm | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### ReadCompressedFileResult 的属性值 @readcompressedfileresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | - |\n\n\n#### readCompressedFileSync(filePath : string, compressionAlgorithm : string) : string @readcompressedfilesync\n同步读取指定压缩类型的本地文件内容\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| filePath | - |\n| compressionAlgorithm | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### open(options : OpenFileOptions) : void; @open\n打开文件,返回文件描述符\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| flag | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### OpenFileSuccessResult 的属性值 @openfilesuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| fd | - |\n\n\n#### openSync(options : OpenFileSyncOptions) : string; @opensync\n同步打开文件,返回文件描述符\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| flag | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### write(options : WriteOptions) : void; @write\n写入文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| data | - |\n@| encoding | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### WriteResult 的属性值 @writeresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| bytesWritten | - |\n\n\n#### writeSync(options : WriteSyncOptions) : WriteResult; @writesync\n同步写入文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| data | - |\n@| encoding | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [WriteResult](#writeresult-values) |\n \n\n#### close(options : CloseOptions) : void; @close\n关闭文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### closeSync(options : CloseSyncOptions) : void; @closesync\n同步关闭文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - | \n\n\n#### fstat(options : FStatOptions) : void; @fstat\n获取文件的状态信息\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### FStatSuccessResult 的属性值 @fstatsuccessresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| stats | - |\n\n\n#### fstatSync(options : FStatSyncOptions) : Stats; @fstatsync\n同步获取文件的状态信息\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| [Stats](#stats-values) | Stats 对象,包含了文件的状态信息 |\n \n\n#### ftruncate(options : FTruncateFileOptions) : void; @ftruncate\n对文件内容进行截断操作\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| length | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### ftruncateSync(options : FTruncateFileSyncOptions) : void; @ftruncatesync\n同步对文件内容进行截断操作\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| fd | - |\n@| length | - | \n\n\n#### readZipEntry(options : ReadZipEntryOptions) : void; @readzipentry\n读取压缩包内的文件\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| filePath | - |\n@| encoding | - |\n@| entries | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### EntriesResult 的属性值 @entriesresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| result | - |\n\n \n","tutorial":""},"getUniverifyManager":{"name":"## uni.getUniverifyManager() @getuniverifymanager","description":"获取一键登录管理对象","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [UniverifyManager](#univerifymanager-values) |\n\n#### UniverifyManager 的方法 @univerifymanager-values \n\n#### preLogin(options : PreLoginOptions) : void @prelogin\n预登录\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### PreLoginFail 的属性值 @preloginfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### login(options : LoginOptions) : void @login\n登录\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| univerifyStyle | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### LoginSuccess 的属性值 @loginsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| openId | - |\n| accessToken | - |\n\n###### LoginFail 的属性值 @loginfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### close() : void @close\n关闭登录页\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### isPreLoginValid() : boolean @ispreloginvalid\n预登录是否有效\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| boolean |\n \n \n","tutorial":""},"getFacialRecognitionMetaInfo":{"name":"## uni.getFacialRecognitionMetaInfo() @getfacialrecognitionmetainfo","description":"获取阿里云实人认证meta info","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n","tutorial":""},"startFacialRecognitionVerify":{"name":"## uni.startFacialRecognitionVerify(faceStyle) @startfacialrecognitionverify","description":"启动人脸识别","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| faceStyle | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| certifyId | - |\n@| progressBarColor | - |\n@| screenOrientation | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n#### StartFacialRecognitionVerifySuccess 的属性值 @startfacialrecognitionverifysuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| errMsg | - |\n| cause | - |\n\n#### IFacialRecognitionVerifyError 的属性值 @ifacialrecognitionverifyerror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"createRewardedVideoAd":{"name":"## uni.createRewardedVideoAd(option) @createrewardedvideoad","description":"创建激励视频广告对象","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| option | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| adpid | - |\n@| urlCallback | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [RewardedVideoAd](#rewardedvideoad-values) |\n\n#### RewardedVideoAd 的方法 @rewardedvideoad-values \n\n#### show() : Promise\\ @show\n广告加载成功之后,调用此方法展示广告\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Promise\\ |\n \n\n#### load() : Promise\\ @load\n加载广告\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Promise\\ |\n \n\n#### destroy() : void @destroy\n销毁广告\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### onLoad(callback : AdCallBackEvent) : void @onload\n绑定广告 load 事件的监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### offLoad(callback : AdCallBackEvent) : void @offload\n解除绑定 load 事件的监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onError(callback : AdErrorCallBackEvent) : void @onerror\n绑定 error 事件的监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### IUniAdError 的属性值 @iuniaderror-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### offError(callback : AdErrorCallBackEvent) : void @offerror\n解除绑定 error 事件的监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onClose(callback : AdCloseCallBackEvent) : void @onclose\n绑定 close 事件的监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### VideoAdClose 的属性值 @videoadclose-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| isEnded | - |\n\n\n#### offClose(callback : AdCloseCallBackEvent) : void @offclose\n解除绑定 close 事件的监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onAdClicked(callback : AdCallBackEvent) : void; @onadclicked\n绑定广告可点击屏幕区域事件的监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n\n#### onVerify(callback : AdVerifyCallBackEvent) : void; @onverify\n绑定 verify 事件的监听器\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n \n","tutorial":""},"requestPayment":{"name":"## uni.requestPayment(options) @requestpayment","description":"请求支付","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| provider | HBuilderX 4.25 |\n@| orderInfo | HBuilderX 4.25 |\n@| success | HBuilderX 4.25 |\n@| fail | HBuilderX 4.25 |\n@| complete | HBuilderX 4.25 | \n\n#### RequestPaymentSuccess 的属性值 @requestpaymentsuccess-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| data | HBuilderX 4.25 |\n\n#### IRequestPaymentFail 的属性值 @irequestpaymentfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"requestVirtualPayment":{"name":"## uni.requestVirtualPayment(options) @requestvirtualpayment","description":"请求支付","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n#### IRequestVirtualPaymentFail 的属性值 @irequestvirtualpaymentfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n","returnValue":"","tutorial":""},"getVirtualPaymentManager":{"name":"## uni.getVirtualPaymentManager() @getvirtualpaymentmanager","description":"获取各平台虚拟支付的管理类,用于操作各平台专有的API。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| () => [VirtualPaymentManager](#virtualpaymentmanager-values) | virtual-payment的管理类 |\n\n#### VirtualPaymentManager 的方法 @virtualpaymentmanager-values \n\n#### restoreTransactions(options : AppleIAPRestoreOptions) : void; @restoretransactions\n恢复苹果服务器已支付的交易列表\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n###### IAppleIAPRestoreFail 的属性值 @iappleiaprestorefail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### getUnfinishedTransactions(options : AppleIAPUnfinishedTransactionOptions) : void; @getunfinishedtransactions\n获取苹果服务器已支付且未关闭的交易列表\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n###### IAppleIAPUnfinishedTransactionFail 的属性值 @iappleiapunfinishedtransactionfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errCode | - |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n\n#### finishTransaction(options : AppleIAPFinishTransactionOptions) : void; @finishtransaction\n关闭苹果服务器订单\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - | \n\n###### IAppleIAPFinishTransactionFail 的属性值 @iappleiapfinishtransactionfail-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| errSubject | - |\n| data | - |\n| cause | - |\n| errMsg | - |\n\n \n","tutorial":""},"getPushClientId":{"name":"## uni.getPushClientId(options) @getpushclientid","description":"获取客户端唯一的推送标识","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"onPushMessage":{"name":"## uni.onPushMessage(callback) @onpushmessage","description":"启动监听推送消息事件","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"offPushMessage":{"name":"## uni.offPushMessage(callback) @offpushmessage","description":"关闭推送消息监听事件,iOS端调用会关闭所有监听。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n","returnValue":"","tutorial":""},"createPushMessage":{"name":"## uni.createPushMessage(options) @createpushmessage","description":"创建本地通知栏消息","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n","returnValue":"","tutorial":""},"getPushChannelManager":{"name":"## uni.getPushChannelManager() @getpushchannelmanager","description":"获取通知渠道管理器,Android 8系统以上才可以设置通知渠道,Android 8系统以下返回null,[通知渠道介绍](https://developer.android.com/develop/ui/views/notifications/channels?hl=zh-cn),iOS不支持。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [ChannelManager](#channelmanager-values) |\n\n#### ChannelManager 的方法 @channelmanager-values \n\n#### setPushChannel(options : SetPushChannelOptions) : void; @setpushchannel\n设置推送渠道\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| soundName | - |\n@| channelId | - |\n@| channelDesc | - |\n@| enableLights | - |\n@| enableVibration | - |\n@| importance | - |\n@| lockscreenVisibility | - | \n\n\n#### getAllChannels() : Array\\; @getallchannels\n获取当前应用注册的所有的通知渠道。\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\ |\n \n \n","tutorial":""},"setAppBadgeNumber":{"name":"## uni.setAppBadgeNumber(num, options?) @setappbadgenumber","description":"设置应用图标上显示的角标数字,注意:不同手机厂商的角标显示规则不同,有部分设备的rom版本不支持显示角标,另有部分rom需要在应用的通知管理里开启`桌面角标`配置,才可以设置角标成功。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| num | - |\n| options | - | \n","returnValue":"","tutorial":""},"getChannelManager":{"name":"## uni.~~getChannelManager()~~ @getchannelmanager","description":"获取通知渠道管理器,Android 8系统以上才可以设置通知渠道,Android 8系统以下返回null,[通知渠道介绍](https://developer.android.com/develop/ui/views/notifications/channels?hl=zh-cn) ,iOS不支持。 **已废弃,仅为了向下兼容保留,建议使用`getPushChannelManager`。**","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n","param":"","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [ChannelManager](#channelmanager-values) |\n\n#### ChannelManager 的方法 @channelmanager-values \n\n#### setPushChannel(options : SetPushChannelOptions) : void; @setpushchannel\n设置推送渠道\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| soundName | - |\n@| channelId | - |\n@| channelDesc | - |\n@| enableLights | - |\n@| enableVibration | - |\n@| importance | - |\n@| lockscreenVisibility | - | \n\n\n#### getAllChannels() : Array\\; @getallchannels\n获取当前应用注册的所有的通知渠道。\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| Array\\ |\n \n \n","tutorial":""},"createWebviewContext":{"name":"## uni.createWebviewContext(webviewId, component?) @createwebviewcontext","description":"创建 web-view 组件的上下文对象,用于操作 web-view 的行为。","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| webviewId | - |\n| component | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 | 必备 |\n| :- | :- | :- |\n| [WebviewContext](#webviewcontext-values) | web-view组件上下文对象 | 否 |\n\n#### WebviewContext 的方法 @webviewcontext-values \n\n#### back() : void @back\n后退到 web-view 组件网页加载历史的上一页,如果不存在上一页则没有任何效果。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### forward() : void @forward\n前进到 web-view 组件网页加载历史的下一页,如果不存在下一页则没有任何效果。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### reload() : void @reload\n重新加载 web-view 组件当前页面。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### stop() : void @stop\n停止加载 web-view 组件当前网页,该方法不能阻止已经加载的 html 文档,但是能够阻止未完成的图片及延迟加载的资源。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n\n#### evalJS(js : string) : void @evaljs\n在网页中执行指定的js脚本,在 uvue 页面中可通过此方法向 web-view 组件加载的页面发送数据\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| js | - | \n\n \n","tutorial":""},"createVideoContext":{"name":"## uni.createVideoContext(videoId, component?) @createvideocontext","description":"创建并返回 video 上下文 videoContext 对象","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| videoId | - |\n| component | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 | 必备 |\n| :- | :- | :- |\n| [VideoContext](#videocontext-values) | video组件上下文对象 | 否 |\n\n#### VideoContext 的方法 @videocontext-values \n\n#### play() : void; @play\n播放\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### pause() : void; @pause\n暂停\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### seek(position : number) : void; @seek\n跳转到指定位置\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| position | - | \n\n\n#### stop() : void; @stop\n停止视频\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n\n#### sendDanmu(danmu : Danmu) : void; @senddanmu\n发送弹幕\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| danmu | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| text | - |\n@| color | - |\n@| time | - | \n\n\n#### playbackRate(rate : number) : void; @playbackrate\n设置倍速播放\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| rate | - | \n\n\n#### requestFullScreen(direction ?: RequestFullScreenOptions \\| null) : void; @requestfullscreen\n进入全屏\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | - | \n\n\n#### exitFullScreen() : void; @exitfullscreen\n退出全屏\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n\n\n \n","tutorial":""},"createMapContext":{"name":"## uni.createMapContext(mapId, currentComponent?) @createmapcontext","description":"创建并返回 map 上下文 mapContext 对象\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| x |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| mapId | - |\n| currentComponent | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [MapContext](#mapcontext-values) |\n\n#### MapContext 的方法 @mapcontext-values \n\n#### getCenterLocation(options: MapContextGetCenterLocationOptions): void; @getcenterlocation\n获取当前地图中心的经纬度,返回的是 gcj02 坐标系,可以用于 uni.openLocation\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### LocationObject 的属性值 @locationobject-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| latitude | - |\n| longitude | - |\n\n\n#### moveToLocation(options: MapContextMoveToLocationOptions): void; @movetolocation\n将地图中心移动到当前定位点,需要配合map组件的show-location使用\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| latitude | - |\n@| longitude | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### translateMarker(options: MapContextTranslateMarkerOptions): void; @translatemarker\n平移marker,带动画\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| markerId | - |\n@| destination | - |\n@| autoRotate | - |\n@| rotate | - |\n@| moveWithRotate | - |\n@| duration | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n##### MapContextTranslateMarkerOptions 的方法 @mapcontexttranslatemarkeroptions-values \n\n##### (result: any) => void @animationend\n动画结束回调函数\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| result | - | \n\n\n\n#### includePoints(options: MapContextIncludePointsOptions): void; @includepoints\n缩放视野展示所有经纬度\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| points | - |\n@| padding | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### getRegion(options: MapContextGetRegionOptions): void; @getregion\n获取当前地图的视野范围\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### MapContextGetRegionResult 的属性值 @mapcontextgetregionresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| southwest | - |\n| northeast | - |\n\n\n#### getScale(options: MapContextGetScaleOptions): void; @getscale\n获取当前地图的缩放级别\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n###### MapContextGetScaleResult 的属性值 @mapcontextgetscaleresult-values \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| scale | - |\n\n\n#### (options: MapContextAddCustomLayerOptions) => void @addcustomlayer\n添加个性化图层\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| layerId | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### addGroundOverlay(options: MapContextAddGroundOverlayOptions): void; @addgroundoverlay\n创建自定义图片图层,图片会随着地图缩放而缩放\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| src | - |\n@| bounds | - |\n@| visible | - |\n@| zIndex | - |\n@| opacity | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### addMarkers(options: MapContextAddMarkersOptions): void; @addmarkers\n添加 marker\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| markers | - |\n@| clear | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### (options: MapContextFromScreenLocationOptions) => void @fromscreenlocation\n获取屏幕上的点对应的经纬度,坐标原点为地图左上角\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| x | - |\n@| y | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### initMarkerCluster(options: MapContextInitMarkerClusterOptions): void; @initmarkercluster\n初始化点聚合的配置,未调用时采用默认配置\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| enableDefaultStyle | - |\n@| zoomOnClick | - |\n@| gridSize | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### moveAlong(options: MapContextMoveAlongOptions): void; @movealong\n沿指定路径移动 marker,用于轨迹回放等场景。动画完成时触发回调事件,若动画进行中,对同一 marker 再次调用 moveAlong 方法,前一次的动画将被打断。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| markerId | - |\n@| path | - |\n@| autoRotate | - |\n@| duration | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### openMapApp(options: MapContextOpenMapAppOptions): void; @openmapapp\n拉起地图APP选择导航。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| destination | - |\n@| latitude | - |\n@| longitude | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### removeCustomLayer(options: MapContextRemoveCustomLayerOptions): void; @removecustomlayer\n移除个性化图层\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| layerId | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### removeGroundOverlay(options: MapContextRemoveGroundOverlayOptions): void; @removegroundoverlay\n移除自定义图片图层\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### removeMarkers(options: MapContextRemoveMarkersOptions): void; @removemarkers\n移除 marker\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| markerIds | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### (options: MapContextSetCenterOffsetOptions) => void @setcenteroffset\n设置地图中心点偏移,向后向下为增长,屏幕比例范围(0.25~0.75),默认偏移为[0.5, 0.5\\]\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| offset | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### (options: MapContextToScreenLocationOptions) => void @toscreenlocation\n获取经纬度对应的屏幕坐标,坐标原点为地图左上角。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| latitude | - |\n@| longitude | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### updateGroundOverlay(options: MapContextUpdateGroundOverlayOptions): void; @updategroundoverlay\n更新自定义图片图层。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| options | - |\n@| 名称 | HarmonyOS Next 兼容性 |\n@| :- | :- |\n@| id | - |\n@| src | - |\n@| bounds | - |\n@| visible | - |\n@| zIndex | - |\n@| opacity | - |\n@| success | - |\n@| fail | - |\n@| complete | - | \n\n\n#### on(event: 'markerClusterCreate' \\| 'markerClusterClick', callback: (...args: any[]) => any): void; @on\n监听地图事件。\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| event | - |\n@| 合法值 | 兼容性 | 描述 |\n@| :- | :-: | :- |\n@| markerClusterCreate | - | - |\n@| markerClusterClick | - | - |\n| callback | - | \n\n\n##### 的属性值 @event-values\n| 合法值 | 兼容性 | 描述 |\n| :- | :-: | :- |\n| markerClusterCreate | - | - |\n| markerClusterClick | - | - | \n","tutorial":""},"createCanvasContext":{"name":"## uni.createCanvasContext(canvasId, componentInstance) @createcanvascontext","description":"创建 canvas 绘图上下文\n","compatibility":"**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","param":"### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| canvasId | - |\n| componentInstance | - | \n","returnValue":"### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [CanvasContext](#canvascontext-values) |\n\n#### CanvasContext 的方法 @canvascontext-values \n\n#### getContext(type: '2d'): CanvasRenderingContext2D \\| null @getcontext\n\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| type | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 必备 |\n| :- | :- |\n| [CanvasRenderingContext2D](/api/canvasrenderingcontext2d.md) | 否 |\n \n\n#### toBlob(callback: CanvasContextToBlobCallback, type?: string, quality?: number): void @toblob\n创造 Blob 对象\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - |\n| type | - |\n| quality | - | \n\n\n#### toDataURL(): string @todataurl\n返回一个包含图片展示的 data URI\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| string |\n \n\n#### createImage(): Image @createimage\n返回一个包含图片展示的 data URI\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 | 描述 |\n| :- | :- |\n| [UniImageElement](/dom/uniimageelement.md) | 重复的图像源,支持代码包路径和本地临时路径 (本地路径) |\n \n\n#### createPath2D(): Path2D @createpath2d\n返回一个包含图片展示的 data URI\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| [Path2D](/api/path2d.md) |\n \n\n#### requestAnimationFrame(callback: RequestAnimationFrameCallback): number; @requestanimationframe\n在下一次重绘之前,调用用户提供的回调函数\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| callback | - | \n\n##### 返回值 HarmonyOS Next 兼容性 \n\n| 类型 |\n| :- |\n| number |\n \n\n#### cancelAnimationFrame(taskId: number): void; @cancelanimationframe\n取消一个先前通过调用 uni.requestAnimationFrame() 方法添加到计划中的动画帧请求\n**HarmonyOS Next 兼容性** \n| HarmonyOS Next |\n| :- |\n| - |\n\n##### 参数 HarmonyOS Next 兼容性 @parameters-harmony-compatibility \n\n| 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| taskId | - | \n\n \n","tutorial":""},"general_type":{"name":"## 通用类型\n","param":""}} \ No newline at end of file diff --git a/docs/.vuepress/utils/uniappComJson.json b/docs/.vuepress/utils/uniappComJson.json index 0140338e97f40864f4cc86e698700e6b66d2c9a2..43fabcb8a77526ca1207df028528ec6781977984 100644 --- a/docs/.vuepress/utils/uniappComJson.json +++ b/docs/.vuepress/utils/uniappComJson.json @@ -1 +1 @@ -{"view":{"name":"## view","description":"基本视图容器","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| hover-class | HBuilderX 4.23 |\n| hover-stop-propagation | HBuilderX 4.23 |\n| hover-start-time | HBuilderX 4.23 |\n| hover-stay-time | HBuilderX 4.23 |"},"scroll-view":{"name":"## scroll-view","description":"可滚动视图容器","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | HBuilderX 4.23 |\n| scroll-x | HBuilderX 4.23 |\n| scroll-y | HBuilderX 4.23 |\n| rebound | - |\n| upper-threshold | HBuilderX 4.23 |\n| lower-threshold | HBuilderX 4.23 |\n| scroll-top | HBuilderX 4.23 |\n| scroll-left | HBuilderX 4.23 |\n| scroll-into-view | HBuilderX 4.23 |\n| scroll-with-animation | HBuilderX 4.23 |\n| refresher-enabled | HBuilderX 4.23 |\n| refresher-threshold | HBuilderX 4.23 |\n| refresher-default-style | HBuilderX 4.23 |\n| refresher-background | HBuilderX 4.23 |\n| refresher-triggered | HBuilderX 4.23 |\n| show-scrollbar | HBuilderX 4.23 |\n| @refresherpulling | HBuilderX 4.23 |\n| @refresherrefresh | HBuilderX 4.23 |\n| @refresherrestore | HBuilderX 4.23 |\n| @refresherabort | HBuilderX 4.23 |\n| @scrolltoupper | HBuilderX 4.23 |\n| @scrolltolower | HBuilderX 4.23 |\n| @scroll | HBuilderX 4.23 |"},"swiper-item":{"name":"## swiper-item","description":"swiper的唯一合法子组件。每个swiper-item代表一个滑块。宽高自动设置为100%","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| item-id | - |"},"swiper":{"name":"## swiper","description":"滑块视图容器","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| indicator-dots | HBuilderX 4.23 |\n| indicator-color | HBuilderX 4.23 |\n| indicator-active-color | HBuilderX 4.23 |\n| active-class | - |\n| changing-class | - |\n| acceleration | - |\n| disable-programmatic-animation | - |\n| disable-touch | - |\n| touchable | - |\n| easing-function | - |\n| autoplay | HBuilderX 4.23 |\n| current | HBuilderX 4.23 |\n| current-item-id | HBuilderX 4.23 |\n| interval | HBuilderX 4.23 |\n| duration | HBuilderX 4.23 |\n| circular | HBuilderX 4.23 |\n| vertical | HBuilderX 4.23 |\n| rebound | - |\n| previous-margin | - |\n| next-margin | - |\n| display-multiple-items | - |\n| skip-hidden-item-layout | - |\n| @change | HBuilderX 4.23 |\n| @transition | HBuilderX 4.23 |\n| @animationfinish | HBuilderX 4.23 |"},"match-media":{"name":"## match-media","description":"media query 匹配检测节点","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| width | - |\n| min-width | - |\n| max-width | - |\n| height | - |\n| min-height | - |\n| max-height | - |\n| orientation | - |"},"movable-area":{"name":"## movable-area","description":"movable-view 的可移动区域","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n"},"movable-view":{"name":"## movable-view","description":"可移动的视图容器,在页面中可以拖拽滑动","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | HBuilderX 4.23 |\n| inertia | HBuilderX 4.23 |\n| out-of-bounds | HBuilderX 4.23 |\n| x | HBuilderX 4.23 |\n| y | HBuilderX 4.23 |\n| damping | HBuilderX 4.23 |\n| friction | HBuilderX 4.23 |\n| disabled | HBuilderX 4.23 |\n| scale | HBuilderX 4.23 |\n| scale-min | HBuilderX 4.23 |\n| scale-max | HBuilderX 4.23 |\n| scale-value | HBuilderX 4.23 |\n| animation | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |\n| @scale | HBuilderX 4.23 |"},"cover-view":{"name":"## cover-view","description":"覆盖在原生组件之上的文本视图,可覆盖的原生组件包括map、video、canvas、camera,只支持嵌套cover-view、cover-image","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"cover-image":{"name":"## cover-image","description":"覆盖在原生组件之上的图片视图,可覆盖的原生组件同cover-view,支持嵌套在cover-view里。","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| v-for | - |\n| v-if | - |\n| v-show | - |\n| src | - |"},"list-item":{"name":"## list-item","description":"list-view组件的唯一合法子组件。每个item是一行","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| type | - |"},"sticky-header":{"name":"## sticky-header","description":"吸顶布局容器 \n\n 注意:暂时仅支持作为list-view、sticky-section的子节点, sticky-header不支持css样式!当一个容器视图设置多个sticky-header时,后一个sticky-header会停靠在前一个sticky-header的末尾处。","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"sticky-section":{"name":"## sticky-section","description":"吸顶布局容器 \n\n 注意:暂时仅支持作为list-view的子节点, sticky-section不支持css样式!","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"list-view":{"name":"## list-view","description":"列表组件","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"nested-scroll-header":{"name":"## nested-scroll-header","description":" scroll-view 嵌套模式场景中属于外层 scroll-view 的节点,仅支持作为 \\ 嵌套模式的直接子节点。不支持复数子节点,渲染时会取其第一个子节点来渲染","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"nested-scroll-body":{"name":"## nested-scroll-body","description":" scroll-view 嵌套模式场景中属于嵌套内层 scroll-view 的父节点,仅支持作为 \\ 嵌套模式的直接子节点。不支持复数子节点,渲染时会取其第一个子节点来渲染","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"object":{"name":"## object","description":"自定义原生组件","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"icon":{"name":"## icon","description":"图标","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| type | HBuilderX 4.23 |\n| size | HBuilderX 4.23 |\n| color | HBuilderX 4.23 |"},"text":{"name":"## text","description":"文本","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| selectable | HBuilderX 4.23 |\n| space | HBuilderX 4.23 |\n| decode | HBuilderX 4.23 |"},"rich-text":{"name":"## rich-text","description":"富文本。可渲染文字样式、图片、超链接。支持部分HTML标签","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| nodes | HBuilderX 4.23 |\n| selectable | HBuilderX 4.23 |\n| @itemclick | HBuilderX 4.23 |"},"progress":{"name":"## progress","description":"进度条","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| duration | HBuilderX 4.23 |\n| percent | HBuilderX 4.23 |\n| show-info | HBuilderX 4.23 |\n| stroke-width | HBuilderX 4.23 |\n| activeColor | HBuilderX 4.23 |\n| backgroundColor | HBuilderX 4.23 |\n| active | HBuilderX 4.23 |\n| active-mode | HBuilderX 4.23 |"},"button":{"name":"## button","description":"按钮","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| hover-class | HBuilderX 4.23 |\n| hover-start-time | HBuilderX 4.23 |\n| hover-stay-time | HBuilderX 4.23 |\n| size | HBuilderX 4.23 |\n| type | HBuilderX 4.23 |\n| plain | HBuilderX 4.23 |\n| loading | HBuilderX 4.23 |\n| form-type | HBuilderX 4.23 |\n| open-type | - |\n| @error | - |\n| @chooseinvoicetitle | - |\n| @subscribe | - |\n| @login | - |"},"checkbox":{"name":"## checkbox","description":"多选项。在1组check-group中可选择多个","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| value | HBuilderX 4.23 |\n| checked | HBuilderX 4.23 |\n| color | HBuilderX 4.23 |\n| backgroundColor | HBuilderX 4.23 |\n| borderColor | HBuilderX 4.23 |\n| activeBackgroundColor | HBuilderX 4.23 |\n| activeBorderColor | HBuilderX 4.23 |\n| iconColor | HBuilderX 4.23 |"},"checkbox-group":{"name":"## checkbox-group","description":"多选框组","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |"},"form":{"name":"## form","description":"表单","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| @submit | HBuilderX 4.23 |\n| @reset | HBuilderX 4.23 |"},"input":{"name":"## input","description":"输入框","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| disabled | HBuilderX 4.23 |\n| value | HBuilderX 4.23 |\n| type | HBuilderX 4.23 |\n| password | HBuilderX 4.23 |\n| placeholder | HBuilderX 4.23 |\n| placeholder-style | HBuilderX 4.23 |\n| placeholder-class | HBuilderX 4.23 |\n| maxlength | HBuilderX 4.23 |\n| cursor-color | HBuilderX 4.23 |\n| auto-focus | HBuilderX 4.23 |\n| focus | HBuilderX 4.23 |\n| confirm-type | HBuilderX 4.23 |\n| confirm-hold | HBuilderX 4.23 |\n| cursor | HBuilderX 4.23 |\n| selection-start | HBuilderX 4.23 |\n| selection-end | HBuilderX 4.23 |\n| inputmode | HBuilderX 4.23 |\n| @input | HBuilderX 4.23 |\n| @focus | HBuilderX 4.23 |\n| @blur | HBuilderX 4.23 |\n| @confirm | HBuilderX 4.23 |"},"editor":{"name":"## editor","description":"富文本编辑器,可以对图片、文字进行编辑。","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| read-only | - |\n| placeholder | - |\n| show-img-size | - |\n| show-img-toolbar | - |\n| show-img-resize | - |\n| @ready | - |\n| @focus | - |\n| @blur | - |\n| @input | - |\n| @statuschange | - |"},"label":{"name":"## label","description":"用来改进表单组件的可用性,使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| for | HBuilderX 4.23 |"},"picker":{"name":"## picker","description":"从底部弹起的滚动选择器,现支持五种选择器,通过mode来区分,分别是普通选择器,多列选择器,时间选择器,日期选择器,省市区选择器,默认是普通选择器。","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | - |\n| mode | - |\n| range | - |\n| range-key | - |\n| value | - |\n| start | - |\n| end | - |\n| fields | - |\n| custom-item | - |\n| @change | - |\n| @columnchange | - |\n| @cancel | - |"},"picker-view-column":{"name":"## picker-view-column","description":"仅可放置于 picker-view 中,其子节点未继承 picker-view 的选中框的高度,需要自己设置高度并居中","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n"},"picker-view":{"name":"## picker-view","description":"嵌入页面的滚动选择器","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| value | HBuilderX 4.23 |\n| indicator-style | HBuilderX 4.23 |\n| indicator-class | HBuilderX 4.23 |\n| mask-style | HBuilderX 4.23 |\n| mask-class | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |"},"radio":{"name":"## radio","description":"单选项。在1组radio-group中只能选中1个","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| value | HBuilderX 4.23 |\n| checked | HBuilderX 4.23 |\n| color | HBuilderX 4.23 |\n| backgroundColor | HBuilderX 4.23 |\n| borderColor | HBuilderX 4.23 |\n| activeBackgroundColor | HBuilderX 4.23 |\n| activeBorderColor | HBuilderX 4.23 |\n| iconColor | HBuilderX 4.23 |"},"radio-group":{"name":"## radio-group","description":"单选框组","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |"},"slider":{"name":"## slider","description":"滑动选择器","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| disabled | - |\n| min | - |\n| max | - |\n| step | - |\n| value | - |\n| activeColor | - |\n| backgroundColor | - |\n| block-size | - |\n| block-color | - |\n| show-value | - |\n| @change | - |\n| @changing | - |"},"switch":{"name":"## switch","description":"开关选择器","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| checked | HBuilderX 4.23 |\n| type | HBuilderX 4.23 |\n| color | HBuilderX 4.23 |\n| disabled | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |"},"textarea":{"name":"## textarea","description":"多行输入框","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| value | HBuilderX 4.23 |\n| placeholder | HBuilderX 4.23 |\n| placeholder-style | HBuilderX 4.23 |\n| placeholder-class | HBuilderX 4.23 |\n| maxlength | HBuilderX 4.23 |\n| auto-focus | HBuilderX 4.23 |\n| focus | HBuilderX 4.23 |\n| confirm-type | HBuilderX 4.23 |\n| cursor | HBuilderX 4.23 |\n| confirm-hold | HBuilderX 4.23 |\n| auto-height | HBuilderX 4.23 |\n| cursor-color | - |\n| selection-start | HBuilderX 4.23 |\n| selection-end | HBuilderX 4.23 |\n| inputmode | - |\n| @confirm | HBuilderX 4.23 |\n| @input | HBuilderX 4.23 |\n| @linechange | HBuilderX 4.23 |\n| @blur | HBuilderX 4.23 |\n| @focus | HBuilderX 4.23 |"},"navigator":{"name":"## navigator","description":"页面链接","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| target | HBuilderX 4.23 |\n| url | HBuilderX 4.23 |\n| open-type | HBuilderX 4.23 |\n| delta | HBuilderX 4.23 |\n| app-id | - |\n| path | HBuilderX 4.23 |\n| extra-data | - |\n| version | - |\n| animation-type | HBuilderX 4.23 |\n| animation-duration | HBuilderX 4.23 |\n| hover-class | - |\n| hover-stop-propagation | - |\n| hover-start-time | - |\n| hover-stay-time | - |\n| render-link | HBuilderX 4.23 |"},"image":{"name":"## image","description":"图片","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| src | HBuilderX 4.23 |\n| mode | HBuilderX 4.23 |\n| draggable | HBuilderX 4.23 |\n| @error | HBuilderX 4.23 |\n| @load | HBuilderX 4.23 |"},"video":{"name":"## video","description":"视频","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| loop | HBuilderX 4.23 |\n| src | HBuilderX 4.23 |\n| initial-time | HBuilderX 4.23 |\n| duration | HBuilderX 4.23 |\n| controls | HBuilderX 4.23 |\n| danmu-list | HBuilderX 4.23 |\n| danmu-btn | HBuilderX 4.23 |\n| enable-danmu | HBuilderX 4.23 |\n| autoplay | HBuilderX 4.23 |\n| muted | HBuilderX 4.23 |\n| page-gesture | HBuilderX 4.23 |\n| direction | HBuilderX 4.23 |\n| show-progress | HBuilderX 4.23 |\n| show-fullscreen-btn | HBuilderX 4.23 |\n| show-play-btn | HBuilderX 4.23 |\n| show-center-play-btn | HBuilderX 4.23 |\n| show-loading | HBuilderX 4.23 |\n| enable-progress-gesture | HBuilderX 4.23 |\n| objectFit | HBuilderX 4.23 |\n| poster | HBuilderX 4.23 |\n| show-mute-btn | HBuilderX 4.23 |\n| title | HBuilderX 4.23 |\n| play-btn-position | HBuilderX 4.23 |\n| enable-play-gesture | HBuilderX 4.23 |\n| auto-pause-if-navigate | HBuilderX 4.23 |\n| auto-pause-if-open-native | HBuilderX 4.23 |\n| vslide-gesture | HBuilderX 4.23 |\n| vslide-gesture-in-fullscreen | HBuilderX 4.23 |\n| poster-for-crawler | HBuilderX 4.23 |\n| play-strategy | HBuilderX 4.23 |\n| is-live | HBuilderX 4.23 |\n| @loadedmetadata | HBuilderX 4.23 |\n| @play | HBuilderX 4.23 |\n| @pause | HBuilderX 4.23 |\n| @ended | HBuilderX 4.23 |\n| @timeupdate | HBuilderX 4.23 |\n| @fullscreenchange | HBuilderX 4.23 |\n| @waiting | HBuilderX 4.23 |\n| @error | HBuilderX 4.23 |\n| @progress | HBuilderX 4.23 |\n| @fullscreenclick | HBuilderX 4.23 |\n| @controlstoggle | HBuilderX 4.23 |"},"animation-view":{"name":"## animation-view","description":"Lottie 动画\n> 本 Component 是 uni ext component,需下载插件:[animation-view](https://ext.dcloud.net.cn/plugin?name=uni-animation-view)\n","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"live-player":{"name":"## live-player","description":"实时音视频播放","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| src | - |\n| mode | - |\n| autoplay | - |\n| muted | - |\n| orientation | - |\n| object-fit | - |\n| background-mute | - |\n| min-cache | - |\n| max-cache | - |\n| @statechange | - |\n| @fullscreenchange | - |\n| @netstatus | - |"},"live-pusher":{"name":"## live-pusher","description":"实时音视频录制","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| url | - |\n| mode | - |\n| autopush | - |\n| muted | - |\n| enable-camera | - |\n| auto-focus | - |\n| orientation | - |\n| beauty | - |\n| aspect | - |\n| min-bitrate | - |\n| max-bitrate | - |\n| waiting-image | - |\n| waiting-image-md5 | - |\n| background-mute | - |\n| @statechange | - |\n| @error | - |\n| @netstatus | - |"},"audio":{"name":"## audio","description":"音频","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| loop | - |\n| src | - |\n| controls | - |\n| poster | - |\n| name | - |\n| author | - |\n| @error | - |\n| @play | - |\n| @pause | - |\n| @timeupdate | - |\n| @ended | - |"},"page-meta":{"name":"## page-meta","description":"页面元数据,用于设置页面的一些属性,如背景色、下拉刷新等","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| background-text-style | - |\n| background-color | - |\n| background-color-top | - |\n| background-color-bottom | - |\n| scroll-top | - |\n| scroll-duration | - |\n| page-style | - |\n| root-font-size | - |\n| enable-pull-down-refresh | - |\n| @resize | - |\n| @scroll | - |\n| @scrolldone | - |"},"map":{"name":"## map","description":"地图","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| longitude | - |\n| latitude | - |\n| scale | - |\n| markers | - |\n| covers | - |\n| polyline | - |\n| circles | - |\n| controls | - |\n| include-points | - |\n| show-location | - |\n| @markertap | - |\n| @callouttap | - |\n| @controltap | - |\n| @regionchange | - |\n| @updated | - |"},"canvas":{"name":"## canvas","description":"画布","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n"},"web-view":{"name":"## web-view","description":"承载网页的容器","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| src | HBuilderX 4.23 |\n| allow | x |\n| sandbox | x |\n| fullscreen | x |\n| @message | HBuilderX 4.23 |"},"navigation-bar":{"name":"## navigation-bar","description":"页面导航条配置节点","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| title | - |\n| title-icon | - |\n| titleIcon-radius | - |\n| subtitle-text | - |\n| subtitle-size | - |\n| subtitle-color | - |\n| subtitle-overflow | - |\n| title-align | - |\n| background-image | - |\n| background-repeat | - |\n| blur-effect | - |\n| loading | - |\n| front-color | - |\n| background-color | - |\n| color-animation-duration | - |\n| color-animation-timing-func | - |"},"custom-tab-bar":{"name":"## custom-tab-bar","description":"自定义tabBar","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | - |\n| show-icon | - |\n| selected | - |\n| @onTabItemTap | - |"},"unicloud-db":{"name":"## unicloud-db","description":"是一个数据库查询组件,它将clientDB的API封装为组件,进一步减少开发者使用所需的代码量。","compatibility":"\n### HarmonyOS Next 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"### 属性 HarmonyOS Next 兼容性 @harmony-compatibility \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| id | - |\n| v-slot:default | - |\n| collection | - |\n| field | - |\n| where | - |\n| orderby | - |\n| groupby | - |\n| group-field | - |\n| distinct | - |\n| page-data | - |\n| page-current | - |\n| page-size | - |\n| getone | - |\n| getcount | - |\n| gettree | - |\n| startwith | - |\n| limitlevel | - |\n| manual | - |\n| loadtime | - |\n| action | - |\n| @load | - |\n| @error | - |"}} \ No newline at end of file +{"view":{"name":"## view","description":"基本视图容器","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| hover-class | HBuilderX 4.23 |\n| hover-stop-propagation | HBuilderX 4.23 |\n| hover-start-time | HBuilderX 4.23 |\n| hover-stay-time | HBuilderX 4.23 |"},"scroll-view":{"name":"## scroll-view","description":"可滚动视图容器","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | HBuilderX 4.23 |\n| upper-threshold | HBuilderX 4.23 |\n| lower-threshold | HBuilderX 4.23 |\n| scroll-top | HBuilderX 4.23 |\n| scroll-left | HBuilderX 4.23 |\n| scroll-into-view | HBuilderX 4.23 |\n| scroll-with-animation | HBuilderX 4.23 |\n| refresher-enabled | HBuilderX 4.23 |\n| refresher-threshold | HBuilderX 4.23 |\n| refresher-default-style | HBuilderX 4.23 |\n| refresher-background | HBuilderX 4.23 |\n| refresher-triggered | HBuilderX 4.23 |\n| show-scrollbar | HBuilderX 4.23 |\n| @refresherpulling | HBuilderX 4.23 |\n| @refresherrefresh | HBuilderX 4.23 |\n| @refresherrestore | HBuilderX 4.23 |\n| @refresherabort | HBuilderX 4.23 |\n| @scrolltoupper | HBuilderX 4.23 |\n| @scrolltolower | HBuilderX 4.23 |\n| @scroll | HBuilderX 4.23 |\n| rebound | - |\n| scroll-y | HBuilderX 4.23 |\n| scroll-x | HBuilderX 4.23 |"},"swiper-item":{"name":"## swiper-item","description":"swiper的唯一合法子组件。每个swiper-item代表一个滑块。宽高自动设置为100%","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| item-id | - |"},"swiper":{"name":"## swiper","description":"滑块视图容器","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| indicator-dots | HBuilderX 4.23 |\n| indicator-color | HBuilderX 4.23 |\n| indicator-active-color | HBuilderX 4.23 |\n| active-class | - |\n| changing-class | - |\n| acceleration | - |\n| disable-programmatic-animation | - |\n| disable-touch | - |\n| touchable | - |\n| easing-function | - |\n| autoplay | HBuilderX 4.23 |\n| current | HBuilderX 4.23 |\n| current-item-id | HBuilderX 4.23 |\n| interval | HBuilderX 4.23 |\n| duration | HBuilderX 4.23 |\n| circular | HBuilderX 4.23 |\n| vertical | HBuilderX 4.23 |\n| rebound | - |\n| previous-margin | - |\n| next-margin | - |\n| display-multiple-items | - |\n| skip-hidden-item-layout | - |\n| @change | HBuilderX 4.23 |\n| @transition | HBuilderX 4.23 |\n| @animationfinish | HBuilderX 4.23 |"},"match-media":{"name":"## match-media","description":"media query 匹配检测节点","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| width | - |\n| min-width | - |\n| max-width | - |\n| height | - |\n| min-height | - |\n| max-height | - |\n| orientation | - |"},"movable-area":{"name":"## movable-area","description":"movable-view 的可移动区域","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n"},"movable-view":{"name":"## movable-view","description":"可移动的视图容器,在页面中可以拖拽滑动","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | HBuilderX 4.23 |\n| inertia | HBuilderX 4.23 |\n| out-of-bounds | HBuilderX 4.23 |\n| x | HBuilderX 4.23 |\n| y | HBuilderX 4.23 |\n| damping | HBuilderX 4.23 |\n| friction | HBuilderX 4.23 |\n| disabled | HBuilderX 4.23 |\n| scale | HBuilderX 4.23 |\n| scale-min | HBuilderX 4.23 |\n| scale-max | HBuilderX 4.23 |\n| scale-value | HBuilderX 4.23 |\n| animation | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |\n| @scale | HBuilderX 4.23 |"},"cover-view":{"name":"## cover-view","description":"覆盖在原生组件之上的文本视图,可覆盖的原生组件包括map、video、canvas、camera,只支持嵌套cover-view、cover-image","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"cover-image":{"name":"## cover-image","description":"覆盖在原生组件之上的图片视图,可覆盖的原生组件同cover-view,支持嵌套在cover-view里。","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| v-for | - |\n| v-if | - |\n| v-show | - |\n| src | - |"},"list-item":{"name":"## list-item","description":"list-view组件的唯一合法子组件。每个item是一行","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| type | - |"},"sticky-header":{"name":"## sticky-header","description":"吸顶布局容器

注意:暂时仅支持作为list-view、sticky-section的子节点, sticky-header不支持css样式!当一个容器视图设置多个sticky-header时,后一个sticky-header会停靠在前一个sticky-header的末尾处。","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"sticky-section":{"name":"## sticky-section","description":"吸顶布局容器

注意:暂时仅支持作为list-view的子节点, sticky-section不支持css样式!","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"list-view":{"name":"## list-view","description":"列表组件","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"nested-scroll-header":{"name":"## nested-scroll-header","description":" scroll-view 嵌套模式场景中属于外层 scroll-view 的节点,仅支持作为 \\ 嵌套模式的直接子节点。不支持复数子节点,渲染时会取其第一个子节点来渲染","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"nested-scroll-body":{"name":"## nested-scroll-body","description":" scroll-view 嵌套模式场景中属于嵌套内层 scroll-view 的父节点,仅支持作为 \\ 嵌套模式的直接子节点。不支持复数子节点,渲染时会取其第一个子节点来渲染","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"icon":{"name":"## icon","description":"图标","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| type | HBuilderX 4.23 |\n| size | HBuilderX 4.23 |\n| color | HBuilderX 4.23 |"},"text":{"name":"## text","description":"文本","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| selectable | HBuilderX 4.23 |\n| space | HBuilderX 4.23 |\n| decode | HBuilderX 4.23 |"},"rich-text":{"name":"## rich-text","description":"富文本。可渲染文字样式、图片、超链接。支持部分HTML标签","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| nodes | HBuilderX 4.23 |\n| selectable | HBuilderX 4.23 |\n| @itemclick | HBuilderX 4.23 |"},"progress":{"name":"## progress","description":"进度条","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| duration | HBuilderX 4.23 |\n| percent | HBuilderX 4.23 |\n| show-info | HBuilderX 4.23 |\n| stroke-width | HBuilderX 4.23 |\n| activeColor | HBuilderX 4.23 |\n| backgroundColor | HBuilderX 4.23 |\n| active | HBuilderX 4.23 |\n| active-mode | HBuilderX 4.23 |"},"button":{"name":"## button","description":"按钮","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| hover-class | HBuilderX 4.23 |\n| hover-start-time | HBuilderX 4.23 |\n| hover-stay-time | HBuilderX 4.23 |\n| size | HBuilderX 4.23 |\n| type | HBuilderX 4.23 |\n| plain | HBuilderX 4.23 |\n| loading | HBuilderX 4.23 |\n| form-type | HBuilderX 4.23 |\n| open-type | - |\n| @error | - |\n| @chooseinvoicetitle | - |\n| @subscribe | - |\n| @login | - |"},"checkbox":{"name":"## checkbox","description":"多选项。在1组check-group中可选择多个","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| value | HBuilderX 4.23 |\n| checked | HBuilderX 4.23 |\n| backgroundColor | HBuilderX 4.23 |\n| borderColor | HBuilderX 4.23 |\n| activeBackgroundColor | HBuilderX 4.23 |\n| activeBorderColor | HBuilderX 4.23 |\n| iconColor | HBuilderX 4.23 |\n| color | HBuilderX 4.23 |"},"checkbox-group":{"name":"## checkbox-group","description":"多选框组","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |"},"form":{"name":"## form","description":"表单","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| @submit | HBuilderX 4.23 |\n| @reset | HBuilderX 4.23 |"},"input":{"name":"## input","description":"输入框","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| disabled | HBuilderX 4.23 |\n| value | HBuilderX 4.23 |\n| type | HBuilderX 4.23 |\n| password | HBuilderX 4.23 |\n| placeholder | HBuilderX 4.23 |\n| placeholder-style | HBuilderX 4.23 |\n| placeholder-class | HBuilderX 4.23 |\n| maxlength | HBuilderX 4.23 |\n| cursor-color | HBuilderX 4.23 |\n| auto-focus | HBuilderX 4.23 |\n| focus | HBuilderX 4.23 |\n| confirm-type | HBuilderX 4.23 |\n| confirm-hold | HBuilderX 4.23 |\n| cursor | HBuilderX 4.23 |\n| selection-start | HBuilderX 4.23 |\n| selection-end | HBuilderX 4.23 |\n| inputmode | HBuilderX 4.23 |\n| @input | HBuilderX 4.23 |\n| @focus | HBuilderX 4.23 |\n| @blur | HBuilderX 4.23 |\n| @confirm | HBuilderX 4.23 |"},"editor":{"name":"## editor","description":"富文本编辑器,可以对图片、文字进行编辑。","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| read-only | - |\n| placeholder | - |\n| show-img-size | - |\n| show-img-toolbar | - |\n| show-img-resize | - |\n| @ready | - |\n| @focus | - |\n| @blur | - |\n| @input | - |\n| @statuschange | - |"},"label":{"name":"## label","description":"用来改进表单组件的可用性,使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| for | HBuilderX 4.23 |"},"picker":{"name":"## picker","description":"从底部弹起的滚动选择器,现支持五种选择器,通过mode来区分,分别是普通选择器,多列选择器,时间选择器,日期选择器,省市区选择器,默认是普通选择器。","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | - |\n| mode | - |\n| range | - |\n| range-key | - |\n| value | - |\n| start | - |\n| end | - |\n| fields | - |\n| custom-item | - |\n| @change | - |\n| @columnchange | - |\n| @cancel | - |"},"picker-view-column":{"name":"## picker-view-column","description":"仅可放置于 picker-view 中,其子节点未继承 picker-view 的选中框的高度,需要自己设置高度并居中","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n"},"picker-view":{"name":"## picker-view","description":"嵌入页面的滚动选择器","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| value | HBuilderX 4.23 |\n| indicator-style | HBuilderX 4.23 |\n| indicator-class | HBuilderX 4.23 |\n| mask-style | HBuilderX 4.23 |\n| mask-class | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |"},"radio":{"name":"## radio","description":"单选项。在1组radio-group中只能选中1个","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| disabled | HBuilderX 4.23 |\n| value | HBuilderX 4.23 |\n| checked | HBuilderX 4.23 |\n| backgroundColor | HBuilderX 4.23 |\n| borderColor | HBuilderX 4.23 |\n| activeBackgroundColor | HBuilderX 4.23 |\n| activeBorderColor | HBuilderX 4.23 |\n| iconColor | HBuilderX 4.23 |\n| color | HBuilderX 4.23 |"},"radio-group":{"name":"## radio-group","description":"单选框组","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |"},"slider":{"name":"## slider","description":"滑动选择器","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | - |\n| disabled | - |\n| min | - |\n| max | - |\n| step | - |\n| value | - |\n| backgroundColor | - |\n| block-size | - |\n| show-value | - |\n| @change | - |\n| @changing | - |\n| block-color | - |\n| activeColor | - |"},"switch":{"name":"## switch","description":"开关选择器","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| checked | HBuilderX 4.23 |\n| type | HBuilderX 4.23 |\n| disabled | HBuilderX 4.23 |\n| @change | HBuilderX 4.23 |\n| color | HBuilderX 4.23 |"},"textarea":{"name":"## textarea","description":"多行输入框","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| name | HBuilderX 4.23 |\n| value | HBuilderX 4.23 |\n| placeholder | HBuilderX 4.23 |\n| placeholder-style | HBuilderX 4.23 |\n| placeholder-class | HBuilderX 4.23 |\n| maxlength | HBuilderX 4.23 |\n| auto-focus | HBuilderX 4.23 |\n| focus | HBuilderX 4.23 |\n| confirm-type | HBuilderX 4.23 |\n| cursor | HBuilderX 4.23 |\n| confirm-hold | HBuilderX 4.23 |\n| auto-height | HBuilderX 4.23 |\n| cursor-color | - |\n| selection-start | HBuilderX 4.23 |\n| selection-end | HBuilderX 4.23 |\n| inputmode | - |\n| @confirm | HBuilderX 4.23 |\n| @input | HBuilderX 4.23 |\n| @linechange | HBuilderX 4.23 |\n| @blur | HBuilderX 4.23 |\n| @focus | HBuilderX 4.23 |"},"navigator":{"name":"## navigator","description":"页面链接","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| target | HBuilderX 4.23 |\n| url | HBuilderX 4.23 |\n| open-type | HBuilderX 4.23 |\n| delta | HBuilderX 4.23 |\n| app-id | - |\n| path | HBuilderX 4.23 |\n| extra-data | - |\n| version | - |\n| animation-type | HBuilderX 4.23 |\n| animation-duration | HBuilderX 4.23 |\n| hover-class | - |\n| hover-stop-propagation | - |\n| hover-start-time | - |\n| hover-stay-time | - |\n| render-link | HBuilderX 4.23 |"},"image":{"name":"## image","description":"图片","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| src | HBuilderX 4.23 |\n| mode | HBuilderX 4.23 |\n| draggable | HBuilderX 4.23 |\n| @error | HBuilderX 4.23 |\n| @load | HBuilderX 4.23 |"},"video":{"name":"## video","description":"视频","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| loop | HBuilderX 4.23 |\n| src | HBuilderX 4.23 |\n| initial-time | HBuilderX 4.23 |\n| duration | HBuilderX 4.23 |\n| controls | HBuilderX 4.23 |\n| danmu-list | HBuilderX 4.23 |\n| danmu-btn | HBuilderX 4.23 |\n| enable-danmu | HBuilderX 4.23 |\n| autoplay | HBuilderX 4.23 |\n| muted | HBuilderX 4.23 |\n| page-gesture | HBuilderX 4.23 |\n| direction | HBuilderX 4.23 |\n| show-progress | HBuilderX 4.23 |\n| show-fullscreen-btn | HBuilderX 4.23 |\n| show-play-btn | HBuilderX 4.23 |\n| show-center-play-btn | HBuilderX 4.23 |\n| show-loading | HBuilderX 4.23 |\n| enable-progress-gesture | HBuilderX 4.23 |\n| object-fit | HBuilderX 4.23 |\n| poster | HBuilderX 4.23 |\n| show-mute-btn | HBuilderX 4.23 |\n| title | HBuilderX 4.23 |\n| play-btn-position | HBuilderX 4.23 |\n| enable-play-gesture | HBuilderX 4.23 |\n| auto-pause-if-navigate | HBuilderX 4.23 |\n| auto-pause-if-open-native | HBuilderX 4.23 |\n| vslide-gesture | HBuilderX 4.23 |\n| vslide-gesture-in-fullscreen | HBuilderX 4.23 |\n| poster-for-crawler | HBuilderX 4.23 |\n| play-strategy | HBuilderX 4.23 |\n| is-live | HBuilderX 4.23 |\n| @loadedmetadata | HBuilderX 4.23 |\n| @play | HBuilderX 4.23 |\n| @pause | HBuilderX 4.23 |\n| @ended | HBuilderX 4.23 |\n| @timeupdate | HBuilderX 4.23 |\n| @fullscreenchange | HBuilderX 4.23 |\n| @waiting | HBuilderX 4.23 |\n| @error | HBuilderX 4.23 |\n| @progress | HBuilderX 4.23 |\n| @fullscreenclick | HBuilderX 4.23 |\n| @controlstoggle | HBuilderX 4.23 |"},"animation-view":{"name":"## animation-view","description":"Lottie 动画\n> 本 Component 是 uni ext component,需下载插件:[animation-view](https://ext.dcloud.net.cn/plugin?name=uni-animation-view)\n","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n"},"live-player":{"name":"## live-player","description":"实时音视频播放","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| src | - |\n| mode | - |\n| autoplay | - |\n| muted | - |\n| orientation | - |\n| object-fit | - |\n| background-mute | - |\n| min-cache | - |\n| max-cache | - |\n| @statechange | - |\n| @fullscreenchange | - |\n| @netstatus | - |"},"live-pusher":{"name":"## live-pusher","description":"实时音视频录制","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| url | - |\n| mode | - |\n| autopush | - |\n| muted | - |\n| enable-camera | - |\n| auto-focus | - |\n| orientation | - |\n| beauty | - |\n| aspect | - |\n| min-bitrate | - |\n| max-bitrate | - |\n| waiting-image | - |\n| waiting-image-md5 | - |\n| background-mute | - |\n| @statechange | - |\n| @error | - |\n| @netstatus | - |"},"audio":{"name":"## audio","description":"音频","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| loop | - |\n| src | - |\n| controls | - |\n| poster | - |\n| name | - |\n| author | - |\n| @error | - |\n| @play | - |\n| @pause | - |\n| @timeupdate | - |\n| @ended | - |"},"page-meta":{"name":"## page-meta","description":"页面元数据,用于设置页面的一些属性,如背景色、下拉刷新等","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| background-text-style | - |\n| background-color | - |\n| background-color-top | - |\n| background-color-bottom | - |\n| scroll-top | - |\n| scroll-duration | - |\n| page-style | - |\n| root-font-size | - |\n| enable-pull-down-refresh | - |\n| @resize | - |\n| @scroll | - |\n| @scrolldone | - |"},"map":{"name":"## map","description":"地图","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| longitude | - |\n| latitude | - |\n| scale | - |\n| markers | - |\n| covers | - |\n| polyline | - |\n| circles | - |\n| controls | - |\n| include-points | - |\n| show-location | - |\n| @markertap | - |\n| @callouttap | - |\n| @controltap | - |\n| @regionchange | - |\n| @updated | - |"},"canvas":{"name":"## canvas","description":"画布","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n"},"web-view":{"name":"## web-view","description":"承载网页的容器","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| HBuilderX 4.23 |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| src | HBuilderX 4.23 |\n| allow | x |\n| sandbox | x |\n| fullscreen | x |\n| @message | HBuilderX 4.23 |"},"navigation-bar":{"name":"## navigation-bar","description":"页面导航条配置节点","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| title | - |\n| title-icon | - |\n| titleIcon-radius | - |\n| subtitle-text | - |\n| subtitle-size | - |\n| subtitle-color | - |\n| subtitle-overflow | - |\n| title-align | - |\n| background-image | - |\n| background-repeat | - |\n| blur-effect | - |\n| loading | - |\n| front-color | - |\n| background-color | - |\n| color-animation-duration | - |\n| color-animation-timing-func | - |"},"custom-tab-bar":{"name":"## custom-tab-bar","description":"自定义tabBar","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| direction | - |\n| show-icon | - |\n| selected | - |\n| @onTabItemTap | - |"},"unicloud-db":{"name":"## unicloud-db","description":"是一个数据库查询组件,它将clientDB的API封装为组件,进一步减少开发者使用所需的代码量。","compatibility":"\n**HarmonyOS Next** 兼容性\n| HarmonyOS Next |\n| :- |\n| x |\n","attribute":"**属性 HarmonyOS Next 兼容性** \n | 名称 | HarmonyOS Next 兼容性 |\n| :- | :- |\n| id | - |\n| v-slot:default | - |\n| collection | - |\n| field | - |\n| where | - |\n| orderby | - |\n| groupby | - |\n| group-field | - |\n| distinct | - |\n| page-data | - |\n| page-current | - |\n| page-size | - |\n| getone | - |\n| getcount | - |\n| gettree | - |\n| startwith | - |\n| limitlevel | - |\n| manual | - |\n| loadtime | - |\n| @load | - |\n| @error | - |\n| action | - |"}} \ No newline at end of file diff --git a/docs/api/system/barcode.md b/docs/api/system/barcode.md index 62dd3deacc8279d28cbdb87ec29f3edcf7181337..63ed2721cc9ac021cd392c5ee99a049ab600e6a2 100644 --- a/docs/api/system/barcode.md +++ b/docs/api/system/barcode.md @@ -3,9 +3,11 @@ **平台差异说明** -|App|HarmonyOS Next|H5|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快手小程序|京东小程序| -|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| -|√|x|x|√|√|√|√|√|√|√| +|App|H5|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快手小程序|京东小程序| +|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| +|√|x|√|√|√|√|√|√|√| + + **OBJECT 参数说明**