diff --git a/zh-cn/release-notes/OpenHarmony-v4.0-beta2.md b/zh-cn/release-notes/OpenHarmony-v4.0-beta2.md new file mode 100644 index 0000000000000000000000000000000000000000..42ac4bc63c4089b3320cf5dcc1177e481969481e --- /dev/null +++ b/zh-cn/release-notes/OpenHarmony-v4.0-beta2.md @@ -0,0 +1,447 @@ +# OpenHarmony 4.0 Beta2 + +## 版本概述 + +## 特性说明 + + +### 应用框架 + +- æ›´æ–°ArkTSå¡ç‰‡åˆ·æ–°æ–¹å¼ï¼Œæ”¯æŒé€šè¿‡æ•°æ®ä»£ç†çš„æ–¹å¼åˆ·æ–°å†…容。 + +- ArkTSå¡ç‰‡æ”¯æŒé™æ€å¡ç‰‡é…ç½®ã€é™æ€å›¾å±•ç¤ºã€‚ + + +### ArkUI + +- Xcomponent组件支æŒTexture模å¼ç»˜åˆ¶ã€popup支æŒä½ç½®è‡ªå®šä¹‰ã€å¼¹æ¡†æ”¯æŒé€šè¿‡é”®ç›˜ESCé”®é€å±‚退出ã€ListItem支æŒé•¿è·ç¦»å·¦æ»‘åˆ é™¤æ‰‹åŠ¿ã€ArkTS/JSå¡ç‰‡æ”¯æŒæ¸²æŸ“完æˆå›žè°ƒã€Image/Text组件支æŒéšç§é®ç½©ã€ContextMenu支æŒåˆ†æ®µæ˜¾ç¤ºèƒ½åŠ›ã€‚ + +- 动画效果增强,包括:布局属性ã€èƒŒæ™¯å›¾ç‰‡å¤§å°ä½ç½®å±žæ€§ã€æ˜¾éšå±žæ€§æ”¯æŒéšå¼åŠ¨æ•ˆï¼Œlist支æŒscrollToIndex动效ã€Tabs模糊动效ã€popup出现/消失动效,支æŒè‡ªå®šä¹‰åŠ¨ç”»ï¼Œæ»¡è¶³å¼€å‘者多ç§å¤šæ ·åŠ¨ç”»è¯‰æ±‚。 + +- å¼€å‘效率增强:支æŒå‘½å路由的能力,借助æ¤èƒ½åŠ›å¯é’ˆå¯¹ä¸åŒé¡µé¢è®¾ç½®ä¸åŒçš„切æ¢åŠ¨æ•ˆï¼›è½»é‡çº§ArkUI框架支æŒå®šä¹‰å…¨å±€æ•°æ®å¯¹è±¡ï¼Œå¯è¿›è¡Œåº”用内页é¢é—´çš„æ•°æ®å…±äº«ã€‚ + +- 全局API支æŒStage模型多实例场景。 + + +### åº”ç”¨åŒ…ç®¡ç† + +- 支æŒå¯¹åº”用分å‘类型和附件信æ¯çš„设置和查询。 + +- 支æŒé€šè¿‡æ–‡ä»¶æ‰©å±•å列出支æŒæ‰“开该文件的应用列表,实现了文件扩展å与应用的匹é…关系。 + +- 支æŒä¼ä¸šåº”用的安装管ç†ï¼Œå¯¹äºŽè¯ä¹¦ç±»åž‹ä¸ºâ€œenterpriseâ€çš„应用,安装需è¦ç”³è¯·â€œohos.permission.INSTALL_ENTERPRISE_BUNDLEâ€ã€‚ + + +### 分布å¼æ•°æ®ç®¡ç† + +- UDMF(统一数æ®ç®¡ç†æ¡†æž¶ï¼‰æ”¯æŒè·¨è®¾å¤‡æ‹–拽场景下对分布å¼ç›®å½•çš„文件临时授æƒã€‚ + +- æä¾›RDBstore NDKæŽ¥å£ ï¼šåŒ…å«å¢ž/åˆ /改/查/事务ã€æ•°æ®åŠ 密ã€æ•°æ®åˆ†çº§ä¿æŠ¤ã€å¤‡ä»½/æ¢å¤èƒ½åŠ›ã€‚ + +- Key-Value和分布å¼æ•°æ®å¯¹è±¡æ”¯æŒæ ¹æ®æ•°æ®é‡è‡ªåŠ¨é€‰æ‹©æ•°æ®åŒæ¥çš„通é“ã€‚ç³»ç»Ÿä¼šæ ¹æ®æ•°æ®é‡å¤§å°è‡ªåŠ¨é€‰æ‹©è“牙通é“或基于WiFiçš„P2P通é“进行数æ®çš„åŒæ¥ã€‚ + + +### 分布å¼è½¯æ€»çº¿ + +- 支æŒå¯¹åŸºäºŽè½¯æ€»çº¿è¿žæŽ¥çš„linkä¿¡æ¯è¿›è¡Œç®¡ç†ã€‚ + +- 支æŒä¼šè¯çº§çš„ä¼ è¾“èƒ½åŠ›å商,å¯é€šè¿‡åå•†ç¡®å®šè®¾å¤‡é—´ä¼ è¾“çš„èƒ½åŠ›ã€‚ + + +### 分布å¼ç¡¬ä»¶ + +- 分布å¼åœºæ™¯ä¸‹çš„音频录制时延性能得到优化。 + +- 分布å¼æ–‡ä»¶ç³»ç»Ÿæ”¯æŒåœ¨ä»¥è“牙引导的P2P连接环境下进行文件互访。 + +- 支æŒç»„网设备å称å˜åŒ–的监å¬ã€‚ + + +### æ–‡ä»¶ç®¡ç† + +- 支æŒå…¬å…±å›¾ç‰‡æ–‡ä»¶åœ¨è®¾å¤‡ç«¯å’Œäº‘端进行åŒæ¥ï¼ˆè®¾å¤‡ç™»å½•çš„å¸å·éœ€å¼€é€šäº‘端æœåŠ¡ï¼‰ï¼Œæ”¯æŒé€šè¿‡picker选择云端的图片。 + +- 支æŒåº”用定制备份æ¢å¤çš„目录。 + +- 支æŒå…¬å…±å›¾ç‰‡çš„分类管ç†ï¼Œç”¨æˆ·å¯ä»¥åœ¨å›¾åº“ä¸é€šè¿‡ç›¸å†Œå¯¹ç”¨æˆ·å›¾ç‰‡è¿›è¡Œç»„织分类。 + +- 支æŒåº”用监å¬æ²™ç®±å†…çš„æ–‡ä»¶çš„å¢žæ”¹åˆ ã€‚ + +- 支æŒåº”用跨设备分享沙箱内的文件。 + + +### 图形显示åŠçª—å£ + +**图形** + +- 支æŒå¯¹é€‰å®šåŒºåŸŸå–色,å¯é€‰å®šåŒºåŸŸåŽèŽ·å¾—该区域的主色值ã€å¹³å‡è‰²å€¼ç‰å‚数并按需使用。 + +- 支æŒè®¾ç½®æ—‹è½¬ä¸å¿ƒåœ¨Z轴锚点的å移,å…许在旋转过程ä¸ä¿®æ”¹æ¸²æŸ“的锚点。 + +- 图形处ç†ä¾èµ–的渲染库å‡çº§è‡³Skia 0310新版本,æå‡äº†æ˜¾ç¤ºæ€§èƒ½ã€‚ + +**窗å£** + +- 优化了display模å—çš„å‚数值获å–æ–¹å¼ï¼Œä»ŽåŽŸå…ˆè½¯ä»¶æ–¹å¼ä¼˜åŒ–为从硬件直接获å–真实值。 + +- 窗å£æŽ§ä»¶åŒ–能力增强:窗å£ä»¥æŽ§ä»¶åŒ–çš„æ–¹å¼æ”¯æŒçª—å£å±žæ€§ã€å窗å£ã€æ¨¡æ€çª—å£ã€çª—å£æ•ˆæžœã€çª—å£è£…饰ã€äº®çå±æµç¨‹ã€æˆªå±å½•å±ã€‚ + + +### 媒体 + +**音频** + +- 支æŒéŸ³æ•ˆæ¡†æž¶ï¼šå—å‘厂商å¯é…置音效ç–ç•¥å’ŒåŠ è½½è‡ªå®šä¹‰éŸ³æ•ˆï¼›åº”ç”¨å¯æŸ¥è¯¢éŸ³é¢‘输出的音效模å¼ï¼Œåˆ‡æ¢æˆ–å…³é—音效模å¼ã€‚ + +- 支æŒç³»ç»Ÿå†…录音能力:å¯æ ¹æ®éŸ³é¢‘场景属性ç›é€‰ï¼Œå½•åˆ¶ç³»ç»Ÿå†…æ’放的音频数æ®ã€‚ + +- 支æŒèŽ·å–音频设备显示å:æ’放对象详细信æ¯å†…å¯èŽ·å–当å‰æ’放输出归属的设备å。 + +**媒体æ’放** + +支æŒéŸ³æ•ˆå‚æ•°é…置,å¯ä»¥åœ¨éŸ³é¢‘框架支æŒéŸ³æ•ˆçš„能力基础上进一æ¥é…置音效。 + +**音视频编解ç ** + +- 支æŒé€šè¿‡Native API查询系统的音视频编解ç 能力。 + +- 支æŒé€šè¿‡Native API完æˆéŸ³è§†é¢‘å°è£…,å³å°†éŸ³é¢‘ã€è§†é¢‘ç‰ç¼–ç åŽçš„媒体数æ®ï¼ŒæŒ‰ä¸€å®šçš„æ ¼å¼å˜å‚¨åˆ°æ–‡ä»¶é‡Œã€‚ + +- 支æŒé€šè¿‡Native API完æˆéŸ³è§†é¢‘解å°è£…,å³ä»Žæ¯”特æµæ•°æ®ä¸å–出音频ã€è§†é¢‘ç‰åª’体帧数æ®ã€‚ + + +### 事件通知 + +- 支æŒé€‰å®šé€šçŸ¥å¹¶æ‰¹é‡åˆ 除通知。 + +- emitter支æŒå–消按æ¡ä»¶æŒ‡å®šè®¢é˜…回调能力。 + + +### 基础通信 + +- WiFi支æŒåŽå°æ‰«æ的能力。 + +- WiFi支æŒSTA模å¼ä¸‹çš„éšæœºMAC能力。 + + +### 网络与通信 + +- 支æŒä¸ŽæœåŠ¡å™¨ç«¯é€šè¿‡TCP Socket进行通信。 + +- 支æŒç”¨æˆ·å°†æ•°æ®ä¼ é€åˆ°è¿œç¨‹æœåŠ¡å™¨ã€‚ + +- 支æŒHTTPSè¯ä¹¦çš„管ç†é€‚é…。 + +- 支æŒç½‘å¡ä»£ç†ã€‚ + + +### 系统æœåŠ¡ç®¡ç† + +- 支æŒç³»ç»ŸæœåŠ¡æŒ‰éœ€å¯åŠ¨ï¼Œä¾‹å¦‚外部调用ã€äº‹ä»¶è§¦å‘,åŒæ—¶æ”¯æŒåœ¨è®¾å¤‡ç©ºé—²æ—¶è‡ªåŠ¨é€€å‡ºç³»ç»ŸæœåŠ¡ã€‚ + +- 系统æœåŠ¡é…ç½®æ ¼å¼ä¼˜åŒ–,使用JSONæ ¼å¼æ›¿ä»£XMLæ ¼å¼ã€‚ + + +### ç”µæº + +- 新增接å£ï¼Œæ”¯æŒè®¾ç½®ç³»ç»Ÿç«‹å³è¿›å…¥ç¡çœ 状æ€ã€‚ + +- æ–°å¢žä¼‘çœ æºå®šåˆ¶èƒ½åŠ›ï¼Œæ”¯æŒæ ¹æ®ä¸åŒçš„ä¼‘çœ æºå®šåˆ¶äº‹ä»¶åŠè¡Œä¸ºã€‚ + +- 新增唤醒æºå®šåˆ¶èƒ½åŠ›ï¼Œæ”¯æŒæ ¹æ®ä¸åŒçš„唤醒æºå®šåˆ¶å”¤é†’事件。 + + +### 多模输入 + +- 支æŒå°†é”®ç›˜è¾“å…¥è®¾å¤‡çš„åŽŸå§‹äº‹ä»¶æ˜ å°„ä¸ºå½’ä¸€åŒ–äº¤äº’çš„æ„图事件,使开å‘者在开å‘åº”ç”¨æ—¶æ— éœ€å…³æ³¨è¾“å…¥è¡Œä¸ºæ˜¯æ¥è‡ªè§¦æŽ§è¿˜æ˜¯é”®ç›˜ã€‚ + +- 支æŒç”¨æˆ·æ ¹æ®ä¸ªäººä¹ 惯设置触控æ¿åŠŸèƒ½çš„个性化é…置: + - 支æŒä¸¤ç§è§¦å‘模å¼æ˜ å°„é¼ æ ‡å·¦é”®åŠŸèƒ½ï¼š 按压ã€è½»ç‚¹ã€‚ + - 支æŒä¸¤ç§è§¦å‘模å¼æ˜ å°„é¼ æ ‡å³é”®åŠŸèƒ½ï¼šç‚¹æŒ‰å·¦/å³ä¸‹è§’ã€åŒæŒ‡ç‚¹æŒ‰æˆ–轻点。 + - 跟踪速度:支æŒ10档速度调节。 + - 支æŒä¸¤ç§äº¤äº’模å¼æ˜ å°„é¼ æ ‡æ»šè½®åŠŸèƒ½ï¼šå†…å®¹éšæ‰‹æŒ‡ç§»åŠ¨æ–¹å‘ã€å†…容éšæ‰‹æŒ‡åå‘移动。 + + +### 主题框架 + +- é”å±ç®¡ç†æœåŠ¡æ”¯æŒé”å±äº‹ä»¶å›žè°ƒæœºåˆ¶ã€é™æ€/动æ€å£çº¸ã€æŸ¥è¯¢é”å±æ—¶çš„业务状æ€ã€‚ + +- å£çº¸ç®¡ç†æœåŠ¡æ”¯æŒè‡ªå®šä¹‰å£çº¸ã€é”å±/解é”æ“作ã€é‡ç½®å£çº¸ã€‚ + + +### ä¸Šä¼ ä¸‹è½½ + +支æŒæŸ¥è¯¢ä¸Šä¼ 和下载的任务ã€ä»»åŠ¡çŠ¶æ€ä¿¡æ¯åŒæ¥å’Œä»»åŠ¡è®°å½•æŒä¹…化ã€ä»»åŠ¡çŠ¶æ€æŸ¥è¯¢å’Œå¼‚常的æ¢å¤ã€‚ + + +### 安全 + +**åŠ è§£å¯†ç®—æ³•åº“æ¡†æž¶** + +- æä¾›DSAæ•°å—ç¾å算法能力。 + +- æä¾›DSAã€ECCã€RSA密钥解æžå’Œå¯†é’¥å‚数的获å–能力。 + +- æ供安全éšæœºæ•°ç”Ÿæˆç®—法类型的获å–能力。 + +- æä¾›SM4密钥的éšæœºç”Ÿæˆä¸Žè½¬æ¢ï¼Œä»¥åŠåŠ 密解密能力。 + +- æä¾›SM3密钥的HMACå’ŒHASH的能力。 + +- æä¾›SM2密钥的éšæœºç”Ÿæˆä¸Žè½¬æ¢ã€ç¾ååŠéªŒç¾ã€ä»¥åŠåŠ 密解密能力。 + +**密钥管ç†** + +- 支æŒHUKSå¯†é’¥åŠ å¯†ä¿æŠ¤ã€‚ + +- 支æŒKeyAttestation公钥è¯ä¹¦ä¸å¢žåŠ 对密钥所属业务身份å—段。 + +- 支æŒæ ‡å‡†HDIå—å‘接å£ã€‚ + +**设备互信认è¯** + +支æŒåœ¨ä»¥ä¸‹ä¸¤ç§åœºæ™¯çš„设备间互信认è¯æµç¨‹ä¸ç”Ÿæˆå‡å,支æŒè¯†åˆ«åŠå’Œæ ‡è¯†è®¾å¤‡çš„å‡å化å称。 + +- 对使用åŒå¸å·ç™»å½•çš„多个设备进行互信认è¯ã€‚ + +- 对éžåŒå¸å·çš„点对点互è”的两个设备进行互信认è¯ã€‚ + + +### 程åºè®¿é—®æŽ§åˆ¶ + +- 优化æƒé™ç®¡ç†çš„èœå•å‘ˆçŽ°ï¼Œæ‹†åˆ†åª’体和文件的æƒé™ç»„,相应æƒé™çš„授æƒç²’åº¦æ›´åŠ ç²¾ç»†åŒ–ã€‚ + +- 支æŒtreble架构下对SELinux的兼容能力。 + + +### å¸å· + +- 支æŒå¸å·æŽˆæƒèƒ½åŠ›æ‰©å±•å’Œä¸‰æ–¹åº”用使用å¸å·æŽˆæƒèƒ½åŠ›ã€‚ + +- 支æŒå¯¹åŸŸå¸å·æ’件的管ç†ï¼Œä»Žè€Œæ”¯æŒåŸŸå¸å·ç®¡ç†å’Œè®¤è¯èƒ½åŠ›ã€‚ + + +### WebView + +- W3C能力补充完善:补充Web Camera能力,以åŠbindContextMenuã€Selectã€date类型inputç‰H5æ ‡ç¾èƒ½åŠ›ã€‚ + +- 支æŒå¤šæ¸²æŸ“进程的进程拆分。 + +- 支æŒæ–‡å—ã€å›¾ç‰‡åŸºç¡€æ‹–拽能力。 + +- 支æŒWebRTC的视频会议能力(ä¸å«æ‘„åƒå¤´å…±äº«ï¼‰ã€‚ + +- 支æŒæ¸²æŸ“进程独立SELinuxæ ‡ç¾ï¼Œå¢žå¼ºå®‰å…¨åŸºç¡€èƒ½åŠ›ã€‚ + + +### ArkCompiler + +- 方舟è¿è¡Œæ—¶æ”¯æŒJSContext功能;支æŒåŠ¨æ€PGO功能,å¯é‡‡é›†è¿è¡ŒæœŸçš„类型和函数çƒç‚¹ä¿¡æ¯ï¼Œå¹¶ç”ŸæˆAP文件;支æŒåŠ¨æ€importåŠ è½½NAPI库。 + +- 方舟编译器type编译模å¼ä¸‹å‰ç«¯ç¼–译工具链切æ¢åˆ°es2abc。 + +- NAPI bufferã€objectã€arraybufferã€object type接å£åŠŸèƒ½è¡¥é½ã€‚ + +- Taskpool支æŒä»»åŠ¡ä¸æ–å’Œå–消,支æŒå®šä¹‰ä»»åŠ¡ç»„(TaskGroup),支æŒå¯¹ä»»åŠ¡çš„状æ€å’Œè°ƒåº¦ä¿¡æ¯è¿›è¡Œæ‰“点,支æŒè¶…é•¿ç‰å¾…的任务进行识别和æ¢å¤ã€‚ + +- 编译构建能力æä¾›OpenHarmony系统userå’Œrootä¸åŒæƒé™ç‰ˆæœ¬çš„构建,user版本能力åŒæ¥æ”¯æŒWukong测试工具和XTS测试能力。 + +- 编译工具链支æŒé¢„览器上的调试能力。 + + +### DFX + +- æ供统一的采集框架能力,方便开å‘者对应用的调试调测。 + +- æ供统一的trace采集能力。 + +- æä¾›Nativeçš„HiTraceMeter打点接å£ã€‚ + +- 性能雷达æ供工具类,方便å„业务模å—(å系统)在业务æµç¨‹ä¸Šä¼ 递性能埋点记录åŠç»“算性能数æ®ã€‚ + + +### å†…æ ¸ + +代ç 执行æƒé™ç®¡æŽ§èƒ½åŠ›å¢žå¼ºï¼Œæ–°å¢žäº†ä»¥ä¸‹èƒ½åŠ›ï¼š + +- 支æŒå®‰å…¨å†…å˜æœºåˆ¶ã€‚ + +- æ供满足ä¸åŒåœºæ™¯çš„代ç 执行æƒé™ç®¡æŽ§ç–略。 + +- æ供代ç 执行æƒé™ç®¡æŽ§çš„全生命周期管ç†èƒ½åŠ›ã€‚ + +- 支æŒè§£æžå¯æ‰§è¡Œæ–‡ä»¶èŽ·å–代ç 段信æ¯ã€‚ + +- 支æŒä»£ç 页的完整性ä¿æŠ¤èƒ½åŠ›ã€‚ + + +### 驱动 + +- 扩展设备驱动框架æ供以下能力: + - 扩展设备驱动框架基于“驱动扩展Ability(DriverExtensionAbility)â€çš„能力,构建应用æ€æ‰©å±•é©±åŠ¨åŒ…çš„å¼€å‘ã€éƒ¨ç½²ã€å®‰è£…ã€æ›´æ–°ã€å¸è½½ã€è¿è¡Œèƒ½åŠ›ï¼Œå¼€æ”¾å…¨æµç¨‹ç”Ÿå‘½å‘¨æœŸç®¡ç†èƒ½åŠ›ã€‚ + - 支æŒä¸‰æ–¹è®¾å¤‡åŽ‚商开å‘çš„éžæ ‡å‡†å议的å¯æ’æ‹”USB设备扩展驱动包,æ£å¸¸å®‰è£…到OpenHarmony系统。æ’å…¥USB设备åŽï¼Œèƒ½æ£å¸¸è¯†åˆ«USB设备并与扩展驱动包匹é…。 + - 支æŒä¸‰æ–¹åº”用通过扩展外部设备管ç†æ¡†æž¶æŸ¥è¯¢å¹¶ç»‘定USB设备扩展驱动包,完æˆå¯¹æ‰©å±•é©±åŠ¨åŒ…定制功能的æ“作。 + +- 相机驱动æ供以下能力: + - æä¾›USB相机çƒæ’拔识别能力,支æŒå¼€æœºå¯åŠ¨æ£€æŸ¥è¯†åˆ«å’Œå¯åŠ¨åŽçƒæ’拔识别。 + - 支æŒUSB相机的预览ã€æ‹ç…§ã€å½•åƒèƒ½åŠ›ï¼Œæä¾›ç›¸æœºæ ¼å¼ã€åˆ†è¾¨çŽ‡æŸ¥è¯¢å’Œé…置能力。 + +- 编解ç 驱动æä¾›JPEG图片硬件解ç åŠ é€Ÿèƒ½åŠ›ï¼ŒåŒ…æ‹¬èŽ·å–硬件解ç ä¿¡æ¯ï¼Œåˆå§‹åŒ–/去åˆå§‹åŒ–,解ç ,申请/释放buffer,æå‡ç”¨æˆ·æµè§ˆå›¾ç‰‡æµç•…度体验。 + +- ä¼ æ„Ÿå™¨é©±åŠ¨æä¾›æ¸©æ¹¿åº¦ä¼ æ„Ÿå™¨è®¾å¤‡é©±åŠ¨èƒ½åŠ›ï¼Œæ”¯æŒå°åž‹è®¾å¤‡æ¸©æ¹¿åº¦å™¨ä»¶æŸ¥è¯¢ï¼Œå™¨ä»¶ä½¿èƒ½/去使能,数æ®æŸ¥è¯¢èƒ½åŠ›ï¼Œä¸°å¯Œæ™ºèƒ½è®¾å¤‡ä¼ 感器能力。 + + +## é…套关系 + +**表1** 版本软件和工具é…套关系 + +| 软件 | 版本 | 备注 | +| -------- | -------- | -------- | +| OpenHarmony | 4.0 Beta2 | NA | +| Public SDK | Ohos_sdk_public 4.0.9.6 (API Version 10 Beta2) | é¢å‘应用开å‘者æ供,ä¸åŒ…å«éœ€è¦ä½¿ç”¨ç³»ç»Ÿæƒé™çš„系统接å£ã€‚通过DevEco Studio默认获å–çš„SDK为Public SDK。 | +| HUAWEI DevEco Studio(å¯é€‰ï¼‰ | 4.0 Beta2 | OpenHarmony应用开å‘推è使用。获å–æ–¹å¼ï¼š<br />*å¾…å‘布* | +| HUAWEI DevEco Device Tool(å¯é€‰ï¼‰ | 4.0 Beta1 | OpenHarmony智能设备集æˆå¼€å‘环境推è使用。获å–æ–¹å¼ï¼š<br />[点击跳转至下载页é¢](https://device.harmonyos.com/cn/develop/ide#download) | + + +## æºç èŽ·å– + + +### å‰ææ¡ä»¶ + +1. 注册ç 云giteeå¸å·ã€‚ + +2. 注册ç 云SSH公钥,请å‚考[ç 云帮助ä¸å¿ƒ](https://gitee.com/help/articles/4191)。 + +3. 安装[git客户端](https://gitee.com/link?target=https%3A%2F%2Fgit-scm.com%2Fbook%2Fzh%2Fv2%2F%25E8%25B5%25B7%25E6%25AD%25A5-%25E5%25AE%2589%25E8%25A3%2585-Git)å’Œ[git-lfs](https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading)并é…置用户信æ¯ã€‚ + + ``` + git config --global user.name "yourname" + git config --global user.email "your-email-address" + git config --global credential.helper store + ``` + +4. 安装ç 云repo工具,å¯ä»¥æ‰§è¡Œå¦‚下命令。 + + ``` + curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo #如果没有æƒé™ï¼Œå¯ä¸‹è½½è‡³å…¶ä»–目录,并将其é…置到环境å˜é‡ä¸chmod a+x /usr/local/bin/repo + pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests + ``` + + +### 通过repoèŽ·å– + +**æ–¹å¼ä¸€ï¼ˆæŽ¨è)** + +通过repo + ssh 下载(需注册公钥,请å‚考[ç 云帮助ä¸å¿ƒ](https://gitee.com/help/articles/4191))。 + +- 从版本分支获å–æºç 。å¯èŽ·å–该版本分支的最新æºç ,包括版本å‘布åŽåœ¨è¯¥åˆ†æ”¯çš„åˆå…¥ã€‚ + ``` + repo init -u git@gitee.com:openharmony/manifest.git -b OpenHarmony-4.0-Beta2 --no-repo-verify + repo sync -c + repo forall -c 'git lfs pull' + ``` + +- 从版本å‘布Tag节点获å–æºç 。å¯èŽ·å–与版本å‘布时完全一致的æºç 。 + ``` + repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v4.0-Beta2 --no-repo-verify + repo sync -c + repo forall -c 'git lfs pull' + ``` + +**æ–¹å¼äºŒ** + +通过repo + https 下载。 + +- 从版本分支获å–æºç 。å¯èŽ·å–该版本分支的最新æºç ,包括版本å‘布åŽåœ¨è¯¥åˆ†æ”¯çš„åˆå…¥ã€‚ + ``` + repo init -u https://gitee.com/openharmony/manifest -b OpenHarmony-4.0-Beta2 --no-repo-verify + repo sync -c + repo forall -c 'git lfs pull' + ``` + +- 从版本å‘布Tag节点获å–æºç 。å¯èŽ·å–与版本å‘布时完全一致的æºç 。 + ``` + repo init -u https://gitee.com/openharmony/manifest -b refs/tags/OpenHarmony-v4.0-Beta2 --no-repo-verify + repo sync -c + repo forall -c 'git lfs pull' + ``` + + +### 从镜åƒç«™ç‚¹èŽ·å– + + **表2** 获å–æºç 路径 + +| 版本æºç | **版本信æ¯** | **下载站点** | **SHA256æ ¡éªŒç ** | **软件包容é‡** | +| --------------------------------------- | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | +| å…¨é‡ä»£ç ï¼ˆæ ‡å‡†ã€è½»é‡å’Œå°åž‹ç³»ç»Ÿï¼‰ | 4.0 Beta2 | [站点](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/code-v4.0-Beta2.tar.gz) | [SHA256æ ¡éªŒç ](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/code-v4.0-Beta2.tar.gz.sha256) | 26.2 GB | +| Hi3861解决方案(二进制) | 4.0 Beta2 | [站点](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_pegasus.tar.gz) | [SHA256æ ¡éªŒç ](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_pegasus.tar.gz.sha256) | 25.1 MB | +| Hi3516解决方案-LiteOS(二进制) | 4.0 Beta2 | [站点](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_taurus_LiteOS.tar.gz) | [SHA256æ ¡éªŒç ](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_taurus_LiteOS.tar.gz.sha256) | 287.6 MB | +| Hi3516解决方案-Linux(二进制) | 4.0 Beta2 | [站点](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_taurus_Linux.tar.gz) | [SHA256æ ¡éªŒç ](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_taurus_Linux.tar.gz.sha256) | 186.4 MB | +| RK3568æ ‡å‡†ç³»ç»Ÿè§£å†³æ–¹æ¡ˆï¼ˆäºŒè¿›åˆ¶ï¼‰ | 4.0 Beta2 | [站点](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/dayu200_standard_arm32.tar.gz) | [SHA256æ ¡éªŒç ](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/dayu200_standard_arm32.tar.gz.sha256) | 4.5 GB | +| æ ‡å‡†ç³»ç»ŸPublic SDK包(Mac) | 4.0.9.6 | [站点](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-mac-public.tar.gz) | [SHA256æ ¡éªŒç ](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-mac-public.tar.gz.sha256) | 718.2 MB | +| æ ‡å‡†ç³»ç»ŸPublic SDK包(Mac-M1) | 4.0.9.6 | [站点](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/L2-SDK-MAC-M1-PUBLIC.tar.gz) | [SHA256æ ¡éªŒç ](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/L2-SDK-MAC-M1-PUBLIC.tar.gz.sha256) | 673.2 MB | +| æ ‡å‡†ç³»ç»ŸPublic SDK包(Windows/Linux) | 4.0.9.6 | [站点](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-windows_linux-public.tar.gz) | [SHA256æ ¡éªŒç ](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-windows_linux-public.tar.gz.sha256) | 1.8 GB | + + +## 更新说明 + +本版本在OpenHarmony 4.0 Beta1的基础上有如下å˜æ›´: + +### API + +OpenHarmony 4.0 Beta2çš„API范围相比4.0 Beta1,APIå˜æ›´çš„清å•è¯·å‚è§â€œ[API差异报告](https://gitee.com/openharmony/docs/blob/OpenHarmony-4.0-Beta2/zh-cn/release-notes/api-diff/v4.0-beta1/Readme-CN.md)â€ã€‚æžå°‘é‡æŽ¥å£çš„å˜æ›´å¯èƒ½å½±å“到已开å‘的应用(使用API 9或更早版本APIå¼€å‘的应用),å˜æ›´å½±å“的说明和接å£çš„适é…指导请å‚è§â€œ[changelogs](https://gitee.com/openharmony/docs/blob/OpenHarmony-4.0-Beta1/zh-cn/release-notes/changelogs/v4.0-beta2/Readme-CN.md)â€ã€‚ + + +### 特性å˜æ›´ + +详è§[版本概述](#版本概述)。 + +### 芯片åŠå¼€å‘æ¿é€‚é… + +芯片åŠå¼€å‘æ¿é€‚é…状æ€è¯·å‚考[SIG-Devboard](https://gitee.com/openharmony/community/blob/master/sig/sig-devboard/sig_devboard_cn.md)ä¿¡æ¯ã€‚ + + +### Samples + +**表3** 新增Samples + +| å系统 | å称 | 简介 | å¼€å‘è¯è¨€ | +| -------- | -------- | -------- | -------- | +| 网络与连接 | [ä¸Šä¼ å’Œä¸‹è½½](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/Connectivity/UploadAndDownLoad) | 本示例使用\@ohos.request接å£åˆ›å»ºä¸Šä¼ å’Œä¸‹è½½ä»»åŠ¡ï¼Œå®žçŽ°ä¸Šä¼ ã€ä¸‹è½½åŠŸèƒ½ï¼Œhfs作为æœåŠ¡å™¨ï¼Œå®žçŽ°äº†æ–‡ä»¶çš„ä¸Šä¼ å’Œä¸‹è½½å’Œä»»åŠ¡çš„æŸ¥è¯¢åŠŸèƒ½ã€‚ | ArkTS | +| æ–‡ä»¶ç®¡ç† | [应用接入数æ®å¤‡ä»½æ¢å¤](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/FileManagement/FileBackupExtension)<br/>(Full SDK) | 应用接入数æ®å¤‡ä»½æ¢å¤éœ€è¦é€šè¿‡é…ç½®BackupExtensionAbility实现。<br/>BackupExtensionAbility,是Stage模型ä¸æ‰©å±•ç»„件ExtensionAbility的派生类。开å‘者å¯ä»¥é€šè¿‡ä¿®æ”¹é…置文件定制备份æ¢å¤æ¡†æž¶çš„行为,包括是å¦å…许备份æ¢å¤ï¼Œå¤‡ä»½å“ªäº›æ–‡ä»¶ç‰ã€‚<br/>本sample主è¦ç»™å¤‡ä»½æµç¨‹æ供应用,用于生æˆæ•°æ®å’Œæ˜¾ç¤ºæ•°æ®ã€‚ | ArkTS | +| 事件通知 | [è‡ªå®šä¹‰é€šçŸ¥è§’æ ‡](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/Notification/CustomNotificationBadge) | 本示例主è¦å±•ç¤ºäº†è®¾å®šåº”用的桌é¢å›¾æ ‡è§’æ ‡çš„åŠŸèƒ½ï¼Œä½¿ç”¨\@ohos.notificationManager 接å£ï¼Œè¿›è¡Œæ¡Œé¢è§’æ ‡çš„è®¾ç½®ï¼Œé€šçŸ¥çš„å‘é€ï¼ŒèŽ·å–ç‰ã€‚ | ArkTS | +| 事件通知 | [自定义通知推é€](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/Notification/CustomNotificationPush)<br/>(Full SDK) | 本示例主è¦å±•ç¤ºäº†é€šçŸ¥è¿‡æ»¤å›žè°ƒç®¡ç†çš„功能,使用\@ohos.notificationManager 接å£ï¼Œè¿›è¡Œé€šçŸ¥ç›‘å¬å›žè°ƒï¼Œå†³å®šåº”用通知是å¦å‘é€ã€‚ | ArkTS | +| NDK | [Native Xcomponent](https://gitee.com/openharmony/applications_app_samples/tree/master/code/BasicFeature/Native/NdkXComponent)<br/>(Native SDK) | 本示例ä¸ä¸»è¦ä»‹ç»å¼€å‘者如何使用Native XComponent接å£æ¥èŽ·å–NativeWindow实例ã€èŽ·å–布局/事件信æ¯ã€æ³¨å†Œäº‹ä»¶å›žè°ƒå¹¶é€šè¿‡OpenGL/EGL实现在页é¢ä¸Šç»˜åˆ¶å½¢çŠ¶ã€‚功能主è¦åŒ…括点击按钮绘制一个五角星,并å¯ä»¥é€šè¿‡ç‚¹å‡»XComponent区域改å˜äº”角星的颜色。 | Native C++ | +| 应用模型 | [æ•°æ®ä»£ç†å¡ç‰‡-æ•°æ®åº“刷新](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/PersistentProxyForm)<br/>(Full SDK) | 本示例主è¦å±•ç¤ºäº†æ•°æ®ä»£ç†å¡ç‰‡çš„功能,使用\@ohos.application.DataShareExtensionAbilityã€\@ohos.data.dataShareã€\@ohos.data.dataSharePredicatesç‰æŽ¥å£ï¼Œå®žçŽ°äº†ä¿®æ”¹å¡ç‰‡è®¢é˜…ä¿¡æ¯åŽï¼Œå½“rdbæ•°æ®åº“ä¸çš„æ•°æ®å‘生å˜åŒ–时,å¡ç‰‡ä¸å¯¹åº”ä¿¡æ¯ä¹Ÿå‘生相应å˜åŒ–的功能。 | ArkTS | +| 应用模型 | [æ•°æ®ä»£ç†å¡ç‰‡-仿push应用刷新](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/ProcessProxyForm)<br/>(Full SDK) | 本示例主è¦å±•ç¤ºäº†ä½¿ç”¨push应用形å¼çš„æ•°æ®ä»£ç†å¡ç‰‡åŠŸèƒ½ï¼Œä½¿ç”¨\@ohos.data.dataShareç‰æŽ¥å£ï¼Œå®žçŽ°äº†æ•°æ®ä»£ç†å¡ç‰‡çš„修改订阅æ¡ä»¶åŠŸèƒ½åŠå¡ç‰‡çš„å‘布数æ®åŠŸèƒ½ã€‚ | ArkTS | +| 应用模型 | [编辑应用](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/Receiver) | 本示例主è¦å®žçŽ°äº†åŸºäºŽUIExtension实现简å•çš„分享功能。支æŒå–消分享,点击“返回Shareâ€æŒ‰é’®ï¼Œè¿”回调用方应用;支æŒå®Œæˆåˆ†äº«ï¼Œç‚¹å‡»â€œç•™åœ¨ç¼–辑应用â€æŒ‰é’®ï¼Œç•™åœ¨å½“å‰æŽ¥æ”¶åˆ†äº«ç»“果应用。 | ArkTS | +| 应用模型 | [å‘起分享应用](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/Share)<br/>(Full SDK) | 本示例主è¦å®žçŽ°äº†ç‚¹å‡»â€œåˆ†äº«â€æŒ‰é’®å‘èµ·åˆ†äº«ï¼Œæ˜¾ç¤ºå‡ºåˆ†äº«æ–‡æœ¬åº”ç”¨å›¾æ ‡å’Œåˆ†äº«ç¼–è¾‘åº”ç”¨å›¾æ ‡ï¼Œç‚¹å‡»ç›¸å¯¹åº”åº”ç”¨å›¾æ ‡å¯ä»¥å‘起分享并跳转到其对应应用显示。 | ArkTS | +| 应用模型 | [文本应用](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/Template)<br/>(Full SDK) | 本示例主è¦å®žçŽ°äº†åŸºäºŽUIExtension实现简å•çš„分享功能。支æŒå–消分享,点击“返回Shareâ€æŒ‰é’®ï¼Œè¿”回调用方应用;支æŒå®Œæˆåˆ†äº«ï¼Œç‚¹å‡»â€œç•™åœ¨æ–‡æœ¬åº”用â€æŒ‰é’®ï¼Œç•™åœ¨å½“å‰æ–‡æœ¬åº”用。 | ArkTS | + +请访问[Samples](https://gitee.com/openharmony/applications_app_samples)仓了解更多信æ¯ã€‚ + + +## ä¿®å¤ç¼ºé™·åˆ—表 + +**表4** ä¿®å¤ç¼ºé™·ISSUE列表 + +| ISSUEå• | 问题æè¿° | +| -------- | -------- | +| I6U4ZT | æ‹ç…§åŽç«‹åˆ»æ–电æºï¼Œå›¾åº“çš„ç¬¬ä¸€å¼ å›¾ç‰‡ç‚¹å‡»æ‰“ä¸å¼€ã€‚ | +| I79752 | ä¸æ¦‚率由进程com.ohos.smartperf下的.ohos.smartperf线程导致libark_jsruntime.so出现cppcrash。 | +| I79P3K | 低概率由进程com.ohos.callui导致jscrashï¼Œæ ˆå:onDestroy。 | +| I79TCB | 低概率由进程com.ohos.note下的VizCompositorTh线程导致libweb_engine.soTh出现cppcrash。 | +| I78CBC | åå¤è¿›å…¥æŸç›¸å†Œçš„å›¾ç‰‡å®«æ ¼æµè§ˆç•Œé¢ï¼Œå¯¼è‡´libace.z.so出现内å˜æ³„露。 | +| I78C9W | åå¤è¿›å…¥å¤§å›¾æµè§ˆç•Œé¢åŽè¿”回,导致libace.z.so出现内å˜æ³„露。 | + + +## é—留缺陷列表 + +**表5** é—留缺陷列表 + +| ISSUE | 问题æè¿° | å½±å“ | 计划解决日期 | +| -------- | -------- | -------- | -------- | +| I78CH7 | åå¤åœ¨dockæ æ·»åŠ /移除应用,导致libace.z.so出现内å˜æ³„露。 | éžå¸¸ç”¨åœºæ™¯ï¼Œåº”用é‡å¯åŽæ³„露问题消失,影å“å¯æŽ§ã€‚ | 2023å¹´8月30æ—¥ | +| I7BF3M | 长时间è¿è¡Œæµ‹è¯•ï¼Œlauncher进程概率性出现appfreezeï¼ŒåŽŸå› æ˜¯STRINGID:APPLICATION_BLOCK_INPUTå¡åœ¨libeventhandler.z.so。 | 该问题ä¸ä¼šå¼•èµ·ç³»ç»Ÿé‡å¯ï¼Œæ•´ä½“å½±å“å¯æŽ§ã€‚ | 2023å¹´8月30æ—¥ | +| I7M51R | 低概率出现进程com.ohos.systemui下的线程render_service出现cppcrash。 | 低概率问题,且render_service进程出现cppcrashåŽï¼Œç³»ç»Ÿä¼šè‡ªåŠ¨é‡æ–°å¯åŠ¨render_service进程,对业务影å“å¯æŽ§ã€‚ | 2023å¹´8月30æ—¥ | +| I7L2CF | SystemUI内å˜æ³„æ¼ï¼šåå¤æ‰§è¡Œä¸‹æ‹‰ä»»åŠ¡æ æ“作,压力测试执行24å°æ—¶ï¼Œæ³„露60MB。 | å•æ¬¡æ‰§è¡Œä¸‹æ‹‰ä»»åŠ¡æ æ“作,泄露é‡åœ¨å‡ KB,影å“å¯æŽ§ã€‚ | 2023å¹´8月30æ—¥ | \ No newline at end of file diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/Readme-CN.md b/zh-cn/release-notes/api-diff/v4.0-beta2/Readme-CN.md new file mode 100644 index 0000000000000000000000000000000000000000..0615e586b47d2deeb3332ac50259e31a9709adcc --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/Readme-CN.md @@ -0,0 +1,34 @@ +# Readme + +- [元能力](js-apidiff-ability.md) +- [å¸å·](js-apidiff-account.md) +- [AI](js-apidiff-ai.md) +- [应用](js-apidiff-application.md) +- [ArkUI](js-apidiff-arkui.md) +- [电æºç®¡ç†](js-apidiff-battery.md) +- [包管ç†](js-apidiff-bundle.md) +- [网络与通信](js-apidiff-communication.md) +- [è¯è¨€ç¼–译器è¿è¡Œæ—¶](js-apidiff-compiler-and-runtime.md) +- [定制](js-apidiff-customization.md) +- [DFX](js-apidiff-dfx.md) +- [分布å¼æ•°æ®ç®¡ç†](js-apidiff-distributed-data.md) +- [分布å¼ç¡¬ä»¶](js-apidiff-distributed-hardware.md) +- [ä¸Šä¼ ä¸‹è½½](js-apidiff-download-upload.md) +- [驱动](js-apidiff-driver.md) +- [文件管ç†](js-apidiff-file-management.md) +- [ä½ç½®æœåŠ¡](js-apidiff-geolocation.md) +- [å…¨çƒåŒ–](js-apidiff-global.md) +- [Misc软件](js-apidiff-misc.md) +- [MSDP](js-apidiff-msdp.md) +- [多模输入](js-apidiff-multi-modal-input.md) +- [媒体](js-apidiff-multimedia.md) +- [事件通知](js-apidiff-notification.md) +- [资æºè°ƒåº¦](js-apidiff-resource-scheduler.md) +- [安全](js-apidiff-security.md) +- [æ³›Sensor](js-apidiff-sensor.md) +- [å¯åŠ¨](js-apidiff-start-up.md) +- [电è¯æœåŠ¡](js-apidiff-telephony.md) +- [测试框架](js-apidiff-unitest.md) +- [USB](js-apidiff-usb.md) +- [Web](js-apidiff-web.md) +- [窗å£](js-apidiff-window.md) diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-ability.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-ability.md new file mode 100644 index 0000000000000000000000000000000000000000..9c30bf21e5cd172e7190072c7dd8d4063b80b40a --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-ability.md @@ -0,0 +1,746 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:LastExitReason;<br>方法or属性:CPP_CRASH = 3|@ohos.app.ability.AbilityConstant.d.ts| +|新增|NA|ç±»å:LastExitReason;<br>方法or属性:JS_ERROR = 4|@ohos.app.ability.AbilityConstant.d.ts| +|新增|NA|ç±»å:LastExitReason;<br>方法or属性:APP_FREEZE = 5|@ohos.app.ability.AbilityConstant.d.ts| +|新增|NA|ç±»å:LastExitReason;<br>方法or属性:PERFORMANCE_CONTROL = 6|@ohos.app.ability.AbilityConstant.d.ts| +|新增|NA|ç±»å:LastExitReason;<br>方法or属性:RESOURCE_CONTROL = 7|@ohos.app.ability.AbilityConstant.d.ts| +|新增|NA|ç±»å:LastExitReason;<br>方法or属性:UPGRADE = 8|@ohos.app.ability.AbilityConstant.d.ts| +|新增|NA|ç±»å:ContinueState;<br>方法or属性:ACTIVE = 0|@ohos.app.ability.AbilityConstant.d.ts| +|新增|NA|ç±»å:ContinueState;<br>方法or属性:INACTIVE = 1|@ohos.app.ability.AbilityConstant.d.ts| +|新增|NA|ç±»å:abilityManager;<br>方法or属性:function notifySaveAsResult(parameter: AbilityResult, requestCode: number, callback: AsyncCallback\<void>): void;|@ohos.app.ability.abilityManager.d.ts| +|新增|NA|ç±»å:abilityManager;<br>方法or属性:function notifySaveAsResult(parameter: AbilityResult, requestCode: number): Promise\<void>;|@ohos.app.ability.abilityManager.d.ts| +|新增|NA|ç±»å:ApplicationStateChangeCallback;<br>方法or属性:onApplicationForeground(): void;|@ohos.app.ability.ApplicationStateChangeCallback.d.ts| +|新增|NA|ç±»å:ApplicationStateChangeCallback;<br>方法or属性:onApplicationBackground(): void;|@ohos.app.ability.ApplicationStateChangeCallback.d.ts| +|新增|NA|ç±»å:appManager;<br>方法or属性:function getProcessMemoryByPid(pid: number): Promise\<number>;|@ohos.app.ability.appManager.d.ts| +|新增|NA|ç±»å:appManager;<br>方法or属性:function getProcessMemoryByPid(pid: number, callback: AsyncCallback\<number>): void;|@ohos.app.ability.appManager.d.ts| +|新增|NA|ç±»å:appManager;<br>方法or属性:function getRunningProcessInfoByBundleName(bundleName: string, callback: AsyncCallback\<Array\<ProcessInformation>>): void;|@ohos.app.ability.appManager.d.ts| +|新增|NA|ç±»å:appManager;<br>方法or属性:function getRunningProcessInfoByBundleName(bundleName: string, userId: number, callback: AsyncCallback\<Array\<ProcessInformation>>): void;|@ohos.app.ability.appManager.d.ts| +|新增|NA|ç±»å:appManager;<br>方法or属性:function getRunningProcessInfoByBundleName(bundleName: string): Promise\<Array\<ProcessInformation>>;|@ohos.app.ability.appManager.d.ts| +|新增|NA|ç±»å:appManager;<br>方法or属性:function getRunningProcessInfoByBundleName(bundleName: string, userId: number): Promise\<Array\<ProcessInformation>>;|@ohos.app.ability.appManager.d.ts| +|新增|NA|ç±»å:WindowRect;<br>方法or属性:left: number;|@ohos.app.ability.dialogRequest.d.ts| +|新增|NA|ç±»å:WindowRect;<br>方法or属性:top: number;|@ohos.app.ability.dialogRequest.d.ts| +|新增|NA|ç±»å:WindowRect;<br>方法or属性:width: number;|@ohos.app.ability.dialogRequest.d.ts| +|新增|NA|ç±»å:WindowRect;<br>方法or属性:height: number;|@ohos.app.ability.dialogRequest.d.ts| +|新增|NA|ç±»å:RequestInfo;<br>方法or属性:windowRect?: WindowRect|@ohos.app.ability.dialogRequest.d.ts| +|新增|NA|ç±»å:RequestResult;<br>方法or属性:want?: Want;|@ohos.app.ability.dialogRequest.d.ts| +|新增|NA|ç±»å:missionManager;<br>方法or属性:function moveMissionsToForeground(missionIds: Array\<number>, callback: AsyncCallback\<void>): void;|@ohos.app.ability.missionManager.d.ts| +|新增|NA|ç±»å:missionManager;<br>方法or属性:function moveMissionsToForeground(missionIds: Array\<number>, topMission: number, callback: AsyncCallback\<void>): void;|@ohos.app.ability.missionManager.d.ts| +|新增|NA|ç±»å:missionManager;<br>方法or属性:function moveMissionsToForeground(missionIds: Array\<number>, topMission?: number): Promise\<void>;|@ohos.app.ability.missionManager.d.ts| +|新增|NA|ç±»å:missionManager;<br>方法or属性:function moveMissionsToBackground(missionIds: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;|@ohos.app.ability.missionManager.d.ts| +|新增|NA|ç±»å:missionManager;<br>方法or属性:function moveMissionsToBackground(missionIds: Array\<number>): Promise\<Array\<number>>;|@ohos.app.ability.missionManager.d.ts| +|新增|NA|ç±»å:UIAbility;<br>方法or属性:onPrepareToTerminate(): boolean;|@ohos.app.ability.UIAbility.d.ts| +|新增|NA|ç±»å:UIAbility;<br>方法or属性:onBackPressed(): boolean;|@ohos.app.ability.UIAbility.d.ts| +|新增|NA|ç±»å:UIExtensionAbility;<br>方法or属性:context: UIExtensionContext;|@ohos.app.ability.UIExtensionAbility.d.ts| +|新增|NA|ç±»å:UIExtensionAbility;<br>方法or属性:onCreate(): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|新增|NA|ç±»å:UIExtensionAbility;<br>方法or属性:onSessionCreate(want: Want, session: UIExtensionContentSession): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|新增|NA|ç±»å:UIExtensionAbility;<br>方法or属性:onSessionDestroy(session: UIExtensionContentSession): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|新增|NA|ç±»å:UIExtensionAbility;<br>方法or属性:onForeground(): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|新增|NA|ç±»å:UIExtensionAbility;<br>方法or属性:onBackground(): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|新增|NA|ç±»å:UIExtensionAbility;<br>方法or属性:onDestroy(): void \| Promise\<void>;|@ohos.app.ability.UIExtensionAbility.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:sendData(data: { [key: string]: Object }): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:setReceiveDataCallback(callback: (data: { [key: string]: Object }) => void): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:loadContent(path: string, storage?: LocalStorage): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:terminateSelf(callback: AsyncCallback\<void>): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:terminateSelf(): Promise\<void>;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback\<void>): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:terminateSelfWithResult(parameter: AbilityResult): Promise\<void>;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:setWindowBackgroundColor(color: string): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:setWindowPrivacyMode(isPrivacyMode: boolean): Promise\<void>;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:UIExtensionContentSession;<br>方法or属性:setWindowPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback\<void>): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|新增|NA|ç±»å:Params;<br>方法or属性:SUPPORT_CONTINUE_PAGE_STACK_KEY = 'ohos.extra.param.key.supportContinuePageStack'|@ohos.app.ability.wantConstant.d.ts| +|新增|NA|ç±»å:Params;<br>方法or属性:SUPPORT_CONTINUE_SOURCE_EXIT_KEY = 'ohos.extra.param.key.supportContinueSourceExit'|@ohos.app.ability.wantConstant.d.ts| +|新增|NA|ç±»å:FormBindingData;<br>方法or属性:proxies?: Array\<ProxyData>;|@ohos.app.form.formBindingData.d.ts| +|新增|NA|ç±»å:ProxyData;<br>方法or属性:key: string;|@ohos.app.form.formBindingData.d.ts| +|新增|NA|ç±»å:ProxyData;<br>方法or属性:subscriberId?: string;|@ohos.app.form.formBindingData.d.ts| +|新增|NA|ç±»å:formHost;<br>方法or属性:function on(<br> type: 'notifyVisible',<br> observerCallback: Callback\<Array\<formInfo.RunningFormInfo>>,<br> hostBundleName?: string<br> ): void;|@ohos.app.form.formHost.d.ts| +|新增|NA|ç±»å:formHost;<br>方法or属性:function on(<br> type: 'notifyInvisible',<br> observerCallback: Callback\<Array\<formInfo.RunningFormInfo>>,<br> hostBundleName?: string<br> ): void;|@ohos.app.form.formHost.d.ts| +|新增|NA|ç±»å:formHost;<br>方法or属性:function off(<br> type: 'notifyVisible',<br> observerCallback?: Callback\<Array\<formInfo.RunningFormInfo>>,<br> hostBundleName?: string<br> ): void;|@ohos.app.form.formHost.d.ts| +|新增|NA|ç±»å:formHost;<br>方法or属性:function off(<br> type: 'notifyInvisible',<br> observerCallback?: Callback\<Array\<formInfo.RunningFormInfo>>,<br> hostBundleName?: string<br> ): void;|@ohos.app.form.formHost.d.ts| +|新增|NA|ç±»å:FormInfo;<br>方法or属性:isDynamic: boolean;|@ohos.app.form.formInfo.d.ts| +|新增|NA|ç±»å:distributedMissionManager;<br>方法or属性:function on(type: 'continueStateChange', callback: Callback\<{ state: ContinueState, info: ContinuableInfo }>): void;|@ohos.distributedMissionManager.d.ts| +|新增|NA|ç±»å:distributedMissionManager;<br>方法or属性:function off(type: 'continueStateChange', callback?: Callback\<{ state: ContinueState, info: ContinuableInfo }>): void;|@ohos.distributedMissionManager.d.ts| +|新增|NA|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(parameter: ContinueMissionInfo, callback: AsyncCallback\<void>): void;|@ohos.distributedMissionManager.d.ts| +|新增|NA|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(parameter: ContinueMissionInfo): Promise\<void>;|@ohos.distributedMissionManager.d.ts| +|新增|NA|ç±»å:distributedMissionManager;<br>方法or属性:export type ContinuableInfo = _ContinuableInfo;|@ohos.distributedMissionManager.d.ts| +|新增|NA|ç±»å:distributedMissionManager;<br>方法or属性:export type ContinueMissionInfo = _ContinueMissionInfo;|@ohos.distributedMissionManager.d.ts| +|新增|NA|ç±»å:ContinueState;<br>方法or属性:ACTIVE = 0|@ohos.distributedMissionManager.d.ts| +|新增|NA|ç±»å:ContinueState;<br>方法or属性:INACTIVE = 1|@ohos.distributedMissionManager.d.ts| +|新增|NA|ç±»å:ApplicationContext;<br>方法or属性:on(type: 'applicationStateChange', callback: ApplicationStateChangeCallback): void;|ApplicationContext.d.ts| +|新增|NA|ç±»å:ApplicationContext;<br>方法or属性:off(type: 'applicationStateChange', callback?: ApplicationStateChangeCallback): void;|ApplicationContext.d.ts| +|新增|NA|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly bundleName: string;|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly moduleName: string;|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly name: string;|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly labelId: number;|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly descriptionId: number;|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly iconId: number;|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly businessType: businessAbilityRouter.BusinessType;|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly applicationInfo: ApplicationInfo;|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:Context;<br>方法or属性:getGroupDir(dataGroupID: string, callback: AsyncCallback\<string>): void;|Context.d.ts| +|新增|NA|ç±»å:Context;<br>方法or属性:getGroupDir(dataGroupID: string): Promise\<string>;|Context.d.ts| +|新增|NA|ç±»å:ContinuableInfo;<br>方法or属性:srcDeviceId: string;|ContinuableInfo.d.ts| +|新增|NA|ç±»å:ContinuableInfo;<br>方法or属性:bundleName: string;|ContinuableInfo.d.ts| +|新增|NA|ç±»å:ContinueMissionInfo;<br>方法or属性:srcDeviceId: string;|ContinueMissionInfo.d.ts| +|新增|NA|ç±»å:ContinueMissionInfo;<br>方法or属性:dstDeviceId: string;|ContinueMissionInfo.d.ts| +|新增|NA|ç±»å:ContinueMissionInfo;<br>方法or属性:bundleName: string;|ContinueMissionInfo.d.ts| +|新增|NA|ç±»å:ContinueMissionInfo;<br>方法or属性:wantParam: { [key: string]: Object };|ContinueMissionInfo.d.ts| +|新增|NA|ç±»å:FormExtensionContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;|FormExtensionContext.d.ts| +|新增|NA|ç±»å:FormExtensionContext;<br>方法or属性:disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback\<void>): void;|FormExtensionContext.d.ts| +|新增|NA|ç±»å:FormExtensionContext;<br>方法or属性:disconnectServiceExtensionAbility(connection: number): Promise\<void>;|FormExtensionContext.d.ts| +|新增|NA|ç±»å:MissionInfo;<br>方法or属性:abilityState: number;|MissionInfo.d.ts| +|新增|NA|ç±»å:MissionInfo;<br>方法or属性:unclearable: boolean;|MissionInfo.d.ts| +|新增|NA|ç±»å:ProcessInformation;<br>方法or属性:state: appManager.ProcessState;|ProcessInformation.d.ts| +|新增|NA|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityAsCaller(want: Want, callback: AsyncCallback\<void>): void;|ServiceExtensionContext.d.ts| +|新增|NA|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityAsCaller(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;|ServiceExtensionContext.d.ts| +|新增|NA|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityAsCaller(want: Want, options?: StartOptions): Promise\<void>;|ServiceExtensionContext.d.ts| +|新增|NA|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityAsCaller(want: Want, callback: AsyncCallback\<void>): void;|UIAbilityContext.d.ts| +|新增|NA|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityAsCaller(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;|UIAbilityContext.d.ts| +|新增|NA|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityAsCaller(want: Want, options?: StartOptions): Promise\<void>;|UIAbilityContext.d.ts| +|新增|NA|ç±»å:UIAbilityContext;<br>方法or属性:setMissionContinueState(state: AbilityConstant.ContinueState, callback: AsyncCallback\<void>): void;|UIAbilityContext.d.ts| +|新增|NA|ç±»å:UIAbilityContext;<br>方法or属性:setMissionContinueState(state: AbilityConstant.ContinueState): Promise\<void>;|UIAbilityContext.d.ts| +|新增|NA|ç±»å:UIAbilityContext;<br>方法or属性:reportDrawnCompleted(callback: AsyncCallback\<void>): void;|UIAbilityContext.d.ts| +|新增|NA|ç±»å:UIExtensionContext;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;|UIExtensionContext.d.ts| +|新增|NA|ç±»å:UIExtensionContext;<br>方法or属性:startAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;|UIExtensionContext.d.ts| +|新增|NA|ç±»å:UIExtensionContext;<br>方法or属性:startAbility(want: Want, options?: StartOptions): Promise\<void>;|UIExtensionContext.d.ts| +|新增|NA|ç±»å:UIExtensionContext;<br>方法or属性:startAbilityForResult(want: Want, callback: AsyncCallback\<AbilityResult>): void;|UIExtensionContext.d.ts| +|新增|NA|ç±»å:UIExtensionContext;<br>方法or属性:startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback\<AbilityResult>): void;|UIExtensionContext.d.ts| +|新增|NA|ç±»å:UIExtensionContext;<br>方法or属性:startAbilityForResult(want: Want, options?: StartOptions): Promise\<AbilityResult>;|UIExtensionContext.d.ts| +|废弃版本有å˜åŒ–|ç±»å:LastExitReason;<br>方法or属性:ABILITY_NOT_RESPONDING = 1<br>旧版本信æ¯ï¼š|ç±»å:LastExitReason;<br>方法or属性:ABILITY_NOT_RESPONDING = 1<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AbilityConstant.LastExitReason#APP_FREEZE|@ohos.app.ability.AbilityConstant.d.ts| +|废弃版本有å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceConnect', callback?: Callback\<ContinuationResult>): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceConnect', callback?: Callback\<ContinuationResult>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.continuation.continuationManager/continuationManager#off|@ohos.continuation.continuationManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceDisconnect', callback?: Callback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceDisconnect', callback?: Callback\<string>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.continuation.continuationManager/continuationManager#off|@ohos.continuation.continuationManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function register(options: ContinuationExtraParams, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function register(options: ContinuationExtraParams, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.continuation.continuationManager/continuationManager#registerContinuation|@ohos.continuation.continuationManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function register(options?: ContinuationExtraParams): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function register(options?: ContinuationExtraParams): Promise\<number>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.continuation.continuationManager/continuationManager#registerContinuation|@ohos.continuation.continuationManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function unregister(token: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function unregister(token: number): Promise\<void>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.continuation.continuationManager/continuationManager#unregisterContinuation|@ohos.continuation.continuationManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function updateConnectStatus(token: number, deviceId: string, status: DeviceConnectState): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function updateConnectStatus(token: number, deviceId: string, status: DeviceConnectState): Promise\<void>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.continuation.continuationManager/continuationManager#updateContinuationState|@ohos.continuation.continuationManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function startDeviceManager(token: number, options: ContinuationExtraParams, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function startDeviceManager(token: number, options: ContinuationExtraParams, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager|@ohos.continuation.continuationManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function startDeviceManager(token: number, options?: ContinuationExtraParams): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function startDeviceManager(token: number, options?: ContinuationExtraParams): Promise\<void>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager|@ohos.continuation.continuationManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Context;<br>方法or属性:getExternalCacheDir(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getExternalCacheDir(): Promise\<string>;<br>新版本信æ¯ï¼š7<br>代替接å£ï¼š|context.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Context;<br>方法or属性:setShowOnLockScreen(show: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:setShowOnLockScreen(show: boolean): Promise\<void>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.window/window.WindowStage#setShowOnLockScreen|context.d.ts| +|新增(错误ç )|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceSelected', token: number): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceSelected', token: number): void;<br>新版本信æ¯ï¼š201,401,16600001,16600002,16600004|@ohos.continuation.continuationManager.d.ts| +|新增(错误ç )|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceUnselected', token: number): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceUnselected', token: number): void;<br>新版本信æ¯ï¼š201,401,16600001,16600002,16600004|@ohos.continuation.continuationManager.d.ts| +|新增(错误ç )|ç±»å:continuationManager;<br>方法or属性:function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š201,401,16600001,16600003|@ohos.continuation.continuationManager.d.ts| +|新增(错误ç )|ç±»å:continuationManager;<br>方法or属性:function registerContinuation(options?: ContinuationExtraParams): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function registerContinuation(options?: ContinuationExtraParams): Promise\<number>;<br>新版本信æ¯ï¼š201,401,16600001,16600003|@ohos.continuation.continuationManager.d.ts| +|新增(错误ç )|ç±»å:continuationManager;<br>方法or属性:function unregisterContinuation(token: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function unregisterContinuation(token: number): Promise\<void>;<br>新版本信æ¯ï¼š201,401,16600001,16600002|@ohos.continuation.continuationManager.d.ts| +|新增(错误ç )|ç±»å:continuationManager;<br>方法or属性:function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise\<void>;<br>新版本信æ¯ï¼š201,401,16600001,16600002|@ohos.continuation.continuationManager.d.ts| +|新增(错误ç )|ç±»å:continuationManager;<br>方法or属性:function startContinuationDeviceManager(<br> token: number,<br> options: ContinuationExtraParams,<br> callback: AsyncCallback\<void><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function startContinuationDeviceManager(<br> token: number,<br> options: ContinuationExtraParams,<br> callback: AsyncCallback\<void><br> ): void;<br>新版本信æ¯ï¼š201,401,16600001,16600002|@ohos.continuation.continuationManager.d.ts| +|新增(错误ç )|ç±»å:continuationManager;<br>方法or属性:function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise\<void>;<br>新版本信æ¯ï¼š201,401,16600001,16600002|@ohos.continuation.continuationManager.d.ts| +|新增(错误ç )|ç±»å:distributedMissionManager;<br>方法or属性:function startSyncRemoteMissions(parameter: MissionParameter): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function startSyncRemoteMissions(parameter: MissionParameter): Promise\<void>;<br>新版本信æ¯ï¼š201,401|@ohos.distributedMissionManager.d.ts| +|新增(错误ç )|ç±»å:distributedMissionManager;<br>方法or属性:function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\<void>;<br>新版本信æ¯ï¼š201,401|@ohos.distributedMissionManager.d.ts| +|新增(错误ç )|ç±»å:distributedMissionManager;<br>方法or属性:function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\<void>;<br>新版本信æ¯ï¼š201,401|@ohos.distributedMissionManager.d.ts| +|新增(错误ç )|ç±»å:distributedMissionManager;<br>方法or属性:function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\<void>;<br>新版本信æ¯ï¼š201,401|@ohos.distributedMissionManager.d.ts| +|新增(错误ç )|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16300501,16300502,16300503,16300504,16300505,16300506|@ohos.distributedMissionManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:uriPermissionManager;<br>方法or属性:function grantUriPermission(<br><br> uri: string,<br><br> flag: wantConstant.Flags,<br><br> targetBundleName: string,<br><br> callback: AsyncCallback\<number><br><br> ): void;<br>旧版本信æ¯ï¼š201,202,401,16000050,16000058,16000059|ç±»å:uriPermissionManager;<br>方法or属性:function grantUriPermission(<br><br> uri: string,<br><br> flag: wantConstant.Flags,<br><br> targetBundleName: string,<br><br> callback: AsyncCallback\<number><br><br> ): void;<br>新版本信æ¯ï¼š201,202,401,16000050,16000058,16000059,16000060|@ohos.application.uriPermissionManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:uriPermissionManager;<br>方法or属性:function grantUriPermission(uri: string, flag: wantConstant.Flags, targetBundleName: string): Promise\<number>;<br>旧版本信æ¯ï¼š201,202,401,16000050,16000058,16000059|ç±»å:uriPermissionManager;<br>方法or属性:function grantUriPermission(uri: string, flag: wantConstant.Flags, targetBundleName: string): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,16000050,16000058,16000059,16000060|@ohos.application.uriPermissionManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(<br><br> parameter: ContinueDeviceInfo,<br><br> options: ContinueCallback,<br><br> callback: AsyncCallback\<void><br><br> ): void;<br>旧版本信æ¯ï¼š201,401,16300501,16300502,16300503,16300504,16300505,16300506|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(<br><br> parameter: ContinueDeviceInfo,<br><br> options: ContinueCallback,<br><br> callback: AsyncCallback\<void><br><br> ): void;<br>新版本信æ¯ï¼š201,202,401,16300501,16300502,16300503,16300504,16300505,16300506|@ohos.distributedMissionManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AbilityDelegator;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:AbilityDelegator;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|AbilityDelegator.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AbilityDelegator;<br>方法or属性:startAbility(want: Want): Promise\<void>;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:AbilityDelegator;<br>方法or属性:startAbility(want: Want): Promise\<void>;<br>新版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|AbilityDelegator.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001,201,202,401|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001,201,202,401|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbility(want: Want): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbility(want: Want): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:stopServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:stopServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:stopServiceExtensionAbility(want: Want): Promise\<void>;<br>旧版本信æ¯ï¼š202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:stopServiceExtensionAbility(want: Want): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:terminateSelf(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000004,16000005,16000009,16000011,16000050|ç±»å:ServiceExtensionContext;<br>方法or属性:terminateSelf(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,16000009,16000011,16000050|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:terminateSelf(): Promise\<void>;<br>旧版本信æ¯ï¼š16000001,16000004,16000005,16000009,16000011,16000050|ç±»å:ServiceExtensionContext;<br>方法or属性:terminateSelf(): Promise\<void>;<br>新版本信æ¯ï¼š16000009,16000011,16000050|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>旧版本信æ¯ï¼š201,401,16000001,16000005,16000011,16000050|ç±»å:ServiceExtensionContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16000053,16000055|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000005,16000011,16000050|ç±»å:ServiceExtensionContext;<br>方法or属性:connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16000053,16000055|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityByCall(want: Want): Promise\<Caller>;<br>旧版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityByCall(want: Want): Promise\<Caller>;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000006,16000008,16000011,16000050|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityByCallWithAccount(want: Want, accountId: number): Promise\<Caller>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityByCallWithAccount(want: Want, accountId: number): Promise\<Caller>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startRecentAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startRecentAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startRecentAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startRecentAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startRecentAbility(want: Want, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:ServiceExtensionContext;<br>方法or属性:startRecentAbility(want: Want, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbility(want: Want, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbility(want: Want, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityByCall(want: Want): Promise\<Caller>;<br>旧版本信æ¯ï¼š16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16200001,201,401|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityByCall(want: Want): Promise\<Caller>;<br>新版本信æ¯ï¼š16000001,16000002,16000004,16000006,16000008,16000011,16000012,16000013,16000050,201,401|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityByCallWithAccount(want: Want, accountId: number): Promise\<Caller>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityByCallWithAccount(want: Want, accountId: number): Promise\<Caller>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001,201,202,401|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001,201,202,401|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResult(want: Want, callback: AsyncCallback\<AbilityResult>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResult(want: Want, callback: AsyncCallback\<AbilityResult>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback\<AbilityResult>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback\<AbilityResult>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResult(want: Want, options?: StartOptions): Promise\<AbilityResult>;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResult(want: Want, options?: StartOptions): Promise\<AbilityResult>;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback\<AbilityResult>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback\<AbilityResult>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResultWithAccount(<br> want: Want,<br> accountId: number,<br> options: StartOptions,<br> callback: AsyncCallback\<void><br> ): void;<br>旧版本信æ¯ï¼š16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001,201,202,401|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResultWithAccount(<br> want: Want,<br> accountId: number,<br> options: StartOptions,<br> callback: AsyncCallback\<void><br> ): void;<br>新版本信æ¯ï¼š16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001,201,202,401|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\<AbilityResult>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\<AbilityResult>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbility(want: Want): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbility(want: Want): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:stopServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:stopServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:stopServiceExtensionAbility(want: Want): Promise\<void>;<br>旧版本信æ¯ï¼š202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:stopServiceExtensionAbility(want: Want): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|ç±»å:UIAbilityContext;<br>方法or属性:stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:terminateSelf(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000004,16000005,16000009,16000011,16000050|ç±»å:UIAbilityContext;<br>方法or属性:terminateSelf(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,16000009,16000011,16000050|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:terminateSelf(): Promise\<void>;<br>旧版本信æ¯ï¼š16000001,16000004,16000005,16000009,16000011,16000050|ç±»å:UIAbilityContext;<br>方法or属性:terminateSelf(): Promise\<void>;<br>新版本信æ¯ï¼š16000009,16000011,16000050|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000004,16000005,16000009,16000011,16000050|ç±»å:UIAbilityContext;<br>方法or属性:terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,16000009,16000011,16000050|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:terminateSelfWithResult(parameter: AbilityResult): Promise\<void>;<br>旧版本信æ¯ï¼š401,16000001,16000004,16000005,16000009,16000011,16000050|ç±»å:UIAbilityContext;<br>方法or属性:terminateSelfWithResult(parameter: AbilityResult): Promise\<void>;<br>新版本信æ¯ï¼š401,16000009,16000011,16000050|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>旧版本信æ¯ï¼š201,401,16000001,16000005,16000011,16000050|ç±»å:UIAbilityContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16000053,16000055|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;<br>旧版本信æ¯ï¼š201,202,401,16000001,16000005,16000011,16000050|ç±»å:UIAbilityContext;<br>方法or属性:connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;<br>新版本信æ¯ï¼š201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16000053,16000055|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:setMissionIcon(icon: image.PixelMap, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000011,16000050|ç±»å:UIAbilityContext;<br>方法or属性:setMissionIcon(icon: image.PixelMap, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,16000011,16000050|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:setMissionIcon(icon: image.PixelMap): Promise\<void>;<br>旧版本信æ¯ï¼š401,16000011,16000050|ç±»å:UIAbilityContext;<br>方法or属性:setMissionIcon(icon: image.PixelMap): Promise\<void>;<br>新版本信æ¯ï¼š202,401,16000011,16000050|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startRecentAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startRecentAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startRecentAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startRecentAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startRecentAbility(want: Want, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:startRecentAbility(want: Want, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:requestDialogService(want: Want, result: AsyncCallback\<dialogRequest.RequestResult>): void;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:requestDialogService(want: Want, result: AsyncCallback\<dialogRequest.RequestResult>): void;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|错误ç 有å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:requestDialogService(want: Want): Promise\<dialogRequest.RequestResult>;<br>旧版本信æ¯ï¼š401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ç±»å:UIAbilityContext;<br>方法or属性:requestDialogService(want: Want): Promise\<dialogRequest.RequestResult>;<br>新版本信æ¯ï¼š201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_UNDEFINED = 0<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_UNDEFINED = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.AbilityConstant.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_FULLSCREEN = 1<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_FULLSCREEN = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.AbilityConstant.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_SPLIT_PRIMARY = 100<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_SPLIT_PRIMARY = 100<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.AbilityConstant.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_SPLIT_SECONDARY = 101<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_SPLIT_SECONDARY = 101<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.AbilityConstant.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_FLOATING = 102<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_FLOATING = 102<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.AbilityConstant.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:INITIAL = 0<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:INITIAL = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:FOCUS = 2<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:FOCUS = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:FOREGROUND = 9<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:FOREGROUND = 9<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:BACKGROUND = 10<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:BACKGROUND = 10<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:FOREGROUNDING = 11<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:FOREGROUNDING = 11<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:BACKGROUNDING = 12<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:BACKGROUNDING = 12<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ApplicationState;<br>方法or属性:STATE_CREATE<br>旧版本信æ¯ï¼š|ç±»å:ApplicationState;<br>方法or属性:STATE_CREATE<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ProcessState;<br>方法or属性:STATE_CREATE<br>旧版本信æ¯ï¼š|ç±»å:ProcessState;<br>方法or属性:STATE_CREATE<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ApplicationState;<br>方法or属性:STATE_FOREGROUND<br>旧版本信æ¯ï¼š|ç±»å:ApplicationState;<br>方法or属性:STATE_FOREGROUND<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ProcessState;<br>方法or属性:STATE_FOREGROUND<br>旧版本信æ¯ï¼š|ç±»å:ProcessState;<br>方法or属性:STATE_FOREGROUND<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ApplicationState;<br>方法or属性:STATE_ACTIVE<br>旧版本信æ¯ï¼š|ç±»å:ApplicationState;<br>方法or属性:STATE_ACTIVE<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ProcessState;<br>方法or属性:STATE_ACTIVE<br>旧版本信æ¯ï¼š|ç±»å:ProcessState;<br>方法or属性:STATE_ACTIVE<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ApplicationState;<br>方法or属性:STATE_BACKGROUND<br>旧版本信æ¯ï¼š|ç±»å:ApplicationState;<br>方法or属性:STATE_BACKGROUND<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ProcessState;<br>方法or属性:STATE_BACKGROUND<br>旧版本信æ¯ï¼š|ç±»å:ProcessState;<br>方法or属性:STATE_BACKGROUND<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ApplicationState;<br>方法or属性:STATE_DESTROY<br>旧版本信æ¯ï¼š|ç±»å:ApplicationState;<br>方法or属性:STATE_DESTROY<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ProcessState;<br>方法or属性:STATE_DESTROY<br>旧版本信æ¯ï¼š|ç±»å:ProcessState;<br>方法or属性:STATE_DESTROY<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function on(type: 'mission', listener: MissionListener): number;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function on(type: 'mission', listener: MissionListener): number;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function off(type: 'mission', listenerId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function off(type: 'mission', listenerId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function off(type: 'mission', listenerId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function off(type: 'mission', listenerId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\<MissionInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\<MissionInfo>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number): Promise\<MissionInfo>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number): Promise\<MissionInfo>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\<Array\<MissionInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\<Array\<MissionInfo>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number): Promise\<Array\<MissionInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number): Promise\<Array\<MissionInfo>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\<MissionSnapshot>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\<MissionSnapshot>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getLowResolutionMissionSnapShot(<br> deviceId: string,<br> missionId: number,<br> callback: AsyncCallback\<MissionSnapshot><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getLowResolutionMissionSnapShot(<br> deviceId: string,<br> missionId: number,<br> callback: AsyncCallback\<MissionSnapshot><br> ): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.app.ability.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:abilityManager;<br>方法or属性:function updateConfiguration(config: Configuration): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:abilityManager;<br>方法or属性:function updateConfiguration(config: Configuration): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:abilityManager;<br>方法or属性:function getAbilityRunningInfos(callback: AsyncCallback\<Array\<AbilityRunningInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:abilityManager;<br>方法or属性:function getAbilityRunningInfos(callback: AsyncCallback\<Array\<AbilityRunningInfo>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:INITIAL = 0<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:INITIAL = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.application.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:FOREGROUND = 9<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:FOREGROUND = 9<br>新版本信æ¯ï¼šsystemapi|@ohos.application.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:BACKGROUND = 10<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:BACKGROUND = 10<br>新版本信æ¯ï¼šsystemapi|@ohos.application.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:FOREGROUNDING = 11<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:FOREGROUNDING = 11<br>新版本信æ¯ï¼šsystemapi|@ohos.application.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AbilityState;<br>方法or属性:BACKGROUNDING = 12<br>旧版本信æ¯ï¼š|ç±»å:AbilityState;<br>方法or属性:BACKGROUNDING = 12<br>新版本信æ¯ï¼šsystemapi|@ohos.application.abilityManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:appManager;<br>方法or属性:function unregisterApplicationStateObserver(observerId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function unregisterApplicationStateObserver(observerId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:appManager;<br>方法or属性:function getForegroundApplications(): Promise\<Array\<AppStateData>>;<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function getForegroundApplications(): Promise\<Array\<AppStateData>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:appManager;<br>方法or属性:function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:appManager;<br>方法or属性:function killProcessesByBundleName(bundleName: string, callback: AsyncCallback\<void>);<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function killProcessesByBundleName(bundleName: string, callback: AsyncCallback\<void>);<br>新版本信æ¯ï¼šsystemapi|@ohos.application.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:appManager;<br>方法or属性:function clearUpApplicationData(bundleName: string, callback: AsyncCallback\<void>);<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function clearUpApplicationData(bundleName: string, callback: AsyncCallback\<void>);<br>新版本信æ¯ï¼šsystemapi|@ohos.application.appManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function deleteForm(formId: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function deleteForm(formId: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function deleteForm(formId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function deleteForm(formId: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, isReleaseCache?: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, isReleaseCache?: boolean): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function requestForm(formId: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function requestForm(formId: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function requestForm(formId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function requestForm(formId: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function castTempForm(formId: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function castTempForm(formId: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function castTempForm(formId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function castTempForm(formId: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyVisibleForms(formIds: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyVisibleForms(formIds: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyVisibleForms(formIds: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyVisibleForms(formIds: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyInvisibleForms(formIds: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyInvisibleForms(formIds: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyInvisibleForms(formIds: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyInvisibleForms(formIds: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function enableFormsUpdate(formIds: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function enableFormsUpdate(formIds: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function enableFormsUpdate(formIds: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function enableFormsUpdate(formIds: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function disableFormsUpdate(formIds: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function disableFormsUpdate(formIds: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function disableFormsUpdate(formIds: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function disableFormsUpdate(formIds: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function isSystemReady(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function isSystemReady(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function isSystemReady(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function isSystemReady(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function getAllFormsInfo(callback: AsyncCallback\<Array\<formInfo.FormInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function getAllFormsInfo(callback: AsyncCallback\<Array\<formInfo.FormInfo>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function getAllFormsInfo(): Promise\<Array\<formInfo.FormInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function getAllFormsInfo(): Promise\<Array\<formInfo.FormInfo>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function getFormsInfo(bundleName: string, callback: AsyncCallback\<Array\<formInfo.FormInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function getFormsInfo(bundleName: string, callback: AsyncCallback\<Array\<formInfo.FormInfo>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function getFormsInfo(<br> bundleName: string,<br> moduleName: string,<br> callback: AsyncCallback\<Array\<formInfo.FormInfo>><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function getFormsInfo(<br> bundleName: string,<br> moduleName: string,<br> callback: AsyncCallback\<Array\<formInfo.FormInfo>><br> ): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function getFormsInfo(bundleName: string, moduleName?: string): Promise\<Array\<formInfo.FormInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function getFormsInfo(bundleName: string, moduleName?: string): Promise\<Array\<formInfo.FormInfo>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function deleteInvalidForms(formIds: Array\<string>, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function deleteInvalidForms(formIds: Array\<string>, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function deleteInvalidForms(formIds: Array\<string>): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function deleteInvalidForms(formIds: Array\<string>): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function acquireFormState(want: Want, callback: AsyncCallback\<formInfo.FormStateInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function acquireFormState(want: Want, callback: AsyncCallback\<formInfo.FormStateInfo>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function acquireFormState(want: Want): Promise\<formInfo.FormStateInfo>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function acquireFormState(want: Want): Promise\<formInfo.FormStateInfo>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function on(type: 'formUninstall', callback: Callback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function on(type: 'formUninstall', callback: Callback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function off(type: 'formUninstall', callback?: Callback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function off(type: 'formUninstall', callback?: Callback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyFormsVisible(formIds: Array\<string>, isVisible: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyFormsVisible(formIds: Array\<string>, isVisible: boolean, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyFormsVisible(formIds: Array\<string>, isVisible: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyFormsVisible(formIds: Array\<string>, isVisible: boolean): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyFormsEnableUpdate(<br> formIds: Array\<string>,<br> isEnableUpdate: boolean,<br> callback: AsyncCallback\<void><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyFormsEnableUpdate(<br> formIds: Array\<string>,<br> isEnableUpdate: boolean,<br> callback: AsyncCallback\<void><br> ): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyFormsEnableUpdate(formIds: Array\<string>, isEnableUpdate: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyFormsEnableUpdate(formIds: Array\<string>, isEnableUpdate: boolean): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.formHost.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function registerMissionListener(listener: MissionListener): number;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function registerMissionListener(listener: MissionListener): number;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unregisterMissionListener(listenerId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unregisterMissionListener(listenerId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unregisterMissionListener(listenerId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unregisterMissionListener(listenerId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\<MissionInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\<MissionInfo>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number): Promise\<MissionInfo>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number): Promise\<MissionInfo>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\<Array\<MissionInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\<Array\<MissionInfo>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number): Promise\<Array\<MissionInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number): Promise\<Array\<MissionInfo>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\<MissionSnapshot>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\<MissionSnapshot>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.application.missionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function startSyncRemoteMissions(parameter: MissionParameter): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function startSyncRemoteMissions(parameter: MissionParameter): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedMissionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedMissionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedMissionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedMissionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedMissionManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ContinueCallback;<br>方法or属性:onContinueDone(result: number): void;<br>旧版本信æ¯ï¼š|ç±»å:ContinueCallback;<br>方法or属性:onContinueDone(result: number): void;<br>新版本信æ¯ï¼šsystemapi|ContinueCallback.d.ts| +|访问级别有å˜åŒ–|ç±»å:ContinueDeviceInfo;<br>方法or属性:srcDeviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinueDeviceInfo;<br>方法or属性:srcDeviceId: string;<br>新版本信æ¯ï¼šsystemapi|ContinueDeviceInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:ContinueDeviceInfo;<br>方法or属性:dstDeviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinueDeviceInfo;<br>方法or属性:dstDeviceId: string;<br>新版本信æ¯ï¼šsystemapi|ContinueDeviceInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:ContinueDeviceInfo;<br>方法or属性:missionId: number;<br>旧版本信æ¯ï¼š|ç±»å:ContinueDeviceInfo;<br>方法or属性:missionId: number;<br>新版本信æ¯ï¼šsystemapi|ContinueDeviceInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:ContinueDeviceInfo;<br>方法or属性:wantParam: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:ContinueDeviceInfo;<br>方法or属性:wantParam: { [key: string]: any };<br>新版本信æ¯ï¼šsystemapi|ContinueDeviceInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionCallback;<br>方法or属性:notifyMissionsChanged(deviceId: string): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionCallback;<br>方法or属性:notifyMissionsChanged(deviceId: string): void;<br>新版本信æ¯ï¼šsystemapi|MissionCallbacks.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionCallback;<br>方法or属性:notifySnapshot(deviceId: string, mission: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionCallback;<br>方法or属性:notifySnapshot(deviceId: string, mission: number): void;<br>新版本信æ¯ï¼šsystemapi|MissionCallbacks.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionCallback;<br>方法or属性:notifyNetDisconnect(deviceId: string, state: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionCallback;<br>方法or属性:notifyNetDisconnect(deviceId: string, state: number): void;<br>新版本信æ¯ï¼šsystemapi|MissionCallbacks.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionDeviceInfo;<br>方法or属性:deviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionDeviceInfo;<br>方法or属性:deviceId: string;<br>新版本信æ¯ï¼šsystemapi|MissionDeviceInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:missionId: number;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:missionId: number;<br>新版本信æ¯ï¼šsystemapi|MissionInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:runningState: number;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:runningState: number;<br>新版本信æ¯ï¼šsystemapi|MissionInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:lockedState: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:lockedState: boolean;<br>新版本信æ¯ï¼šsystemapi|MissionInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:timestamp: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:timestamp: string;<br>新版本信æ¯ï¼šsystemapi|MissionInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:want: Want;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:want: Want;<br>新版本信æ¯ï¼šsystemapi|MissionInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:label: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:label: string;<br>新版本信æ¯ï¼šsystemapi|MissionInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:iconPath: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:iconPath: string;<br>新版本信æ¯ï¼šsystemapi|MissionInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:continuable: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:continuable: boolean;<br>新版本信æ¯ï¼šsystemapi|MissionInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionListener;<br>方法or属性:onMissionCreated(mission: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionListener;<br>方法or属性:onMissionCreated(mission: number): void;<br>新版本信æ¯ï¼šsystemapi|MissionListener.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionListener;<br>方法or属性:onMissionDestroyed(mission: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionListener;<br>方法or属性:onMissionDestroyed(mission: number): void;<br>新版本信æ¯ï¼šsystemapi|MissionListener.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionListener;<br>方法or属性:onMissionSnapshotChanged(mission: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionListener;<br>方法or属性:onMissionSnapshotChanged(mission: number): void;<br>新版本信æ¯ï¼šsystemapi|MissionListener.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionListener;<br>方法or属性:onMissionMovedToFront(mission: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionListener;<br>方法or属性:onMissionMovedToFront(mission: number): void;<br>新版本信æ¯ï¼šsystemapi|MissionListener.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionListener;<br>方法or属性:onMissionLabelUpdated(mission: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionListener;<br>方法or属性:onMissionLabelUpdated(mission: number): void;<br>新版本信æ¯ï¼šsystemapi|MissionListener.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionListener;<br>方法or属性:onMissionIconUpdated(mission: number, icon: image.PixelMap): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionListener;<br>方法or属性:onMissionIconUpdated(mission: number, icon: image.PixelMap): void;<br>新版本信æ¯ï¼šsystemapi|MissionListener.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionListener;<br>方法or属性:onMissionClosed(mission: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionListener;<br>方法or属性:onMissionClosed(mission: number): void;<br>新版本信æ¯ï¼šsystemapi|MissionListener.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:deviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:deviceId: string;<br>新版本信æ¯ï¼šsystemapi|MissionParameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:fixConflict: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:fixConflict: boolean;<br>新版本信æ¯ï¼šsystemapi|MissionParameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:tag: number;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:tag: number;<br>新版本信æ¯ï¼šsystemapi|MissionParameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionSnapshot;<br>方法or属性:ability: ElementName;<br>旧版本信æ¯ï¼š|ç±»å:MissionSnapshot;<br>方法or属性:ability: ElementName;<br>新版本信æ¯ï¼šsystemapi|MissionSnapshot.d.ts| +|访问级别有å˜åŒ–|ç±»å:MissionSnapshot;<br>方法or属性:snapshot: image.PixelMap;<br>旧版本信æ¯ï¼š|ç±»å:MissionSnapshot;<br>方法or属性:snapshot: image.PixelMap;<br>新版本信æ¯ï¼šsystemapi|MissionSnapshot.d.ts| +|访问级别有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|ServiceExtensionContext.d.ts| +|访问级别有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|ServiceExtensionContext.d.ts| +|访问级别有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbility(want: Want, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|ServiceExtensionContext.d.ts| +|访问级别有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:terminateSelf(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionContext;<br>方法or属性:terminateSelf(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|ServiceExtensionContext.d.ts| +|访问级别有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:terminateSelf(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionContext;<br>方法or属性:terminateSelf(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|ServiceExtensionContext.d.ts| +|访问级别有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>新版本信æ¯ï¼šsystemapi|ServiceExtensionContext.d.ts| +|访问级别有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionContext;<br>方法or属性:disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|ServiceExtensionContext.d.ts| +|访问级别有å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:disconnectServiceExtensionAbility(connection: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionContext;<br>方法or属性:disconnectServiceExtensionAbility(connection: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|ServiceExtensionContext.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function on(type: 'mission', listener: MissionListener): number;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function on(type: 'mission', listener: MissionListener): number;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function off(type: 'mission', listenerId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function off(type: 'mission', listenerId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function off(type: 'mission', listenerId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function off(type: 'mission', listenerId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\<MissionInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\<MissionInfo>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number): Promise\<MissionInfo>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number): Promise\<MissionInfo>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\<Array\<MissionInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\<Array\<MissionInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number): Promise\<Array\<MissionInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number): Promise\<Array\<MissionInfo>>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\<MissionSnapshot>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\<MissionSnapshot>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getLowResolutionMissionSnapShot(<br> deviceId: string,<br> missionId: number,<br> callback: AsyncCallback\<MissionSnapshot><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getLowResolutionMissionSnapShot(<br> deviceId: string,<br> missionId: number,<br> callback: AsyncCallback\<MissionSnapshot><br> ): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:export type MissionInfo = _MissionInfo;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:export type MissionInfo = _MissionInfo;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:export type MissionListener = _MissionListener;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:export type MissionListener = _MissionListener;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:export type MissionSnapshot = _MissionSnapshot;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:export type MissionSnapshot = _MissionSnapshot;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:abilityManager;<br>方法or属性:function updateConfiguration(config: Configuration): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:abilityManager;<br>方法or属性:function updateConfiguration(config: Configuration): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.UPDATE_CONFIGURATION|@ohos.application.abilityManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:abilityManager;<br>方法or属性:function getAbilityRunningInfos(callback: AsyncCallback\<Array\<AbilityRunningInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:abilityManager;<br>方法or属性:function getAbilityRunningInfos(callback: AsyncCallback\<Array\<AbilityRunningInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.GET_RUNNING_INFO|@ohos.application.abilityManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:appManager;<br>方法or属性:function unregisterApplicationStateObserver(observerId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function unregisterApplicationStateObserver(observerId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.RUNNING_STATE_OBSERVER|@ohos.application.appManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:appManager;<br>方法or属性:function getForegroundApplications(): Promise\<Array\<AppStateData>>;<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function getForegroundApplications(): Promise\<Array\<AppStateData>>;<br>新版本信æ¯ï¼šohos.permission.GET_RUNNING_INFO|@ohos.application.appManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:appManager;<br>方法or属性:function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,ohos.permission.CLEAN_BACKGROUND_PROCESSES|@ohos.application.appManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:appManager;<br>方法or属性:function getProcessRunningInfos(callback: AsyncCallback\<Array\<ProcessRunningInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function getProcessRunningInfos(callback: AsyncCallback\<Array\<ProcessRunningInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.GET_RUNNING_INFO|@ohos.application.appManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:appManager;<br>方法or属性:function killProcessesByBundleName(bundleName: string, callback: AsyncCallback\<void>);<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function killProcessesByBundleName(bundleName: string, callback: AsyncCallback\<void>);<br>新版本信æ¯ï¼šohos.permission.CLEAN_BACKGROUND_PROCESSES|@ohos.application.appManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:appManager;<br>方法or属性:function clearUpApplicationData(bundleName: string, callback: AsyncCallback\<void>);<br>旧版本信æ¯ï¼š|ç±»å:appManager;<br>方法or属性:function clearUpApplicationData(bundleName: string, callback: AsyncCallback\<void>);<br>新版本信æ¯ï¼šohos.permission.CLEAN_APPLICATION_DATA|@ohos.application.appManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function deleteForm(formId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function deleteForm(formId: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, isReleaseCache?: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function releaseForm(formId: string, isReleaseCache?: boolean): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function requestForm(formId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function requestForm(formId: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function castTempForm(formId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function castTempForm(formId: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyVisibleForms(formIds: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyVisibleForms(formIds: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyInvisibleForms(formIds: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyInvisibleForms(formIds: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function enableFormsUpdate(formIds: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function enableFormsUpdate(formIds: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function disableFormsUpdate(formIds: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function disableFormsUpdate(formIds: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function getAllFormsInfo(): Promise\<Array\<formInfo.FormInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function getAllFormsInfo(): Promise\<Array\<formInfo.FormInfo>>;<br>新版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function getFormsInfo(<br> bundleName: string,<br> moduleName: string,<br> callback: AsyncCallback\<Array\<formInfo.FormInfo>><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function getFormsInfo(<br> bundleName: string,<br> moduleName: string,<br> callback: AsyncCallback\<Array\<formInfo.FormInfo>><br> ): void;<br>新版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function getFormsInfo(bundleName: string, moduleName?: string): Promise\<Array\<formInfo.FormInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function getFormsInfo(bundleName: string, moduleName?: string): Promise\<Array\<formInfo.FormInfo>>;<br>新版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function deleteInvalidForms(formIds: Array\<string>): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function deleteInvalidForms(formIds: Array\<string>): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function acquireFormState(want: Want): Promise\<formInfo.FormStateInfo>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function acquireFormState(want: Want): Promise\<formInfo.FormStateInfo>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM,ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyFormsVisible(formIds: Array\<string>, isVisible: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyFormsVisible(formIds: Array\<string>, isVisible: boolean): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:formHost;<br>方法or属性:function notifyFormsEnableUpdate(formIds: Array\<string>, isEnableUpdate: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:formHost;<br>方法or属性:function notifyFormsEnableUpdate(formIds: Array\<string>, isEnableUpdate: boolean): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function registerMissionListener(listener: MissionListener): number;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function registerMissionListener(listener: MissionListener): number;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unregisterMissionListener(listenerId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unregisterMissionListener(listenerId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unregisterMissionListener(listenerId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unregisterMissionListener(listenerId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\<MissionInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\<MissionInfo>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number): Promise\<MissionInfo>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfo(deviceId: string, missionId: number): Promise\<MissionInfo>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\<Array\<MissionInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\<Array\<MissionInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number): Promise\<Array\<MissionInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionInfos(deviceId: string, numMax: number): Promise\<Array\<MissionInfo>>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\<MissionSnapshot>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\<MissionSnapshot>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function getMissionSnapShot(deviceId: string, missionId: number): Promise\<MissionSnapshot>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function lockMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function unlockMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearMission(missionId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function clearAllMissions(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options?: StartOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:missionManager;<br>方法or属性:function moveMissionToFront(missionId: number, options?: StartOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceSelected', token: number): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceSelected', token: number): void;<br>新版本信æ¯ï¼šohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceUnselected', token: number): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function off(type: 'deviceUnselected', token: number): void;<br>新版本信æ¯ï¼šohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function registerContinuation(options?: ContinuationExtraParams): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function registerContinuation(options?: ContinuationExtraParams): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function unregisterContinuation(token: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function unregisterContinuation(token: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function startContinuationDeviceManager(<br> token: number,<br> options: ContinuationExtraParams,<br> callback: AsyncCallback\<void><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function startContinuationDeviceManager(<br> token: number,<br> options: ContinuationExtraParams,<br> callback: AsyncCallback\<void><br> ): void;<br>新版本信æ¯ï¼šohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:continuationManager;<br>方法or属性:function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:continuationManager;<br>方法or属性:function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function startSyncRemoteMissions(parameter: MissionParameter): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function startSyncRemoteMissions(parameter: MissionParameter): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:distributedMissionManager;<br>方法or属性:function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS,ohos.permission.DISTRIBUTED_DATASYNC|@ohos.distributedMissionManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:MissionCallback;<br>方法or属性:notifyMissionsChanged(deviceId: string): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionCallback;<br>方法or属性:notifyMissionsChanged(deviceId: string): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|MissionCallbacks.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:MissionCallback;<br>方法or属性:notifySnapshot(deviceId: string, mission: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionCallback;<br>方法or属性:notifySnapshot(deviceId: string, mission: number): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|MissionCallbacks.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:MissionCallback;<br>方法or属性:notifyNetDisconnect(deviceId: string, state: number): void;<br>旧版本信æ¯ï¼š|ç±»å:MissionCallback;<br>方法or属性:notifyNetDisconnect(deviceId: string, state: number): void;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|MissionCallbacks.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:MissionDeviceInfo;<br>方法or属性:deviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionDeviceInfo;<br>方法or属性:deviceId: string;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|MissionDeviceInfo.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:deviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:deviceId: string;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|MissionParameter.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:fixConflict: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:fixConflict: boolean;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|MissionParameter.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:tag: number;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:tag: number;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MISSIONS|MissionParameter.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼šohos.permission.START_INVISIBLE_ABILITY|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š|ServiceExtensionContext.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbility(want: Want): Promise\<void>;<br>旧版本信æ¯ï¼šohos.permission.START_INVISIBLE_ABILITY|ç±»å:ServiceExtensionContext;<br>方法or属性:startServiceExtensionAbility(want: Want): Promise\<void>;<br>新版本信æ¯ï¼š|ServiceExtensionContext.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>旧版本信æ¯ï¼šohos.permission.ABILITY_BACKGROUND_COMMUNICATION|ç±»å:ServiceExtensionContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>新版本信æ¯ï¼š|ServiceExtensionContext.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityByCallWithAccount(want: Want, accountId: number): Promise\<Caller>;<br>旧版本信æ¯ï¼šohos.permission.ABILITY_BACKGROUND_COMMUNICATION,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,ohos.permission.START_ABILITIES_FROM_BACKGROUND,ohos.permission.START_INVISIBLE_ABILITY|ç±»å:ServiceExtensionContext;<br>方法or属性:startAbilityByCallWithAccount(want: Want, accountId: number): Promise\<Caller>;<br>新版本信æ¯ï¼šohos.permission.ABILITY_BACKGROUND_COMMUNICATION,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS|ServiceExtensionContext.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityByCallWithAccount(want: Want, accountId: number): Promise\<Caller>;<br>旧版本信æ¯ï¼šohos.permission.ABILITY_BACKGROUND_COMMUNICATION,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,ohos.permission.START_ABILITIES_FROM_BACKGROUND,ohos.permission.START_INVISIBLE_ABILITY|ç±»å:UIAbilityContext;<br>方法or属性:startAbilityByCallWithAccount(want: Want, accountId: number): Promise\<Caller>;<br>新版本信æ¯ï¼šohos.permission.ABILITY_BACKGROUND_COMMUNICATION,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS|UIAbilityContext.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼šohos.permission.START_INVISIBLE_ABILITY|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbility(want: Want, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š|UIAbilityContext.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbility(want: Want): Promise\<void>;<br>旧版本信æ¯ï¼šohos.permission.ABILITY_BACKGROUND_COMMUNICATION|ç±»å:UIAbilityContext;<br>方法or属性:startServiceExtensionAbility(want: Want): Promise\<void>;<br>新版本信æ¯ï¼š|UIAbilityContext.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UIAbilityContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>旧版本信æ¯ï¼šohos.permission.ABILITY_BACKGROUND_COMMUNICATION|ç±»å:UIAbilityContext;<br>方法or属性:connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;<br>新版本信æ¯ï¼š|UIAbilityContext.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:function getWant(): Promise\<Want>;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:function getWant(): Promise\<Want>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:function startAbility(parameter: StartAbilityParameter): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:function startAbility(parameter: StartAbilityParameter): Promise\<number>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:function startAbilityForResult(parameter: StartAbilityParameter): Promise\<AbilityResult>;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:function startAbilityForResult(parameter: StartAbilityParameter): Promise\<AbilityResult>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:function terminateSelfWithResult(parameter: AbilityResult): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:function terminateSelfWithResult(parameter: AbilityResult): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:function terminateSelf(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:function terminateSelf(): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:function hasWindowFocus(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:function hasWindowFocus(): Promise\<boolean>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:function disconnectAbility(connection: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:function disconnectAbility(connection: number): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:function getWindow(): Promise\<window.Window>;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:function getWindow(): Promise\<window.Window>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:export type AppVersionInfo = _AppVersionInfo;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:export type AppVersionInfo = _AppVersionInfo;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:featureAbility;<br>方法or属性:export type ProcessInfo = _ProcessInfo;<br>旧版本信æ¯ï¼š|ç±»å:featureAbility;<br>方法or属性:export type ProcessInfo = _ProcessInfo;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_UNDEFINED = 0<br>旧版本信æ¯ï¼š|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_UNDEFINED = 0<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_FULLSCREEN = 1<br>旧版本信æ¯ï¼š|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_FULLSCREEN = 1<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_SPLIT_PRIMARY = 100<br>旧版本信æ¯ï¼š|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_SPLIT_PRIMARY = 100<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_SPLIT_SECONDARY = 101<br>旧版本信æ¯ï¼š|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_SPLIT_SECONDARY = 101<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_FLOATING = 102<br>旧版本信æ¯ï¼š|ç±»å:AbilityWindowConfiguration;<br>方法or属性:WINDOW_MODE_FLOATING = 102<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:AbilityStartSetting;<br>方法or属性:BOUNDS_KEY = 'abilityBounds'<br>旧版本信æ¯ï¼š|ç±»å:AbilityStartSetting;<br>方法or属性:BOUNDS_KEY = 'abilityBounds'<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:AbilityStartSetting;<br>方法or属性:WINDOW_MODE_KEY = 'windowMode'<br>旧版本信æ¯ï¼š|ç±»å:AbilityStartSetting;<br>方法or属性:WINDOW_MODE_KEY = 'windowMode'<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:AbilityStartSetting;<br>方法or属性:DISPLAY_ID_KEY = 'displayId'<br>旧版本信æ¯ï¼š|ç±»å:AbilityStartSetting;<br>方法or属性:DISPLAY_ID_KEY = 'displayId'<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:ErrorCode;<br>方法or属性:NO_ERROR = 0<br>旧版本信æ¯ï¼š|ç±»å:ErrorCode;<br>方法or属性:NO_ERROR = 0<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:ErrorCode;<br>方法or属性:INVALID_PARAMETER = -1<br>旧版本信æ¯ï¼š|ç±»å:ErrorCode;<br>方法or属性:INVALID_PARAMETER = -1<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:ErrorCode;<br>方法or属性:ABILITY_NOT_FOUND = -2<br>旧版本信æ¯ï¼š|ç±»å:ErrorCode;<br>方法or属性:ABILITY_NOT_FOUND = -2<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:ErrorCode;<br>方法or属性:PERMISSION_DENY = -3<br>旧版本信æ¯ï¼š|ç±»å:ErrorCode;<br>方法or属性:PERMISSION_DENY = -3<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityOperationType;<br>方法or属性:TYPE_INSERT = 1<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperationType;<br>方法or属性:TYPE_INSERT = 1<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityOperationType;<br>方法or属性:TYPE_UPDATE = 2<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperationType;<br>方法or属性:TYPE_UPDATE = 2<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityOperationType;<br>方法or属性:TYPE_DELETE = 3<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperationType;<br>方法or属性:TYPE_DELETE = 3<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityOperationType;<br>方法or属性:TYPE_ASSERT = 4<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperationType;<br>方法or属性:TYPE_ASSERT = 4<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.featureAbility.d.ts| +|model有å˜åŒ–|ç±»å:particleAbility;<br>方法or属性:function startAbility(parameter: StartAbilityParameter): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:particleAbility;<br>方法or属性:function startAbility(parameter: StartAbilityParameter): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.particleAbility.d.ts| +|model有å˜åŒ–|ç±»å:particleAbility;<br>方法or属性:function terminateSelf(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:particleAbility;<br>方法or属性:function terminateSelf(): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.particleAbility.d.ts| +|model有å˜åŒ–|ç±»å:particleAbility;<br>方法or属性:function disconnectAbility(connection: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:particleAbility;<br>方法or属性:function disconnectAbility(connection: number): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.particleAbility.d.ts| +|model有å˜åŒ–|ç±»å:ErrorCode;<br>方法or属性:INVALID_PARAMETER = -1<br>旧版本信æ¯ï¼š|ç±»å:ErrorCode;<br>方法or属性:INVALID_PARAMETER = -1<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.particleAbility.d.ts| +|model有å˜åŒ–|ç±»å:LaunchReason;<br>方法or属性:SHARE = 5<br>旧版本信æ¯ï¼š|ç±»å:LaunchReason;<br>方法or属性:SHARE = 5<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnContinueResult;<br>方法or属性:AGREE = 0<br>旧版本信æ¯ï¼š|ç±»å:OnContinueResult;<br>方法or属性:AGREE = 0<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnContinueResult;<br>方法or属性:REJECT = 1<br>旧版本信æ¯ï¼š|ç±»å:OnContinueResult;<br>方法or属性:REJECT = 1<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnContinueResult;<br>方法or属性:MISMATCH = 2<br>旧版本信æ¯ï¼š|ç±»å:OnContinueResult;<br>方法or属性:MISMATCH = 2<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:MemoryLevel;<br>方法or属性:MEMORY_LEVEL_MODERATE = 0<br>旧版本信æ¯ï¼š|ç±»å:MemoryLevel;<br>方法or属性:MEMORY_LEVEL_MODERATE = 0<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:MemoryLevel;<br>方法or属性:MEMORY_LEVEL_LOW = 1<br>旧版本信æ¯ï¼š|ç±»å:MemoryLevel;<br>方法or属性:MEMORY_LEVEL_LOW = 1<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:MemoryLevel;<br>方法or属性:MEMORY_LEVEL_CRITICAL = 2<br>旧版本信æ¯ï¼š|ç±»å:MemoryLevel;<br>方法or属性:MEMORY_LEVEL_CRITICAL = 2<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_UNDEFINED = 0<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_UNDEFINED = 0<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_FULLSCREEN = 1<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_FULLSCREEN = 1<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_SPLIT_PRIMARY = 100<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_SPLIT_PRIMARY = 100<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_SPLIT_SECONDARY = 101<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_SPLIT_SECONDARY = 101<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_FLOATING = 102<br>旧版本信æ¯ï¼š|ç±»å:WindowMode;<br>方法or属性:WINDOW_MODE_FLOATING = 102<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnSaveResult;<br>方法or属性:ALL_AGREE = 0<br>旧版本信æ¯ï¼š|ç±»å:OnSaveResult;<br>方法or属性:ALL_AGREE = 0<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnSaveResult;<br>方法or属性:CONTINUATION_REJECT = 1<br>旧版本信æ¯ï¼š|ç±»å:OnSaveResult;<br>方法or属性:CONTINUATION_REJECT = 1<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnSaveResult;<br>方法or属性:CONTINUATION_MISMATCH = 2<br>旧版本信æ¯ï¼š|ç±»å:OnSaveResult;<br>方法or属性:CONTINUATION_MISMATCH = 2<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnSaveResult;<br>方法or属性:RECOVERY_AGREE = 3<br>旧版本信æ¯ï¼š|ç±»å:OnSaveResult;<br>方法or属性:RECOVERY_AGREE = 3<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnSaveResult;<br>方法or属性:RECOVERY_REJECT = 4<br>旧版本信æ¯ï¼š|ç±»å:OnSaveResult;<br>方法or属性:RECOVERY_REJECT = 4<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:OnSaveResult;<br>方法or属性:ALL_REJECT<br>旧版本信æ¯ï¼š|ç±»å:OnSaveResult;<br>方法or属性:ALL_REJECT<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:StateType;<br>方法or属性:CONTINUATION = 0<br>旧版本信æ¯ï¼š|ç±»å:StateType;<br>方法or属性:CONTINUATION = 0<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:StateType;<br>方法or属性:APP_RECOVERY = 1<br>旧版本信æ¯ï¼š|ç±»å:StateType;<br>方法or属性:APP_RECOVERY = 1<br>新版本信æ¯ï¼šStageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:openFile(uri: string, mode: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:openFile(uri: string, mode: string): Promise\<number>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:getType(uri: string): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:getType(uri: string): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:getFileTypes(uri: string, mimeTypeFilter: string): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:getFileTypes(uri: string, mimeTypeFilter: string): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:normalizeUri(uri: string): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:normalizeUri(uri: string): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:denormalizeUri(uri: string): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:denormalizeUri(uri: string): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:notifyChange(uri: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:notifyChange(uri: string): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:insert(uri: string, valuesBucket: rdb.ValuesBucket): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:insert(uri: string, valuesBucket: rdb.ValuesBucket): Promise\<number>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:batchInsert(uri: string, valuesBuckets: Array\<rdb.ValuesBucket>): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:batchInsert(uri: string, valuesBuckets: Array\<rdb.ValuesBucket>): Promise\<number>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:delete(uri: string, predicates?: dataAbility.DataAbilityPredicates): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:delete(uri: string, predicates?: dataAbility.DataAbilityPredicates): Promise\<number>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:delete(uri: string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:delete(uri: string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:update(uri: string, valuesBucket: rdb.ValuesBucket, predicates?: dataAbility.DataAbilityPredicates): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:update(uri: string, valuesBucket: rdb.ValuesBucket, predicates?: dataAbility.DataAbilityPredicates): Promise\<number>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:update(uri: string, valuesBucket: rdb.ValuesBucket, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:update(uri: string, valuesBucket: rdb.ValuesBucket, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:query(uri: string, callback: AsyncCallback\<ResultSet>): void;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:query(uri: string, callback: AsyncCallback\<ResultSet>): void;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:query(uri: string, columns: Array\<string>, callback: AsyncCallback\<ResultSet>): void;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:query(uri: string, columns: Array\<string>, callback: AsyncCallback\<ResultSet>): void;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:query(uri: string, predicates: dataAbility.DataAbilityPredicates, callback: AsyncCallback\<ResultSet>): void;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:query(uri: string, predicates: dataAbility.DataAbilityPredicates, callback: AsyncCallback\<ResultSet>): void;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:query(uri: string, columns?: Array\<string>, predicates?: dataAbility.DataAbilityPredicates): Promise\<ResultSet>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:query(uri: string, columns?: Array\<string>, predicates?: dataAbility.DataAbilityPredicates): Promise\<ResultSet>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:call(uri: string, method: string, arg: string, extras: PacMap): Promise\<PacMap>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:call(uri: string, method: string, arg: string, extras: PacMap): Promise\<PacMap>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:executeBatch(<br> uri: string,<br> operations: Array\<DataAbilityOperation>,<br> callback: AsyncCallback\<Array\<DataAbilityResult>><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:executeBatch(<br> uri: string,<br> operations: Array\<DataAbilityOperation>,<br> callback: AsyncCallback\<Array\<DataAbilityResult>><br> ): void;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:DataAbilityHelper;<br>方法or属性:executeBatch(uri: string, operations: Array\<DataAbilityOperation>): Promise\<Array\<DataAbilityResult>>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityHelper;<br>方法or属性:executeBatch(uri: string, operations: Array\<DataAbilityOperation>): Promise\<Array\<DataAbilityResult>>;<br>新版本信æ¯ï¼šFAModelOnly|dataAbilityHelper.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getOrCreateLocalDir(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getOrCreateLocalDir(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:verifyPermission(permission: string, options: PermissionOptions, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:verifyPermission(permission: string, options: PermissionOptions, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:verifyPermission(permission: string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:verifyPermission(permission: string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:requestPermissionsFromUser(permissions: Array\<string>, requestCode: number): Promise\<PermissionRequestResult>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:requestPermissionsFromUser(permissions: Array\<string>, requestCode: number): Promise\<PermissionRequestResult>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getApplicationInfo(): Promise\<ApplicationInfo>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getApplicationInfo(): Promise\<ApplicationInfo>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getBundleName(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getBundleName(): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getDisplayOrientation(callback: AsyncCallback\<bundle.DisplayOrientation>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getDisplayOrientation(callback: AsyncCallback\<bundle.DisplayOrientation>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getDisplayOrientation(): Promise\<bundle.DisplayOrientation>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getDisplayOrientation(): Promise\<bundle.DisplayOrientation>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getExternalCacheDir(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getExternalCacheDir(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getExternalCacheDir(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getExternalCacheDir(): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:setDisplayOrientation(orientation: bundle.DisplayOrientation, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:setDisplayOrientation(orientation: bundle.DisplayOrientation, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:setDisplayOrientation(orientation: bundle.DisplayOrientation): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:setDisplayOrientation(orientation: bundle.DisplayOrientation): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:setShowOnLockScreen(show: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:setShowOnLockScreen(show: boolean, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:setShowOnLockScreen(show: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:setShowOnLockScreen(show: boolean): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:setWakeUpScreen(wakeUp: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:setWakeUpScreen(wakeUp: boolean): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getProcessInfo(): Promise\<ProcessInfo>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getProcessInfo(): Promise\<ProcessInfo>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getElementName(): Promise\<ElementName>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getElementName(): Promise\<ElementName>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getProcessName(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getProcessName(): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getCallingBundle(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getCallingBundle(): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getFilesDir(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getFilesDir(): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getCacheDir(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getCacheDir(): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getOrCreateDistributedDir(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getOrCreateDistributedDir(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getAppType(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getAppType(): Promise\<string>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getHapModuleInfo(): Promise\<HapModuleInfo>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getHapModuleInfo(): Promise\<HapModuleInfo>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getAppVersionInfo(): Promise\<AppVersionInfo>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getAppVersionInfo(): Promise\<AppVersionInfo>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:getAbilityInfo(): Promise\<AbilityInfo>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:getAbilityInfo(): Promise\<AbilityInfo>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:isUpdatingConfigurations(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:isUpdatingConfigurations(): Promise\<boolean>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|model有å˜åŒ–|ç±»å:Context;<br>方法or属性:printDrawnCompleted(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Context;<br>方法or属性:printDrawnCompleted(): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|context.d.ts| +|type有å˜åŒ–|ç±»å:LaunchParam;<br>方法or属性:launchReason: LaunchReason;<br>旧版本信æ¯ï¼š|ç±»å:LaunchParam;<br>方法or属性:launchReason: LaunchReason;<br>新版本信æ¯ï¼šLaunchReason|@ohos.app.ability.AbilityConstant.d.ts| +|type有å˜åŒ–|ç±»å:LaunchParam;<br>方法or属性:lastExitReason: LastExitReason;<br>旧版本信æ¯ï¼š|ç±»å:LaunchParam;<br>方法or属性:lastExitReason: LastExitReason;<br>新版本信æ¯ï¼šLastExitReason|@ohos.app.ability.AbilityConstant.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:language?: string;<br>旧版本信æ¯ï¼šstring|ç±»å:Configuration;<br>方法or属性:language?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.ability.Configuration.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:colorMode?: ConfigurationConstant.ColorMode;<br>旧版本信æ¯ï¼šConfigurationConstant.ColorMode|ç±»å:Configuration;<br>方法or属性:colorMode?: ConfigurationConstant.ColorMode;<br>新版本信æ¯ï¼š?ConfigurationConstant.ColorMode|@ohos.app.ability.Configuration.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:direction?: ConfigurationConstant.Direction;<br>旧版本信æ¯ï¼šConfigurationConstant.Direction|ç±»å:Configuration;<br>方法or属性:direction?: ConfigurationConstant.Direction;<br>新版本信æ¯ï¼š?ConfigurationConstant.Direction|@ohos.app.ability.Configuration.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:screenDensity?: ConfigurationConstant.ScreenDensity;<br>旧版本信æ¯ï¼šConfigurationConstant.ScreenDensity|ç±»å:Configuration;<br>方法or属性:screenDensity?: ConfigurationConstant.ScreenDensity;<br>新版本信æ¯ï¼š?ConfigurationConstant.ScreenDensity|@ohos.app.ability.Configuration.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:displayId?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:Configuration;<br>方法or属性:displayId?: number;<br>新版本信æ¯ï¼š?number|@ohos.app.ability.Configuration.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:hasPointerDevice?: boolean;<br>旧版本信æ¯ï¼šboolean|ç±»å:Configuration;<br>方法or属性:hasPointerDevice?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.app.ability.Configuration.d.ts| +|type有å˜åŒ–|ç±»å:RequestResult;<br>方法or属性:result: ResultCode;<br>旧版本信æ¯ï¼š|ç±»å:RequestResult;<br>方法or属性:result: ResultCode;<br>新版本信æ¯ï¼šResultCode|@ohos.app.ability.dialogRequest.d.ts| +|type有å˜åŒ–|ç±»å:ServiceExtensionAbility;<br>方法or属性:context: ServiceExtensionContext;<br>旧版本信æ¯ï¼š|ç±»å:ServiceExtensionAbility;<br>方法or属性:context: ServiceExtensionContext;<br>新版本信æ¯ï¼šServiceExtensionContext|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|type有å˜åŒ–|ç±»å:StartOptions;<br>方法or属性:windowMode?: number;<br>旧版本信æ¯ï¼š|ç±»å:StartOptions;<br>方法or属性:windowMode?: number;<br>新版本信æ¯ï¼š?number|@ohos.app.ability.StartOptions.d.ts| +|type有å˜åŒ–|ç±»å:StartOptions;<br>方法or属性:displayId?: number;<br>旧版本信æ¯ï¼š|ç±»å:StartOptions;<br>方法or属性:displayId?: number;<br>新版本信æ¯ï¼š?number|@ohos.app.ability.StartOptions.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:deviceId?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:deviceId?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.ability.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:uri?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:uri?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.ability.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:type?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:type?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.ability.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:flags?: number;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:flags?: number;<br>新版本信æ¯ï¼š?number|@ohos.app.ability.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:action?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:action?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.ability.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:parameters?: { [key: string]: Object };<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:parameters?: { [key: string]: Object };<br>新版本信æ¯ï¼š?object|@ohos.app.ability.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:entities?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:entities?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|@ohos.app.ability.Want.d.ts| +|type有å˜åŒ–|ç±»å:CompleteData;<br>方法or属性:extraInfo?: { [key: string]: Object };<br>旧版本信æ¯ï¼š{ [key: string]: Object }|ç±»å:CompleteData;<br>方法or属性:extraInfo?: { [key: string]: Object };<br>新版本信æ¯ï¼š?object|@ohos.app.ability.wantAgent.d.ts| +|type有å˜åŒ–|ç±»å:FormBindingData;<br>方法or属性:data: Object;<br>旧版本信æ¯ï¼š|ç±»å:FormBindingData;<br>方法or属性:data: Object;<br>新版本信æ¯ï¼šObject|@ohos.app.form.formBindingData.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormProviderFilter;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormProviderFilter;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:moduleName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:moduleName: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:abilityName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:abilityName: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:description: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:description: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:descriptionId: number;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:descriptionId: number;<br>新版本信æ¯ï¼šnumber|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:type: FormType;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:type: FormType;<br>新版本信æ¯ï¼šFormType|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:jsComponentName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:jsComponentName: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:colorMode: ColorMode;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:colorMode: ColorMode;<br>新版本信æ¯ï¼šColorMode|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:isDefault: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:isDefault: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:updateEnabled: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:updateEnabled: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:formVisibleNotify: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:formVisibleNotify: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:scheduledUpdateTime: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:scheduledUpdateTime: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:formConfigAbility: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:formConfigAbility: string;<br>新版本信æ¯ï¼šstring|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:updateDuration: number;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:updateDuration: number;<br>新版本信æ¯ï¼šnumber|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:defaultDimension: number;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:defaultDimension: number;<br>新版本信æ¯ï¼šnumber|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:supportDimensions: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:supportDimensions: Array\<number>;<br>新版本信æ¯ï¼šArray\<number>|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:customizeData: { [key: string]: [value: string] };<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:customizeData: { [key: string]: [value: string] };<br>新版本信æ¯ï¼šobject|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormStateInfo;<br>方法or属性:formState: FormState;<br>旧版本信æ¯ï¼š|ç±»å:FormStateInfo;<br>方法or属性:formState: FormState;<br>新版本信æ¯ï¼šFormState|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormStateInfo;<br>方法or属性:want: Want;<br>旧版本信æ¯ï¼š|ç±»å:FormStateInfo;<br>方法or属性:want: Want;<br>新版本信æ¯ï¼šWant|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfoFilter;<br>方法or属性:moduleName?: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfoFilter;<br>方法or属性:moduleName?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormProviderFilter;<br>方法or属性:moduleName?: string;<br>旧版本信æ¯ï¼š|ç±»å:FormProviderFilter;<br>方法or属性:moduleName?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormProviderFilter;<br>方法or属性:formName?: string;<br>旧版本信æ¯ï¼š|ç±»å:FormProviderFilter;<br>方法or属性:formName?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormProviderFilter;<br>方法or属性:abilityName?: string;<br>旧版本信æ¯ï¼š|ç±»å:FormProviderFilter;<br>方法or属性:abilityName?: string;<br>新版本信æ¯ï¼š?string|@ohos.app.form.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:language?: string;<br>旧版本信æ¯ï¼š|ç±»å:Configuration;<br>方法or属性:language?: string;<br>新版本信æ¯ï¼š?string|@ohos.application.Configuration.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:colorMode?: ConfigurationConstant.ColorMode;<br>旧版本信æ¯ï¼š|ç±»å:Configuration;<br>方法or属性:colorMode?: ConfigurationConstant.ColorMode;<br>新版本信æ¯ï¼š?ConfigurationConstant.ColorMode|@ohos.application.Configuration.d.ts| +|type有å˜åŒ–|ç±»å:FormBindingData;<br>方法or属性:data: Object;<br>旧版本信æ¯ï¼š|ç±»å:FormBindingData;<br>方法or属性:data: Object;<br>新版本信æ¯ï¼šObject|@ohos.application.formBindingData.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:moduleName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:moduleName: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:abilityName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:abilityName: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:description: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:description: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:type: FormType;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:type: FormType;<br>新版本信æ¯ï¼šFormType|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:jsComponentName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:jsComponentName: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:colorMode: ColorMode;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:colorMode: ColorMode;<br>新版本信æ¯ï¼šColorMode|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:isDefault: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:isDefault: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:updateEnabled: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:updateEnabled: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:formVisibleNotify: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:formVisibleNotify: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:relatedBundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:relatedBundleName: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:scheduledUpdateTime: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:scheduledUpdateTime: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:formConfigAbility: string;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:formConfigAbility: string;<br>新版本信æ¯ï¼šstring|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:updateDuration: number;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:updateDuration: number;<br>新版本信æ¯ï¼šnumber|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:defaultDimension: number;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:defaultDimension: number;<br>新版本信æ¯ï¼šnumber|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:supportDimensions: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:supportDimensions: Array\<number>;<br>新版本信æ¯ï¼šArray\<number>|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormInfo;<br>方法or属性:customizeData: { [key: string]: [value: string] };<br>旧版本信æ¯ï¼š|ç±»å:FormInfo;<br>方法or属性:customizeData: { [key: string]: [value: string] };<br>新版本信æ¯ï¼šobject|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormStateInfo;<br>方法or属性:formState: FormState;<br>旧版本信æ¯ï¼š|ç±»å:FormStateInfo;<br>方法or属性:formState: FormState;<br>新版本信æ¯ï¼šFormState|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:FormStateInfo;<br>方法or属性:want: Want;<br>旧版本信æ¯ï¼š|ç±»å:FormStateInfo;<br>方法or属性:want: Want;<br>新版本信æ¯ï¼šWant|@ohos.application.formInfo.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:deviceId?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:deviceId?: string;<br>新版本信æ¯ï¼š?string|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:bundleName?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:bundleName?: string;<br>新版本信æ¯ï¼š?string|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:abilityName?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:abilityName?: string;<br>新版本信æ¯ï¼š?string|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:uri?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:uri?: string;<br>新版本信æ¯ï¼š?string|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:type?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:type?: string;<br>新版本信æ¯ï¼š?string|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:flags?: number;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:flags?: number;<br>新版本信æ¯ï¼š?number|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:action?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:action?: string;<br>新版本信æ¯ï¼š?string|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:parameters?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:parameters?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:entities?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:entities?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|@ohos.application.Want.d.ts| +|type有å˜åŒ–|ç±»å:CompleteData;<br>方法or属性:info: WantAgent;<br>旧版本信æ¯ï¼š|ç±»å:CompleteData;<br>方法or属性:info: WantAgent;<br>新版本信æ¯ï¼šWantAgent|@ohos.wantAgent.d.ts| +|type有å˜åŒ–|ç±»å:CompleteData;<br>方法or属性:want: Want;<br>旧版本信æ¯ï¼š|ç±»å:CompleteData;<br>方法or属性:want: Want;<br>新版本信æ¯ï¼šWant|@ohos.wantAgent.d.ts| +|type有å˜åŒ–|ç±»å:CompleteData;<br>方法or属性:finalCode: number;<br>旧版本信æ¯ï¼š|ç±»å:CompleteData;<br>方法or属性:finalCode: number;<br>新版本信æ¯ï¼šnumber|@ohos.wantAgent.d.ts| +|type有å˜åŒ–|ç±»å:CompleteData;<br>方法or属性:finalData: string;<br>旧版本信æ¯ï¼š|ç±»å:CompleteData;<br>方法or属性:finalData: string;<br>新版本信æ¯ï¼šstring|@ohos.wantAgent.d.ts| +|type有å˜åŒ–|ç±»å:CompleteData;<br>方法or属性:extraInfo?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:CompleteData;<br>方法or属性:extraInfo?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|@ohos.wantAgent.d.ts| +|type有å˜åŒ–|ç±»å:AbilityResult;<br>方法or属性:resultCode: number;<br>旧版本信æ¯ï¼š|ç±»å:AbilityResult;<br>方法or属性:resultCode: number;<br>新版本信æ¯ï¼šnumber|abilityResult.d.ts| +|type有å˜åŒ–|ç±»å:AbilityResult;<br>方法or属性:want?: Want;<br>旧版本信æ¯ï¼š|ç±»å:AbilityResult;<br>方法or属性:want?: Want;<br>新版本信æ¯ï¼š?Want|abilityResult.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityOperation;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperation;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼šstring|dataAbilityOperation.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityOperation;<br>方法or属性:type: featureAbility.DataAbilityOperationType;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperation;<br>方法or属性:type: featureAbility.DataAbilityOperationType;<br>新版本信æ¯ï¼šfeatureAbility.DataAbilityOperationType|dataAbilityOperation.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityOperation;<br>方法or属性:valuesBucket?: rdb.ValuesBucket;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperation;<br>方法or属性:valuesBucket?: rdb.ValuesBucket;<br>新版本信æ¯ï¼š?rdb.ValuesBucket|dataAbilityOperation.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityOperation;<br>方法or属性:valueBackReferences?: rdb.ValuesBucket;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperation;<br>方法or属性:valueBackReferences?: rdb.ValuesBucket;<br>新版本信æ¯ï¼š?rdb.ValuesBucket|dataAbilityOperation.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityOperation;<br>方法or属性:predicates?: dataAbility.DataAbilityPredicates;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperation;<br>方法or属性:predicates?: dataAbility.DataAbilityPredicates;<br>新版本信æ¯ï¼š?dataAbility.DataAbilityPredicates|dataAbilityOperation.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityOperation;<br>方法or属性:predicatesBackReferences?: Map\<number, number>;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperation;<br>方法or属性:predicatesBackReferences?: Map\<number, number>;<br>新版本信æ¯ï¼š?Map\<number, number>|dataAbilityOperation.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityOperation;<br>方法or属性:interrupted?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperation;<br>方法or属性:interrupted?: boolean;<br>新版本信æ¯ï¼š?boolean|dataAbilityOperation.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityOperation;<br>方法or属性:expectedCount?: number;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityOperation;<br>方法or属性:expectedCount?: number;<br>新版本信æ¯ï¼š?number|dataAbilityOperation.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityResult;<br>方法or属性:uri?: string;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityResult;<br>方法or属性:uri?: string;<br>新版本信æ¯ï¼š?string|dataAbilityResult.d.ts| +|type有å˜åŒ–|ç±»å:DataAbilityResult;<br>方法or属性:count?: number;<br>旧版本信æ¯ï¼š|ç±»å:DataAbilityResult;<br>方法or属性:count?: number;<br>新版本信æ¯ï¼š?number|dataAbilityResult.d.ts| +|type有å˜åŒ–|ç±»å:StartAbilityParameter;<br>方法or属性:want: Want;<br>旧版本信æ¯ï¼š|ç±»å:StartAbilityParameter;<br>方法or属性:want: Want;<br>新版本信æ¯ï¼šWant|startAbilityParameter.d.ts| +|type有å˜åŒ–|ç±»å:StartAbilityParameter;<br>方法or属性:abilityStartSetting?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:StartAbilityParameter;<br>方法or属性:abilityStartSetting?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|startAbilityParameter.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:deviceId?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:deviceId?: string;<br>新版本信æ¯ï¼š?string|want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:bundleName?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:bundleName?: string;<br>新版本信æ¯ï¼š?string|want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:abilityName?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:abilityName?: string;<br>新版本信æ¯ï¼š?string|want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:uri?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:uri?: string;<br>新版本信æ¯ï¼š?string|want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:type?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:type?: string;<br>新版本信æ¯ï¼š?string|want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:flags?: number;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:flags?: number;<br>新版本信æ¯ï¼š?number|want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:action?: string;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:action?: string;<br>新版本信æ¯ï¼š?string|want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:parameters?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:parameters?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|want.d.ts| +|type有å˜åŒ–|ç±»å:Want;<br>方法or属性:entities?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Want;<br>方法or属性:entities?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|want.d.ts| +|type有å˜åŒ–|ç±»å:AppVersionInfo;<br>方法or属性:readonly appName: string;<br>旧版本信æ¯ï¼š|ç±»å:AppVersionInfo;<br>方法or属性:readonly appName: string;<br>新版本信æ¯ï¼šstring|appVersionInfo.d.ts| +|type有å˜åŒ–|ç±»å:AppVersionInfo;<br>方法or属性:readonly versionCode: number;<br>旧版本信æ¯ï¼š|ç±»å:AppVersionInfo;<br>方法or属性:readonly versionCode: number;<br>新版本信æ¯ï¼šnumber|appVersionInfo.d.ts| +|type有å˜åŒ–|ç±»å:AppVersionInfo;<br>方法or属性:readonly versionName: string;<br>旧版本信æ¯ï¼š|ç±»å:AppVersionInfo;<br>方法or属性:readonly versionName: string;<br>新版本信æ¯ï¼šstring|appVersionInfo.d.ts| +|type有å˜åŒ–|ç±»å:PermissionRequestResult;<br>方法or属性:requestCode: number;<br>旧版本信æ¯ï¼š|ç±»å:PermissionRequestResult;<br>方法or属性:requestCode: number;<br>新版本信æ¯ï¼šnumber|context.d.ts| +|type有å˜åŒ–|ç±»å:PermissionRequestResult;<br>方法or属性:permissions: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:PermissionRequestResult;<br>方法or属性:permissions: Array\<string>;<br>新版本信æ¯ï¼šArray\<string>|context.d.ts| +|type有å˜åŒ–|ç±»å:PermissionRequestResult;<br>方法or属性:authResults: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:PermissionRequestResult;<br>方法or属性:authResults: Array\<number>;<br>新版本信æ¯ï¼šArray\<number>|context.d.ts| +|type有å˜åŒ–|ç±»å:PermissionOptions;<br>方法or属性:pid?: number;<br>旧版本信æ¯ï¼š|ç±»å:PermissionOptions;<br>方法or属性:pid?: number;<br>新版本信æ¯ï¼š?number|context.d.ts| +|type有å˜åŒ–|ç±»å:PermissionOptions;<br>方法or属性:uid?: number;<br>旧版本信æ¯ï¼š|ç±»å:PermissionOptions;<br>方法or属性:uid?: number;<br>新版本信æ¯ï¼š?number|context.d.ts| +|type有å˜åŒ–|ç±»å:ProcessInfo;<br>方法or属性:pid: number;<br>旧版本信æ¯ï¼š|ç±»å:ProcessInfo;<br>方法or属性:pid: number;<br>新版本信æ¯ï¼šnumber|processInfo.d.ts| +|type有å˜åŒ–|ç±»å:ProcessInfo;<br>方法or属性:processName: string;<br>旧版本信æ¯ï¼š|ç±»å:ProcessInfo;<br>方法or属性:processName: string;<br>新版本信æ¯ï¼šstring|processInfo.d.ts| +|type有å˜åŒ–|ç±»å:AbilityDelegatorArgs;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityDelegatorArgs;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|abilityDelegatorArgs.d.ts| +|type有å˜åŒ–|ç±»å:AbilityDelegatorArgs;<br>方法or属性:parameters: { [key: string]: string };<br>旧版本信æ¯ï¼š|ç±»å:AbilityDelegatorArgs;<br>方法or属性:parameters: { [key: string]: string };<br>新版本信æ¯ï¼šobject|abilityDelegatorArgs.d.ts| +|type有å˜åŒ–|ç±»å:AbilityDelegatorArgs;<br>方法or属性:testCaseNames: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityDelegatorArgs;<br>方法or属性:testCaseNames: string;<br>新版本信æ¯ï¼šstring|abilityDelegatorArgs.d.ts| +|type有å˜åŒ–|ç±»å:AbilityDelegatorArgs;<br>方法or属性:testRunnerClassName: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityDelegatorArgs;<br>方法or属性:testRunnerClassName: string;<br>新版本信æ¯ï¼šstring|abilityDelegatorArgs.d.ts| +|type有å˜åŒ–|ç±»å:AbilityMonitor;<br>方法or属性:abilityName: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityMonitor;<br>方法or属性:abilityName: string;<br>新版本信æ¯ï¼šstring|AbilityMonitor.d.ts| +|type有å˜åŒ–|ç±»å:AbilityMonitor;<br>方法or属性:moduleName?: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityMonitor;<br>方法or属性:moduleName?: string;<br>新版本信æ¯ï¼š?string|AbilityMonitor.d.ts| +|type有å˜åŒ–|ç±»å:AbilityRunningInfo;<br>方法or属性:ability: ElementName;<br>旧版本信æ¯ï¼š|ç±»å:AbilityRunningInfo;<br>方法or属性:ability: ElementName;<br>新版本信æ¯ï¼šElementName|AbilityRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:AbilityRunningInfo;<br>方法or属性:pid: number;<br>旧版本信æ¯ï¼š|ç±»å:AbilityRunningInfo;<br>方法or属性:pid: number;<br>新版本信æ¯ï¼šnumber|AbilityRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:AbilityRunningInfo;<br>方法or属性:uid: number;<br>旧版本信æ¯ï¼š|ç±»å:AbilityRunningInfo;<br>方法or属性:uid: number;<br>新版本信æ¯ï¼šnumber|AbilityRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:AbilityRunningInfo;<br>方法or属性:processName: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityRunningInfo;<br>方法or属性:processName: string;<br>新版本信æ¯ï¼šstring|AbilityRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:AbilityRunningInfo;<br>方法or属性:startTime: number;<br>旧版本信æ¯ï¼š|ç±»å:AbilityRunningInfo;<br>方法or属性:startTime: number;<br>新版本信æ¯ï¼šnumber|AbilityRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:AbilityRunningInfo;<br>方法or属性:abilityState: abilityManager.AbilityState;<br>旧版本信æ¯ï¼š|ç±»å:AbilityRunningInfo;<br>方法or属性:abilityState: abilityManager.AbilityState;<br>新版本信æ¯ï¼šabilityManager.AbilityState|AbilityRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStageContext;<br>方法or属性:currentHapModuleInfo: HapModuleInfo;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStageContext;<br>方法or属性:currentHapModuleInfo: HapModuleInfo;<br>新版本信æ¯ï¼šHapModuleInfo|AbilityStageContext.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStageContext;<br>方法or属性:config: Configuration;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStageContext;<br>方法or属性:config: Configuration;<br>新版本信æ¯ï¼šConfiguration|AbilityStageContext.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStageMonitor;<br>方法or属性:moduleName: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStageMonitor;<br>方法or属性:moduleName: string;<br>新版本信æ¯ï¼šstring|AbilityStageMonitor.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStageMonitor;<br>方法or属性:srcEntrance: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStageMonitor;<br>方法or属性:srcEntrance: string;<br>新版本信æ¯ï¼šstring|AbilityStageMonitor.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStateData;<br>方法or属性:moduleName: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStateData;<br>方法or属性:moduleName: string;<br>新版本信æ¯ï¼šstring|AbilityStateData.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStateData;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStateData;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|AbilityStateData.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStateData;<br>方法or属性:abilityName: string;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStateData;<br>方法or属性:abilityName: string;<br>新版本信æ¯ï¼šstring|AbilityStateData.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStateData;<br>方法or属性:pid: number;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStateData;<br>方法or属性:pid: number;<br>新版本信æ¯ï¼šnumber|AbilityStateData.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStateData;<br>方法or属性:uid: number;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStateData;<br>方法or属性:uid: number;<br>新版本信æ¯ï¼šnumber|AbilityStateData.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStateData;<br>方法or属性:state: number;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStateData;<br>方法or属性:state: number;<br>新版本信æ¯ï¼šnumber|AbilityStateData.d.ts| +|type有å˜åŒ–|ç±»å:AbilityStateData;<br>方法or属性:abilityType: number;<br>旧版本信æ¯ï¼š|ç±»å:AbilityStateData;<br>方法or属性:abilityType: number;<br>新版本信æ¯ï¼šnumber|AbilityStateData.d.ts| +|type有å˜åŒ–|ç±»å:AppStateData;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:AppStateData;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|AppStateData.d.ts| +|type有å˜åŒ–|ç±»å:AppStateData;<br>方法or属性:uid: number;<br>旧版本信æ¯ï¼š|ç±»å:AppStateData;<br>方法or属性:uid: number;<br>新版本信æ¯ï¼šnumber|AppStateData.d.ts| +|type有å˜åŒ–|ç±»å:AppStateData;<br>方法or属性:state: number;<br>旧版本信æ¯ï¼š|ç±»å:AppStateData;<br>方法or属性:state: number;<br>新版本信æ¯ï¼šnumber|AppStateData.d.ts| +|type有å˜åŒ–|ç±»å:BaseContext;<br>方法or属性:stageMode: boolean;<br>旧版本信æ¯ï¼š|ç±»å:BaseContext;<br>方法or属性:stageMode: boolean;<br>新版本信æ¯ï¼šboolean|BaseContext.d.ts| +|type有å˜åŒ–|ç±»å:Context;<br>方法or属性:area: contextConstant.AreaMode;<br>旧版本信æ¯ï¼šAreaMode|ç±»å:Context;<br>方法or属性:area: contextConstant.AreaMode;<br>新版本信æ¯ï¼šcontextConstant.AreaMode|Context.d.ts| +|type有å˜åŒ–|ç±»å:ContinueDeviceInfo;<br>方法or属性:srcDeviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinueDeviceInfo;<br>方法or属性:srcDeviceId: string;<br>新版本信æ¯ï¼šstring|ContinueDeviceInfo.d.ts| +|type有å˜åŒ–|ç±»å:ContinueDeviceInfo;<br>方法or属性:dstDeviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinueDeviceInfo;<br>方法or属性:dstDeviceId: string;<br>新版本信æ¯ï¼šstring|ContinueDeviceInfo.d.ts| +|type有å˜åŒ–|ç±»å:ContinueDeviceInfo;<br>方法or属性:missionId: number;<br>旧版本信æ¯ï¼š|ç±»å:ContinueDeviceInfo;<br>方法or属性:missionId: number;<br>新版本信æ¯ï¼šnumber|ContinueDeviceInfo.d.ts| +|type有å˜åŒ–|ç±»å:ContinueDeviceInfo;<br>方法or属性:wantParam: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:ContinueDeviceInfo;<br>方法or属性:wantParam: { [key: string]: any };<br>新版本信æ¯ï¼šobject|ContinueDeviceInfo.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionContext;<br>方法or属性:currentHapModuleInfo: HapModuleInfo;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionContext;<br>方法or属性:currentHapModuleInfo: HapModuleInfo;<br>新版本信æ¯ï¼šHapModuleInfo|ExtensionContext.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionContext;<br>方法or属性:config: Configuration;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionContext;<br>方法or属性:config: Configuration;<br>新版本信æ¯ï¼šConfiguration|ExtensionContext.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionContext;<br>方法or属性:extensionAbilityInfo: ExtensionAbilityInfo;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionContext;<br>方法or属性:extensionAbilityInfo: ExtensionAbilityInfo;<br>新版本信æ¯ï¼šExtensionAbilityInfo|ExtensionContext.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionRunningInfo;<br>方法or属性:extension: ElementName;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionRunningInfo;<br>方法or属性:extension: ElementName;<br>新版本信æ¯ï¼šElementName|ExtensionRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionRunningInfo;<br>方法or属性:pid: number;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionRunningInfo;<br>方法or属性:pid: number;<br>新版本信æ¯ï¼šnumber|ExtensionRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionRunningInfo;<br>方法or属性:uid: number;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionRunningInfo;<br>方法or属性:uid: number;<br>新版本信æ¯ï¼šnumber|ExtensionRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionRunningInfo;<br>方法or属性:processName: string;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionRunningInfo;<br>方法or属性:processName: string;<br>新版本信æ¯ï¼šstring|ExtensionRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionRunningInfo;<br>方法or属性:startTime: number;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionRunningInfo;<br>方法or属性:startTime: number;<br>新版本信æ¯ï¼šnumber|ExtensionRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionRunningInfo;<br>方法or属性:clientPackage: Array\<String>;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionRunningInfo;<br>方法or属性:clientPackage: Array\<String>;<br>新版本信æ¯ï¼šArray\<String>|ExtensionRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ExtensionRunningInfo;<br>方法or属性:type: bundle.ExtensionAbilityType;<br>旧版本信æ¯ï¼š|ç±»å:ExtensionRunningInfo;<br>方法or属性:type: bundle.ExtensionAbilityType;<br>新版本信æ¯ï¼šbundle.ExtensionAbilityType|ExtensionRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionDeviceInfo;<br>方法or属性:deviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionDeviceInfo;<br>方法or属性:deviceId: string;<br>新版本信æ¯ï¼šstring|MissionDeviceInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:missionId: number;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:missionId: number;<br>新版本信æ¯ï¼šnumber|MissionInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:runningState: number;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:runningState: number;<br>新版本信æ¯ï¼šnumber|MissionInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:lockedState: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:lockedState: boolean;<br>新版本信æ¯ï¼šboolean|MissionInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:timestamp: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:timestamp: string;<br>新版本信æ¯ï¼šstring|MissionInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:want: Want;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:want: Want;<br>新版本信æ¯ï¼šWant|MissionInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:label: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:label: string;<br>新版本信æ¯ï¼šstring|MissionInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:iconPath: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:iconPath: string;<br>新版本信æ¯ï¼šstring|MissionInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionInfo;<br>方法or属性:continuable: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MissionInfo;<br>方法or属性:continuable: boolean;<br>新版本信æ¯ï¼šboolean|MissionInfo.d.ts| +|type有å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:deviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:deviceId: string;<br>新版本信æ¯ï¼šstring|MissionParameter.d.ts| +|type有å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:fixConflict: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:fixConflict: boolean;<br>新版本信æ¯ï¼šboolean|MissionParameter.d.ts| +|type有å˜åŒ–|ç±»å:MissionParameter;<br>方法or属性:tag: number;<br>旧版本信æ¯ï¼š|ç±»å:MissionParameter;<br>方法or属性:tag: number;<br>新版本信æ¯ï¼šnumber|MissionParameter.d.ts| +|type有å˜åŒ–|ç±»å:MissionSnapshot;<br>方法or属性:ability: ElementName;<br>旧版本信æ¯ï¼š|ç±»å:MissionSnapshot;<br>方法or属性:ability: ElementName;<br>新版本信æ¯ï¼šElementName|MissionSnapshot.d.ts| +|type有å˜åŒ–|ç±»å:MissionSnapshot;<br>方法or属性:snapshot: image.PixelMap;<br>旧版本信æ¯ï¼š|ç±»å:MissionSnapshot;<br>方法or属性:snapshot: image.PixelMap;<br>新版本信æ¯ï¼šimage.PixelMap|MissionSnapshot.d.ts| +|type有å˜åŒ–|ç±»å:ProcessData;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:ProcessData;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|ProcessData.d.ts| +|type有å˜åŒ–|ç±»å:ProcessData;<br>方法or属性:pid: number;<br>旧版本信æ¯ï¼š|ç±»å:ProcessData;<br>方法or属性:pid: number;<br>新版本信æ¯ï¼šnumber|ProcessData.d.ts| +|type有å˜åŒ–|ç±»å:ProcessData;<br>方法or属性:uid: number;<br>旧版本信æ¯ï¼š|ç±»å:ProcessData;<br>方法or属性:uid: number;<br>新版本信æ¯ï¼šnumber|ProcessData.d.ts| +|type有å˜åŒ–|ç±»å:ProcessData;<br>方法or属性:state: number;<br>旧版本信æ¯ï¼š|ç±»å:ProcessData;<br>方法or属性:state: number;<br>新版本信æ¯ï¼šnumber|ProcessData.d.ts| +|type有å˜åŒ–|ç±»å:ProcessData;<br>方法or属性:isContinuousTask: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ProcessData;<br>方法or属性:isContinuousTask: boolean;<br>新版本信æ¯ï¼šboolean|ProcessData.d.ts| +|type有å˜åŒ–|ç±»å:ProcessData;<br>方法or属性:isKeepAlive: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ProcessData;<br>方法or属性:isKeepAlive: boolean;<br>新版本信æ¯ï¼šboolean|ProcessData.d.ts| +|type有å˜åŒ–|ç±»å:ProcessInformation;<br>方法or属性:pid: number;<br>旧版本信æ¯ï¼š|ç±»å:ProcessInformation;<br>方法or属性:pid: number;<br>新版本信æ¯ï¼šnumber|ProcessInformation.d.ts| +|type有å˜åŒ–|ç±»å:ProcessInformation;<br>方法or属性:uid: number;<br>旧版本信æ¯ï¼š|ç±»å:ProcessInformation;<br>方法or属性:uid: number;<br>新版本信æ¯ï¼šnumber|ProcessInformation.d.ts| +|type有å˜åŒ–|ç±»å:ProcessInformation;<br>方法or属性:processName: string;<br>旧版本信æ¯ï¼š|ç±»å:ProcessInformation;<br>方法or属性:processName: string;<br>新版本信æ¯ï¼šstring|ProcessInformation.d.ts| +|type有å˜åŒ–|ç±»å:ProcessInformation;<br>方法or属性:bundleNames: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:ProcessInformation;<br>方法or属性:bundleNames: Array\<string>;<br>新版本信æ¯ï¼šArray\<string>|ProcessInformation.d.ts| +|type有å˜åŒ–|ç±»å:ProcessRunningInfo;<br>方法or属性:pid: number;<br>旧版本信æ¯ï¼š|ç±»å:ProcessRunningInfo;<br>方法or属性:pid: number;<br>新版本信æ¯ï¼šnumber|ProcessRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ProcessRunningInfo;<br>方法or属性:uid: number;<br>旧版本信æ¯ï¼š|ç±»å:ProcessRunningInfo;<br>方法or属性:uid: number;<br>新版本信æ¯ï¼šnumber|ProcessRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ProcessRunningInfo;<br>方法or属性:processName: string;<br>旧版本信æ¯ï¼š|ç±»å:ProcessRunningInfo;<br>方法or属性:processName: string;<br>新版本信æ¯ï¼šstring|ProcessRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ProcessRunningInfo;<br>方法or属性:bundleNames: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:ProcessRunningInfo;<br>方法or属性:bundleNames: Array\<string>;<br>新版本信æ¯ï¼šArray\<string>|ProcessRunningInfo.d.ts| +|type有å˜åŒ–|ç±»å:ShellCmdResult;<br>方法or属性:stdResult: string;<br>旧版本信æ¯ï¼š|ç±»å:ShellCmdResult;<br>方法or属性:stdResult: string;<br>新版本信æ¯ï¼šstring|shellCmdResult.d.ts| +|type有å˜åŒ–|ç±»å:ShellCmdResult;<br>方法or属性:exitCode: number;<br>旧版本信æ¯ï¼š|ç±»å:ShellCmdResult;<br>方法or属性:exitCode: number;<br>新版本信æ¯ï¼šnumber|shellCmdResult.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationExtraParams;<br>方法or属性:deviceType?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:ContinuationExtraParams;<br>方法or属性:deviceType?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|continuationExtraParams.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationExtraParams;<br>方法or属性:targetBundle?: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinuationExtraParams;<br>方法or属性:targetBundle?: string;<br>新版本信æ¯ï¼š?string|continuationExtraParams.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationExtraParams;<br>方法or属性:description?: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinuationExtraParams;<br>方法or属性:description?: string;<br>新版本信æ¯ï¼š?string|continuationExtraParams.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationExtraParams;<br>方法or属性:filter?: any;<br>旧版本信æ¯ï¼š|ç±»å:ContinuationExtraParams;<br>方法or属性:filter?: any;<br>新版本信æ¯ï¼š?any|continuationExtraParams.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationExtraParams;<br>方法or属性:continuationMode?: continuationManager.ContinuationMode;<br>旧版本信æ¯ï¼š|ç±»å:ContinuationExtraParams;<br>方法or属性:continuationMode?: continuationManager.ContinuationMode;<br>新版本信æ¯ï¼š?continuationManager.ContinuationMode|continuationExtraParams.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationExtraParams;<br>方法or属性:authInfo?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:ContinuationExtraParams;<br>方法or属性:authInfo?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|continuationExtraParams.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationResult;<br>方法or属性:id: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinuationResult;<br>方法or属性:id: string;<br>新版本信æ¯ï¼šstring|continuationResult.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationResult;<br>方法or属性:type: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinuationResult;<br>方法or属性:type: string;<br>新版本信æ¯ï¼šstring|continuationResult.d.ts| +|type有å˜åŒ–|ç±»å:ContinuationResult;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:ContinuationResult;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šstring|continuationResult.d.ts| +|type有å˜åŒ–|ç±»å:TriggerInfo;<br>方法or属性:code: number;<br>旧版本信æ¯ï¼š|ç±»å:TriggerInfo;<br>方法or属性:code: number;<br>新版本信æ¯ï¼šnumber|triggerInfo.d.ts| +|type有å˜åŒ–|ç±»å:TriggerInfo;<br>方法or属性:want?: Want;<br>旧版本信æ¯ï¼š|ç±»å:TriggerInfo;<br>方法or属性:want?: Want;<br>新版本信æ¯ï¼š?Want|triggerInfo.d.ts| +|type有å˜åŒ–|ç±»å:TriggerInfo;<br>方法or属性:permission?: string;<br>旧版本信æ¯ï¼š|ç±»å:TriggerInfo;<br>方法or属性:permission?: string;<br>新版本信æ¯ï¼š?string|triggerInfo.d.ts| +|type有å˜åŒ–|ç±»å:TriggerInfo;<br>方法or属性:extraInfo?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:TriggerInfo;<br>方法or属性:extraInfo?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|triggerInfo.d.ts| +|type有å˜åŒ–|ç±»å:WantAgentInfo;<br>方法or属性:wants: Array\<Want>;<br>旧版本信æ¯ï¼š|ç±»å:WantAgentInfo;<br>方法or属性:wants: Array\<Want>;<br>新版本信æ¯ï¼šArray\<Want>|wantAgentInfo.d.ts| +|type有å˜åŒ–|ç±»å:WantAgentInfo;<br>方法or属性:operationType: wantAgent.OperationType;<br>旧版本信æ¯ï¼š|ç±»å:WantAgentInfo;<br>方法or属性:operationType: wantAgent.OperationType;<br>新版本信æ¯ï¼šwantAgent.OperationType|wantAgentInfo.d.ts| +|type有å˜åŒ–|ç±»å:WantAgentInfo;<br>方法or属性:requestCode: number;<br>旧版本信æ¯ï¼š|ç±»å:WantAgentInfo;<br>方法or属性:requestCode: number;<br>新版本信æ¯ï¼šnumber|wantAgentInfo.d.ts| +|type有å˜åŒ–|ç±»å:WantAgentInfo;<br>方法or属性:wantAgentFlags?: Array\<wantAgent.WantAgentFlags>;<br>旧版本信æ¯ï¼š|ç±»å:WantAgentInfo;<br>方法or属性:wantAgentFlags?: Array\<wantAgent.WantAgentFlags>;<br>新版本信æ¯ï¼š?Array\<wantAgent.WantAgentFlags>|wantAgentInfo.d.ts| +|type有å˜åŒ–|ç±»å:WantAgentInfo;<br>方法or属性:extraInfo?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:WantAgentInfo;<br>方法or属性:extraInfo?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|wantAgentInfo.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-account.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-account.md new file mode 100644 index 0000000000000000000000000000000000000000..bc458d1fbe4842ec4ae9c8905b47648320978b51 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-account.md @@ -0,0 +1,17 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:AuthorizationExtensionAbility;<br>方法or属性:onStartAuthorization(request: AuthorizationRequest, callback: AuthorizationCallback): void;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts| +|新增|NA|ç±»å:AuthorizationRequest;<br>方法or属性:readonly callerUid: number;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts| +|新增|NA|ç±»å:AuthorizationRequest;<br>方法or属性:readonly parameters: appAccount.AccountCapabilityRequest;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts| +|新增|NA|ç±»å:AuthorizationCallback;<br>方法or属性:onResult: AsyncCallback\<appAccount.AccountCapabilityResponse, { [key: string]: object }>;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts| +|新增|NA|ç±»å:AccountCapabilityType;<br>方法or属性:AUTHORIZATION = 1|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AccountCapabilityProvider;<br>方法or属性:readonly capabilityType: AccountCapabilityType;|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AccountCapabilityProvider;<br>方法or属性:constructor(capabilityType: AccountCapabilityType);|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AuthorizationProvider;<br>方法or属性:constructor(info: AuthorizationProviderInfo);|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AuthorizationProviderInfo;<br>方法or属性:readonly bundleName: string;|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AuthorizationProviderInfo;<br>方法or属性:readonly abilityName: string;|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AccountCapabilityRequest;<br>方法or属性:constructor(provider: AccountCapabilityProvider);|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AccountCapabilityResponse;<br>方法or属性:readonly request: AccountCapabilityRequest;|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AccountCapabilityResponse;<br>方法or属性:constructor(request: AccountCapabilityRequest);|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AccountCapabilityScheduler;<br>方法or属性:executeRequest(<br> request: AccountCapabilityRequest,<br> callback: AsyncCallback\<AccountCapabilityResponse, { [key: string]: object }><br> ): void;|@ohos.account.appAccount.d.ts| +|新增|NA|ç±»å:AccountCapabilityScheduler;<br>方法or属性:executeRequest(request: AccountCapabilityRequest): Promise\<AccountCapabilityResponse>;|@ohos.account.appAccount.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-ai.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-ai.md new file mode 100644 index 0000000000000000000000000000000000000000..613b805911c02155b69dfc2755a53a65f14a03d1 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-ai.md @@ -0,0 +1,52 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromFile(<br> model: string,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromFile(<br> model: string, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromFile(<br> model: string,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromBuffer(<br> model: ArrayBuffer,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromBuffer(<br> model: ArrayBuffer, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromBuffer(<br> model: ArrayBuffer,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromFd(<br> model: number,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromFd(<br> model: number, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:mindSporeLite;<br>方法or属性:function loadModelFromFd(<br> model: number,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Model;<br>方法or属性:getInputs(): MSTensor[];|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Model;<br>方法or属性:predict(inputs: MSTensor[], callback: Callback\<MSTensor[]>): void;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Model;<br>方法or属性:predict(inputs: MSTensor[]): Promise\<MSTensor[]>;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Model;<br>方法or属性:resize(inputs: MSTensor[], dims: Array\<Array\<number>>): boolean;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Context;<br>方法or属性:target?: string[];|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Context;<br>方法or属性:cpu?: CpuDevice;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Context;<br>方法or属性:nnrt?: NNRTDevice;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:CpuDevice;<br>方法or属性:threadNum?: number;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:CpuDevice;<br>方法or属性:threadAffinityMode?: ThreadAffinityMode;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:CpuDevice;<br>方法or属性:threadAffinityCoreList?: number[];|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:CpuDevice;<br>方法or属性:precisionMode?: string;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:ThreadAffinityMode;<br>方法or属性:NO_AFFINITIES = 0|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:ThreadAffinityMode;<br>方法or属性:BIG_CORES_FIRST = 1|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:ThreadAffinityMode;<br>方法or属性:LITTLE_CORES_FIRST = 2|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:MSTensor;<br>方法or属性:name: string;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:MSTensor;<br>方法or属性:shape: number[];|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:MSTensor;<br>方法or属性:elementNum: number;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:MSTensor;<br>方法or属性:dataSize: number;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:MSTensor;<br>方法or属性:dtype: DataType;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:MSTensor;<br>方法or属性:format: Format;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:MSTensor;<br>方法or属性:getData(): ArrayBuffer;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:MSTensor;<br>方法or属性:setData(inputArray: ArrayBuffer): void;|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:TYPE_UNKNOWN = 0|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_INT8 = 32|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_INT16 = 33|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_INT32 = 34|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_INT64 = 35|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_UINT8 = 37|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_UINT16 = 38|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_UINT32 = 39|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_UINT64 = 40|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_FLOAT16 = 42|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_FLOAT32 = 43|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:DataType;<br>方法or属性:NUMBER_TYPE_FLOAT64 = 44|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Format;<br>方法or属性:DEFAULT_FORMAT = -1|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Format;<br>方法or属性:NCHW = 0|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Format;<br>方法or属性:NHWC = 1|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Format;<br>方法or属性:NHWC4 = 2|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Format;<br>方法or属性:HWKC = 3|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Format;<br>方法or属性:HWCK = 4|@ohos.ai.mindSporeLite.d.ts| +|新增|NA|ç±»å:Format;<br>方法or属性:KCHW = 5|@ohos.ai.mindSporeLite.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-application.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-application.md new file mode 100644 index 0000000000000000000000000000000000000000..a5450e225201b16eea91f3b945e82c15c23bd4d1 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-application.md @@ -0,0 +1,19 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:settings;<br>方法or属性:function getValue(context: Context, name: string, callback: AsyncCallback\<string>): void;|@ohos.settings.d.ts| +|新增|NA|ç±»å:settings;<br>方法or属性:function getValue(context: Context, name: string): Promise\<string>;|@ohos.settings.d.ts| +|新增|NA|ç±»å:settings;<br>方法or属性:function setValue(context: Context, name: string, value: string, callback: AsyncCallback\<boolean>): void;|@ohos.settings.d.ts| +|新增|NA|ç±»å:settings;<br>方法or属性:function setValue(context: Context, name: string, value: string): Promise\<boolean>;|@ohos.settings.d.ts| +|新增|NA|ç±»å:settings;<br>方法or属性:function getValueSync(context: Context, name: string, defValue: string): string;|@ohos.settings.d.ts| +|新增|NA|ç±»å:settings;<br>方法or属性:function setValueSync(context: Context, name: string, value: string): boolean;|@ohos.settings.d.ts| +|废弃版本有å˜åŒ–|ç±»å:settings;<br>方法or属性:function getURI(name: string): Promise\<object>;<br>旧版本信æ¯ï¼š|ç±»å:settings;<br>方法or属性:function getURI(name: string): Promise\<object>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.settings.d.ts| +|废弃版本有å˜åŒ–|ç±»å:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>旧版本信æ¯ï¼š|ç±»å:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.settings#getValue|@ohos.settings.d.ts| +|废弃版本有å˜åŒ–|ç±»å:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.settings#setValue|@ohos.settings.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function makeCall(phoneNumber: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function makeCall(phoneNumber: string): Promise\<void>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.settings.d.ts| +|model有å˜åŒ–|ç±»å:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): void;<br>旧版本信æ¯ï¼šFAModelOnly|ç±»å:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): void;<br>新版本信æ¯ï¼šfamodelonly|@ohos.settings.d.ts| +|model有å˜åŒ–|ç±»å:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>旧版本信æ¯ï¼š|ç±»å:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>新版本信æ¯ï¼šfamodelonly|@ohos.settings.d.ts| +|model有å˜åŒ–|ç±»å:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼šFAModelOnly|ç±»å:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼šfamodelonly|@ohos.settings.d.ts| +|model有å˜åŒ–|ç±»å:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>新版本信æ¯ï¼šfamodelonly|@ohos.settings.d.ts| +|model有å˜åŒ–|ç±»å:settings;<br>方法or属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>旧版本信æ¯ï¼šFAModelOnly|ç±»å:settings;<br>方法or属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>新版本信æ¯ï¼šfamodelonly|@ohos.settings.d.ts| +|model有å˜åŒ–|ç±»å:settings;<br>方法or属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>旧版本信æ¯ï¼šFAModelOnly|ç±»å:settings;<br>方法or属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>新版本信æ¯ï¼šfamodelonly|@ohos.settings.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-arkui.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-arkui.md new file mode 100644 index 0000000000000000000000000000000000000000..ef29755ca928791e091909e0034b02c4592a28ab --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-arkui.md @@ -0,0 +1,833 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:NamedRouterOptions;<br>方法or属性:params?: Object;|@ohos.router.d.ts| +|新增|NA|ç±»å:dragController;<br>方法or属性:function executeDrag(custom: CustomBuilder \| DragItemInfo, dragInfo: DragInfo, callback: AsyncCallback\<{<br> event: DragEvent, extraParams: string<br> }>): void;|@ohos.arkui.dragController.d.ts| +|新增|NA|ç±»å:dragController;<br>方法or属性:function executeDrag(custom: CustomBuilder \| DragItemInfo, dragInfo: DragInfo): Promise\<{<br> event: DragEvent, extraParams: string<br> }>;|@ohos.arkui.dragController.d.ts| +|新增|NA|ç±»å:DragInfo;<br>方法or属性:pointerId: number;|@ohos.arkui.dragController.d.ts| +|新增|NA|ç±»å:DragInfo;<br>方法or属性:data?: UDMF.UnifiedData;|@ohos.arkui.dragController.d.ts| +|新增|NA|ç±»å:DragInfo;<br>方法or属性:extraParams?: string;|@ohos.arkui.dragController.d.ts| +|新增|NA|ç±»å:LayeredDrawableDescriptor;<br>方法or属性:static getMaskClipPath(): string;|@ohos.arkui.drawableDescriptor.d.ts| +|新增|NA|ç±»å:inspector;<br>方法or属性:function createComponentObserver(id: string): ComponentObserver;|@ohos.arkui.inspector.d.ts| +|新增|NA|ç±»å:ComponentObserver;<br>方法or属性:on(type: 'layout', callback: () => void): void;|@ohos.arkui.inspector.d.ts| +|新增|NA|ç±»å:ComponentObserver;<br>方法or属性:on(type: 'draw', callback: () => void): void;|@ohos.arkui.inspector.d.ts| +|新增|NA|ç±»å:ComponentObserver;<br>方法or属性:off(type: 'layout', callback?: () => void): void;|@ohos.arkui.inspector.d.ts| +|新增|NA|ç±»å:ComponentObserver;<br>方法or属性:off(type: 'draw', callback?: () => void): void;|@ohos.arkui.inspector.d.ts| +|新增|NA|ç±»å:performanceMonitor;<br>方法or属性:function begin(scene: string, startInputType: ActionType, note?: string): void;|@ohos.arkui.performanceMonitor.d.ts| +|新增|NA|ç±»å:performanceMonitor;<br>方法or属性:function end(scene: string): void;|@ohos.arkui.performanceMonitor.d.ts| +|新增|NA|ç±»å:ActionType;<br>方法or属性:LAST_DOWN = 0|@ohos.arkui.performanceMonitor.d.ts| +|新增|NA|ç±»å:ActionType;<br>方法or属性:LAST_UP = 1|@ohos.arkui.performanceMonitor.d.ts| +|新增|NA|ç±»å:ActionType;<br>方法or属性:FIRST_MOVE = 2|@ohos.arkui.performanceMonitor.d.ts| +|新增|NA|ç±»å:Font;<br>方法or属性:registerFont(options: font.FontOptions): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Font;<br>方法or属性:getSystemFontList(): Array\<string>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Font;<br>方法or属性:getFontByName(fontName: string): font.FontInfo;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:MediaQuery;<br>方法or属性:matchMediaSync(condition: string): mediaQuery.MediaQueryListener;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIInspector;<br>方法or属性:createComponentObserver(id: string): inspector.ComponentObserver;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:pushUrl(options: router.RouterOptions, callback: AsyncCallback\<void>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:pushUrl(options: router.RouterOptions): Promise\<void>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:pushUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback\<void>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:pushUrl(options: router.RouterOptions, mode: router.RouterMode): Promise\<void>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:replaceUrl(options: router.RouterOptions, callback: AsyncCallback\<void>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:replaceUrl(options: router.RouterOptions): Promise\<void>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:replaceUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback\<void>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:replaceUrl(options: router.RouterOptions, mode: router.RouterMode): Promise\<void>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:back(options: router.RouterOptions): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:clear(): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:getLength(): string;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:getState(): router.RouterState;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:showAlertBeforeBackPage(options: router.EnableAlertOptions): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:hideAlertBeforeBackPage(): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:getParams(): Object;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:pushNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback\<void>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:pushNamedRoute(options: router.NamedRouterOptions): Promise\<void>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback\<void>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise\<void>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:replaceNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback\<void>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:replaceNamedRoute(options: router.NamedRouterOptions): Promise\<void>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback\<void>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:Router;<br>方法or属性:replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise\<void>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:PromptAction;<br>方法or属性:showToast(options: promptAction.ShowToastOptions): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:PromptAction;<br>方法or属性:showDialog(options: promptAction.ShowDialogOptions, callback: AsyncCallback\<promptAction.ShowDialogSuccessResponse>): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:PromptAction;<br>方法or属性:showDialog(options: promptAction.ShowDialogOptions): Promise\<promptAction.ShowDialogSuccessResponse>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:PromptAction;<br>方法or属性:showActionMenu(options: promptAction.ActionMenuOptions, callback: promptAction.ActionMenuSuccessResponse): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:PromptAction;<br>方法or属性:showActionMenu(options: promptAction.ActionMenuOptions): Promise\<promptAction.ActionMenuSuccessResponse>;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:ComponentUtils;<br>方法or属性:getRectangleById(id: string): componentUtils.ComponentInfo;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:getFont(): Font;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:getMediaQuery(): MediaQuery;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:getUIInspector(): UIInspector;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:getRouter(): Router;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:getPromptAction(): PromptAction;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:getComponentUtils(): ComponentUtils;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:createAnimator(options: AnimatorOptions): AnimatorResult;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:animateTo(value: AnimateParam, event: () => void): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:showAlertDialog(options: AlertDialogParamWithConfirm \| AlertDialogParamWithButtons): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:showActionSheet(value: ActionSheetOptions): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:showDatePickerDialog(options: DatePickerDialogOptions): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:showTimePickerDialog(options: TimePickerDialogOptions): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:showTextPickerDialog(options: TextPickerDialogOptions): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:UIContext;<br>方法or属性:runScopedTask(callback: () => void): void;|@ohos.arkui.UIContext.d.ts| +|新增|NA|ç±»å:componentUtils;<br>方法or属性:type Matrix4Result = [<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> number,<br> ];|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:componentUtils;<br>方法or属性:function getRectangleById(id: string): ComponentInfo;|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ComponentInfo;<br>方法or属性:size: Size|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ComponentInfo;<br>方法or属性:localOffset: Offset|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ComponentInfo;<br>方法or属性:windowOffset: Offset|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ComponentInfo;<br>方法or属性:screenOffset: Offset|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ComponentInfo;<br>方法or属性:translate: TranslateResult|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ComponentInfo;<br>方法or属性:scale: ScaleResult|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ComponentInfo;<br>方法or属性:rotate: RotateResult|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ComponentInfo;<br>方法or属性:transform: Matrix4Result|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:Size;<br>方法or属性:width: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:Size;<br>方法or属性:height: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:Offset;<br>方法or属性:x: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:TranslateResult;<br>方法or属性:x: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ScaleResult;<br>方法or属性:x: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:RotateResult;<br>方法or属性:x: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:Offset;<br>方法or属性:y: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:TranslateResult;<br>方法or属性:y: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ScaleResult;<br>方法or属性:y: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:RotateResult;<br>方法or属性:y: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:TranslateResult;<br>方法or属性:z: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ScaleResult;<br>方法or属性:z: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:RotateResult;<br>方法or属性:z: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ScaleResult;<br>方法or属性:centerX: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:RotateResult;<br>方法or属性:centerX: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:ScaleResult;<br>方法or属性:centerY: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:RotateResult;<br>方法or属性:centerY: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:RotateResult;<br>方法or属性:angle: number|@ohos.componentUtils.d.ts| +|新增|NA|ç±»å:curves;<br>方法or属性:function customCurve(interpolate: (fraction: number) => number): ICurve;|@ohos.curves.d.ts| +|新增|NA|ç±»å:font;<br>方法or属性:function getSystemFontList(): Array\<string>;|@ohos.font.d.ts| +|新增|NA|ç±»å:font;<br>方法or属性:function getFontByName(fontName: string): FontInfo;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:path: string;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:postScriptName: string;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:fullName: string;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:family: string;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:subfamily: string;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:weight: number;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:width: number;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:italic: boolean;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:monoSpace: boolean;|@ohos.font.d.ts| +|新增|NA|ç±»å:FontInfo;<br>方法or属性:symbolic: boolean;|@ohos.font.d.ts| +|新增|NA|ç±»å:router;<br>方法or属性:function pushNamedRoute(options: NamedRouterOptions, callback: AsyncCallback\<void>): void;|@ohos.router.d.ts| +|新增|NA|ç±»å:router;<br>方法or属性:function pushNamedRoute(options: NamedRouterOptions): Promise\<void>;|@ohos.router.d.ts| +|新增|NA|ç±»å:router;<br>方法or属性:function pushNamedRoute(options: NamedRouterOptions, mode: RouterMode, callback: AsyncCallback\<void>): void;|@ohos.router.d.ts| +|新增|NA|ç±»å:router;<br>方法or属性:function pushNamedRoute(options: NamedRouterOptions, mode: RouterMode): Promise\<void>;|@ohos.router.d.ts| +|新增|NA|ç±»å:router;<br>方法or属性:function replaceNamedRoute(options: NamedRouterOptions, callback: AsyncCallback\<void>): void;|@ohos.router.d.ts| +|新增|NA|ç±»å:router;<br>方法or属性:function replaceNamedRoute(options: NamedRouterOptions): Promise\<void>;|@ohos.router.d.ts| +|新增|NA|ç±»å:router;<br>方法or属性:function replaceNamedRoute(options: NamedRouterOptions, mode: RouterMode, callback: AsyncCallback\<void>): void;|@ohos.router.d.ts| +|新增|NA|ç±»å:router;<br>方法or属性:function replaceNamedRoute(options: NamedRouterOptions, mode: RouterMode): Promise\<void>;|@ohos.router.d.ts| +|新增|NA|ç±»å:NamedRouterOptions;<br>方法or属性:name: string;|@ohos.router.d.ts| +|废弃版本有å˜åŒ–|ç±»å:matrix4;<br>方法or属性:function copy(): Matrix4Transit;<br>旧版本信æ¯ï¼š|ç±»å:matrix4;<br>方法or属性:function copy(): Matrix4Transit;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@ohos.matrix4.d.ts| +|废弃版本有å˜åŒ–|ç±»å:matrix4;<br>方法or属性:function invert(): Matrix4Transit;<br>旧版本信æ¯ï¼š|ç±»å:matrix4;<br>方法or属性:function invert(): Matrix4Transit;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@ohos.matrix4.d.ts| +|废弃版本有å˜åŒ–|ç±»å:matrix4;<br>方法or属性:function combine(options: Matrix4Transit): Matrix4Transit;<br>旧版本信æ¯ï¼š|ç±»å:matrix4;<br>方法or属性:function combine(options: Matrix4Transit): Matrix4Transit;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@ohos.matrix4.d.ts| +|废弃版本有å˜åŒ–|ç±»å:matrix4;<br>方法or属性:function translate(options: TranslateOption): Matrix4Transit;<br>旧版本信æ¯ï¼š|ç±»å:matrix4;<br>方法or属性:function translate(options: TranslateOption): Matrix4Transit;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@ohos.matrix4.d.ts| +|废弃版本有å˜åŒ–|ç±»å:matrix4;<br>方法or属性:function scale(options: ScaleOption): Matrix4Transit;<br>旧版本信æ¯ï¼š|ç±»å:matrix4;<br>方法or属性:function scale(options: ScaleOption): Matrix4Transit;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@ohos.matrix4.d.ts| +|废弃版本有å˜åŒ–|ç±»å:matrix4;<br>方法or属性:function rotate(options: RotateOption): Matrix4Transit;<br>旧版本信æ¯ï¼š|ç±»å:matrix4;<br>方法or属性:function rotate(options: RotateOption): Matrix4Transit;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@ohos.matrix4.d.ts| +|废弃版本有å˜åŒ–|ç±»å:matrix4;<br>方法or属性:function transformPoint(options: [number, number]): [number, number];<br>旧版本信æ¯ï¼š|ç±»å:matrix4;<br>方法or属性:function transformPoint(options: [number, number]): [number, number];<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@ohos.matrix4.d.ts| +|废弃版本有å˜åŒ–|ç±»å:ClickEvent;<br>方法or属性:screenX: number;<br>旧版本信æ¯ï¼š|ç±»å:ClickEvent;<br>方法or属性:screenX: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ClickEvent#windowX|common.d.ts| +|废弃版本有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:screenX: number;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:screenX: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š MouseEvent#windowX|common.d.ts| +|废弃版本有å˜åŒ–|ç±»å:TouchObject;<br>方法or属性:screenX: number;<br>旧版本信æ¯ï¼š|ç±»å:TouchObject;<br>方法or属性:screenX: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š TouchObject#windowX|common.d.ts| +|废弃版本有å˜åŒ–|ç±»å:ClickEvent;<br>方法or属性:screenY: number;<br>旧版本信æ¯ï¼š|ç±»å:ClickEvent;<br>方法or属性:screenY: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ClickEvent#windowY|common.d.ts| +|废弃版本有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:screenY: number;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:screenY: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š MouseEvent#windowY|common.d.ts| +|废弃版本有å˜åŒ–|ç±»å:TouchObject;<br>方法or属性:screenY: number;<br>旧版本信æ¯ï¼š|ç±»å:TouchObject;<br>方法or属性:screenY: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š TouchObject#windowY|common.d.ts| +|废弃版本有å˜åŒ–|ç±»å:DragEvent;<br>方法or属性:getX(): number;<br>旧版本信æ¯ï¼š|ç±»å:DragEvent;<br>方法or属性:getX(): number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š DragEvent#getWindowX()|common.d.ts| +|废弃版本有å˜åŒ–|ç±»å:DragEvent;<br>方法or属性:getY(): number;<br>旧版本信æ¯ï¼š|ç±»å:DragEvent;<br>方法or属性:getY(): number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š DragEvent#getWindowY()|common.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Link(propName: string): any;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Link(propName: string): any;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#link|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static SetAndLink\<T>(propName: string, defaultValue: T): SubscribedAbstractProperty\<T>;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static SetAndLink\<T>(propName: string, defaultValue: T): SubscribedAbstractProperty\<T>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#setAndLink|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Prop(propName: string): any;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Prop(propName: string): any;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#prop|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static SetAndProp\<S>(propName: string, defaultValue: S): SubscribedAbstractProperty\<S>;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static SetAndProp\<S>(propName: string, defaultValue: S): SubscribedAbstractProperty\<S>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#setAndProp|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Has(propName: string): boolean;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Has(propName: string): boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#has|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Get\<T>(propName: string): T \| undefined;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Get\<T>(propName: string): T \| undefined;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#get|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Set\<T>(propName: string, newValue: T): boolean;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Set\<T>(propName: string, newValue: T): boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#set|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static SetOrCreate\<T>(propName: string, newValue: T): void;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static SetOrCreate\<T>(propName: string, newValue: T): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#setOrCreate|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Delete(propName: string): boolean;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Delete(propName: string): boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#delete|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Keys(): IterableIterator\<string>;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Keys(): IterableIterator\<string>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#keys|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Clear(): boolean;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Clear(): boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#clear|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static IsMutable(propName: string): boolean;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static IsMutable(propName: string): boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:AppStorage;<br>方法or属性:static Size(): number;<br>旧版本信æ¯ï¼š|ç±»å:AppStorage;<br>方法or属性:static Size(): number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š AppStorage#size|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Environment;<br>方法or属性:static EnvProp\<S>(key: string, value: S): boolean;<br>旧版本信æ¯ï¼š|ç±»å:Environment;<br>方法or属性:static EnvProp\<S>(key: string, value: S): boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š Environment#envProp|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Environment;<br>方法or属性:static EnvProps(<br> props: {<br> key: string;<br> defaultValue: any;<br> }[],<br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:Environment;<br>方法or属性:static EnvProps(<br> props: {<br> key: string;<br> defaultValue: any;<br> }[],<br> ): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š Environment#envProps|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Environment;<br>方法or属性:static Keys(): Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:Environment;<br>方法or属性:static Keys(): Array\<string>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š Environment#keys|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:PersistentStorage;<br>方法or属性:static Keys(): Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:PersistentStorage;<br>方法or属性:static Keys(): Array\<string>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š PersistentStorage#keys|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:PersistentStorage;<br>方法or属性:static PersistProp\<T>(key: string, defaultValue: T): void;<br>旧版本信æ¯ï¼š|ç±»å:PersistentStorage;<br>方法or属性:static PersistProp\<T>(key: string, defaultValue: T): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š PersistentStorage#persistProp|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:PersistentStorage;<br>方法or属性:static DeleteProp(key: string): void;<br>旧版本信æ¯ï¼š|ç±»å:PersistentStorage;<br>方法or属性:static DeleteProp(key: string): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š PersistentStorage#deleteProp|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:PersistentStorage;<br>方法or属性:static PersistProps(<br> properties: {<br> key: string;<br> defaultValue: any;<br> }[],<br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:PersistentStorage;<br>方法or属性:static PersistProps(<br> properties: {<br> key: string;<br> defaultValue: any;<br> }[],<br> ): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š PersistentStorage#PersistProps|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:LocalStorage;<br>方法or属性:static GetShared(): LocalStorage;<br>旧版本信æ¯ï¼š|ç±»å:LocalStorage;<br>方法or属性:static GetShared(): LocalStorage;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š LocalStorage#getShared|common_ts_ets_api.d.ts| +|废弃版本有å˜åŒ–|ç±»å:ListItemInterface;<br>方法or属性:(value?: string): ListItemAttribute;<br>旧版本信æ¯ï¼š|ç±»å:ListItemInterface;<br>方法or属性:(value?: string): ListItemAttribute;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š listItem/ListItemInterface|list_item.d.ts| +|废弃版本有å˜åŒ–|ç±»å:NavigationAttribute;<br>方法or属性:toolBar(value: object \| CustomBuilder): NavigationAttribute;<br>旧版本信æ¯ï¼š|ç±»å:NavigationAttribute;<br>方法or属性:toolBar(value: object \| CustomBuilder): NavigationAttribute;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š navigation/NavigationAttribute#toolbarConfiguration|navigation.d.ts| +|废弃版本有å˜åŒ–|ç±»å:WebAttribute;<br>方法or属性:password(password: boolean): WebAttribute;<br>旧版本信æ¯ï¼š|ç±»å:WebAttribute;<br>方法or属性:password(password: boolean): WebAttribute;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|web.d.ts| +|废弃版本有å˜åŒ–|ç±»å:WebAttribute;<br>方法or属性:tableData(tableData: boolean): WebAttribute;<br>旧版本信æ¯ï¼š|ç±»å:WebAttribute;<br>方法or属性:tableData(tableData: boolean): WebAttribute;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|web.d.ts| +|废弃版本有å˜åŒ–|ç±»å:WebAttribute;<br>方法or属性:wideViewModeAccess(wideViewModeAccess: boolean): WebAttribute;<br>旧版本信æ¯ï¼š|ç±»å:WebAttribute;<br>方法or属性:wideViewModeAccess(wideViewModeAccess: boolean): WebAttribute;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|web.d.ts| +|访问级别有å˜åŒ–|ç±»å:uiAppearance;<br>方法or属性:declare uiAppearance<br>旧版本信æ¯ï¼š|ç±»å:uiAppearance;<br>方法or属性:declare uiAppearance<br>新版本信æ¯ï¼šsystemapi|@ohos.uiAppearance.d.ts| +|访问级别有å˜åŒ–|ç±»å:DarkMode;<br>方法or属性:enum DarkMode<br>旧版本信æ¯ï¼š|ç±»å:DarkMode;<br>方法or属性:enum DarkMode<br>新版本信æ¯ï¼šsystemapi|@ohos.uiAppearance.d.ts| +|访问级别有å˜åŒ–|ç±»å:DarkMode;<br>方法or属性:ALWAYS_DARK = 0<br>旧版本信æ¯ï¼š|ç±»å:DarkMode;<br>方法or属性:ALWAYS_DARK = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.uiAppearance.d.ts| +|访问级别有å˜åŒ–|ç±»å:DarkMode;<br>方法or属性:ALWAYS_LIGHT = 1<br>旧版本信æ¯ï¼š|ç±»å:DarkMode;<br>方法or属性:ALWAYS_LIGHT = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.uiAppearance.d.ts| +|访问级别有å˜åŒ–|ç±»å:CommonMethod;<br>方法or属性:sphericalEffect(value: number): T;<br>旧版本信æ¯ï¼š|ç±»å:CommonMethod;<br>方法or属性:sphericalEffect(value: number): T;<br>新版本信æ¯ï¼šsystemapi|common.d.ts| +|访问级别有å˜åŒ–|ç±»å:CommonMethod;<br>方法or属性:lightUpEffect(value: number): T;<br>旧版本信æ¯ï¼š|ç±»å:CommonMethod;<br>方法or属性:lightUpEffect(value: number): T;<br>新版本信æ¯ï¼šsystemapi|common.d.ts| +|访问级别有å˜åŒ–|ç±»å:CommonMethod;<br>方法or属性:pixelStretchEffect(options: PixelStretchEffectOptions): T;<br>旧版本信æ¯ï¼š|ç±»å:CommonMethod;<br>方法or属性:pixelStretchEffect(options: PixelStretchEffectOptions): T;<br>新版本信æ¯ï¼šsystemapi|common.d.ts| +|访问级别有å˜åŒ–|ç±»å:ChainEdgeEffect;<br>方法or属性:DEFAULT<br>旧版本信æ¯ï¼š|ç±»å:ChainEdgeEffect;<br>方法or属性:DEFAULT<br>新版本信æ¯ï¼šsystemapi|list.d.ts| +|访问级别有å˜åŒ–|ç±»å:ChainEdgeEffect;<br>方法or属性:STRETCH<br>旧版本信æ¯ï¼š|ç±»å:ChainEdgeEffect;<br>方法or属性:STRETCH<br>新版本信æ¯ï¼šsystemapi|list.d.ts| +|访问级别有å˜åŒ–|ç±»å:ChainAnimationOptions;<br>方法or属性:minSpace: Length;<br>旧版本信æ¯ï¼š|ç±»å:ChainAnimationOptions;<br>方法or属性:minSpace: Length;<br>新版本信æ¯ï¼šsystemapi|list.d.ts| +|访问级别有å˜åŒ–|ç±»å:ChainAnimationOptions;<br>方法or属性:maxSpace: Length;<br>旧版本信æ¯ï¼š|ç±»å:ChainAnimationOptions;<br>方法or属性:maxSpace: Length;<br>新版本信æ¯ï¼šsystemapi|list.d.ts| +|访问级别有å˜åŒ–|ç±»å:ChainAnimationOptions;<br>方法or属性:conductivity?: number;<br>旧版本信æ¯ï¼š|ç±»å:ChainAnimationOptions;<br>方法or属性:conductivity?: number;<br>新版本信æ¯ï¼šsystemapi|list.d.ts| +|访问级别有å˜åŒ–|ç±»å:ChainAnimationOptions;<br>方法or属性:intensity?: number;<br>旧版本信æ¯ï¼š|ç±»å:ChainAnimationOptions;<br>方法or属性:intensity?: number;<br>新版本信æ¯ï¼šsystemapi|list.d.ts| +|访问级别有å˜åŒ–|ç±»å:ChainAnimationOptions;<br>方法or属性:edgeEffect?: ChainEdgeEffect;<br>旧版本信æ¯ï¼š|ç±»å:ChainAnimationOptions;<br>方法or属性:edgeEffect?: ChainEdgeEffect;<br>新版本信æ¯ï¼šsystemapi|list.d.ts| +|访问级别有å˜åŒ–|ç±»å:RRect;<br>方法or属性:left: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:left: number;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|访问级别有å˜åŒ–|ç±»å:RRect;<br>方法or属性:top: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:top: number;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|访问级别有å˜åŒ–|ç±»å:RRect;<br>方法or属性:width: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:width: number;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|访问级别有å˜åŒ–|ç±»å:RRect;<br>方法or属性:height: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:height: number;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|访问级别有å˜åŒ–|ç±»å:RRect;<br>方法or属性:radius: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:radius: number;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>旧版本信æ¯ï¼š|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>旧版本信æ¯ï¼š|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|访问级别有å˜åŒ–|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>旧版本信æ¯ï¼š|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>新版本信æ¯ï¼šsystemapi|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:scaleX?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:scaleX?: number;<br>新版本信æ¯ï¼šnumber|canvaspattern.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:rotateY?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:rotateY?: number;<br>新版本信æ¯ï¼šnumber|canvaspattern.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:rotateX?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:rotateX?: number;<br>新版本信æ¯ï¼šnumber|canvaspattern.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:scaleY?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:scaleY?: number;<br>新版本信æ¯ï¼šnumber|canvaspattern.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:translateX?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:translateX?: number;<br>新版本信æ¯ï¼šnumber|canvaspattern.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:translateY?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:translateY?: number;<br>新版本信æ¯ï¼šnumber|canvaspattern.d.ts| +|type有å˜åŒ–|ç±»å:FontOptions;<br>方法or属性:familyName: string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:FontOptions;<br>方法or属性:familyName: string \| Resource;<br>新版本信æ¯ï¼šstring \| Resource|@ohos.font.d.ts| +|type有å˜åŒ–|ç±»å:FontOptions;<br>方法or属性:familySrc: string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:FontOptions;<br>方法or属性:familySrc: string \| Resource;<br>新版本信æ¯ï¼šstring \| Resource|@ohos.font.d.ts| +|type有å˜åŒ–|ç±»å:TranslateOption;<br>方法or属性:x?: number;<br>旧版本信æ¯ï¼š|ç±»å:TranslateOption;<br>方法or属性:x?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOption;<br>方法or属性:x?: number;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOption;<br>方法or属性:x?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:RotateOption;<br>方法or属性:x?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOption;<br>方法or属性:x?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:TranslateOption;<br>方法or属性:y?: number;<br>旧版本信æ¯ï¼š|ç±»å:TranslateOption;<br>方法or属性:y?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOption;<br>方法or属性:y?: number;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOption;<br>方法or属性:y?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:RotateOption;<br>方法or属性:y?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOption;<br>方法or属性:y?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:TranslateOption;<br>方法or属性:z?: number;<br>旧版本信æ¯ï¼š|ç±»å:TranslateOption;<br>方法or属性:z?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOption;<br>方法or属性:z?: number;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOption;<br>方法or属性:z?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:RotateOption;<br>方法or属性:z?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOption;<br>方法or属性:z?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOption;<br>方法or属性:centerX?: number;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOption;<br>方法or属性:centerX?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:RotateOption;<br>方法or属性:centerX?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOption;<br>方法or属性:centerX?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOption;<br>方法or属性:centerY?: number;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOption;<br>方法or属性:centerY?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:RotateOption;<br>方法or属性:centerY?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOption;<br>方法or属性:centerY?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:RotateOption;<br>方法or属性:angle?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOption;<br>方法or属性:angle?: number;<br>新版本信æ¯ï¼š?number|@ohos.matrix4.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:textContent: string \| Resource;<br>旧版本信æ¯ï¼š( string \| Resource )|ç±»å:MeasureOptions;<br>方法or属性:textContent: string \| Resource;<br>新版本信æ¯ï¼šstring \| Resource|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:constraintWidth?: number \| string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:constraintWidth?: number \| string \| Resource;<br>新版本信æ¯ï¼š?(number \| string \| Resource)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:fontSize?: number \| string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:fontSize?: number \| string \| Resource;<br>新版本信æ¯ï¼š?(number \| string \| Resource)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:fontStyle?: number \| FontStyle;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:fontStyle?: number \| FontStyle;<br>新版本信æ¯ï¼š?(number \| FontStyle)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:fontWeight?: number \| string \| FontWeight;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:fontWeight?: number \| string \| FontWeight;<br>新版本信æ¯ï¼š?(number \| string \| FontWeight)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:fontFamily?: string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:fontFamily?: string \| Resource;<br>新版本信æ¯ï¼š?(number \| Resource)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:letterSpacing?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:letterSpacing?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:textAlign?: number \| TextAlign;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:textAlign?: number \| TextAlign;<br>新版本信æ¯ï¼š?(number \| TextAlign)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:overflow?: number \| TextOverflow;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:overflow?: number \| TextOverflow;<br>新版本信æ¯ï¼š?(number \| TextOverflow)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:maxLines?: number;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:maxLines?: number;<br>新版本信æ¯ï¼š?number|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:lineHeight?: number \| string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:lineHeight?: number \| string \| Resource;<br>新版本信æ¯ï¼š?(number \| string \| Resource)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:baselineOffset?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:baselineOffset?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MeasureOptions;<br>方法or属性:textCase?: number \| TextCase;<br>旧版本信æ¯ï¼š|ç±»å:MeasureOptions;<br>方法or属性:textCase?: number \| TextCase;<br>新版本信æ¯ï¼š?(number \| TextCase)|@ohos.measure.d.ts| +|type有å˜åŒ–|ç±»å:MediaQueryResult;<br>方法or属性:readonly matches: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MediaQueryResult;<br>方法or属性:readonly matches: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.mediaquery.d.ts| +|type有å˜åŒ–|ç±»å:MediaQueryResult;<br>方法or属性:readonly media: string;<br>旧版本信æ¯ï¼š|ç±»å:MediaQueryResult;<br>方法or属性:readonly media: string;<br>新版本信æ¯ï¼šstring|@ohos.mediaquery.d.ts| +|type有å˜åŒ–|ç±»å:ShowToastOptions;<br>方法or属性:duration?: number;<br>旧版本信æ¯ï¼š|ç±»å:ShowToastOptions;<br>方法or属性:duration?: number;<br>新版本信æ¯ï¼š?number|@ohos.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowToastOptions;<br>方法or属性:bottom?: string \| number;<br>旧版本信æ¯ï¼š|ç±»å:ShowToastOptions;<br>方法or属性:bottom?: string \| number;<br>新版本信æ¯ï¼š?(string \| number)|@ohos.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogOptions;<br>方法or属性:title?: string;<br>旧版本信æ¯ï¼šstring|ç±»å:ShowDialogOptions;<br>方法or属性:title?: string;<br>新版本信æ¯ï¼š?string|@ohos.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ActionMenuOptions;<br>方法or属性:title?: string;<br>旧版本信æ¯ï¼šstring|ç±»å:ActionMenuOptions;<br>方法or属性:title?: string;<br>新版本信æ¯ï¼š?string|@ohos.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogOptions;<br>方法or属性:message?: string;<br>旧版本信æ¯ï¼šstring|ç±»å:ShowDialogOptions;<br>方法or属性:message?: string;<br>新版本信æ¯ï¼š?string|@ohos.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogOptions;<br>方法or属性:buttons?: [Button, Button?, Button?];<br>旧版本信æ¯ï¼š|ç±»å:ShowDialogOptions;<br>方法or属性:buttons?: [Button, Button?, Button?];<br>新版本信æ¯ï¼š?([Button, Button?, Button?])|@ohos.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ActionMenuSuccessResponse;<br>方法or属性:index: number;<br>旧版本信æ¯ï¼š|ç±»å:ActionMenuSuccessResponse;<br>方法or属性:index: number;<br>新版本信æ¯ï¼šnumber|@ohos.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ActionMenuOptions;<br>方法or属性:buttons: [Button, Button?, Button?, Button?, Button?, Button?];<br>旧版本信æ¯ï¼š|ç±»å:ActionMenuOptions;<br>方法or属性:buttons: [Button, Button?, Button?, Button?, Button?, Button?];<br>新版本信æ¯ï¼š[Button, Button?, Button?, Button?, Button?, Button?]|@ohos.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowToastOptions;<br>方法or属性:duration?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:ShowToastOptions;<br>方法or属性:duration?: number;<br>新版本信æ¯ï¼š?number|@ohos.promptAction.d.ts| +|type有å˜åŒ–|ç±»å:ShowToastOptions;<br>方法or属性:bottom?: string \| number;<br>旧版本信æ¯ï¼šstring \| number|ç±»å:ShowToastOptions;<br>方法or属性:bottom?: string \| number;<br>新版本信æ¯ï¼š?string \| number|@ohos.promptAction.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogOptions;<br>方法or属性:title?: string \| Resource;<br>旧版本信æ¯ï¼šstring \| Resource|ç±»å:ShowDialogOptions;<br>方法or属性:title?: string \| Resource;<br>新版本信æ¯ï¼š?string \| Resource|@ohos.promptAction.d.ts| +|type有å˜åŒ–|ç±»å:ActionMenuOptions;<br>方法or属性:title?: string \| Resource;<br>旧版本信æ¯ï¼šstring \| Resource|ç±»å:ActionMenuOptions;<br>方法or属性:title?: string \| Resource;<br>新版本信æ¯ï¼š?string \| Resource|@ohos.promptAction.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogOptions;<br>方法or属性:message?: string \| Resource;<br>旧版本信æ¯ï¼šstring \| Resource|ç±»å:ShowDialogOptions;<br>方法or属性:message?: string \| Resource;<br>新版本信æ¯ï¼š?string \| Resource|@ohos.promptAction.d.ts| +|type有å˜åŒ–|ç±»å:RouterOptions;<br>方法or属性:params?: Object;<br>旧版本信æ¯ï¼šObject|ç±»å:RouterOptions;<br>方法or属性:params?: Object;<br>新版本信æ¯ï¼š?Object|@ohos.router.d.ts| +|type有å˜åŒ–|ç±»å:AppResponse;<br>方法or属性:appID: string;<br>旧版本信æ¯ï¼š|ç±»å:AppResponse;<br>方法or属性:appID: string;<br>新版本信æ¯ï¼šstring|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:AppResponse;<br>方法or属性:appName: string;<br>旧版本信æ¯ï¼š|ç±»å:AppResponse;<br>方法or属性:appName: string;<br>新版本信æ¯ï¼šstring|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:AppResponse;<br>方法or属性:versionName: string;<br>旧版本信æ¯ï¼š|ç±»å:AppResponse;<br>方法or属性:versionName: string;<br>新版本信æ¯ï¼šstring|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:AppResponse;<br>方法or属性:versionCode: number;<br>旧版本信æ¯ï¼š|ç±»å:AppResponse;<br>方法or属性:versionCode: number;<br>新版本信æ¯ï¼šstring|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:ScreenOnVisibleOptions;<br>方法or属性:visible?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ScreenOnVisibleOptions;<br>方法or属性:visible?: boolean;<br>新版本信æ¯ï¼š?string|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:ScreenOnVisibleOptions;<br>方法or属性:success?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:ScreenOnVisibleOptions;<br>方法or属性:success?: () => void;<br>新版本信æ¯ï¼š?(() => void)|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:ScreenOnVisibleOptions;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:ScreenOnVisibleOptions;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š?((data: string, code: number) => void)|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:ScreenOnVisibleOptions;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:ScreenOnVisibleOptions;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š?(() => void)|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:RequestFullWindowOptions;<br>方法or属性:duration: number;<br>旧版本信æ¯ï¼š|ç±»å:RequestFullWindowOptions;<br>方法or属性:duration: number;<br>新版本信æ¯ï¼šnumber|@system.app.d.ts| +|type有å˜åŒ–|ç±»å:LocaleResponse;<br>方法or属性:language: string;<br>旧版本信æ¯ï¼š|ç±»å:LocaleResponse;<br>方法or属性:language: string;<br>新版本信æ¯ï¼šstring|@system.configuration.d.ts| +|type有å˜åŒ–|ç±»å:LocaleResponse;<br>方法or属性:countryOrRegion: string;<br>旧版本信æ¯ï¼š|ç±»å:LocaleResponse;<br>方法or属性:countryOrRegion: string;<br>新版本信æ¯ï¼šstring|@system.configuration.d.ts| +|type有å˜åŒ–|ç±»å:LocaleResponse;<br>方法or属性:dir: "ltr" \| "rtl";<br>旧版本信æ¯ï¼š|ç±»å:LocaleResponse;<br>方法or属性:dir: "ltr" \| "rtl";<br>新版本信æ¯ï¼š'ltr' \| 'rtl'|@system.configuration.d.ts| +|type有å˜åŒ–|ç±»å:MediaQueryEvent;<br>方法or属性:matches: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MediaQueryEvent;<br>方法or属性:matches: boolean;<br>新版本信æ¯ï¼šboolean|@system.mediaquery.d.ts| +|type有å˜åŒ–|ç±»å:MediaQueryList;<br>方法or属性:media?: string;<br>旧版本信æ¯ï¼š|ç±»å:MediaQueryList;<br>方法or属性:media?: string;<br>新版本信æ¯ï¼š?string|@system.mediaquery.d.ts| +|type有å˜åŒ–|ç±»å:MediaQueryList;<br>方法or属性:matches?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MediaQueryList;<br>方法or属性:matches?: boolean;<br>新版本信æ¯ï¼š?boolean|@system.mediaquery.d.ts| +|type有å˜åŒ–|ç±»å:MediaQueryList;<br>方法or属性:onchange?: (matches: boolean) => void;<br>旧版本信æ¯ï¼š|ç±»å:MediaQueryList;<br>方法or属性:onchange?: (matches: boolean) => void;<br>新版本信æ¯ï¼š?((matches: boolean) => void)|@system.mediaquery.d.ts| +|type有å˜åŒ–|ç±»å:ShowToastOptions;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:ShowToastOptions;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šstring|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowToastOptions;<br>方法or属性:duration?: number;<br>旧版本信æ¯ï¼š|ç±»å:ShowToastOptions;<br>方法or属性:duration?: number;<br>新版本信æ¯ï¼šnumber|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowToastOptions;<br>方法or属性:bottom?: string \| number;<br>旧版本信æ¯ï¼š|ç±»å:ShowToastOptions;<br>方法or属性:bottom?: string \| number;<br>新版本信æ¯ï¼šstring \| number|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:Button;<br>方法or属性:text: string;<br>旧版本信æ¯ï¼š|ç±»å:Button;<br>方法or属性:text: string;<br>新版本信æ¯ï¼šstring|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:Button;<br>方法or属性:color: string;<br>旧版本信æ¯ï¼š|ç±»å:Button;<br>方法or属性:color: string;<br>新版本信æ¯ï¼šstring|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogSuccessResponse;<br>方法or属性:index: number;<br>旧版本信æ¯ï¼š|ç±»å:ShowDialogSuccessResponse;<br>方法or属性:index: number;<br>新版本信æ¯ï¼šnumber|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogOptions;<br>方法or属性:title?: string;<br>旧版本信æ¯ï¼š|ç±»å:ShowDialogOptions;<br>方法or属性:title?: string;<br>新版本信æ¯ï¼š?string|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowActionMenuOptions;<br>方法or属性:title?: string;<br>旧版本信æ¯ï¼š|ç±»å:ShowActionMenuOptions;<br>方法or属性:title?: string;<br>新版本信æ¯ï¼š?string|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogOptions;<br>方法or属性:message?: string;<br>旧版本信æ¯ï¼š|ç±»å:ShowDialogOptions;<br>方法or属性:message?: string;<br>新版本信æ¯ï¼š?string|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowDialogOptions;<br>方法or属性:buttons?: [Button, Button?, Button?];<br>旧版本信æ¯ï¼š|ç±»å:ShowDialogOptions;<br>方法or属性:buttons?: [Button, Button?, Button?];<br>新版本信æ¯ï¼š[Button, Button?, Button?]|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowActionMenuOptions;<br>方法or属性:buttons: [Button, Button?, Button?, Button?, Button?, Button?];<br>旧版本信æ¯ï¼š|ç±»å:ShowActionMenuOptions;<br>方法or属性:buttons: [Button, Button?, Button?, Button?, Button?, Button?];<br>新版本信æ¯ï¼š[Button, Button?, Button?, Button?, Button?, Button?]|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowActionMenuOptions;<br>方法or属性:success?: (tapIndex: number, errMsg: string) => void;<br>旧版本信æ¯ï¼š|ç±»å:ShowActionMenuOptions;<br>方法or属性:success?: (tapIndex: number, errMsg: string) => void;<br>新版本信æ¯ï¼š?((tapIndex: number, errMsg: string) => void)|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowActionMenuOptions;<br>方法or属性:fail?: (errMsg: string) => void;<br>旧版本信æ¯ï¼š|ç±»å:ShowActionMenuOptions;<br>方法or属性:fail?: (errMsg: string) => void;<br>新版本信æ¯ï¼š?((errMsg: string) => void)|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:ShowActionMenuOptions;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:ShowActionMenuOptions;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š?(() => void)|@system.prompt.d.ts| +|type有å˜åŒ–|ç±»å:RouterOptions;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:RouterOptions;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼šstring|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:RouterOptions;<br>方法or属性:params?: Object;<br>旧版本信æ¯ï¼š|ç±»å:RouterOptions;<br>方法or属性:params?: Object;<br>新版本信æ¯ï¼š?Object|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:BackRouterOptions;<br>方法or属性:params?: Object;<br>旧版本信æ¯ï¼š|ç±»å:BackRouterOptions;<br>方法or属性:params?: Object;<br>新版本信æ¯ï¼š?Object|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:BackRouterOptions;<br>方法or属性:uri?: string;<br>旧版本信æ¯ï¼š|ç±»å:BackRouterOptions;<br>方法or属性:uri?: string;<br>新版本信æ¯ï¼š?string|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:RouterState;<br>方法or属性:index: number;<br>旧版本信æ¯ï¼š|ç±»å:RouterState;<br>方法or属性:index: number;<br>新版本信æ¯ï¼šnumber|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:RouterState;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:RouterState;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šstring|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:RouterState;<br>方法or属性:path: string;<br>旧版本信æ¯ï¼š|ç±»å:RouterState;<br>方法or属性:path: string;<br>新版本信æ¯ï¼šstring|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:EnableAlertBeforeBackPageOptions;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:EnableAlertBeforeBackPageOptions;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šstring|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:EnableAlertBeforeBackPageOptions;<br>方法or属性:success?: (errMsg: string) => void;<br>旧版本信æ¯ï¼š|ç±»å:EnableAlertBeforeBackPageOptions;<br>方法or属性:success?: (errMsg: string) => void;<br>新版本信æ¯ï¼š(errMsg: string) => void|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:DisableAlertBeforeBackPageOptions;<br>方法or属性:success?: (errMsg: string) => void;<br>旧版本信æ¯ï¼š|ç±»å:DisableAlertBeforeBackPageOptions;<br>方法or属性:success?: (errMsg: string) => void;<br>新版本信æ¯ï¼š(errMsg: string) => void|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:EnableAlertBeforeBackPageOptions;<br>方法or属性:cancel?: (errMsg: string) => void;<br>旧版本信æ¯ï¼š|ç±»å:EnableAlertBeforeBackPageOptions;<br>方法or属性:cancel?: (errMsg: string) => void;<br>新版本信æ¯ï¼š(errMsg: string) => void|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:DisableAlertBeforeBackPageOptions;<br>方法or属性:cancel?: (errMsg: string) => void;<br>旧版本信æ¯ï¼š|ç±»å:DisableAlertBeforeBackPageOptions;<br>方法or属性:cancel?: (errMsg: string) => void;<br>新版本信æ¯ï¼š(errMsg: string) => void|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:EnableAlertBeforeBackPageOptions;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:EnableAlertBeforeBackPageOptions;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š() => void|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:DisableAlertBeforeBackPageOptions;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:DisableAlertBeforeBackPageOptions;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š() => void|@system.router.d.ts| +|type有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare type CustomBuilder = (() => any) \| void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare type CustomBuilder = (() => any) \| void;<br>新版本信æ¯ï¼š(() => any) \| void|common.d.ts| +|type有å˜åŒ–|ç±»å:SheetInfo;<br>方法or属性:title: string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:SheetInfo;<br>方法or属性:title: string \| Resource;<br>新版本信æ¯ï¼šstring \| Resource|action_sheet.d.ts| +|type有å˜åŒ–|ç±»å:SheetInfo;<br>方法or属性:icon?: string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:SheetInfo;<br>方法or属性:icon?: string \| Resource;<br>新版本信æ¯ï¼š?(string \| Resource)|action_sheet.d.ts| +|type有å˜åŒ–|ç±»å:SheetInfo;<br>方法or属性:action: () => void;<br>旧版本信æ¯ï¼š|ç±»å:SheetInfo;<br>方法or属性:action: () => void;<br>新版本信æ¯ï¼š() => void|action_sheet.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParam;<br>方法or属性:title?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParam;<br>方法or属性:title?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParam;<br>方法or属性:message: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParam;<br>方法or属性:message: ResourceStr;<br>新版本信æ¯ï¼šResourceStr|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParam;<br>方法or属性:autoCancel?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParam;<br>方法or属性:autoCancel?: boolean;<br>新版本信æ¯ï¼š?boolean|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParam;<br>方法or属性:cancel?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParam;<br>方法or属性:cancel?: () => void;<br>新版本信æ¯ï¼š?(() => void)|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParam;<br>方法or属性:alignment?: DialogAlignment;<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParam;<br>方法or属性:alignment?: DialogAlignment;<br>新版本信æ¯ï¼š?DialogAlignment|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParam;<br>方法or属性:offset?: Offset;<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParam;<br>方法or属性:offset?: Offset;<br>新版本信æ¯ï¼š?Offset|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParam;<br>方法or属性:gridCount?: number;<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParam;<br>方法or属性:gridCount?: number;<br>新版本信æ¯ï¼š?number|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParamWithConfirm;<br>方法or属性:confirm?: {<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> value: ResourceStr;<br><br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> fontColor?: ResourceColor;<br><br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> backgroundColor?: ResourceColor;<br><br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> action: () => void;<br> };<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParamWithConfirm;<br>方法or属性:confirm?: {<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> value: ResourceStr;<br><br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> fontColor?: ResourceColor;<br><br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> backgroundColor?: ResourceColor;<br><br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> action: () => void;<br> };<br>新版本信æ¯ï¼š?{value: ResourceStr; fontColor?: ResourceColor; backgroundColor?: ResourceColor;action: () => void;}|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParamWithButtons;<br>方法or属性:primaryButton: {<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> value: ResourceStr;<br><br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> fontColor?: ResourceColor;<br><br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> backgroundColor?: ResourceColor;<br><br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> action: () => void;<br> };<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParamWithButtons;<br>方法or属性:primaryButton: {<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> value: ResourceStr;<br><br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> fontColor?: ResourceColor;<br><br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> backgroundColor?: ResourceColor;<br><br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> action: () => void;<br> };<br>新版本信æ¯ï¼š{value: ResourceStr; fontColor?: ResourceColor; backgroundColor?: ResourceColor;action: () => void;}|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:AlertDialogParamWithButtons;<br>方法or属性:secondaryButton: {<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> value: ResourceStr;<br><br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> fontColor?: ResourceColor;<br><br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> backgroundColor?: ResourceColor;<br><br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> action: () => void;<br> };<br>旧版本信æ¯ï¼š|ç±»å:AlertDialogParamWithButtons;<br>方法or属性:secondaryButton: {<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text content of the confirmation button.<br> *<br> * @type { ResourceStr }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> value: ResourceStr;<br><br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Text color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> fontColor?: ResourceColor;<br><br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Background color of the confirmation button.<br> *<br> * @type { ?ResourceColor }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> backgroundColor?: ResourceColor;<br><br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @since 7<br> */<br> /**<br> * Method executed by the callback.<br> *<br> * @type { () => void }<br> * @syscap SystemCapability.ArkUI.ArkUI.Full<br> * @crossplatform<br> * @since 10<br> */<br> action: () => void;<br> };<br>新版本信æ¯ï¼š{value: ResourceStr; fontColor?: ResourceColor; backgroundColor?: ResourceColor;action: () => void;}|alert_dialog.d.ts| +|type有å˜åŒ–|ç±»å:BadgeStyle;<br>方法or属性:color?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:BadgeStyle;<br>方法or属性:color?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeStyle;<br>方法or属性:fontSize?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:BadgeStyle;<br>方法or属性:fontSize?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeStyle;<br>方法or属性:badgeSize?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:BadgeStyle;<br>方法or属性:badgeSize?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeStyle;<br>方法or属性:badgeColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:BadgeStyle;<br>方法or属性:badgeColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeStyle;<br>方法or属性:borderColor?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:BadgeStyle;<br>方法or属性:borderColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeStyle;<br>方法or属性:borderWidth?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:BadgeStyle;<br>方法or属性:borderWidth?: Length;<br>新版本信æ¯ï¼š?Length|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeStyle;<br>方法or属性:fontWeight?: number \| FontWeight \| string;<br>旧版本信æ¯ï¼šnumber \| FontWeight \| string|ç±»å:BadgeStyle;<br>方法or属性:fontWeight?: number \| FontWeight \| string;<br>新版本信æ¯ï¼š?(number \| FontWeight \| string)|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeParam;<br>方法or属性:position?: BadgePosition \| Position;<br>旧版本信æ¯ï¼š|ç±»å:BadgeParam;<br>方法or属性:position?: BadgePosition \| Position;<br>新版本信æ¯ï¼šBadgePosition \| Position|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeParam;<br>方法or属性:style: BadgeStyle;<br>旧版本信æ¯ï¼š|ç±»å:BadgeParam;<br>方法or属性:style: BadgeStyle;<br>新版本信æ¯ï¼šBadgeStyle|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeParamWithNumber;<br>方法or属性:count: number;<br>旧版本信æ¯ï¼š|ç±»å:BadgeParamWithNumber;<br>方法or属性:count: number;<br>新版本信æ¯ï¼šnumber|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeParamWithNumber;<br>方法or属性:maxCount?: number;<br>旧版本信æ¯ï¼š|ç±»å:BadgeParamWithNumber;<br>方法or属性:maxCount?: number;<br>新版本信æ¯ï¼š?number|badge.d.ts| +|type有å˜åŒ–|ç±»å:BadgeParamWithString;<br>方法or属性:value: string;<br>旧版本信æ¯ï¼š|ç±»å:BadgeParamWithString;<br>方法or属性:value: string;<br>新版本信æ¯ï¼šstring|badge.d.ts| +|type有å˜åŒ–|ç±»å:ButtonOptions;<br>方法or属性:type?: ButtonType;<br>旧版本信æ¯ï¼š|ç±»å:ButtonOptions;<br>方法or属性:type?: ButtonType;<br>新版本信æ¯ï¼š?ButtonType|button.d.ts| +|type有å˜åŒ–|ç±»å:ButtonOptions;<br>方法or属性:stateEffect?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ButtonOptions;<br>方法or属性:stateEffect?: boolean;<br>新版本信æ¯ï¼š?boolean|button.d.ts| +|type有å˜åŒ–|ç±»å:LabelStyle;<br>方法or属性:overflow?: TextOverflow;<br>旧版本信æ¯ï¼šTextOverflow|ç±»å:LabelStyle;<br>方法or属性:overflow?: TextOverflow;<br>新版本信æ¯ï¼š?TextOverflow|button.d.ts| +|type有å˜åŒ–|ç±»å:LabelStyle;<br>方法or属性:maxLines?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:LabelStyle;<br>方法or属性:maxLines?: number;<br>新版本信æ¯ï¼š?number|button.d.ts| +|type有å˜åŒ–|ç±»å:LabelStyle;<br>方法or属性:minFontSize?: number \| ResourceStr;<br>旧版本信æ¯ï¼šnumber \| ResourceStr|ç±»å:LabelStyle;<br>方法or属性:minFontSize?: number \| ResourceStr;<br>新版本信æ¯ï¼š?(number \| ResourceStr)|button.d.ts| +|type有å˜åŒ–|ç±»å:LabelStyle;<br>方法or属性:maxFontSize?: number \| ResourceStr;<br>旧版本信æ¯ï¼šnumber \| ResourceStr|ç±»å:LabelStyle;<br>方法or属性:maxFontSize?: number \| ResourceStr;<br>新版本信æ¯ï¼š?(number \| ResourceStr)|button.d.ts| +|type有å˜åŒ–|ç±»å:LabelStyle;<br>方法or属性:heightAdaptivePolicy?: TextHeightAdaptivePolicy;<br>旧版本信æ¯ï¼šTextHeightAdaptivePolicy|ç±»å:LabelStyle;<br>方法or属性:heightAdaptivePolicy?: TextHeightAdaptivePolicy;<br>新版本信æ¯ï¼š?TextHeightAdaptivePolicy|button.d.ts| +|type有å˜åŒ–|ç±»å:LabelStyle;<br>方法or属性:font?: Font;<br>旧版本信æ¯ï¼šFont|ç±»å:LabelStyle;<br>方法or属性:font?: Font;<br>新版本信æ¯ï¼š?Font|button.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:index: number;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:index: number;<br>新版本信æ¯ï¼šnumber|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:lunarMonth: string;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:lunarMonth: string;<br>新版本信æ¯ï¼šstring|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:lunarDay: string;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:lunarDay: string;<br>新版本信æ¯ï¼šstring|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:dayMark: string;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:dayMark: string;<br>新版本信æ¯ï¼šstring|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:dayMarkValue: string;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:dayMarkValue: string;<br>新版本信æ¯ï¼šstring|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:year: number;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:year: number;<br>新版本信æ¯ï¼šnumber|calendar.d.ts| +|type有å˜åŒ–|ç±»å:MonthData;<br>方法or属性:year: number;<br>旧版本信æ¯ï¼š|ç±»å:MonthData;<br>方法or属性:year: number;<br>新版本信æ¯ï¼šnumber|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:month: number;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:month: number;<br>新版本信æ¯ï¼šnumber|calendar.d.ts| +|type有å˜åŒ–|ç±»å:MonthData;<br>方法or属性:month: number;<br>旧版本信æ¯ï¼š|ç±»å:MonthData;<br>方法or属性:month: number;<br>新版本信æ¯ï¼šnumber|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:day: number;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:day: number;<br>新版本信æ¯ï¼šnumber|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:isFirstOfLunar: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:isFirstOfLunar: boolean;<br>新版本信æ¯ï¼šboolean|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:hasSchedule: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:hasSchedule: boolean;<br>新版本信æ¯ï¼šboolean|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CalendarDay;<br>方法or属性:markLunarDay: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CalendarDay;<br>方法or属性:markLunarDay: boolean;<br>新版本信æ¯ï¼šboolean|calendar.d.ts| +|type有å˜åŒ–|ç±»å:MonthData;<br>方法or属性:data: CalendarDay[];<br>旧版本信æ¯ï¼š|ç±»å:MonthData;<br>方法or属性:data: CalendarDay[];<br>新版本信æ¯ï¼šCalendarDay[]|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:dayColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:dayColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:lunarColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:lunarColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:markLunarColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:markLunarColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:dayFontSize?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:dayFontSize?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:lunarDayFontSize?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:lunarDayFontSize?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:dayHeight?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:dayHeight?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:dayWidth?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:dayWidth?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:gregorianCalendarHeight?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:gregorianCalendarHeight?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:dayYAxisOffset?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:dayYAxisOffset?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:lunarDayYAxisOffset?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:lunarDayYAxisOffset?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:underscoreXAxisOffset?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:underscoreXAxisOffset?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:underscoreYAxisOffset?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:underscoreYAxisOffset?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:scheduleMarkerXAxisOffset?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:scheduleMarkerXAxisOffset?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:scheduleMarkerYAxisOffset?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:scheduleMarkerYAxisOffset?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:colSpace?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:colSpace?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:dailyFiveRowSpace?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:dailyFiveRowSpace?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:dailySixRowSpace?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:dailySixRowSpace?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:lunarHeight?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:lunarHeight?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:underscoreWidth?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:underscoreWidth?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:underscoreLength?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:underscoreLength?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:scheduleMarkerRadius?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:scheduleMarkerRadius?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:boundaryRowOffset?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:boundaryRowOffset?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:CurrentDayStyle;<br>方法or属性:boundaryColOffset?: number;<br>旧版本信æ¯ï¼š|ç±»å:CurrentDayStyle;<br>方法or属性:boundaryColOffset?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:NonCurrentDayStyle;<br>方法or属性:nonCurrentMonthDayColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:NonCurrentDayStyle;<br>方法or属性:nonCurrentMonthDayColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:NonCurrentDayStyle;<br>方法or属性:nonCurrentMonthLunarColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:NonCurrentDayStyle;<br>方法or属性:nonCurrentMonthLunarColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:NonCurrentDayStyle;<br>方法or属性:nonCurrentMonthWorkDayMarkColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:NonCurrentDayStyle;<br>方法or属性:nonCurrentMonthWorkDayMarkColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:NonCurrentDayStyle;<br>方法or属性:nonCurrentMonthOffDayMarkColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:NonCurrentDayStyle;<br>方法or属性:nonCurrentMonthOffDayMarkColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:TodayStyle;<br>方法or属性:focusedDayColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:TodayStyle;<br>方法or属性:focusedDayColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:TodayStyle;<br>方法or属性:focusedLunarColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:TodayStyle;<br>方法or属性:focusedLunarColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:TodayStyle;<br>方法or属性:focusedAreaBackgroundColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:TodayStyle;<br>方法or属性:focusedAreaBackgroundColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:TodayStyle;<br>方法or属性:focusedAreaRadius?: number;<br>旧版本信æ¯ï¼š|ç±»å:TodayStyle;<br>方法or属性:focusedAreaRadius?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WeekStyle;<br>方法or属性:weekColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:WeekStyle;<br>方法or属性:weekColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WeekStyle;<br>方法or属性:weekendDayColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:WeekStyle;<br>方法or属性:weekendDayColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WeekStyle;<br>方法or属性:weekendLunarColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:WeekStyle;<br>方法or属性:weekendLunarColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WeekStyle;<br>方法or属性:weekFontSize?: number;<br>旧版本信æ¯ï¼š|ç±»å:WeekStyle;<br>方法or属性:weekFontSize?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WeekStyle;<br>方法or属性:weekHeight?: number;<br>旧版本信æ¯ï¼š|ç±»å:WeekStyle;<br>方法or属性:weekHeight?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WeekStyle;<br>方法or属性:weekWidth?: number;<br>旧版本信æ¯ï¼š|ç±»å:WeekStyle;<br>方法or属性:weekWidth?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WeekStyle;<br>方法or属性:weekAndDayRowSpace?: number;<br>旧版本信æ¯ï¼š|ç±»å:WeekStyle;<br>方法or属性:weekAndDayRowSpace?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WorkStateStyle;<br>方法or属性:workDayMarkColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:WorkStateStyle;<br>方法or属性:workDayMarkColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WorkStateStyle;<br>方法or属性:offDayMarkColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:WorkStateStyle;<br>方法or属性:offDayMarkColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WorkStateStyle;<br>方法or属性:workDayMarkSize?: number;<br>旧版本信æ¯ï¼š|ç±»å:WorkStateStyle;<br>方法or属性:workDayMarkSize?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WorkStateStyle;<br>方法or属性:offDayMarkSize?: number;<br>旧版本信æ¯ï¼š|ç±»å:WorkStateStyle;<br>方法or属性:offDayMarkSize?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WorkStateStyle;<br>方法or属性:workStateWidth?: number;<br>旧版本信æ¯ï¼š|ç±»å:WorkStateStyle;<br>方法or属性:workStateWidth?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WorkStateStyle;<br>方法or属性:workStateHorizontalMovingDistance?: number;<br>旧版本信æ¯ï¼š|ç±»å:WorkStateStyle;<br>方法or属性:workStateHorizontalMovingDistance?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:WorkStateStyle;<br>方法or属性:workStateVerticalMovingDistance?: number;<br>旧版本信æ¯ï¼š|ç±»å:WorkStateStyle;<br>方法or属性:workStateVerticalMovingDistance?: number;<br>新版本信æ¯ï¼š?number|calendar.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly actualBoundingBoxAscent: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly actualBoundingBoxAscent: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly actualBoundingBoxDescent: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly actualBoundingBoxDescent: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly actualBoundingBoxLeft: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly actualBoundingBoxLeft: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly actualBoundingBoxRight: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly actualBoundingBoxRight: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly alphabeticBaseline: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly alphabeticBaseline: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly emHeightAscent: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly emHeightAscent: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly emHeightDescent: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly emHeightDescent: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly fontBoundingBoxAscent: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly fontBoundingBoxAscent: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly fontBoundingBoxDescent: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly fontBoundingBoxDescent: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly hangingBaseline: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly hangingBaseline: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly ideographicBaseline: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly ideographicBaseline: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly width: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly width: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:ImageBitmap;<br>方法or属性:readonly width: number;<br>旧版本信æ¯ï¼š|ç±»å:ImageBitmap;<br>方法or属性:readonly width: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:ImageData;<br>方法or属性:readonly width: number;<br>旧版本信æ¯ï¼š|ç±»å:ImageData;<br>方法or属性:readonly width: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderingContext2D;<br>方法or属性:readonly width: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderingContext2D;<br>方法or属性:readonly width: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:TextMetrics;<br>方法or属性:readonly height: number;<br>旧版本信æ¯ï¼š|ç±»å:TextMetrics;<br>方法or属性:readonly height: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:ImageBitmap;<br>方法or属性:readonly height: number;<br>旧版本信æ¯ï¼š|ç±»å:ImageBitmap;<br>方法or属性:readonly height: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:ImageData;<br>方法or属性:readonly height: number;<br>旧版本信æ¯ï¼š|ç±»å:ImageData;<br>方法or属性:readonly height: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderingContext2D;<br>方法or属性:readonly height: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderingContext2D;<br>方法or属性:readonly height: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:ImageData;<br>方法or属性:readonly data: Uint8ClampedArray;<br>旧版本信æ¯ï¼š|ç±»å:ImageData;<br>方法or属性:readonly data: Uint8ClampedArray;<br>新版本信æ¯ï¼šUint8ClampedArray|canvas.d.ts| +|type有å˜åŒ–|ç±»å:RenderingContextSettings;<br>方法or属性:antialias?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:RenderingContextSettings;<br>方法or属性:antialias?: boolean;<br>新版本信æ¯ï¼š?boolean|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:globalAlpha: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:globalAlpha: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:globalCompositeOperation: string;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:globalCompositeOperation: string;<br>新版本信æ¯ï¼šstring|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:filter: string;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:filter: string;<br>新版本信æ¯ï¼šstring|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:imageSmoothingEnabled: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:imageSmoothingEnabled: boolean;<br>新版本信æ¯ï¼šboolean|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:imageSmoothingQuality: ImageSmoothingQuality;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:imageSmoothingQuality: ImageSmoothingQuality;<br>新版本信æ¯ï¼šImageSmoothingQuality|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:lineCap: CanvasLineCap;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:lineCap: CanvasLineCap;<br>新版本信æ¯ï¼šCanvasLineCap|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:lineDashOffset: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:lineDashOffset: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:lineJoin: CanvasLineJoin;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:lineJoin: CanvasLineJoin;<br>新版本信æ¯ï¼šCanvasLineJoin|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:lineWidth: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:lineWidth: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:miterLimit: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:miterLimit: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:shadowBlur: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:shadowBlur: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:shadowColor: string;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:shadowColor: string;<br>新版本信æ¯ï¼šstring|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:shadowOffsetX: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:shadowOffsetX: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:shadowOffsetY: number;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:shadowOffsetY: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:font: string;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:font: string;<br>新版本信æ¯ï¼šstring|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:textAlign: CanvasTextAlign;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:textAlign: CanvasTextAlign;<br>新版本信æ¯ï¼šCanvasTextAlign|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CanvasRenderer;<br>方法or属性:textBaseline: CanvasTextBaseline;<br>旧版本信æ¯ï¼š|ç±»å:CanvasRenderer;<br>方法or属性:textBaseline: CanvasTextBaseline;<br>新版本信æ¯ï¼šCanvasTextBaseline|canvas.d.ts| +|type有å˜åŒ–|ç±»å:OffscreenCanvas;<br>方法or属性:height: number;<br>旧版本信æ¯ï¼š|ç±»å:OffscreenCanvas;<br>方法or属性:height: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:OffscreenCanvas;<br>方法or属性:width: number;<br>旧版本信æ¯ï¼š|ç±»å:OffscreenCanvas;<br>方法or属性:width: number;<br>新版本信æ¯ï¼šnumber|canvas.d.ts| +|type有å˜åŒ–|ç±»å:CheckboxOptions;<br>方法or属性:name?: string;<br>旧版本信æ¯ï¼š|ç±»å:CheckboxOptions;<br>方法or属性:name?: string;<br>新版本信æ¯ï¼š?string|checkbox.d.ts| +|type有å˜åŒ–|ç±»å:CheckboxOptions;<br>方法or属性:group?: string;<br>旧版本信æ¯ï¼š|ç±»å:CheckboxOptions;<br>方法or属性:group?: string;<br>新版本信æ¯ï¼š?string|checkbox.d.ts| +|type有å˜åŒ–|ç±»å:CheckboxGroupOptions;<br>方法or属性:group?: string;<br>旧版本信æ¯ï¼š|ç±»å:CheckboxGroupOptions;<br>方法or属性:group?: string;<br>新版本信æ¯ï¼š?string|checkboxgroup.d.ts| +|type有å˜åŒ–|ç±»å:CheckboxGroupResult;<br>方法or属性:name: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:CheckboxGroupResult;<br>方法or属性:name: Array\<string>;<br>新版本信æ¯ï¼šArray\<string>|checkboxgroup.d.ts| +|type有å˜åŒ–|ç±»å:CheckboxGroupResult;<br>方法or属性:status: SelectStatus;<br>旧版本信æ¯ï¼š|ç±»å:CheckboxGroupResult;<br>方法or属性:status: SelectStatus;<br>新版本信æ¯ï¼šSelectStatus|checkboxgroup.d.ts| +|type有å˜åŒ–|ç±»å:CircleOptions;<br>方法or属性:width?: string \| number;<br>旧版本信æ¯ï¼š|ç±»å:CircleOptions;<br>方法or属性:width?: string \| number;<br>新版本信æ¯ï¼š?(string \| number)|circle.d.ts| +|type有å˜åŒ–|ç±»å:CircleOptions;<br>方法or属性:height?: string \| number;<br>旧版本信æ¯ï¼š|ç±»å:CircleOptions;<br>方法or属性:height?: string \| number;<br>新版本信æ¯ï¼š?(string \| number)|circle.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:readonly colorMode: string;<br>旧版本信æ¯ï¼š|ç±»å:Configuration;<br>方法or属性:readonly colorMode: string;<br>新版本信æ¯ï¼šstring|common.d.ts| +|type有å˜åŒ–|ç±»å:Configuration;<br>方法or属性:readonly fontScale: number;<br>旧版本信æ¯ï¼š|ç±»å:Configuration;<br>方法or属性:readonly fontScale: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:Rectangle;<br>方法or属性:x?: Length;<br>旧版本信æ¯ï¼š|ç±»å:Rectangle;<br>方法or属性:x?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:Rectangle;<br>方法or属性:y?: Length;<br>旧版本信æ¯ï¼š|ç±»å:Rectangle;<br>方法or属性:y?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:Rectangle;<br>方法or属性:width?: Length;<br>旧版本信æ¯ï¼š|ç±»å:Rectangle;<br>方法or属性:width?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:Rectangle;<br>方法or属性:height?: Length;<br>旧版本信æ¯ï¼š|ç±»å:Rectangle;<br>方法or属性:height?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:AnimateParam;<br>方法or属性:duration?: number;<br>旧版本信æ¯ï¼š|ç±»å:AnimateParam;<br>方法or属性:duration?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:sharedTransitionOptions;<br>方法or属性:duration?: number;<br>旧版本信æ¯ï¼š|ç±»å:sharedTransitionOptions;<br>方法or属性:duration?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:AnimateParam;<br>方法or属性:tempo?: number;<br>旧版本信æ¯ï¼š|ç±»å:AnimateParam;<br>方法or属性:tempo?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:AnimateParam;<br>方法or属性:curve?: Curve \| string \| ICurve;<br>旧版本信æ¯ï¼šstring \| Curve \| ICurve|ç±»å:AnimateParam;<br>方法or属性:curve?: Curve \| string \| ICurve;<br>新版本信æ¯ï¼š?(Curve \| string \| ICurve)|common.d.ts| +|type有å˜åŒ–|ç±»å:sharedTransitionOptions;<br>方法or属性:curve?: Curve \| string \| ICurve;<br>旧版本信æ¯ï¼š|ç±»å:sharedTransitionOptions;<br>方法or属性:curve?: Curve \| string \| ICurve;<br>新版本信æ¯ï¼š?(Curve \| string \| ICurve)|common.d.ts| +|type有å˜åŒ–|ç±»å:AnimateParam;<br>方法or属性:delay?: number;<br>旧版本信æ¯ï¼š|ç±»å:AnimateParam;<br>方法or属性:delay?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:sharedTransitionOptions;<br>方法or属性:delay?: number;<br>旧版本信æ¯ï¼š|ç±»å:sharedTransitionOptions;<br>方法or属性:delay?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:AnimateParam;<br>方法or属性:iterations?: number;<br>旧版本信æ¯ï¼š|ç±»å:AnimateParam;<br>方法or属性:iterations?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:AnimateParam;<br>方法or属性:playMode?: PlayMode;<br>旧版本信æ¯ï¼š|ç±»å:AnimateParam;<br>方法or属性:playMode?: PlayMode;<br>新版本信æ¯ï¼š?PlayMode|common.d.ts| +|type有å˜åŒ–|ç±»å:AnimateParam;<br>方法or属性:onFinish?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:AnimateParam;<br>方法or属性:onFinish?: () => void;<br>新版本信æ¯ï¼š?(() => void)|common.d.ts| +|type有å˜åŒ–|ç±»å:MotionPathOptions;<br>方法or属性:path: string;<br>旧版本信æ¯ï¼š|ç±»å:MotionPathOptions;<br>方法or属性:path: string;<br>新版本信æ¯ï¼šstring|common.d.ts| +|type有å˜åŒ–|ç±»å:MotionPathOptions;<br>方法or属性:from?: number;<br>旧版本信æ¯ï¼š|ç±»å:MotionPathOptions;<br>方法or属性:from?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:MotionPathOptions;<br>方法or属性:to?: number;<br>旧版本信æ¯ï¼š|ç±»å:MotionPathOptions;<br>方法or属性:to?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:MotionPathOptions;<br>方法or属性:rotatable?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MotionPathOptions;<br>方法or属性:rotatable?: boolean;<br>新版本信æ¯ï¼š?boolean|common.d.ts| +|type有å˜åŒ–|ç±»å:sharedTransitionOptions;<br>方法or属性:motionPath?: MotionPathOptions;<br>旧版本信æ¯ï¼š|ç±»å:sharedTransitionOptions;<br>方法or属性:motionPath?: MotionPathOptions;<br>新版本信æ¯ï¼š?MotionPathOptions|common.d.ts| +|type有å˜åŒ–|ç±»å:sharedTransitionOptions;<br>方法or属性:zIndex?: number;<br>旧版本信æ¯ï¼š|ç±»å:sharedTransitionOptions;<br>方法or属性:zIndex?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:sharedTransitionOptions;<br>方法or属性:type?: SharedTransitionEffectType;<br>旧版本信æ¯ï¼š|ç±»å:sharedTransitionOptions;<br>方法or属性:type?: SharedTransitionEffectType;<br>新版本信æ¯ï¼š?SharedTransitionEffectType|common.d.ts| +|type有å˜åŒ–|ç±»å:TranslateOptions;<br>方法or属性:y?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:TranslateOptions;<br>方法or属性:y?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|common.d.ts| +|type有å˜åŒ–|ç±»å:TranslateOptions;<br>方法or属性:z?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:TranslateOptions;<br>方法or属性:z?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|common.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOptions;<br>方法or属性:x?: number;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOptions;<br>方法or属性:x?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:RotateOptions;<br>方法or属性:x?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOptions;<br>方法or属性:x?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOptions;<br>方法or属性:y?: number;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOptions;<br>方法or属性:y?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:RotateOptions;<br>方法or属性:y?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOptions;<br>方法or属性:y?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOptions;<br>方法or属性:z?: number;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOptions;<br>方法or属性:z?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:RotateOptions;<br>方法or属性:z?: number;<br>旧版本信æ¯ï¼š|ç±»å:RotateOptions;<br>方法or属性:z?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOptions;<br>方法or属性:centerX?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOptions;<br>方法or属性:centerX?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|common.d.ts| +|type有å˜åŒ–|ç±»å:RotateOptions;<br>方法or属性:centerX?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:RotateOptions;<br>方法or属性:centerX?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|common.d.ts| +|type有å˜åŒ–|ç±»å:ScaleOptions;<br>方法or属性:centerY?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:ScaleOptions;<br>方法or属性:centerY?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|common.d.ts| +|type有å˜åŒ–|ç±»å:AlignRuleOption;<br>方法or属性:left?: { anchor: string, align: HorizontalAlign };<br>旧版本信æ¯ï¼š|ç±»å:AlignRuleOption;<br>方法or属性:left?: { anchor: string, align: HorizontalAlign };<br>新版本信æ¯ï¼š?{ anchor: string, align: HorizontalAlign }|common.d.ts| +|type有å˜åŒ–|ç±»å:AlignRuleOption;<br>方法or属性:right?: { anchor: string, align: HorizontalAlign };<br>旧版本信æ¯ï¼š|ç±»å:AlignRuleOption;<br>方法or属性:right?: { anchor: string, align: HorizontalAlign };<br>新版本信æ¯ï¼š?{ anchor: string, align: HorizontalAlign }|common.d.ts| +|type有å˜åŒ–|ç±»å:AlignRuleOption;<br>方法or属性:middle?: { anchor: string, align: HorizontalAlign };<br>旧版本信æ¯ï¼š|ç±»å:AlignRuleOption;<br>方法or属性:middle?: { anchor: string, align: HorizontalAlign };<br>新版本信æ¯ï¼š?{ anchor: string, align: HorizontalAlign }|common.d.ts| +|type有å˜åŒ–|ç±»å:AlignRuleOption;<br>方法or属性:top?: { anchor: string, align: VerticalAlign };<br>旧版本信æ¯ï¼š|ç±»å:AlignRuleOption;<br>方法or属性:top?: { anchor: string, align: VerticalAlign };<br>新版本信æ¯ï¼š?{ anchor: string, align: VerticalAlign }|common.d.ts| +|type有å˜åŒ–|ç±»å:AlignRuleOption;<br>方法or属性:bottom?: { anchor: string, align: VerticalAlign };<br>旧版本信æ¯ï¼š|ç±»å:AlignRuleOption;<br>方法or属性:bottom?: { anchor: string, align: VerticalAlign };<br>新版本信æ¯ï¼š?{ anchor: string, align: VerticalAlign }|common.d.ts| +|type有å˜åŒ–|ç±»å:AlignRuleOption;<br>方法or属性:center?: { anchor: string, align: VerticalAlign };<br>旧版本信æ¯ï¼š|ç±»å:AlignRuleOption;<br>方法or属性:center?: { anchor: string, align: VerticalAlign };<br>新版本信æ¯ï¼š?{ anchor: string, align: VerticalAlign }|common.d.ts| +|type有å˜åŒ–|ç±»å:RotateOptions;<br>方法or属性:angle: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:RotateOptions;<br>方法or属性:angle: number \| string;<br>新版本信æ¯ï¼šnumber \| string|common.d.ts| +|type有å˜åŒ–|ç±»å:TransitionOptions;<br>方法or属性:type?: TransitionType;<br>旧版本信æ¯ï¼š|ç±»å:TransitionOptions;<br>方法or属性:type?: TransitionType;<br>新版本信æ¯ï¼š?TransitionType|common.d.ts| +|type有å˜åŒ–|ç±»å:TransitionOptions;<br>方法or属性:opacity?: number;<br>旧版本信æ¯ï¼š|ç±»å:TransitionOptions;<br>方法or属性:opacity?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:TransitionOptions;<br>方法or属性:translate?: TranslateOptions;<br>旧版本信æ¯ï¼š|ç±»å:TransitionOptions;<br>方法or属性:translate?: TranslateOptions;<br>新版本信æ¯ï¼š?TranslateOptions|common.d.ts| +|type有å˜åŒ–|ç±»å:TransitionOptions;<br>方法or属性:scale?: ScaleOptions;<br>旧版本信æ¯ï¼š|ç±»å:TransitionOptions;<br>方法or属性:scale?: ScaleOptions;<br>新版本信æ¯ï¼š?ScaleOptions|common.d.ts| +|type有å˜åŒ–|ç±»å:TransitionOptions;<br>方法or属性:rotate?: RotateOptions;<br>旧版本信æ¯ï¼š|ç±»å:TransitionOptions;<br>方法or属性:rotate?: RotateOptions;<br>新版本信æ¯ï¼š?RotateOptions|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:title?: string;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:title?: string;<br>新版本信æ¯ï¼š?string|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:width?: number;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:width?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:height?: number;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:height?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:locale?: string;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:locale?: string;<br>新版本信æ¯ï¼š?string|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:colorMode?: string;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:colorMode?: string;<br>新版本信æ¯ï¼š?string|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:deviceType?: string;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:deviceType?: string;<br>新版本信æ¯ï¼š?string|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:dpi?: number;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:dpi?: number;<br>新版本信æ¯ï¼š?number|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:orientation?: string;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:orientation?: string;<br>新版本信æ¯ï¼š?string|common.d.ts| +|type有å˜åŒ–|ç±»å:PreviewParams;<br>方法or属性:roundScreen?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:PreviewParams;<br>方法or属性:roundScreen?: boolean;<br>新版本信æ¯ï¼š?boolean|common.d.ts| +|type有å˜åŒ–|ç±»å:ItemDragInfo;<br>方法or属性:x: number;<br>旧版本信æ¯ï¼š|ç±»å:ItemDragInfo;<br>方法or属性:x: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:ClickEvent;<br>方法or属性:x: number;<br>旧版本信æ¯ï¼š|ç±»å:ClickEvent;<br>方法or属性:x: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:x: number;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:x: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchObject;<br>方法or属性:x: number;<br>旧版本信æ¯ï¼š|ç±»å:TouchObject;<br>方法or属性:x: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:ItemDragInfo;<br>方法or属性:y: number;<br>旧版本信æ¯ï¼š|ç±»å:ItemDragInfo;<br>方法or属性:y: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:ClickEvent;<br>方法or属性:y: number;<br>旧版本信æ¯ï¼š|ç±»å:ClickEvent;<br>方法or属性:y: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:y: number;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:y: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchObject;<br>方法or属性:y: number;<br>旧版本信æ¯ï¼š|ç±»å:TouchObject;<br>方法or属性:y: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:DragItemInfo;<br>方法or属性:pixelMap?: PixelMap;<br>旧版本信æ¯ï¼š|ç±»å:DragItemInfo;<br>方法or属性:pixelMap?: PixelMap;<br>新版本信æ¯ï¼š?PixelMap|common.d.ts| +|type有å˜åŒ–|ç±»å:DragItemInfo;<br>方法or属性:builder?: CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:DragItemInfo;<br>方法or属性:builder?: CustomBuilder;<br>新版本信æ¯ï¼š?CustomBuilder|common.d.ts| +|type有å˜åŒ–|ç±»å:DragItemInfo;<br>方法or属性:extraInfo?: string;<br>旧版本信æ¯ï¼š|ç±»å:DragItemInfo;<br>方法or属性:extraInfo?: string;<br>新版本信æ¯ï¼š?string|common.d.ts| +|type有å˜åŒ–|ç±»å:EventTarget;<br>方法or属性:area: Area;<br>旧版本信æ¯ï¼š|ç±»å:EventTarget;<br>方法or属性:area: Area;<br>新版本信æ¯ï¼šArea|common.d.ts| +|type有å˜åŒ–|ç±»å:PickerTextStyle;<br>方法or属性:color?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:PickerTextStyle;<br>方法or属性:color?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|common.d.ts| +|type有å˜åŒ–|ç±»å:PickerTextStyle;<br>方法or属性:font?: Font;<br>旧版本信æ¯ï¼šFont|ç±»å:PickerTextStyle;<br>方法or属性:font?: Font;<br>新版本信æ¯ï¼š?Font|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupMessageOptions;<br>方法or属性:font?: Font;<br>旧版本信æ¯ï¼šFont|ç±»å:PopupMessageOptions;<br>方法or属性:font?: Font;<br>新版本信æ¯ï¼š?Font|common.d.ts| +|type有å˜åŒ–|ç±»å:ShadowOptions;<br>方法or属性:radius: number \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:ShadowOptions;<br>方法or属性:radius: number \| Resource;<br>新版本信æ¯ï¼šnumber \| Resource|common.d.ts| +|type有å˜åŒ–|ç±»å:ShadowOptions;<br>方法or属性:type?: ShadowType;<br>旧版本信æ¯ï¼šShadowType|ç±»å:ShadowOptions;<br>方法or属性:type?: ShadowType;<br>新版本信æ¯ï¼š?ShadowType|common.d.ts| +|type有å˜åŒ–|ç±»å:ShadowOptions;<br>方法or属性:color?: Color \| string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:ShadowOptions;<br>方法or属性:color?: Color \| string \| Resource;<br>新版本信æ¯ï¼š?(Color \| string \| Resource)|common.d.ts| +|type有å˜åŒ–|ç±»å:ShadowOptions;<br>方法or属性:offsetX?: number \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:ShadowOptions;<br>方法or属性:offsetX?: number \| Resource;<br>新版本信æ¯ï¼š?(number \| Resource)|common.d.ts| +|type有å˜åŒ–|ç±»å:ShadowOptions;<br>方法or属性:offsetY?: number \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:ShadowOptions;<br>方法or属性:offsetY?: number \| Resource;<br>新版本信æ¯ï¼š?(number \| Resource)|common.d.ts| +|type有å˜åŒ–|ç±»å:BaseEvent;<br>方法or属性:target: EventTarget;<br>旧版本信æ¯ï¼š|ç±»å:BaseEvent;<br>方法or属性:target: EventTarget;<br>新版本信æ¯ï¼šEventTarget|common.d.ts| +|type有å˜åŒ–|ç±»å:BaseEvent;<br>方法or属性:timestamp: number;<br>旧版本信æ¯ï¼š|ç±»å:BaseEvent;<br>方法or属性:timestamp: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:KeyEvent;<br>方法or属性:timestamp: number;<br>旧版本信æ¯ï¼š|ç±»å:KeyEvent;<br>方法or属性:timestamp: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:BaseEvent;<br>方法or属性:source: SourceType;<br>旧版本信æ¯ï¼š|ç±»å:BaseEvent;<br>方法or属性:source: SourceType;<br>新版本信æ¯ï¼šSourceType|common.d.ts| +|type有å˜åŒ–|ç±»å:BaseEvent;<br>方法or属性:pressure: number;<br>旧版本信æ¯ï¼š|ç±»å:BaseEvent;<br>方法or属性:pressure: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:BaseEvent;<br>方法or属性:tiltX: number;<br>旧版本信æ¯ï¼š|ç±»å:BaseEvent;<br>方法or属性:tiltX: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:BaseEvent;<br>方法or属性:tiltY: number;<br>旧版本信æ¯ï¼š|ç±»å:BaseEvent;<br>方法or属性:tiltY: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:BaseEvent;<br>方法or属性:sourceTool: SourceTool;<br>旧版本信æ¯ï¼š|ç±»å:BaseEvent;<br>方法or属性:sourceTool: SourceTool;<br>新版本信æ¯ï¼šSourceTool|common.d.ts| +|type有å˜åŒ–|ç±»å:BorderImageOption;<br>方法or属性:slice?: Length \| EdgeWidths,<br>旧版本信æ¯ï¼š|ç±»å:BorderImageOption;<br>方法or属性:slice?: Length \| EdgeWidths,<br>新版本信æ¯ï¼š?(Length \| EdgeWidths)|common.d.ts| +|type有å˜åŒ–|ç±»å:BorderImageOption;<br>方法or属性:repeat?: RepeatMode,<br>旧版本信æ¯ï¼š|ç±»å:BorderImageOption;<br>方法or属性:repeat?: RepeatMode,<br>新版本信æ¯ï¼š?RepeatMode|common.d.ts| +|type有å˜åŒ–|ç±»å:BorderImageOption;<br>方法or属性:source?: string \| Resource \| LinearGradient,<br>旧版本信æ¯ï¼š|ç±»å:BorderImageOption;<br>方法or属性:source?: string \| Resource \| LinearGradient,<br>新版本信æ¯ï¼š?(string \| Resource \| LinearGradient)|common.d.ts| +|type有å˜åŒ–|ç±»å:BorderImageOption;<br>方法or属性:width?: Length \| EdgeWidths,<br>旧版本信æ¯ï¼š|ç±»å:BorderImageOption;<br>方法or属性:width?: Length \| EdgeWidths,<br>新版本信æ¯ï¼š?(Length \| EdgeWidths)|common.d.ts| +|type有å˜åŒ–|ç±»å:BorderImageOption;<br>方法or属性:outset?: Length \| EdgeWidths,<br>旧版本信æ¯ï¼š|ç±»å:BorderImageOption;<br>方法or属性:outset?: Length \| EdgeWidths,<br>新版本信æ¯ï¼š?(Length \| EdgeWidths)|common.d.ts| +|type有å˜åŒ–|ç±»å:BorderImageOption;<br>方法or属性:fill?: boolean<br>旧版本信æ¯ï¼š|ç±»å:BorderImageOption;<br>方法or属性:fill?: boolean<br>新版本信æ¯ï¼š?boolean|common.d.ts| +|type有å˜åŒ–|ç±»å:ClickEvent;<br>方法or属性:screenX: number;<br>旧版本信æ¯ï¼š|ç±»å:ClickEvent;<br>方法or属性:screenX: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:screenX: number;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:screenX: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchObject;<br>方法or属性:screenX: number;<br>旧版本信æ¯ï¼š|ç±»å:TouchObject;<br>方法or属性:screenX: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:ClickEvent;<br>方法or属性:screenY: number;<br>旧版本信æ¯ï¼š|ç±»å:ClickEvent;<br>方法or属性:screenY: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:screenY: number;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:screenY: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchObject;<br>方法or属性:screenY: number;<br>旧版本信æ¯ï¼š|ç±»å:TouchObject;<br>方法or属性:screenY: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:button: MouseButton;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:button: MouseButton;<br>新版本信æ¯ï¼šMouseButton|common.d.ts| +|type有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:action: MouseAction;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:action: MouseAction;<br>新版本信æ¯ï¼šMouseAction|common.d.ts| +|type有å˜åŒ–|ç±»å:MouseEvent;<br>方法or属性:stopPropagation?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:MouseEvent;<br>方法or属性:stopPropagation?: () => void;<br>新版本信æ¯ï¼š?(() => void)|common.d.ts| +|type有å˜åŒ–|ç±»å:KeyEvent;<br>方法or属性:stopPropagation?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:KeyEvent;<br>方法or属性:stopPropagation?: () => void;<br>新版本信æ¯ï¼š?(() => void)|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchObject;<br>方法or属性:type: TouchType;<br>旧版本信æ¯ï¼š|ç±»å:TouchObject;<br>方法or属性:type: TouchType;<br>新版本信æ¯ï¼šTouchType|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchEvent;<br>方法or属性:type: TouchType;<br>旧版本信æ¯ï¼š|ç±»å:TouchEvent;<br>方法or属性:type: TouchType;<br>新版本信æ¯ï¼šTouchType|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchObject;<br>方法or属性:id: number;<br>旧版本信æ¯ï¼š|ç±»å:TouchObject;<br>方法or属性:id: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchEvent;<br>方法or属性:touches: TouchObject[];<br>旧版本信æ¯ï¼š|ç±»å:TouchEvent;<br>方法or属性:touches: TouchObject[];<br>新版本信æ¯ï¼šTouchObject[]|common.d.ts| +|type有å˜åŒ–|ç±»å:TouchEvent;<br>方法or属性:changedTouches: TouchObject[];<br>旧版本信æ¯ï¼š|ç±»å:TouchEvent;<br>方法or属性:changedTouches: TouchObject[];<br>新版本信æ¯ï¼šTouchObject[]|common.d.ts| +|type有å˜åŒ–|ç±»å:DragEvent;<br>方法or属性:getX(): number;<br>旧版本信æ¯ï¼š|ç±»å:DragEvent;<br>方法or属性:getX(): number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:DragEvent;<br>方法or属性:getY(): number;<br>旧版本信æ¯ï¼š|ç±»å:DragEvent;<br>方法or属性:getY(): number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:KeyEvent;<br>方法or属性:type: KeyType;<br>旧版本信æ¯ï¼š|ç±»å:KeyEvent;<br>方法or属性:type: KeyType;<br>新版本信æ¯ï¼šKeyType|common.d.ts| +|type有å˜åŒ–|ç±»å:KeyEvent;<br>方法or属性:keyCode: number;<br>旧版本信æ¯ï¼š|ç±»å:KeyEvent;<br>方法or属性:keyCode: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:KeyEvent;<br>方法or属性:keyText: string;<br>旧版本信æ¯ï¼š|ç±»å:KeyEvent;<br>方法or属性:keyText: string;<br>新版本信æ¯ï¼šstring|common.d.ts| +|type有å˜åŒ–|ç±»å:KeyEvent;<br>方法or属性:keySource: KeySource;<br>旧版本信æ¯ï¼š|ç±»å:KeyEvent;<br>方法or属性:keySource: KeySource;<br>新版本信æ¯ï¼šKeySource|common.d.ts| +|type有å˜åŒ–|ç±»å:KeyEvent;<br>方法or属性:deviceId: number;<br>旧版本信æ¯ï¼š|ç±»å:KeyEvent;<br>方法or属性:deviceId: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:KeyEvent;<br>方法or属性:metaKey: number;<br>旧版本信æ¯ï¼š|ç±»å:KeyEvent;<br>方法or属性:metaKey: number;<br>新版本信æ¯ï¼šnumber|common.d.ts| +|type有å˜åŒ–|ç±»å:StateStyles;<br>方法or属性:normal?: any;<br>旧版本信æ¯ï¼š|ç±»å:StateStyles;<br>方法or属性:normal?: any;<br>新版本信æ¯ï¼š?any|common.d.ts| +|type有å˜åŒ–|ç±»å:StateStyles;<br>方法or属性:pressed?: any;<br>旧版本信æ¯ï¼š|ç±»å:StateStyles;<br>方法or属性:pressed?: any;<br>新版本信æ¯ï¼š?any|common.d.ts| +|type有å˜åŒ–|ç±»å:StateStyles;<br>方法or属性:disabled?: any;<br>旧版本信æ¯ï¼š|ç±»å:StateStyles;<br>方法or属性:disabled?: any;<br>新版本信æ¯ï¼š?any|common.d.ts| +|type有å˜åŒ–|ç±»å:StateStyles;<br>方法or属性:focused?: any;<br>旧版本信æ¯ï¼š|ç±»å:StateStyles;<br>方法or属性:focused?: any;<br>新版本信æ¯ï¼š?any|common.d.ts| +|type有å˜åŒ–|ç±»å:StateStyles;<br>方法or属性:clicked?: any;<br>旧版本信æ¯ï¼š|ç±»å:StateStyles;<br>方法or属性:clicked?: any;<br>新版本信æ¯ï¼š?any|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupMessageOptions;<br>方法or属性:textColor?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:PopupMessageOptions;<br>方法or属性:textColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupOptions;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:PopupOptions;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šstring|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupOptions;<br>方法or属性:placementOnTop?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:PopupOptions;<br>方法or属性:placementOnTop?: boolean;<br>新版本信æ¯ï¼š?boolean|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupOptions;<br>方法or属性:placement?: Placement;<br>旧版本信æ¯ï¼šPlacement|ç±»å:PopupOptions;<br>方法or属性:placement?: Placement;<br>新版本信æ¯ï¼š?Placement|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:placement?: Placement;<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:placement?: Placement;<br>新版本信æ¯ï¼š?Placement|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupOptions;<br>方法or属性:arrowOffset?: Length;<br>旧版本信æ¯ï¼š|ç±»å:PopupOptions;<br>方法or属性:arrowOffset?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:arrowOffset?: Length;<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:arrowOffset?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupOptions;<br>方法or属性:showInSubWindow?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:PopupOptions;<br>方法or属性:showInSubWindow?: boolean;<br>新版本信æ¯ï¼š?boolean|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:showInSubWindow?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:showInSubWindow?: boolean;<br>新版本信æ¯ï¼š?boolean|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupOptions;<br>方法or属性:mask?: boolean \| { color: ResourceColor };<br>旧版本信æ¯ï¼š|ç±»å:PopupOptions;<br>方法or属性:mask?: boolean \| { color: ResourceColor };<br>新版本信æ¯ï¼š?(boolean \| { color: ResourceColor })|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:mask?: boolean \| { color: ResourceColor };<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:mask?: boolean \| { color: ResourceColor };<br>新版本信æ¯ï¼š?(boolean \| { color: ResourceColor })|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupOptions;<br>方法or属性:messageOptions?: PopupMessageOptions<br>旧版本信æ¯ï¼šPopupMessageOptions|ç±»å:PopupOptions;<br>方法or属性:messageOptions?: PopupMessageOptions<br>新版本信æ¯ï¼š?PopupMessageOptions|common.d.ts| +|type有å˜åŒ–|ç±»å:PopupOptions;<br>方法or属性:targetSpace?: Length<br>旧版本信æ¯ï¼šLength|ç±»å:PopupOptions;<br>方法or属性:targetSpace?: Length<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:targetSpace?: Length<br>旧版本信æ¯ï¼šLength|ç±»å:CustomPopupOptions;<br>方法or属性:targetSpace?: Length<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:builder: CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:builder: CustomBuilder;<br>新版本信æ¯ï¼šCustomBuilder|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:maskColor?: Color \| string \| Resource \| number;<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:maskColor?: Color \| string \| Resource \| number;<br>新版本信æ¯ï¼š?(Color \| string \| Resource \| number)|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:popupColor?: Color \| string \| Resource \| number;<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:popupColor?: Color \| string \| Resource \| number;<br>新版本信æ¯ï¼š?(Color \| string \| Resource \| number)|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:enableArrow?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:enableArrow?: boolean;<br>新版本信æ¯ï¼š?boolean|common.d.ts| +|type有å˜åŒ–|ç±»å:CustomPopupOptions;<br>方法or属性:autoCancel?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CustomPopupOptions;<br>方法or属性:autoCancel?: boolean;<br>新版本信æ¯ï¼š?boolean|common.d.ts| +|type有å˜åŒ–|ç±»å:ContextMenuOptions;<br>方法or属性:onAppear?: () => void;<br>旧版本信æ¯ï¼š?() => void|ç±»å:ContextMenuOptions;<br>方法or属性:onAppear?: () => void;<br>新版本信æ¯ï¼š?(() => void)|common.d.ts| +|type有å˜åŒ–|ç±»å:ContextMenuOptions;<br>方法or属性:onDisappear?: () => void;<br>旧版本信æ¯ï¼š?() => void|ç±»å:ContextMenuOptions;<br>方法or属性:onDisappear?: () => void;<br>新版本信æ¯ï¼š?(() => void)|common.d.ts| +|type有å˜åŒ–|ç±»å:PixelStretchEffectOptions;<br>方法or属性:top?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:PixelStretchEffectOptions;<br>方法or属性:top?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:PixelStretchEffectOptions;<br>方法or属性:bottom?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:PixelStretchEffectOptions;<br>方法or属性:bottom?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:PixelStretchEffectOptions;<br>方法or属性:left?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:PixelStretchEffectOptions;<br>方法or属性:left?: Length;<br>新版本信æ¯ï¼š?Length|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutBorderInfo;<br>方法or属性:borderWidth: EdgeWidths;<br>旧版本信æ¯ï¼š|ç±»å:LayoutBorderInfo;<br>方法or属性:borderWidth: EdgeWidths;<br>新版本信æ¯ï¼šEdgeWidths|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutBorderInfo;<br>方法or属性:margin: Margin,<br>旧版本信æ¯ï¼š|ç±»å:LayoutBorderInfo;<br>方法or属性:margin: Margin,<br>新版本信æ¯ï¼šMargin|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutBorderInfo;<br>方法or属性:padding: Padding,<br>旧版本信æ¯ï¼š|ç±»å:LayoutBorderInfo;<br>方法or属性:padding: Padding,<br>新版本信æ¯ï¼šPadding|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutInfo;<br>方法or属性:position: Position,<br>旧版本信æ¯ï¼š|ç±»å:LayoutInfo;<br>方法or属性:position: Position,<br>新版本信æ¯ï¼šPosition|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutChild;<br>方法or属性:position: Position,<br>旧版本信æ¯ï¼š|ç±»å:LayoutChild;<br>方法or属性:position: Position,<br>新版本信æ¯ï¼šPosition|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutInfo;<br>方法or属性:constraint: ConstraintSizeOptions,<br>旧版本信æ¯ï¼š|ç±»å:LayoutInfo;<br>方法or属性:constraint: ConstraintSizeOptions,<br>新版本信æ¯ï¼šConstraintSizeOptions|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutChild;<br>方法or属性:constraint: ConstraintSizeOptions,<br>旧版本信æ¯ï¼š|ç±»å:LayoutChild;<br>方法or属性:constraint: ConstraintSizeOptions,<br>新版本信æ¯ï¼šConstraintSizeOptions|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutChild;<br>方法or属性:name: string,<br>旧版本信æ¯ï¼š|ç±»å:LayoutChild;<br>方法or属性:name: string,<br>新版本信æ¯ï¼šstring|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutChild;<br>方法or属性:id: string,<br>旧版本信æ¯ï¼š|ç±»å:LayoutChild;<br>方法or属性:id: string,<br>新版本信æ¯ï¼šstring|common.d.ts| +|type有å˜åŒ–|ç±»å:LayoutChild;<br>方法or属性:borderInfo: LayoutBorderInfo,<br>旧版本信æ¯ï¼š|ç±»å:LayoutChild;<br>方法or属性:borderInfo: LayoutBorderInfo,<br>新版本信æ¯ï¼šLayoutBorderInfo|common.d.ts| +|type有å˜åŒ–|ç±»å:SubscribedAbstractProperty;<br>方法or属性:protected subscribers_: Set\<number>;<br>旧版本信æ¯ï¼š|ç±»å:SubscribedAbstractProperty;<br>方法or属性:protected subscribers_: Set\<number>;<br>新版本信æ¯ï¼šSet\<number>|common_ts_ets_api.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:builder: any;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:builder: any;<br>新版本信æ¯ï¼šany|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:cancel?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:cancel?: () => void;<br>新版本信æ¯ï¼š?(() => void)|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:autoCancel?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:autoCancel?: boolean;<br>新版本信æ¯ï¼š?boolean|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:alignment?: DialogAlignment;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:alignment?: DialogAlignment;<br>新版本信æ¯ï¼š?DialogAlignment|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:offset?: Offset;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:offset?: Offset;<br>新版本信æ¯ï¼š?Offset|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:customStyle?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:customStyle?: boolean;<br>新版本信æ¯ï¼š?boolean|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:gridCount?: number;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:gridCount?: number;<br>新版本信æ¯ï¼š?number|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:maskColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:maskColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:openAnimation?: AnimateParam;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:openAnimation?: AnimateParam;<br>新版本信æ¯ï¼š?AnimateParam|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:closeAnimation?: AnimateParam;<br>旧版本信æ¯ï¼š|ç±»å:CustomDialogControllerOptions;<br>方法or属性:closeAnimation?: AnimateParam;<br>新版本信æ¯ï¼š?AnimateParam|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:CustomDialogControllerOptions;<br>方法or属性:showInSubWindow?: boolean;<br>旧版本信æ¯ï¼šboolean|ç±»å:CustomDialogControllerOptions;<br>方法or属性:showInSubWindow?: boolean;<br>新版本信æ¯ï¼š?boolean|custom_dialog_controller.d.ts| +|type有å˜åŒ–|ç±»å:DataPanelOptions;<br>方法or属性:values: number[];<br>旧版本信æ¯ï¼š|ç±»å:DataPanelOptions;<br>方法or属性:values: number[];<br>新版本信æ¯ï¼šnumber[]|data_panel.d.ts| +|type有å˜åŒ–|ç±»å:DataPanelOptions;<br>方法or属性:max?: number;<br>旧版本信æ¯ï¼š|ç±»å:DataPanelOptions;<br>方法or属性:max?: number;<br>新版本信æ¯ï¼š?number|data_panel.d.ts| +|type有å˜åŒ–|ç±»å:DataPanelOptions;<br>方法or属性:type?: DataPanelType;<br>旧版本信æ¯ï¼š|ç±»å:DataPanelOptions;<br>方法or属性:type?: DataPanelType;<br>新版本信æ¯ï¼š?DataPanelType|data_panel.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerResult;<br>方法or属性:year?: number;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerResult;<br>方法or属性:year?: number;<br>新版本信æ¯ï¼š?number|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerResult;<br>方法or属性:month?: number;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerResult;<br>方法or属性:month?: number;<br>新版本信æ¯ï¼š?number|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerResult;<br>方法or属性:day?: number;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerResult;<br>方法or属性:day?: number;<br>新版本信æ¯ï¼š?number|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerOptions;<br>方法or属性:start?: Date;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerOptions;<br>方法or属性:start?: Date;<br>新版本信æ¯ï¼š?Date|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerOptions;<br>方法or属性:end?: Date;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerOptions;<br>方法or属性:end?: Date;<br>新版本信æ¯ï¼š?Date|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerOptions;<br>方法or属性:selected?: Date;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerOptions;<br>方法or属性:selected?: Date;<br>新版本信æ¯ï¼š?Date|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:lunar?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerDialogOptions;<br>方法or属性:lunar?: boolean;<br>新版本信æ¯ï¼š?boolean|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:showTime?: boolean;<br>旧版本信æ¯ï¼šboolean|ç±»å:DatePickerDialogOptions;<br>方法or属性:showTime?: boolean;<br>新版本信æ¯ï¼š?boolean|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:useMilitaryTime?: boolean;<br>旧版本信æ¯ï¼šboolean|ç±»å:DatePickerDialogOptions;<br>方法or属性:useMilitaryTime?: boolean;<br>新版本信æ¯ï¼š?boolean|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:disappearTextStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:DatePickerDialogOptions;<br>方法or属性:disappearTextStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:textStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:DatePickerDialogOptions;<br>方法or属性:textStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:selectedTextStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:DatePickerDialogOptions;<br>方法or属性:selectedTextStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:onAccept?: (value: DatePickerResult) => void;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerDialogOptions;<br>方法or属性:onAccept?: (value: DatePickerResult) => void;<br>新版本信æ¯ï¼š?((value: DatePickerResult) => void)|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:onCancel?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerDialogOptions;<br>方法or属性:onCancel?: () => void;<br>新版本信æ¯ï¼š?(() => void)|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:DatePickerDialogOptions;<br>方法or属性:onChange?: (value: DatePickerResult) => void;<br>旧版本信æ¯ï¼š|ç±»å:DatePickerDialogOptions;<br>方法or属性:onChange?: (value: DatePickerResult) => void;<br>新版本信æ¯ï¼š?((value: DatePickerResult) => void)|date_picker.d.ts| +|type有å˜åŒ–|ç±»å:FlexOptions;<br>方法or属性:direction?: FlexDirection;<br>旧版本信æ¯ï¼š|ç±»å:FlexOptions;<br>方法or属性:direction?: FlexDirection;<br>新版本信æ¯ï¼š?FlexDirection|flex.d.ts| +|type有å˜åŒ–|ç±»å:FlexOptions;<br>方法or属性:wrap?: FlexWrap;<br>旧版本信æ¯ï¼š|ç±»å:FlexOptions;<br>方法or属性:wrap?: FlexWrap;<br>新版本信æ¯ï¼š?FlexWrap|flex.d.ts| +|type有å˜åŒ–|ç±»å:FlexOptions;<br>方法or属性:justifyContent?: FlexAlign;<br>旧版本信æ¯ï¼š|ç±»å:FlexOptions;<br>方法or属性:justifyContent?: FlexAlign;<br>新版本信æ¯ï¼š?FlexAlign|flex.d.ts| +|type有å˜åŒ–|ç±»å:FlexOptions;<br>方法or属性:alignItems?: ItemAlign;<br>旧版本信æ¯ï¼š|ç±»å:FlexOptions;<br>方法or属性:alignItems?: ItemAlign;<br>新版本信æ¯ï¼š?ItemAlign|flex.d.ts| +|type有å˜åŒ–|ç±»å:FlexOptions;<br>方法or属性:alignContent?: FlexAlign;<br>旧版本信æ¯ï¼š|ç±»å:FlexOptions;<br>方法or属性:alignContent?: FlexAlign;<br>新版本信æ¯ï¼š?FlexAlign|flex.d.ts| +|type有å˜åŒ–|ç±»å:FingerInfo;<br>方法or属性:id: number;<br>旧版本信æ¯ï¼š|ç±»å:FingerInfo;<br>方法or属性:id: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:FingerInfo;<br>方法or属性:globalX: number;<br>旧版本信æ¯ï¼š|ç±»å:FingerInfo;<br>方法or属性:globalX: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:FingerInfo;<br>方法or属性:globalY: number;<br>旧版本信æ¯ï¼š|ç±»å:FingerInfo;<br>方法or属性:globalY: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:FingerInfo;<br>方法or属性:localX: number;<br>旧版本信æ¯ï¼š|ç±»å:FingerInfo;<br>方法or属性:localX: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:FingerInfo;<br>方法or属性:localY: number;<br>旧版本信æ¯ï¼š|ç±»å:FingerInfo;<br>方法or属性:localY: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:repeat: boolean;<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:repeat: boolean;<br>新版本信æ¯ï¼šboolean|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:fingerList: FingerInfo[];<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:fingerList: FingerInfo[];<br>新版本信æ¯ï¼šFingerInfo[]|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:offsetX: number;<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:offsetX: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:offsetY: number;<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:offsetY: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:angle: number;<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:angle: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:speed: number;<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:speed: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:scale: number;<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:scale: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:pinchCenterX: number;<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:pinchCenterX: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GestureEvent;<br>方法or属性:pinchCenterY: number;<br>旧版本信æ¯ï¼š|ç±»å:GestureEvent;<br>方法or属性:pinchCenterY: number;<br>新版本信æ¯ï¼šnumber|gesture.d.ts| +|type有å˜åŒ–|ç±»å:GridColColumnOption;<br>方法or属性:xs?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridColColumnOption;<br>方法or属性:xs?: number,<br>新版本信æ¯ï¼š?number|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridColColumnOption;<br>方法or属性:sm?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridColColumnOption;<br>方法or属性:sm?: number,<br>新版本信æ¯ï¼š?number|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridColColumnOption;<br>方法or属性:md?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridColColumnOption;<br>方法or属性:md?: number,<br>新版本信æ¯ï¼š?number|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridColColumnOption;<br>方法or属性:lg?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridColColumnOption;<br>方法or属性:lg?: number,<br>新版本信æ¯ï¼š?number|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridColColumnOption;<br>方法or属性:xl?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridColColumnOption;<br>方法or属性:xl?: number,<br>新版本信æ¯ï¼š?number|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridColColumnOption;<br>方法or属性:xxl?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridColColumnOption;<br>方法or属性:xxl?: number,<br>新版本信æ¯ï¼š?number|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridColOptions;<br>方法or属性:span?: number \| GridColColumnOption;<br>旧版本信æ¯ï¼š|ç±»å:GridColOptions;<br>方法or属性:span?: number \| GridColColumnOption;<br>新版本信æ¯ï¼š?(number \| GridColColumnOption)|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridColOptions;<br>方法or属性:offset?: number \| GridColColumnOption;<br>旧版本信æ¯ï¼š|ç±»å:GridColOptions;<br>方法or属性:offset?: number \| GridColColumnOption;<br>新版本信æ¯ï¼š?(number \| GridColColumnOption)|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridColOptions;<br>方法or属性:order?: number \| GridColColumnOption;<br>旧版本信æ¯ï¼š|ç±»å:GridColOptions;<br>方法or属性:order?: number \| GridColColumnOption;<br>新版本信æ¯ï¼š?(number \| GridColColumnOption)|grid_col.d.ts| +|type有å˜åŒ–|ç±»å:GridContainerOptions;<br>方法or属性:columns?: number \| "auto";<br>旧版本信æ¯ï¼š|ç±»å:GridContainerOptions;<br>方法or属性:columns?: number \| "auto";<br>新版本信æ¯ï¼š?(number \| "auto")|grid_container.d.ts| +|type有å˜åŒ–|ç±»å:GridContainerOptions;<br>方法or属性:sizeType?: SizeType;<br>旧版本信æ¯ï¼š|ç±»å:GridContainerOptions;<br>方法or属性:sizeType?: SizeType;<br>新版本信æ¯ï¼š?SizeType|grid_container.d.ts| +|type有å˜åŒ–|ç±»å:GridContainerOptions;<br>方法or属性:gutter?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:GridContainerOptions;<br>方法or属性:gutter?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|grid_container.d.ts| +|type有å˜åŒ–|ç±»å:GridContainerOptions;<br>方法or属性:margin?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:GridContainerOptions;<br>方法or属性:margin?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|grid_container.d.ts| +|type有å˜åŒ–|ç±»å:GridRowSizeOption;<br>方法or属性:xs?: Length,<br>旧版本信æ¯ï¼š|ç±»å:GridRowSizeOption;<br>方法or属性:xs?: Length,<br>新版本信æ¯ï¼š?Length|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowSizeOption;<br>方法or属性:sm?: Length,<br>旧版本信æ¯ï¼š|ç±»å:GridRowSizeOption;<br>方法or属性:sm?: Length,<br>新版本信æ¯ï¼š?Length|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowSizeOption;<br>方法or属性:md?: Length,<br>旧版本信æ¯ï¼š|ç±»å:GridRowSizeOption;<br>方法or属性:md?: Length,<br>新版本信æ¯ï¼š?Length|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowSizeOption;<br>方法or属性:lg?: Length,<br>旧版本信æ¯ï¼š|ç±»å:GridRowSizeOption;<br>方法or属性:lg?: Length,<br>新版本信æ¯ï¼š?Length|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowSizeOption;<br>方法or属性:xl?: Length,<br>旧版本信æ¯ï¼š|ç±»å:GridRowSizeOption;<br>方法or属性:xl?: Length,<br>新版本信æ¯ï¼š?Length|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowColumnOption;<br>方法or属性:xs?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridRowColumnOption;<br>方法or属性:xs?: number,<br>新版本信æ¯ï¼š?number|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowColumnOption;<br>方法or属性:sm?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridRowColumnOption;<br>方法or属性:sm?: number,<br>新版本信æ¯ï¼š?number|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowColumnOption;<br>方法or属性:md?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridRowColumnOption;<br>方法or属性:md?: number,<br>新版本信æ¯ï¼š?number|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowColumnOption;<br>方法or属性:lg?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridRowColumnOption;<br>方法or属性:lg?: number,<br>新版本信æ¯ï¼š?number|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowColumnOption;<br>方法or属性:xl?: number,<br>旧版本信æ¯ï¼š|ç±»å:GridRowColumnOption;<br>方法or属性:xl?: number,<br>新版本信æ¯ï¼š?number|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GutterOption;<br>方法or属性:x?: Length \| GridRowSizeOption,<br>旧版本信æ¯ï¼š|ç±»å:GutterOption;<br>方法or属性:x?: Length \| GridRowSizeOption,<br>新版本信æ¯ï¼š?(Length \| GridRowSizeOption)|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GutterOption;<br>方法or属性:y?: Length \| GridRowSizeOption<br>旧版本信æ¯ï¼š|ç±»å:GutterOption;<br>方法or属性:y?: Length \| GridRowSizeOption<br>新版本信æ¯ï¼š?(Length \| GridRowSizeOption)|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:BreakPoints;<br>方法or属性:value?: Array\<string>,<br>旧版本信æ¯ï¼š|ç±»å:BreakPoints;<br>方法or属性:value?: Array\<string>,<br>新版本信æ¯ï¼š?Array\<string>|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:BreakPoints;<br>方法or属性:reference?: BreakpointsReference,<br>旧版本信æ¯ï¼š|ç±»å:BreakPoints;<br>方法or属性:reference?: BreakpointsReference,<br>新版本信æ¯ï¼š?BreakpointsReference|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowOptions;<br>方法or属性:gutter?: Length \| GutterOption;<br>旧版本信æ¯ï¼š|ç±»å:GridRowOptions;<br>方法or属性:gutter?: Length \| GutterOption;<br>新版本信æ¯ï¼š?(Length \| GutterOption)|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowOptions;<br>方法or属性:columns?: number \| GridRowColumnOption;<br>旧版本信æ¯ï¼š|ç±»å:GridRowOptions;<br>方法or属性:columns?: number \| GridRowColumnOption;<br>新版本信æ¯ï¼š?(number \| GridRowColumnOption)|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowOptions;<br>方法or属性:breakpoints?: BreakPoints;<br>旧版本信æ¯ï¼š|ç±»å:GridRowOptions;<br>方法or属性:breakpoints?: BreakPoints;<br>新版本信æ¯ï¼š?BreakPoints|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:GridRowOptions;<br>方法or属性:direction?: GridRowDirection;<br>旧版本信æ¯ï¼š|ç±»å:GridRowOptions;<br>方法or属性:direction?: GridRowDirection;<br>新版本信æ¯ï¼š?GridRowDirection|grid_row.d.ts| +|type有å˜åŒ–|ç±»å:ImageFrameInfo;<br>方法or属性:width?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:ImageFrameInfo;<br>方法or属性:width?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|image_animator.d.ts| +|type有å˜åŒ–|ç±»å:ImageFrameInfo;<br>方法or属性:height?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:ImageFrameInfo;<br>方法or属性:height?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|image_animator.d.ts| +|type有å˜åŒ–|ç±»å:ImageFrameInfo;<br>方法or属性:top?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:ImageFrameInfo;<br>方法or属性:top?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|image_animator.d.ts| +|type有å˜åŒ–|ç±»å:ImageFrameInfo;<br>方法or属性:left?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:ImageFrameInfo;<br>方法or属性:left?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|image_animator.d.ts| +|type有å˜åŒ–|ç±»å:ImageFrameInfo;<br>方法or属性:duration?: number;<br>旧版本信æ¯ï¼š|ç±»å:ImageFrameInfo;<br>方法or属性:duration?: number;<br>新版本信æ¯ï¼š?number|image_animator.d.ts| +|type有å˜åŒ–|ç±»å:ChainAnimationOptions;<br>方法or属性:conductivity?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:ChainAnimationOptions;<br>方法or属性:conductivity?: number;<br>新版本信æ¯ï¼š?number|list.d.ts| +|type有å˜åŒ–|ç±»å:ChainAnimationOptions;<br>方法or属性:intensity?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:ChainAnimationOptions;<br>方法or属性:intensity?: number;<br>新版本信æ¯ï¼š?number|list.d.ts| +|type有å˜åŒ–|ç±»å:ChainAnimationOptions;<br>方法or属性:edgeEffect?: ChainEdgeEffect;<br>旧版本信æ¯ï¼šChainEdgeEffect|ç±»å:ChainAnimationOptions;<br>方法or属性:edgeEffect?: ChainEdgeEffect;<br>新版本信æ¯ï¼š?ChainEdgeEffect|list.d.ts| +|type有å˜åŒ–|ç±»å:SwipeActionOptions;<br>方法or属性:start?: CustomBuilder \| SwipeActionItem;<br>旧版本信æ¯ï¼š|ç±»å:SwipeActionOptions;<br>方法or属性:start?: CustomBuilder \| SwipeActionItem;<br>新版本信æ¯ï¼š?(CustomBuilder \| SwipeActionItem)|list_item.d.ts| +|type有å˜åŒ–|ç±»å:SwipeActionOptions;<br>方法or属性:end?: CustomBuilder \| SwipeActionItem;<br>旧版本信æ¯ï¼š|ç±»å:SwipeActionOptions;<br>方法or属性:end?: CustomBuilder \| SwipeActionItem;<br>新版本信æ¯ï¼š?(CustomBuilder \| SwipeActionItem)|list_item.d.ts| +|type有å˜åŒ–|ç±»å:SwipeActionOptions;<br>方法or属性:edgeEffect?: SwipeEdgeEffect;<br>旧版本信æ¯ï¼š|ç±»å:SwipeActionOptions;<br>方法or属性:edgeEffect?: SwipeEdgeEffect;<br>新版本信æ¯ï¼š?SwipeEdgeEffect|list_item.d.ts| +|type有å˜åŒ–|ç±»å:ListItemGroupOptions;<br>方法or属性:header?: CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:ListItemGroupOptions;<br>方法or属性:header?: CustomBuilder;<br>新版本信æ¯ï¼š?CustomBuilder|list_item_group.d.ts| +|type有å˜åŒ–|ç±»å:ListItemGroupOptions;<br>方法or属性:footer?: CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:ListItemGroupOptions;<br>方法or属性:footer?: CustomBuilder;<br>新版本信æ¯ï¼š?CustomBuilder|list_item_group.d.ts| +|type有å˜åŒ–|ç±»å:ListItemGroupOptions;<br>方法or属性:space?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:ListItemGroupOptions;<br>方法or属性:space?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|list_item_group.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:scaleX?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:scaleX?: number;<br>新版本信æ¯ï¼š?number|matrix2d.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:rotateY?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:rotateY?: number;<br>新版本信æ¯ï¼š?number|matrix2d.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:rotateX?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:rotateX?: number;<br>新版本信æ¯ï¼š?number|matrix2d.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:scaleY?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:scaleY?: number;<br>新版本信æ¯ï¼š?number|matrix2d.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:translateX?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:translateX?: number;<br>新版本信æ¯ï¼š?number|matrix2d.d.ts| +|type有å˜åŒ–|ç±»å:Matrix2D;<br>方法or属性:translateY?: number;<br>旧版本信æ¯ï¼š|ç±»å:Matrix2D;<br>方法or属性:translateY?: number;<br>新版本信æ¯ï¼š?number|matrix2d.d.ts| +|type有å˜åŒ–|ç±»å:MenuItemOptions;<br>方法or属性:startIcon?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:MenuItemOptions;<br>方法or属性:startIcon?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|menu_item.d.ts| +|type有å˜åŒ–|ç±»å:MenuItemOptions;<br>方法or属性:content?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:MenuItemOptions;<br>方法or属性:content?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|menu_item.d.ts| +|type有å˜åŒ–|ç±»å:MenuItemOptions;<br>方法or属性:endIcon?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:MenuItemOptions;<br>方法or属性:endIcon?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|menu_item.d.ts| +|type有å˜åŒ–|ç±»å:MenuItemOptions;<br>方法or属性:labelInfo?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:MenuItemOptions;<br>方法or属性:labelInfo?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|menu_item.d.ts| +|type有å˜åŒ–|ç±»å:MenuItemOptions;<br>方法or属性:builder?: CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:MenuItemOptions;<br>方法or属性:builder?: CustomBuilder;<br>新版本信æ¯ï¼š?CustomBuilder|menu_item.d.ts| +|type有å˜åŒ–|ç±»å:MenuItemGroupOptions;<br>方法or属性:header?: ResourceStr \| CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:MenuItemGroupOptions;<br>方法or属性:header?: ResourceStr \| CustomBuilder;<br>新版本信æ¯ï¼š?(ResourceStr \| CustomBuilder)|menu_item_group.d.ts| +|type有å˜åŒ–|ç±»å:MenuItemGroupOptions;<br>方法or属性:footer?: ResourceStr \| CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:MenuItemGroupOptions;<br>方法or属性:footer?: ResourceStr \| CustomBuilder;<br>新版本信æ¯ï¼š?(ResourceStr \| CustomBuilder)|menu_item_group.d.ts| +|type有å˜åŒ–|ç±»å:NavigationCommonTitle;<br>方法or属性:main: string;<br>旧版本信æ¯ï¼š|ç±»å:NavigationCommonTitle;<br>方法or属性:main: string;<br>新版本信æ¯ï¼šstring|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavigationCommonTitle;<br>方法or属性:sub: string;<br>旧版本信æ¯ï¼š|ç±»å:NavigationCommonTitle;<br>方法or属性:sub: string;<br>新版本信æ¯ï¼šstring|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavigationCustomTitle;<br>方法or属性:builder: CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:NavigationCustomTitle;<br>方法or属性:builder: CustomBuilder;<br>新版本信æ¯ï¼šCustomBuilder|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavigationCustomTitle;<br>方法or属性:height: TitleHeight \| Length;<br>旧版本信æ¯ï¼š|ç±»å:NavigationCustomTitle;<br>方法or属性:height: TitleHeight \| Length;<br>新版本信æ¯ï¼šTitleHeight \| Length|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavigationMenuItem;<br>方法or属性:value: string;<br>旧版本信æ¯ï¼š|ç±»å:NavigationMenuItem;<br>方法or属性:value: string;<br>新版本信æ¯ï¼šstring|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavigationMenuItem;<br>方法or属性:icon?: string;<br>旧版本信æ¯ï¼š|ç±»å:NavigationMenuItem;<br>方法or属性:icon?: string;<br>新版本信æ¯ï¼š?string|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavigationMenuItem;<br>方法or属性:action?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:NavigationMenuItem;<br>方法or属性:action?: () => void;<br>新版本信æ¯ï¼š?(() => void)|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavPathInfo;<br>方法or属性:param?: unknown;<br>旧版本信æ¯ï¼šunknown|ç±»å:NavPathInfo;<br>方法or属性:param?: unknown;<br>新版本信æ¯ï¼š?unknown|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavigationAttribute;<br>方法or属性:title(value: ResourceStr \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;<br>旧版本信æ¯ï¼š(ResourceStr \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle)|ç±»å:NavigationAttribute;<br>方法or属性:title(value: ResourceStr \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;<br>新版本信æ¯ï¼š|navigation.d.ts| +|type有å˜åŒ–|ç±»å:NavDestinationCommonTitle;<br>方法or属性:main: string;<br>旧版本信æ¯ï¼š|ç±»å:NavDestinationCommonTitle;<br>方法or属性:main: string;<br>新版本信æ¯ï¼šstring|nav_destination.d.ts| +|type有å˜åŒ–|ç±»å:NavDestinationCommonTitle;<br>方法or属性:sub: string;<br>旧版本信æ¯ï¼š|ç±»å:NavDestinationCommonTitle;<br>方法or属性:sub: string;<br>新版本信æ¯ï¼šstring|nav_destination.d.ts| +|type有å˜åŒ–|ç±»å:NavDestinationCustomTitle;<br>方法or属性:builder: CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:NavDestinationCustomTitle;<br>方法or属性:builder: CustomBuilder;<br>新版本信æ¯ï¼šCustomBuilder|nav_destination.d.ts| +|type有å˜åŒ–|ç±»å:NavDestinationCustomTitle;<br>方法or属性:height: TitleHeight \| Length;<br>旧版本信æ¯ï¼š|ç±»å:NavDestinationCustomTitle;<br>方法or属性:height: TitleHeight \| Length;<br>新版本信æ¯ï¼šTitleHeight \| Length|nav_destination.d.ts| +|type有å˜åŒ–|ç±»å:RouteInfo;<br>方法or属性:param?: unknown;<br>旧版本信æ¯ï¼šunknown|ç±»å:RouteInfo;<br>方法or属性:param?: unknown;<br>新版本信æ¯ï¼š?unknown|nav_router.d.ts| +|type有å˜åŒ–|ç±»å:PluginComponentTemplate;<br>方法or属性:source: string;<br>旧版本信æ¯ï¼š|ç±»å:PluginComponentTemplate;<br>方法or属性:source: string;<br>新版本信æ¯ï¼šstring|plugin_component.d.ts| +|type有å˜åŒ–|ç±»å:PluginComponentTemplate;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:PluginComponentTemplate;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|plugin_component.d.ts| +|type有å˜åŒ–|ç±»å:ProgressOptions;<br>方法or属性:value: number;<br>旧版本信æ¯ï¼š|ç±»å:ProgressOptions;<br>方法or属性:value: number;<br>新版本信æ¯ï¼šnumber|progress.d.ts| +|type有å˜åŒ–|ç±»å:ProgressOptions;<br>方法or属性:total?: number;<br>旧版本信æ¯ï¼š|ç±»å:ProgressOptions;<br>方法or属性:total?: number;<br>新版本信æ¯ï¼š?number|progress.d.ts| +|type有å˜åŒ–|ç±»å:ProgressOptions;<br>方法or属性:style?: ProgressStyle<br>旧版本信æ¯ï¼š|ç±»å:ProgressOptions;<br>方法or属性:style?: ProgressStyle<br>新版本信æ¯ï¼š?ProgressStyle|progress.d.ts| +|type有å˜åŒ–|ç±»å:ProgressOptions;<br>方法or属性:type?: Type<br>旧版本信æ¯ï¼š|ç±»å:ProgressOptions;<br>方法or属性:type?: Type<br>新版本信æ¯ï¼š?Type|progress.d.ts| +|type有å˜åŒ–|ç±»å:ProgressStyleOptions;<br>方法or属性:strokeWidth?: Length;<br>旧版本信æ¯ï¼š|ç±»å:ProgressStyleOptions;<br>方法or属性:strokeWidth?: Length;<br>新版本信æ¯ï¼š?Length|progress.d.ts| +|type有å˜åŒ–|ç±»å:ProgressStyleOptions;<br>方法or属性:scaleCount?: number;<br>旧版本信æ¯ï¼š|ç±»å:ProgressStyleOptions;<br>方法or属性:scaleCount?: number;<br>新版本信æ¯ï¼š?number|progress.d.ts| +|type有å˜åŒ–|ç±»å:ProgressStyleOptions;<br>方法or属性:scaleWidth?: Length;<br>旧版本信æ¯ï¼š|ç±»å:ProgressStyleOptions;<br>方法or属性:scaleWidth?: Length;<br>新版本信æ¯ï¼š?Length|progress.d.ts| +|type有å˜åŒ–|ç±»å:RadioOptions;<br>方法or属性:group: string;<br>旧版本信æ¯ï¼š|ç±»å:RadioOptions;<br>方法or属性:group: string;<br>新版本信æ¯ï¼šstring|radio.d.ts| +|type有å˜åŒ–|ç±»å:RadioOptions;<br>方法or属性:value: string;<br>旧版本信æ¯ï¼š|ç±»å:RadioOptions;<br>方法or属性:value: string;<br>新版本信æ¯ï¼šstring|radio.d.ts| +|type有å˜åŒ–|ç±»å:RadioStyle;<br>方法or属性:checkedBackgroundColor?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:RadioStyle;<br>方法or属性:checkedBackgroundColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|radio.d.ts| +|type有å˜åŒ–|ç±»å:RadioStyle;<br>方法or属性:uncheckedBorderColor?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:RadioStyle;<br>方法or属性:uncheckedBorderColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|radio.d.ts| +|type有å˜åŒ–|ç±»å:RadioStyle;<br>方法or属性:indicatorColor?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:RadioStyle;<br>方法or属性:indicatorColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|radio.d.ts| +|type有å˜åŒ–|ç±»å:RefreshOptions;<br>方法or属性:offset?: number \| string;<br>旧版本信æ¯ï¼šnumber \| string|ç±»å:RefreshOptions;<br>方法or属性:offset?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|refresh.d.ts| +|type有å˜åŒ–|ç±»å:RefreshOptions;<br>方法or属性:friction?: number \| string;<br>旧版本信æ¯ï¼šnumber \| string|ç±»å:RefreshOptions;<br>方法or属性:friction?: number \| string;<br>新版本信æ¯ï¼š?(number \| string)|refresh.d.ts| +|type有å˜åŒ–|ç±»å:RefreshOptions;<br>方法or属性:builder?: CustomBuilder;<br>旧版本信æ¯ï¼šCustomBuilder|ç±»å:RefreshOptions;<br>方法or属性:builder?: CustomBuilder;<br>新版本信æ¯ï¼š?CustomBuilder|refresh.d.ts| +|type有å˜åŒ–|ç±»å:RRect;<br>方法or属性:left: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:left: number;<br>新版本信æ¯ï¼šnumber|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:RRect;<br>方法or属性:top: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:top: number;<br>新版本信æ¯ï¼šnumber|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:RRect;<br>方法or属性:width: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:width: number;<br>新版本信æ¯ï¼šnumber|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:RRect;<br>方法or属性:height: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:height: number;<br>新版本信æ¯ï¼šnumber|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:RRect;<br>方法or属性:radius: number;<br>旧版本信æ¯ï¼š|ç±»å:RRect;<br>方法or属性:radius: number;<br>新版本信æ¯ï¼šnumber|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>新版本信æ¯ï¼šstring|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>旧版本信æ¯ï¼š|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>新版本信æ¯ï¼šstring|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>旧版本信æ¯ï¼š|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>新版本信æ¯ï¼šRRect|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>旧版本信æ¯ï¼š|ç±»å:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>新版本信æ¯ï¼šnumber|remote_window.d.ts| +|type有å˜åŒ–|ç±»å:ScrollBarOptions;<br>方法or属性:scroller: Scroller;<br>旧版本信æ¯ï¼š|ç±»å:ScrollBarOptions;<br>方法or属性:scroller: Scroller;<br>新版本信æ¯ï¼šScroller|scroll_bar.d.ts| +|type有å˜åŒ–|ç±»å:ScrollBarOptions;<br>方法or属性:direction?: ScrollBarDirection;<br>旧版本信æ¯ï¼š|ç±»å:ScrollBarOptions;<br>方法or属性:direction?: ScrollBarDirection;<br>新版本信æ¯ï¼š?ScrollBarDirection|scroll_bar.d.ts| +|type有å˜åŒ–|ç±»å:ScrollBarOptions;<br>方法or属性:state?: BarState;<br>旧版本信æ¯ï¼š|ç±»å:ScrollBarOptions;<br>方法or属性:state?: BarState;<br>新版本信æ¯ï¼š?BarState|scroll_bar.d.ts| +|type有å˜åŒ–|ç±»å:IconOptions;<br>方法or属性:size?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:IconOptions;<br>方法or属性:size?: Length;<br>新版本信æ¯ï¼š?Length|search.d.ts| +|type有å˜åŒ–|ç±»å:IconOptions;<br>方法or属性:color?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:IconOptions;<br>方法or属性:color?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|search.d.ts| +|type有å˜åŒ–|ç±»å:CaretStyle;<br>方法or属性:color?: ResourceColor,<br>旧版本信æ¯ï¼šResourceColor|ç±»å:CaretStyle;<br>方法or属性:color?: ResourceColor,<br>新版本信æ¯ï¼š?ResourceColor|search.d.ts| +|type有å˜åŒ–|ç±»å:IconOptions;<br>方法or属性:src?: ResourceStr;<br>旧版本信æ¯ï¼šResourceStr|ç±»å:IconOptions;<br>方法or属性:src?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|search.d.ts| +|type有å˜åŒ–|ç±»å:CaretStyle;<br>方法or属性:width?: Length,<br>旧版本信æ¯ï¼šLength|ç±»å:CaretStyle;<br>方法or属性:width?: Length,<br>新版本信æ¯ï¼š?Length|search.d.ts| +|type有å˜åŒ–|ç±»å:SelectOption;<br>方法or属性:value: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:SelectOption;<br>方法or属性:value: ResourceStr;<br>新版本信æ¯ï¼šResourceStr|select.d.ts| +|type有å˜åŒ–|ç±»å:SelectOption;<br>方法or属性:icon?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:SelectOption;<br>方法or属性:icon?: ResourceStr;<br>新版本信æ¯ï¼šResourceStr|select.d.ts| +|type有å˜åŒ–|ç±»å:ButtonStyle;<br>方法or属性:left?: number;<br>旧版本信æ¯ï¼š|ç±»å:ButtonStyle;<br>方法or属性:left?: number;<br>新版本信æ¯ï¼š?number|sidebar.d.ts| +|type有å˜åŒ–|ç±»å:ButtonStyle;<br>方法or属性:top?: number;<br>旧版本信æ¯ï¼š|ç±»å:ButtonStyle;<br>方法or属性:top?: number;<br>新版本信æ¯ï¼š?number|sidebar.d.ts| +|type有å˜åŒ–|ç±»å:ButtonStyle;<br>方法or属性:width?: number;<br>旧版本信æ¯ï¼š|ç±»å:ButtonStyle;<br>方法or属性:width?: number;<br>新版本信æ¯ï¼š?number|sidebar.d.ts| +|type有å˜åŒ–|ç±»å:ButtonStyle;<br>方法or属性:height?: number;<br>旧版本信æ¯ï¼š|ç±»å:ButtonStyle;<br>方法or属性:height?: number;<br>新版本信æ¯ï¼š?number|sidebar.d.ts| +|type有å˜åŒ–|ç±»å:DividerStyle;<br>方法or属性:color?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:DividerStyle;<br>方法or属性:color?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|sidebar.d.ts| +|type有å˜åŒ–|ç±»å:DividerStyle;<br>方法or属性:startMargin?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:DividerStyle;<br>方法or属性:startMargin?: Length;<br>新版本信æ¯ï¼š?Length|sidebar.d.ts| +|type有å˜åŒ–|ç±»å:DividerStyle;<br>方法or属性:endMargin?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:DividerStyle;<br>方法or属性:endMargin?: Length;<br>新版本信æ¯ï¼š?Length|sidebar.d.ts| +|type有å˜åŒ–|ç±»å:SliderOptions;<br>方法or属性:value?: number;<br>旧版本信æ¯ï¼š|ç±»å:SliderOptions;<br>方法or属性:value?: number;<br>新版本信æ¯ï¼š?number|slider.d.ts| +|type有å˜åŒ–|ç±»å:SliderOptions;<br>方法or属性:min?: number;<br>旧版本信æ¯ï¼š|ç±»å:SliderOptions;<br>方法or属性:min?: number;<br>新版本信æ¯ï¼š?number|slider.d.ts| +|type有å˜åŒ–|ç±»å:SliderOptions;<br>方法or属性:max?: number;<br>旧版本信æ¯ï¼š|ç±»å:SliderOptions;<br>方法or属性:max?: number;<br>新版本信æ¯ï¼š?number|slider.d.ts| +|type有å˜åŒ–|ç±»å:SliderOptions;<br>方法or属性:step?: number;<br>旧版本信æ¯ï¼š|ç±»å:SliderOptions;<br>方法or属性:step?: number;<br>新版本信æ¯ï¼š?number|slider.d.ts| +|type有å˜åŒ–|ç±»å:SliderOptions;<br>方法or属性:style?: SliderStyle;<br>旧版本信æ¯ï¼š|ç±»å:SliderOptions;<br>方法or属性:style?: SliderStyle;<br>新版本信æ¯ï¼š?SliderStyle|slider.d.ts| +|type有å˜åŒ–|ç±»å:SliderOptions;<br>方法or属性:direction?: Axis;<br>旧版本信æ¯ï¼š|ç±»å:SliderOptions;<br>方法or属性:direction?: Axis;<br>新版本信æ¯ï¼š?Axis|slider.d.ts| +|type有å˜åŒ–|ç±»å:SliderOptions;<br>方法or属性:reverse?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:SliderOptions;<br>方法or属性:reverse?: boolean;<br>新版本信æ¯ï¼š?boolean|slider.d.ts| +|type有å˜åŒ–|ç±»å:SliderBlockStyle;<br>方法or属性:image?: ResourceStr;<br>旧版本信æ¯ï¼šResourceStr|ç±»å:SliderBlockStyle;<br>方法or属性:image?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|slider.d.ts| +|type有å˜åŒ–|ç±»å:SliderBlockStyle;<br>方法or属性:shape?: CircleAttribute \| EllipseAttribute \| PathAttribute \| RectAttribute;<br>旧版本信æ¯ï¼šCircleAttribute \| EllipseAttribute \| PathAttribute \| RectAttribute|ç±»å:SliderBlockStyle;<br>方法or属性:shape?: CircleAttribute \| EllipseAttribute \| PathAttribute \| RectAttribute;<br>新版本信æ¯ï¼š?(CircleAttribute \| EllipseAttribute \| PathAttribute \| RectAttribute)|slider.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:left?: Length;<br>旧版本信æ¯ï¼š|ç±»å:IndicatorStyle;<br>方法or属性:left?: Length;<br>新版本信æ¯ï¼š?Length|swiper.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:top?: Length;<br>旧版本信æ¯ï¼š|ç±»å:IndicatorStyle;<br>方法or属性:top?: Length;<br>新版本信æ¯ï¼š?Length|swiper.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:right?: Length;<br>旧版本信æ¯ï¼š|ç±»å:IndicatorStyle;<br>方法or属性:right?: Length;<br>新版本信æ¯ï¼š?Length|swiper.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:bottom?: Length;<br>旧版本信æ¯ï¼š|ç±»å:IndicatorStyle;<br>方法or属性:bottom?: Length;<br>新版本信æ¯ï¼š?Length|swiper.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:size?: Length;<br>旧版本信æ¯ï¼š|ç±»å:IndicatorStyle;<br>方法or属性:size?: Length;<br>新版本信æ¯ï¼š?Length|swiper.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:mask?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:IndicatorStyle;<br>方法or属性:mask?: boolean;<br>新版本信æ¯ï¼š?boolean|swiper.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:color?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:IndicatorStyle;<br>方法or属性:color?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|swiper.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:selectedColor?: ResourceColor;<br>旧版本信æ¯ï¼š|ç±»å:IndicatorStyle;<br>方法or属性:selectedColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|swiper.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:height?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:IndicatorStyle;<br>方法or属性:height?: Length;<br>新版本信æ¯ï¼š?Length|tab_content.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:width?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:IndicatorStyle;<br>方法or属性:width?: Length;<br>新版本信æ¯ï¼š?Length|tab_content.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:borderRadius?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:IndicatorStyle;<br>方法or属性:borderRadius?: Length;<br>新版本信æ¯ï¼š?Length|tab_content.d.ts| +|type有å˜åŒ–|ç±»å:BoardStyle;<br>方法or属性:borderRadius?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:BoardStyle;<br>方法or属性:borderRadius?: Length;<br>新版本信æ¯ï¼š?Length|tab_content.d.ts| +|type有å˜åŒ–|ç±»å:IndicatorStyle;<br>方法or属性:marginTop?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:IndicatorStyle;<br>方法or属性:marginTop?: Length;<br>新版本信æ¯ï¼š?Length|tab_content.d.ts| +|type有å˜åŒ–|ç±»å:SwiperAttribute;<br>方法or属性:curve(value: Curve \| string \| ICurve): SwiperAttribute;<br>旧版本信æ¯ï¼š?(Curve \| string \| ICurve)|ç±»å:SwiperAttribute;<br>方法or属性:curve(value: Curve \| string \| ICurve): SwiperAttribute;<br>新版本信æ¯ï¼š|swiper.d.ts| +|type有å˜åŒ–|ç±»å:TextAttribute;<br>方法or属性:draggable(value: boolean): TextAttribute;<br>旧版本信æ¯ï¼š|ç±»å:TextAttribute;<br>方法or属性:draggable(value: boolean): TextAttribute;<br>新版本信æ¯ï¼š|text.d.ts| +|type有å˜åŒ–|ç±»å:TextAreaOptions;<br>方法or属性:placeholder?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:TextAreaOptions;<br>方法or属性:placeholder?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|text_area.d.ts| +|type有å˜åŒ–|ç±»å:TextAreaOptions;<br>方法or属性:text?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:TextAreaOptions;<br>方法or属性:text?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|text_area.d.ts| +|type有å˜åŒ–|ç±»å:TextAreaOptions;<br>方法or属性:controller?: TextAreaController;<br>旧版本信æ¯ï¼š|ç±»å:TextAreaOptions;<br>方法or属性:controller?: TextAreaController;<br>新版本信æ¯ï¼š?TextAreaController|text_area.d.ts| +|type有å˜åŒ–|ç±»å:TextInputOptions;<br>方法or属性:placeholder?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:TextInputOptions;<br>方法or属性:placeholder?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|text_input.d.ts| +|type有å˜åŒ–|ç±»å:TextInputOptions;<br>方法or属性:text?: ResourceStr;<br>旧版本信æ¯ï¼š|ç±»å:TextInputOptions;<br>方法or属性:text?: ResourceStr;<br>新版本信æ¯ï¼š?ResourceStr|text_input.d.ts| +|type有å˜åŒ–|ç±»å:TextInputOptions;<br>方法or属性:controller?: TextInputController;<br>旧版本信æ¯ï¼š|ç±»å:TextInputOptions;<br>方法or属性:controller?: TextInputController;<br>新版本信æ¯ï¼š?TextInputController|text_input.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerRangeContent;<br>方法or属性:text?: string \| Resource;<br>旧版本信æ¯ï¼šstring \| Resource|ç±»å:TextPickerRangeContent;<br>方法or属性:text?: string \| Resource;<br>新版本信æ¯ï¼š?(string \| Resource)|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerOptions;<br>方法or属性:range: string[] \| string[][] \| Resource \| TextPickerRangeContent[] \| TextCascadePickerRangeContent[];<br>旧版本信æ¯ï¼šstring[] \| Resource \| TextPickerRangeContent[]|ç±»å:TextPickerOptions;<br>方法or属性:range: string[] \| string[][] \| Resource \| TextPickerRangeContent[] \| TextCascadePickerRangeContent[];<br>新版本信æ¯ï¼šstring[] \| string[][] \| Resource \| TextPickerRangeContent[] \| TextCascadePickerRangeContent[]|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerOptions;<br>方法or属性:value?: string \| string[];<br>旧版本信æ¯ï¼šstring|ç±»å:TextPickerOptions;<br>方法or属性:value?: string \| string[];<br>新版本信æ¯ï¼š?(string \| string[])|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerOptions;<br>方法or属性:selected?: number \| number[];<br>旧版本信æ¯ï¼š|ç±»å:TextPickerOptions;<br>方法or属性:selected?: number \| number[];<br>新版本信æ¯ï¼š?(number \| number[])|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerResult;<br>方法or属性:value: string \| string[];<br>旧版本信æ¯ï¼šstring|ç±»å:TextPickerResult;<br>方法or属性:value: string \| string[];<br>新版本信æ¯ï¼šstring \| string[]|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerResult;<br>方法or属性:index: number \| number[];<br>旧版本信æ¯ï¼š|ç±»å:TextPickerResult;<br>方法or属性:index: number \| number[];<br>新版本信æ¯ï¼šnumber \| number[]|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerDialogOptions;<br>方法or属性:defaultPickerItemHeight?: number \| string;<br>旧版本信æ¯ï¼š|ç±»å:TextPickerDialogOptions;<br>方法or属性:defaultPickerItemHeight?: number \| string;<br>新版本信æ¯ï¼šnumber \| string|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerDialogOptions;<br>方法or属性:disappearTextStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:TextPickerDialogOptions;<br>方法or属性:disappearTextStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerDialogOptions;<br>方法or属性:textStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:TextPickerDialogOptions;<br>方法or属性:textStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerDialogOptions;<br>方法or属性:selectedTextStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:TextPickerDialogOptions;<br>方法or属性:selectedTextStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerDialogOptions;<br>方法or属性:onAccept?: (value: TextPickerResult) => void;<br>旧版本信æ¯ï¼š|ç±»å:TextPickerDialogOptions;<br>方法or属性:onAccept?: (value: TextPickerResult) => void;<br>新版本信æ¯ï¼š?((value: TextPickerResult) => void)|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerDialogOptions;<br>方法or属性:onCancel?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:TextPickerDialogOptions;<br>方法or属性:onCancel?: () => void;<br>新版本信æ¯ï¼š?(() => void)|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextPickerDialogOptions;<br>方法or属性:onChange?: (value: TextPickerResult) => void;<br>旧版本信æ¯ï¼š|ç±»å:TextPickerDialogOptions;<br>方法or属性:onChange?: (value: TextPickerResult) => void;<br>新版本信æ¯ï¼š?((value: TextPickerResult) => void)|text_picker.d.ts| +|type有å˜åŒ–|ç±»å:TextTimerOptions;<br>方法or属性:isCountDown?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:TextTimerOptions;<br>方法or属性:isCountDown?: boolean;<br>新版本信æ¯ï¼š?boolean|text_timer.d.ts| +|type有å˜åŒ–|ç±»å:TextTimerOptions;<br>方法or属性:count?: number;<br>旧版本信æ¯ï¼š|ç±»å:TextTimerOptions;<br>方法or属性:count?: number;<br>新版本信æ¯ï¼š?number|text_timer.d.ts| +|type有å˜åŒ–|ç±»å:TextTimerOptions;<br>方法or属性:controller?: TextTimerController;<br>旧版本信æ¯ï¼š|ç±»å:TextTimerOptions;<br>方法or属性:controller?: TextTimerController;<br>新版本信æ¯ï¼š?TextTimerController|text_timer.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerResult;<br>方法or属性:hour?: number;<br>旧版本信æ¯ï¼š|ç±»å:TimePickerResult;<br>方法or属性:hour?: number;<br>新版本信æ¯ï¼š?number|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerResult;<br>方法or属性:minute?: number;<br>旧版本信æ¯ï¼š|ç±»å:TimePickerResult;<br>方法or属性:minute?: number;<br>新版本信æ¯ï¼š?number|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerOptions;<br>方法or属性:selected?: Date;<br>旧版本信æ¯ï¼š|ç±»å:TimePickerOptions;<br>方法or属性:selected?: Date;<br>新版本信æ¯ï¼š?Date|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerDialogOptions;<br>方法or属性:useMilitaryTime?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:TimePickerDialogOptions;<br>方法or属性:useMilitaryTime?: boolean;<br>新版本信æ¯ï¼š?boolean|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerDialogOptions;<br>方法or属性:disappearTextStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:TimePickerDialogOptions;<br>方法or属性:disappearTextStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerDialogOptions;<br>方法or属性:textStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:TimePickerDialogOptions;<br>方法or属性:textStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerDialogOptions;<br>方法or属性:selectedTextStyle?: PickerTextStyle;<br>旧版本信æ¯ï¼šPickerTextStyle|ç±»å:TimePickerDialogOptions;<br>方法or属性:selectedTextStyle?: PickerTextStyle;<br>新版本信æ¯ï¼š?PickerTextStyle|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerDialogOptions;<br>方法or属性:onAccept?: (value: TimePickerResult) => void;<br>旧版本信æ¯ï¼š|ç±»å:TimePickerDialogOptions;<br>方法or属性:onAccept?: (value: TimePickerResult) => void;<br>新版本信æ¯ï¼š?((value: TimePickerResult) => void)|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerDialogOptions;<br>方法or属性:onCancel?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:TimePickerDialogOptions;<br>方法or属性:onCancel?: () => void;<br>新版本信æ¯ï¼š?(() => void)|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:TimePickerDialogOptions;<br>方法or属性:onChange?: (value: TimePickerResult) => void;<br>旧版本信æ¯ï¼š|ç±»å:TimePickerDialogOptions;<br>方法or属性:onChange?: (value: TimePickerResult) => void;<br>新版本信æ¯ï¼š?((value: TimePickerResult) => void)|time_picker.d.ts| +|type有å˜åŒ–|ç±»å:Resource;<br>方法or属性:readonly id: number;<br>旧版本信æ¯ï¼š|ç±»å:Resource;<br>方法or属性:readonly id: number;<br>新版本信æ¯ï¼šnumber|units.d.ts| +|type有å˜åŒ–|ç±»å:Resource;<br>方法or属性:readonly type: number;<br>旧版本信æ¯ï¼š|ç±»å:Resource;<br>方法or属性:readonly type: number;<br>新版本信æ¯ï¼šnumber|units.d.ts| +|type有å˜åŒ–|ç±»å:Resource;<br>方法or属性:readonly params?: any[];<br>旧版本信æ¯ï¼š|ç±»å:Resource;<br>方法or属性:readonly params?: any[];<br>新版本信æ¯ï¼š?any[]|units.d.ts| +|type有å˜åŒ–|ç±»å:Resource;<br>方法or属性:readonly bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:Resource;<br>方法or属性:readonly bundleName: string;<br>新版本信æ¯ï¼šstring|units.d.ts| +|type有å˜åŒ–|ç±»å:Resource;<br>方法or属性:readonly moduleName: string;<br>旧版本信æ¯ï¼š|ç±»å:Resource;<br>方法or属性:readonly moduleName: string;<br>新版本信æ¯ï¼šstring|units.d.ts| +|type有å˜åŒ–|ç±»å:Font;<br>方法or属性:size?: Length;<br>旧版本信æ¯ï¼š|ç±»å:Font;<br>方法or属性:size?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:MarkStyle;<br>方法or属性:size?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:MarkStyle;<br>方法or属性:size?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:Font;<br>方法or属性:weight?: FontWeight \| number \| string;<br>旧版本信æ¯ï¼š|ç±»å:Font;<br>方法or属性:weight?: FontWeight \| number \| string;<br>新版本信æ¯ï¼š?(FontWeight \| number \| string)|units.d.ts| +|type有å˜åŒ–|ç±»å:Font;<br>方法or属性:family?: string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:Font;<br>方法or属性:family?: string \| Resource;<br>新版本信æ¯ï¼š?(string \| Resource)|units.d.ts| +|type有å˜åŒ–|ç±»å:Font;<br>方法or属性:style?: FontStyle;<br>旧版本信æ¯ï¼š|ç±»å:Font;<br>方法or属性:style?: FontStyle;<br>新版本信æ¯ï¼š?FontStyle|units.d.ts| +|type有å˜åŒ–|ç±»å:Area;<br>方法or属性:width: Length;<br>旧版本信æ¯ï¼š|ç±»å:Area;<br>方法or属性:width: Length;<br>新版本信æ¯ï¼šLength|units.d.ts| +|type有å˜åŒ–|ç±»å:Area;<br>方法or属性:height: Length;<br>旧版本信æ¯ï¼š|ç±»å:Area;<br>方法or属性:height: Length;<br>新版本信æ¯ï¼šLength|units.d.ts| +|type有å˜åŒ–|ç±»å:Area;<br>方法or属性:position: Position;<br>旧版本信æ¯ï¼š|ç±»å:Area;<br>方法or属性:position: Position;<br>新版本信æ¯ï¼šPosition|units.d.ts| +|type有å˜åŒ–|ç±»å:Area;<br>方法or属性:globalPosition: Position;<br>旧版本信æ¯ï¼š|ç±»å:Area;<br>方法or属性:globalPosition: Position;<br>新版本信æ¯ï¼šPosition|units.d.ts| +|type有å˜åŒ–|ç±»å:Position;<br>方法or属性:x?: Length;<br>旧版本信æ¯ï¼š|ç±»å:Position;<br>方法or属性:x?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:Position;<br>方法or属性:y?: Length;<br>旧版本信æ¯ï¼š|ç±»å:Position;<br>方法or属性:y?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:ConstraintSizeOptions;<br>方法or属性:minWidth?: Length;<br>旧版本信æ¯ï¼š|ç±»å:ConstraintSizeOptions;<br>方法or属性:minWidth?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:ConstraintSizeOptions;<br>方法or属性:maxWidth?: Length;<br>旧版本信æ¯ï¼š|ç±»å:ConstraintSizeOptions;<br>方法or属性:maxWidth?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:ConstraintSizeOptions;<br>方法or属性:minHeight?: Length;<br>旧版本信æ¯ï¼š|ç±»å:ConstraintSizeOptions;<br>方法or属性:minHeight?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:ConstraintSizeOptions;<br>方法or属性:maxHeight?: Length;<br>旧版本信æ¯ï¼š|ç±»å:ConstraintSizeOptions;<br>方法or属性:maxHeight?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:SizeOptions;<br>方法or属性:width?: Length;<br>旧版本信æ¯ï¼š|ç±»å:SizeOptions;<br>方法or属性:width?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:SizeOptions;<br>方法or属性:height?: Length;<br>旧版本信æ¯ï¼š|ç±»å:SizeOptions;<br>方法or属性:height?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:BorderOptions;<br>方法or属性:width?: EdgeWidths \| Length;<br>旧版本信æ¯ï¼šEdgeWidths \| Length|ç±»å:BorderOptions;<br>方法or属性:width?: EdgeWidths \| Length;<br>新版本信æ¯ï¼š?(EdgeWidths \| Length)|units.d.ts| +|type有å˜åŒ–|ç±»å:BorderOptions;<br>方法or属性:color?: EdgeColors \| ResourceColor;<br>旧版本信æ¯ï¼šEdgeColors \| ResourceColor|ç±»å:BorderOptions;<br>方法or属性:color?: EdgeColors \| ResourceColor;<br>新版本信æ¯ï¼š?(EdgeColors \| ResourceColor)|units.d.ts| +|type有å˜åŒ–|ç±»å:BorderOptions;<br>方法or属性:radius?: BorderRadiuses \| Length;<br>旧版本信æ¯ï¼šBorderRadiuses \| Length|ç±»å:BorderOptions;<br>方法or属性:radius?: BorderRadiuses \| Length;<br>新版本信æ¯ï¼š?(BorderRadiuses \| Length)|units.d.ts| +|type有å˜åŒ–|ç±»å:BorderOptions;<br>方法or属性:style?: EdgeStyles \| BorderStyle;<br>旧版本信æ¯ï¼šEdgeStyles \| BorderStyle|ç±»å:BorderOptions;<br>方法or属性:style?: EdgeStyles \| BorderStyle;<br>新版本信æ¯ï¼š?(EdgeStyles \| BorderStyle)|units.d.ts| +|type有å˜åŒ–|ç±»å:MarkStyle;<br>方法or属性:strokeColor?: ResourceColor;<br>旧版本信æ¯ï¼šResourceColor|ç±»å:MarkStyle;<br>方法or属性:strokeColor?: ResourceColor;<br>新版本信æ¯ï¼š?ResourceColor|units.d.ts| +|type有å˜åŒ–|ç±»å:MarkStyle;<br>方法or属性:strokeWidth?: Length;<br>旧版本信æ¯ï¼šLength|ç±»å:MarkStyle;<br>方法or属性:strokeWidth?: Length;<br>新版本信æ¯ï¼š?Length|units.d.ts| +|type有å˜åŒ–|ç±»å:VideoOptions;<br>方法or属性:src?: string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:VideoOptions;<br>方法or属性:src?: string \| Resource;<br>新版本信æ¯ï¼š?(string \| Resource)|video.d.ts| +|type有å˜åŒ–|ç±»å:VideoOptions;<br>方法or属性:currentProgressRate?: number \| string \| PlaybackSpeed;<br>旧版本信æ¯ï¼š|ç±»å:VideoOptions;<br>方法or属性:currentProgressRate?: number \| string \| PlaybackSpeed;<br>新版本信æ¯ï¼š?(number \| string \| PlaybackSpeed)|video.d.ts| +|type有å˜åŒ–|ç±»å:VideoOptions;<br>方法or属性:previewUri?: string \| PixelMap \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:VideoOptions;<br>方法or属性:previewUri?: string \| PixelMap \| Resource;<br>新版本信æ¯ï¼š?(string \| PixelMap \| Resource)|video.d.ts| +|type有å˜åŒ–|ç±»å:VideoOptions;<br>方法or属性:controller?: VideoController;<br>旧版本信æ¯ï¼š|ç±»å:VideoOptions;<br>方法or属性:controller?: VideoController;<br>新版本信æ¯ï¼š?VideoController|video.d.ts| +|type有å˜åŒ–|ç±»å:WaterFlowOptions;<br>方法or属性:footer?: CustomBuilder;<br>旧版本信æ¯ï¼š|ç±»å:WaterFlowOptions;<br>方法or属性:footer?: CustomBuilder;<br>新版本信æ¯ï¼š?CustomBuilder|water_flow.d.ts| +|type有å˜åŒ–|ç±»å:WaterFlowOptions;<br>方法or属性:scroller?: Scroller;<br>旧版本信æ¯ï¼š|ç±»å:WaterFlowOptions;<br>方法or属性:scroller?: Scroller;<br>新版本信æ¯ï¼š?Scroller|water_flow.d.ts| +|type有å˜åŒ–|ç±»å:WebMediaOptions;<br>方法or属性:resumeInterval?: number;<br>旧版本信æ¯ï¼š|ç±»å:WebMediaOptions;<br>方法or属性:resumeInterval?: number;<br>新版本信æ¯ï¼š?number|web.d.ts| +|type有å˜åŒ–|ç±»å:WebMediaOptions;<br>方法or属性:audioExclusive?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:WebMediaOptions;<br>方法or属性:audioExclusive?: boolean;<br>新版本信æ¯ï¼š?boolean|web.d.ts| +|type有å˜åŒ–|ç±»å:Header;<br>方法or属性:headerKey: string;<br>旧版本信æ¯ï¼š|ç±»å:Header;<br>方法or属性:headerKey: string;<br>新版本信æ¯ï¼šstring|web.d.ts| +|type有å˜åŒ–|ç±»å:Header;<br>方法or属性:headerValue: string;<br>旧版本信æ¯ï¼š|ç±»å:Header;<br>方法or属性:headerValue: string;<br>新版本信æ¯ï¼šstring|web.d.ts| +|type有å˜åŒ–|ç±»å:WebOptions;<br>方法or属性:src: string \| Resource;<br>旧版本信æ¯ï¼š|ç±»å:WebOptions;<br>方法or属性:src: string \| Resource;<br>新版本信æ¯ï¼šstring \| Resource|web.d.ts| +|type有å˜åŒ–|ç±»å:WebOptions;<br>方法or属性:controller: WebController \| WebviewController;<br>旧版本信æ¯ï¼š(WebController \| WebviewController)|ç±»å:WebOptions;<br>方法or属性:controller: WebController \| WebviewController;<br>新版本信æ¯ï¼šWebController \| WebviewController|web.d.ts| +|type有å˜åŒ–|ç±»å:WebAttribute;<br>方法or属性:javaScriptProxy(javaScriptProxy: { object: object, name: string, methodList: Array\<string>,<br> controller: WebController \| WebviewController }): WebAttribute;<br>旧版本信æ¯ï¼šcontroller : WebController \| WebviewController|ç±»å:WebAttribute;<br>方法or属性:javaScriptProxy(javaScriptProxy: { object: object, name: string, methodList: Array\<string>,<br> controller: WebController \| WebviewController }): WebAttribute;<br>新版本信æ¯ï¼š|web.d.ts| +|函数有å˜åŒ–|ç±»å:FontOptions;<br>方法or属性:familyName: string;|ç±»å:FontOptions;<br>方法or属性:familyName: string \| Resource;|@ohos.font.d.ts| +|函数有å˜åŒ–|ç±»å:FontOptions;<br>方法or属性:familySrc: string;|ç±»å:FontOptions;<br>方法or属性:familySrc: string \| Resource;|@ohos.font.d.ts| +|å¡ç‰‡åº”用支æŒæ€§æœ‰å˜åŒ–|ç±»å:ClickEvent;<br>方法or属性:screenX: number;<br>旧版本信æ¯ï¼šform|ç±»å:ClickEvent;<br>方法or属性:screenX: number;<br>新版本信æ¯ï¼š|common.d.ts| +|å¡ç‰‡åº”用支æŒæ€§æœ‰å˜åŒ–|ç±»å:ClickEvent;<br>方法or属性:screenY: number;<br>旧版本信æ¯ï¼šform|ç±»å:ClickEvent;<br>方法or属性:screenY: number;<br>新版本信æ¯ï¼š|common.d.ts| +|å¡ç‰‡åº”用支æŒæ€§æœ‰å˜åŒ–|ç±»å:TextAttribute;<br>方法or属性:textShadow(value: ShadowOptions): TextAttribute;<br>旧版本信æ¯ï¼š|ç±»å:TextAttribute;<br>方法or属性:textShadow(value: ShadowOptions): TextAttribute;<br>新版本信æ¯ï¼šform|text.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-battery.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-battery.md new file mode 100644 index 0000000000000000000000000000000000000000..a857a91320d91d2251d90f14abe0ae39dd93ca10 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-battery.md @@ -0,0 +1,15 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:power;<br>方法or属性:function isStandby(): boolean;|@ohos.power.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_INVALID = -17<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_INVALID = -17<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_APP<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_APP<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_BLUETOOTH<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_BLUETOOTH<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_IDLE<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_IDLE<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_PHONE<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_PHONE<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_RADIO<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_RADIO<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_SCREEN<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_SCREEN<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_USER<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_USER<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_WIFI<br>旧版本信æ¯ï¼š|ç±»å:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_WIFI<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:BatteryStatsInfo;<br>方法or属性:uid: number;<br>旧版本信æ¯ï¼š|ç±»å:BatteryStatsInfo;<br>方法or属性:uid: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:BatteryStatsInfo;<br>方法or属性:type: ConsumptionType;<br>旧版本信æ¯ï¼š|ç±»å:BatteryStatsInfo;<br>方法or属性:type: ConsumptionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:BatteryStatsInfo;<br>方法or属性:power: number;<br>旧版本信æ¯ï¼š|ç±»å:BatteryStatsInfo;<br>方法or属性:power: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.batteryStatistics.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-bundle.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-bundle.md new file mode 100644 index 0000000000000000000000000000000000000000..5cd82fa61b1a6f5e68bb5ab2d8498e3b184a924a --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-bundle.md @@ -0,0 +1,38 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|åˆ é™¤|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly bundleName: string;|NA|BusinessAbilityInfo.d.ts| +|åˆ é™¤|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly moduleName: string;|NA|BusinessAbilityInfo.d.ts| +|åˆ é™¤|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly name: string;|NA|BusinessAbilityInfo.d.ts| +|åˆ é™¤|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly labelId: number;|NA|BusinessAbilityInfo.d.ts| +|åˆ é™¤|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly descriptionId: number;|NA|BusinessAbilityInfo.d.ts| +|åˆ é™¤|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly iconId: number;|NA|BusinessAbilityInfo.d.ts| +|åˆ é™¤|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly businessType: businessAbilityRouter.BusinessType;|NA|BusinessAbilityInfo.d.ts| +|åˆ é™¤|ç±»å:BusinessAbilityInfo;<br>方法or属性:readonly applicationInfo: ApplicationInfo;|NA|BusinessAbilityInfo.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function getBundleInfoForSelfSync(bundleFlags: number): BundleInfo;|@ohos.bundle.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function getSpecifiedDistributionType(bundleName: string): string;|@ohos.bundle.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function getAdditionalInfo(bundleName: string): string;|@ohos.bundle.bundleManager.d.ts| +|新增|NA|ç±»å:ExtensionAbilityType;<br>方法or属性:PUSH = 17|@ohos.bundle.bundleManager.d.ts| +|新增|NA|ç±»å:ExtensionAbilityType;<br>方法or属性:APP_ACCOUNT_AUTHORIZATION = 19|@ohos.bundle.bundleManager.d.ts| +|新增|NA|ç±»å:VerifyCodeParam;<br>方法or属性:moduleName: string;|@ohos.bundle.installer.d.ts| +|新增|NA|ç±»å:VerifyCodeParam;<br>方法or属性:signatureFilePath: string;|@ohos.bundle.installer.d.ts| +|新增|NA|ç±»å:InstallParam;<br>方法or属性:specifiedDistributionType?: string;|@ohos.bundle.installer.d.ts| +|新增|NA|ç±»å:InstallParam;<br>方法or属性:additionalInfo?: string;|@ohos.bundle.installer.d.ts| +|新增|NA|ç±»å:InstallParam;<br>方法or属性:verifyCodeParams?: Array\<VerifyCodeParam>;|@ohos.bundle.installer.d.ts| +|新增|NA|ç±»å:ReqPermissionDetail;<br>方法or属性:moduleName: string;|BundleInfo.d.ts| +|错误ç 有å˜åŒ–|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:zlib;<br>方法or属性:function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,900001,900002|ç±»å:zlib;<br>方法or属性:function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,900001,900002,900003|@ohos.zlib.d.ts| +|错误ç 有å˜åŒ–|ç±»å:zlib;<br>方法or属性:function decompressFile(inFile: string, outFile: string, options: Options): Promise\<void>;<br>旧版本信æ¯ï¼š401,900001,900002|ç±»å:zlib;<br>方法or属性:function decompressFile(inFile: string, outFile: string, options: Options): Promise\<void>;<br>新版本信æ¯ï¼š401,900001,900002,900003|@ohos.zlib.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>旧版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|ç±»å:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>旧版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|ç±»å:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, userId?: number): Promise\<Array\<BundleInfo>>;<br>旧版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|ç±»å:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, userId?: number): Promise\<Array\<BundleInfo>>;<br>新版本信æ¯ï¼šohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>旧版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|ç±»å:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number,<br><br> userId: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>旧版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|ç±»å:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number,<br><br> userId: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number, userId?: number): Promise\<Array\<ApplicationInfo>>;<br>旧版本信æ¯ï¼šohos.permission.GET_BUNDLE_INFO_PRIVILEGED|ç±»å:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number, userId?: number): Promise\<Array\<ApplicationInfo>>;<br>新版本信æ¯ï¼šohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼šohos.permission.INSTALL_BUNDLE|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼šohos.permission.INSTALL_BUNDLE|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>旧版本信æ¯ï¼šohos.permission.INSTALL_BUNDLE|ç±»å:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts| +|model有å˜åŒ–|ç±»å:AbilityType;<br>方法or属性:PAGE = 1<br>旧版本信æ¯ï¼š|ç±»å:AbilityType;<br>方法or属性:PAGE = 1<br>新版本信æ¯ï¼šFAModelOnly|@ohos.bundle.bundleManager.d.ts| +|model有å˜åŒ–|ç±»å:AbilityType;<br>方法or属性:SERVICE = 2<br>旧版本信æ¯ï¼š|ç±»å:AbilityType;<br>方法or属性:SERVICE = 2<br>新版本信æ¯ï¼šFAModelOnly|@ohos.bundle.bundleManager.d.ts| +|model有å˜åŒ–|ç±»å:AbilityType;<br>方法or属性:DATA = 3<br>旧版本信æ¯ï¼š|ç±»å:AbilityType;<br>方法or属性:DATA = 3<br>新版本信æ¯ï¼šFAModelOnly|@ohos.bundle.bundleManager.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-communication.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-communication.md new file mode 100644 index 0000000000000000000000000000000000000000..fb0d1874ffba73fc92357da2d4a8032c61c47146 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-communication.md @@ -0,0 +1,605 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function getScanInfoList(): Array\<WifiScanInfo>;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function updateDeviceConfig(config: WifiDeviceConfig): number;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function disableDeviceConfig(networkId: number): void;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function removeAllDeviceConfigs(): void;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function removeDeviceConfig(networkId: number): void;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function getHotspotStations(): Array\<StationInfo>;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function createP2pGroup(config: WifiP2PConfig): void;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function removeP2pGroup(): void;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function startDiscoverP2pDevices(): void;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function stopDiscoverP2pDevices(): void;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function deletePersistentP2pGroup(netId: number): void;|NA|@ohos.wifiManager.d.ts| +|åˆ é™¤|ç±»å:wifiManager;<br>方法or属性:function setP2pDeviceName(devName: string): void;|NA|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:close(): Promise\<void>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:close(): Promise\<void>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:getState(): Promise\<SocketStateBase>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:getState(): Promise\<SocketStateBase>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:getCertificate(): Promise\<X509CertRawData>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:getRemoteCertificate(): Promise\<X509CertRawData>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:getProtocol(): Promise\<string>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:getCipherSuite(): Promise\<Array\<string>>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:getSignatureAlgorithms(): Promise\<Array\<string>>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:send(data: string): Promise\<void>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:bluetoothManager;<br>方法or属性:function pairCredibleDevice(deviceId: string, transport: BluetoothTransport, callback: AsyncCallback\<void>): void;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:bluetoothManager;<br>方法or属性:function pairCredibleDevice(deviceId: string, transport: BluetoothTransport): Promise\<void>;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:bluetoothManager;<br>方法or属性:function getRemoteProfileUuids(device: string, callback: AsyncCallback\<Array\<ProfileUuids>>): void;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:bluetoothManager;<br>方法or属性:function getRemoteProfileUuids(device: string): Promise\<Array\<ProfileUuids>>;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:bluetoothManager;<br>方法or属性:function getLocalProfileUuids(callback: AsyncCallback\<Array\<ProfileUuids>>): void;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:bluetoothManager;<br>方法or属性:function getLocalProfileUuids(): Promise\<Array\<ProfileUuids>>;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:BaseProfile;<br>方法or属性:setConnectionStrategy(device: string, strategy: ConnectionStrategy, callback: AsyncCallback\<void>): void;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:BaseProfile;<br>方法or属性:setConnectionStrategy(device: string, strategy: ConnectionStrategy): Promise\<void>;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:BaseProfile;<br>方法or属性:getConnectionStrategy(device: string, callback: AsyncCallback\<ConnectionStrategy>): void;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:BaseProfile;<br>方法or属性:getConnectionStrategy(device: string): Promise\<ConnectionStrategy>;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:AdvertiseData;<br>方法or属性:includeDeviceName?: boolean;|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:BluetoothTransport;<br>方法or属性:TRANSPORT_BR_EDR = 0|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:BluetoothTransport;<br>方法or属性:TRANSPORT_LE = 1|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ConnectionStrategy;<br>方法or属性:CONNECT_STRATEGY_UNSUPPORTED = 0|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ConnectionStrategy;<br>方法or属性:CONNECT_STRATEGY_ALLOWED = 1|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ConnectionStrategy;<br>方法or属性:CONNECT_STRATEGY_FORBIDDEN = 2|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:ProfileUuids;<br>方法or属性:PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|新增|NA|ç±»å:connection;<br>方法or属性:function getDefaultHttpProxy(callback: AsyncCallback\<HttpProxy>): void;|@ohos.net.connection.d.ts| +|新增|NA|ç±»å:connection;<br>方法or属性:function getDefaultHttpProxy(): Promise\<HttpProxy>;|@ohos.net.connection.d.ts| +|新增|NA|ç±»å:ethernet;<br>方法or属性:type HttpProxy = connection.HttpProxy;|@ohos.net.ethernet.d.ts| +|新增|NA|ç±»å:InterfaceConfiguration;<br>方法or属性:httpProxy?: HttpProxy;|@ohos.net.ethernet.d.ts| +|新增|NA|ç±»å:DiscoveryService;<br>方法or属性:off(type: 'discoveryStart', callback?: Callback\<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;|@ohos.net.mdns.d.ts| +|新增|NA|ç±»å:DiscoveryService;<br>方法or属性:off(type: 'discoveryStop', callback?: Callback\<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;|@ohos.net.mdns.d.ts| +|新增|NA|ç±»å:DiscoveryService;<br>方法or属性:off(type: 'serviceFound', callback?: Callback\<LocalServiceInfo>): void;|@ohos.net.mdns.d.ts| +|新增|NA|ç±»å:DiscoveryService;<br>方法or属性:off(type: 'serviceLost', callback?: Callback\<LocalServiceInfo>): void;|@ohos.net.mdns.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:type NetBearType = connection.NetBearType;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setBackgroundAllowed(isAllowed: boolean, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setBackgroundAllowed(isAllowed: boolean): Promise\<void>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function isBackgroundAllowed(callback: AsyncCallback\<boolean>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function isBackgroundAllowed(): Promise\<boolean>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getBackgroundPolicyByUid(uid: number, callback: AsyncCallback\<NetBackgroundPolicy>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getBackgroundPolicyByUid(uid: number): Promise\<NetBackgroundPolicy>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setPolicyByUid(uid: number, policy: NetUidPolicy, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setPolicyByUid(uid: number, policy: NetUidPolicy): Promise\<void>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getPolicyByUid(uid: number, callback: AsyncCallback\<NetUidPolicy>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getPolicyByUid(uid: number): Promise\<NetUidPolicy>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getUidsByPolicy(policy: NetUidPolicy, callback: AsyncCallback\<Array\<number>>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getUidsByPolicy(policy: NetUidPolicy): Promise\<Array\<number>>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function isUidNetAllowed(uid: number, isMetered: boolean, callback: AsyncCallback\<boolean>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function isUidNetAllowed(uid: number, isMetered: boolean): Promise\<boolean>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function isUidNetAllowed(uid: number, iface: string, callback: AsyncCallback\<boolean>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function isUidNetAllowed(uid: number, iface: string): Promise\<boolean>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setNetQuotaPolicies(quotaPolicies: Array\<NetQuotaPolicy>, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setNetQuotaPolicies(quotaPolicies: Array\<NetQuotaPolicy>): Promise\<void>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getNetQuotaPolicies(callback: AsyncCallback\<Array\<NetQuotaPolicy>>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getNetQuotaPolicies(): Promise\<Array\<NetQuotaPolicy>>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType): Promise\<void>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setDeviceIdleTrustlist(uids: Array\<number>, isAllowed: boolean, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setDeviceIdleTrustlist(uids: Array\<number>, isAllowed: boolean): Promise\<void>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getDeviceIdleTrustlist(callback: AsyncCallback\<Array\<number>>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getDeviceIdleTrustlist(): Promise\<Array\<number>>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setPowerSaveTrustlist(uids: Array\<number>, isAllowed: boolean, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function setPowerSaveTrustlist(uids: Array\<number>, isAllowed: boolean): Promise\<void>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getPowerSaveTrustlist(callback: AsyncCallback\<Array\<number>>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function getPowerSaveTrustlist(): Promise\<Array\<number>>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function resetPolicies(simId: string, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function resetPolicies(simId: string): Promise\<void>;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function on(type: 'netUidPolicyChange', callback: Callback\<{ uid: number, policy: NetUidPolicy }>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function on(type: 'netUidRuleChange', callback: Callback\<{ uid: number, rule: NetUidRule }>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function on(type: 'netMeteredIfacesChange', callback: Callback\<Array\<string>>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function on(type: 'netQuotaPolicyChange', callback: Callback\<Array\<NetQuotaPolicy>>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function on(type: 'netBackgroundPolicyChange', callback: Callback\<boolean>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function off(type: 'netUidPolicyChange', callback?: Callback\<{ uid: number, policy: NetUidPolicy }>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function off(type: 'netUidRuleChange', callback?: Callback\<{ uid: number, rule: NetUidRule }>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function off(type: 'netMeteredIfacesChange', callback?: Callback\<Array\<string>>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function off(type: 'netQuotaPolicyChange', callback?: Callback\<Array\<NetQuotaPolicy>>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:policy;<br>方法or属性:function off(type: 'netBackgroundPolicyChange', callback?: Callback\<boolean>): void;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetBackgroundPolicy;<br>方法or属性:NET_BACKGROUND_POLICY_NONE = 0|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetBackgroundPolicy;<br>方法or属性:NET_BACKGROUND_POLICY_ENABLE = 1|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetBackgroundPolicy;<br>方法or属性:NET_BACKGROUND_POLICY_DISABLE = 2|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetBackgroundPolicy;<br>方法or属性:NET_BACKGROUND_POLICY_TRUSTLIST = 3|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetQuotaPolicy;<br>方法or属性:networkMatchRule: NetworkMatchRule;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetQuotaPolicy;<br>方法or属性:quotaPolicy: QuotaPolicy;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:QuotaPolicy;<br>方法or属性:periodDuration: string;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:QuotaPolicy;<br>方法or属性:warningBytes: number;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:QuotaPolicy;<br>方法or属性:limitBytes: number;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:QuotaPolicy;<br>方法or属性:metered: boolean;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:QuotaPolicy;<br>方法or属性:limitAction: LimitAction;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:QuotaPolicy;<br>方法or属性:lastWarningRemind?: number;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:QuotaPolicy;<br>方法or属性:lastLimitRemind?: number;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetworkMatchRule;<br>方法or属性:netType: NetBearType;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetworkMatchRule;<br>方法or属性:identity: string;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetworkMatchRule;<br>方法or属性:simId: string;|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:LimitAction;<br>方法or属性:LIMIT_ACTION_NONE = -1|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:LimitAction;<br>方法or属性:LIMIT_ACTION_ACCESS_DISABLED = 0|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:LimitAction;<br>方法or属性:LIMIT_ACTION_ALERT_ONLY = 1|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidRule;<br>方法or属性:NET_RULE_NONE = 0|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidRule;<br>方法or属性:NET_RULE_ALLOW_METERED_FOREGROUND = 1 \<\< 0|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidRule;<br>方法or属性:NET_RULE_ALLOW_METERED = 1 \<\< 1|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidRule;<br>方法or属性:NET_RULE_REJECT_METERED = 1 \<\< 2|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidRule;<br>方法or属性:NET_RULE_ALLOW_ALL = 1 \<\< 5|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidRule;<br>方法or属性:NET_RULE_REJECT_ALL = 1 \<\< 6|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:RemindType;<br>方法or属性:REMIND_TYPE_WARNING = 1|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:RemindType;<br>方法or属性:REMIND_TYPE_LIMIT = 2|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidPolicy;<br>方法or属性:NET_POLICY_NONE = 0|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidPolicy;<br>方法or属性:NET_POLICY_ALLOW_METERED_BACKGROUND = 1 \<\< 0|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:NetUidPolicy;<br>方法or属性:NET_POLICY_REJECT_METERED_BACKGROUND = 1 \<\< 1|@ohos.net.policy.d.ts| +|新增|NA|ç±»å:socket;<br>方法or属性:function constructTCPSocketServerInstance(): TCPSocketServer;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:socket;<br>方法or属性:function constructTLSSocketServerInstance(): TLSSocketServer;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocket;<br>方法or属性:getSocketFd(callback: AsyncCallback\<number>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocket;<br>方法or属性:getSocketFd(): Promise\<number>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:clientId: number;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:clientId: number;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:send(options: TCPSendOptions, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:close(callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:close(callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:getRemoteAddress(callback: AsyncCallback\<NetAddress>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:getRemoteAddress(callback: AsyncCallback\<NetAddress>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:on(type: 'message', callback: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:on(type: 'message', callback: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:on(type: 'close', callback: Callback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:on(type: 'close', callback: Callback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:off(type: 'message', callback?: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:off(type: 'message', callback?: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:off(type: 'close', callback?: Callback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:off(type: 'close', callback?: Callback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketConnection;<br>方法or属性:off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:listen(address: NetAddress, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:listen(address: NetAddress): Promise\<void>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:getState(callback: AsyncCallback\<SocketStateBase>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:getState(callback: AsyncCallback\<SocketStateBase>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:on(type: 'connect', callback: Callback\<TCPSocketConnection>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TCPSocketServer;<br>方法or属性:off(type: 'connect', callback?: Callback\<TCPSocketConnection>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:send(data: string, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:getRemoteCertificate(callback: AsyncCallback\<X509CertRawData>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:getCipherSuite(callback: AsyncCallback\<Array\<string>>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketConnection;<br>方法or属性:getSignatureAlgorithms(callback: AsyncCallback\<Array\<string>>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:listen(options: TLSConnectOptions, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:listen(options: TLSConnectOptions): Promise\<void>;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:getCertificate(callback: AsyncCallback\<X509CertRawData>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:getProtocol(callback: AsyncCallback\<string>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:on(type: 'connect', callback: Callback\<TLSSocketConnection>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:TLSSocketServer;<br>方法or属性:off(type: 'connect', callback?: Callback\<TLSSocketConnection>): void;|@ohos.net.socket.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getIfaceRxBytes(nic: string, callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getIfaceRxBytes(nic: string): Promise\<number>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getIfaceTxBytes(nic: string, callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getIfaceTxBytes(nic: string): Promise\<number>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getCellularRxBytes(callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getCellularRxBytes(): Promise\<number>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getCellularTxBytes(callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getCellularTxBytes(): Promise\<number>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getAllRxBytes(callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getAllRxBytes(): Promise\<number>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getAllTxBytes(callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getAllTxBytes(): Promise\<number>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getUidRxBytes(uid: number, callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getUidRxBytes(uid: number): Promise\<number>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getUidTxBytes(uid: number, callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getUidTxBytes(uid: number): Promise\<number>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function on(type: 'netStatsChange', callback: Callback\<{ iface: string, uid?: number }>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function off(type: 'netStatsChange', callback?: Callback\<{ iface: string, uid?: number }>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getTrafficStatsByIface(ifaceInfo: IfaceInfo, callback: AsyncCallback\<NetStatsInfo>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise\<NetStatsInfo>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback\<NetStatsInfo>): void;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:statistics;<br>方法or属性:function getTrafficStatsByUid(uidInfo: UidInfo): Promise\<NetStatsInfo>;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:IfaceInfo;<br>方法or属性:iface: string;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:IfaceInfo;<br>方法or属性:startTime: number;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:IfaceInfo;<br>方法or属性:endTime: number;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:UidInfo;<br>方法or属性:ifaceInfo: IfaceInfo;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:UidInfo;<br>方法or属性:uid: number;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:NetStatsInfo;<br>方法or属性:rxBytes: number;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:NetStatsInfo;<br>方法or属性:txBytes: number;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:NetStatsInfo;<br>方法or属性:rxPackets: number;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:NetStatsInfo;<br>方法or属性:txPackets: number;|@ohos.net.statistics.d.ts| +|新增|NA|ç±»å:vpn;<br>方法or属性:export type LinkAddress = connection.LinkAddress;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:vpn;<br>方法or属性:export type RouteInfo = connection.RouteInfo;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:vpn;<br>方法or属性:function createVpnConnection(context: AbilityContext): VpnConnection;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConnection;<br>方法or属性:setUp(config: VpnConfig, callback: AsyncCallback\<number>): void;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConnection;<br>方法or属性:setUp(config: VpnConfig): Promise\<number>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConnection;<br>方法or属性:protect(socketFd: number, callback: AsyncCallback\<void>): void;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConnection;<br>方法or属性:protect(socketFd: number): Promise\<void>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConnection;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConnection;<br>方法or属性:destroy(): Promise\<void>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:addresses: Array\<LinkAddress>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:routes?: Array\<RouteInfo>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:dnsAddresses?: Array\<string>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:searchDomains?: Array\<string>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:mtu?: number;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:isIPv4Accepted?: boolean;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:isIPv6Accepted?: boolean;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:isLegacy?: boolean;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:isBlocking?: boolean;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:trustedApplications?: Array\<string>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:VpnConfig;<br>方法or属性:blockedApplications?: Array\<string>;|@ohos.net.vpn.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function getScanResults(): Promise\<Array\<WifiScanInfo>>;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function getScanResults(callback: AsyncCallback\<Array\<WifiScanInfo>>): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function getScanResultsSync(): Array\<WifiScanInfo>;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function setScanAlwaysAllowed(isScanAlwaysAllowed: boolean): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function getScanAlwaysAllowed(): boolean;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function updateNetwork(config: WifiDeviceConfig): number;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function disableNetwork(netId: number): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function removeAllNetwork(): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function removeDevice(id: number): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function getDisconnectedReason(): DisconnectedReason;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function getStations(): Array\<StationInfo>;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function createGroup(config: WifiP2PConfig): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function removeGroup(): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function startDiscoverDevices(): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function stopDiscoverDevices(): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function deletePersistentGroup(netId: number): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:wifiManager;<br>方法or属性:function setDeviceName(devName: string): void;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:DisconnectedReason;<br>方法or属性:DISC_REASON_DEFAULT = 0|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:DisconnectedReason;<br>方法or属性:DISC_REASON_WRONG_PWD = 1|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:DisconnectedReason;<br>方法or属性:DISC_REASON_CONNECTION_FULL = 2|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:ProxyMethod;<br>方法or属性:METHOD_NONE = 0|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:ProxyMethod;<br>方法or属性:METHOD_AUTO = 1|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:ProxyMethod;<br>方法or属性:METHOD_MANUAL = 2|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:WifiProxyConfig;<br>方法or属性:proxyMethod?: ProxyMethod;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:WifiProxyConfig;<br>方法or属性:pacWebAddress?: string;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:WifiProxyConfig;<br>方法or属性:serverHostName?: string;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:WifiProxyConfig;<br>方法or属性:serverPort?: number;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:WifiProxyConfig;<br>方法or属性:exclusionObjects?: string;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:WifiDeviceConfig;<br>方法or属性:proxyConfig?: WifiProxyConfig;|@ohos.wifiManager.d.ts| +|新增|NA|ç±»å:HotspotConfig;<br>方法or属性:ipAddress?: string;|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:GattClientDevice;<br>方法or属性:getDeviceName(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:getDeviceName(): Promise\<string>;<br>新版本信æ¯ï¼š201,401,801,2900001,2900099|@ohos.bluetoothManager.d.ts| +|新增(错误ç )|ç±»å:GattClientDevice;<br>方法or属性:getServices(): Promise\<Array\<GattService>>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:getServices(): Promise\<Array\<GattService>>;<br>新版本信æ¯ï¼š201,401,801,2900001,2900099|@ohos.bluetoothManager.d.ts| +|新增(错误ç )|ç±»å:GattClientDevice;<br>方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>;<br>新版本信æ¯ï¼š201,401,801,2900001,2901000,2900099|@ohos.bluetoothManager.d.ts| +|新增(错误ç )|ç±»å:GattClientDevice;<br>方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>;<br>新版本信æ¯ï¼š201,401,801,2900001,2901000,2900099|@ohos.bluetoothManager.d.ts| +|新增(错误ç )|ç±»å:GattClientDevice;<br>方法or属性:getRssiValue(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:getRssiValue(): Promise\<number>;<br>新版本信æ¯ï¼š201,401,801,2900099|@ohos.bluetoothManager.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function getDefaultNet(): Promise\<NetHandle>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getDefaultNet(): Promise\<NetHandle>;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function getAllNets(): Promise\<Array\<NetHandle>>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getAllNets(): Promise\<Array\<NetHandle>>;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>;<br>新版本信æ¯ï¼š201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>;<br>新版本信æ¯ï¼š201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function isDefaultNetMetered(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function isDefaultNetMetered(): Promise\<boolean>;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function reportNetConnected(netHandle: NetHandle): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function reportNetConnected(netHandle: NetHandle): Promise\<void>;<br>新版本信æ¯ï¼š201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function reportNetDisconnected(netHandle: NetHandle): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function reportNetDisconnected(netHandle: NetHandle): Promise\<void>;<br>新版本信æ¯ï¼š201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:connection;<br>方法or属性:function getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>新版本信æ¯ï¼š201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:NetHandle;<br>方法or属性:bindSocket(socketParam: TCPSocket \| UDPSocket): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:NetHandle;<br>方法or属性:bindSocket(socketParam: TCPSocket \| UDPSocket): Promise\<void>;<br>新版本信æ¯ï¼š401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:NetHandle;<br>方法or属性:getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>旧版本信æ¯ï¼š|ç±»å:NetHandle;<br>方法or属性:getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>新版本信æ¯ï¼š201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:NetHandle;<br>方法or属性:getAddressByName(host: string): Promise\<NetAddress>;<br>旧版本信æ¯ï¼š|ç±»å:NetHandle;<br>方法or属性:getAddressByName(host: string): Promise\<NetAddress>;<br>新版本信æ¯ï¼š201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|新增(错误ç )|ç±»å:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts| +|新增(错误ç )|ç±»å:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|@ohos.net.ethernet.d.ts| +|新增(错误ç )|ç±»å:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts| +|新增(错误ç )|ç±»å:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>新版本信æ¯ï¼š201,202,2200002,2200003|@ohos.net.ethernet.d.ts| +|新增(错误ç )|ç±»å:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>新版本信æ¯ï¼š401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999|@ohos.net.http.d.ts| +|新增(错误ç )|ç±»å:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>新版本信æ¯ï¼š401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999|@ohos.net.http.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>新版本信æ¯ï¼š201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>新版本信æ¯ï¼š201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|新增(错误ç )|ç±»å:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信æ¯ï¼š401,201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信æ¯ï¼š401,201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信æ¯ï¼š401,201,2303198,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>新版本信æ¯ï¼š401,201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信æ¯ï¼š201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信æ¯ï¼š201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信æ¯ï¼š401,2303501,2303505,2303506,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信æ¯ï¼š201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信æ¯ï¼š201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信æ¯ï¼š2303188,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>新版本信æ¯ï¼š401,201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>新版本信æ¯ï¼š401,201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>新版本信æ¯ï¼š401,201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>新版本信æ¯ï¼š201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>新版本信æ¯ï¼š2303188,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>新版本信æ¯ï¼š401,201|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>新版本信æ¯ï¼š401,2303188,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:getCertificate(): Promise\<X509CertRawData>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:getCertificate(): Promise\<X509CertRawData>;<br>新版本信æ¯ï¼š2303501,2303504,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:getRemoteCertificate(): Promise\<X509CertRawData>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:getRemoteCertificate(): Promise\<X509CertRawData>;<br>新版本信æ¯ï¼š2303501,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:getProtocol(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:getProtocol(): Promise\<string>;<br>新版本信æ¯ï¼š2303501,2303505,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:getCipherSuite(): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:getCipherSuite(): Promise\<Array\<string>>;<br>新版本信æ¯ï¼š2303501,2303502,2303505,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:getSignatureAlgorithms(): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:getSignatureAlgorithms(): Promise\<Array\<string>>;<br>新版本信æ¯ï¼š2303501,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:connect(options: TLSConnectOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:connect(options: TLSConnectOptions): Promise\<void>;<br>新版本信æ¯ï¼š401,2303104,2303109,2303111,2303188,2303191,2303198,2303199,2303210,2303501,2303502,2303503,2303505,2303506,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:TLSSocket;<br>方法or属性:send(data: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:send(data: string): Promise\<void>;<br>新版本信æ¯ï¼š401,2303501,2303503,2303505,2303506,2300002|@ohos.net.socket.d.ts| +|新增(错误ç )|ç±»å:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š401,201|@ohos.net.webSocket.d.ts| +|新增(错误ç )|ç±»å:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>新版本信æ¯ï¼š401,201|@ohos.net.webSocket.d.ts| +|新增(错误ç )|ç±»å:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>新版本信æ¯ï¼š401,201|@ohos.net.webSocket.d.ts| +|新增(错误ç )|ç±»å:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š401,201|@ohos.net.webSocket.d.ts| +|新增(错误ç )|ç±»å:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>新版本信æ¯ï¼š401,201|@ohos.net.webSocket.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š201,202,401,801,2501000|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š201,401,801,2501000|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function removeCandidateConfig(networkId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function removeCandidateConfig(networkId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,801,2501000|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void;<br>新版本信æ¯ï¼š201,202,801,2501000,2501001|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void;<br>新版本信æ¯ï¼š201,801,2801000|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function getCurrentP2pGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getCurrentP2pGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void;<br>新版本信æ¯ï¼š201,801,2801000|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void;<br>新版本信æ¯ï¼š201,801,2801000|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function getP2pLocalDevice(callback: AsyncCallback\<WifiP2pDevice>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pLocalDevice(callback: AsyncCallback\<WifiP2pDevice>): void;<br>新版本信æ¯ï¼š201,801,2801000|@ohos.wifiManager.d.ts| +|新增(错误ç )|ç±»å:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>新版本信æ¯ï¼š201,202,801,2801000|@ohos.wifiManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function getDefaultNet(callback: AsyncCallback\<NetHandle>): void;<br>旧版本信æ¯ï¼š201,2100002,2100003|ç±»å:connection;<br>方法or属性:function getDefaultNet(callback: AsyncCallback\<NetHandle>): void;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function getDefaultNetSync(): NetHandle;<br>旧版本信æ¯ï¼š201,2100002,2100003|ç±»å:connection;<br>方法or属性:function getDefaultNetSync(): NetHandle;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function getAllNets(callback: AsyncCallback\<Array\<NetHandle>>): void;<br>旧版本信æ¯ï¼š201,2100002,2100003|ç±»å:connection;<br>方法or属性:function getAllNets(callback: AsyncCallback\<Array\<NetHandle>>): void;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function isDefaultNetMetered(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š201,2100002,2100003|ç±»å:connection;<br>方法or属性:function isDefaultNetMetered(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function hasDefaultNet(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š201,2100002,2100003|ç±»å:connection;<br>方法or属性:function hasDefaultNet(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š201,401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function enableAirplaneMode(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,2100002,2100003|ç±»å:connection;<br>方法or属性:function enableAirplaneMode(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function disableAirplaneMode(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,2100002,2100003|ç±»å:connection;<br>方法or属性:function disableAirplaneMode(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function getAppNet(callback: AsyncCallback\<NetHandle>): void;<br>旧版本信æ¯ï¼š2100002,2100003|ç±»å:connection;<br>方法or属性:function getAppNet(callback: AsyncCallback\<NetHandle>): void;<br>新版本信æ¯ï¼š401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function getAppNet(): Promise\<NetHandle>;<br>旧版本信æ¯ï¼š2100002,2100003|ç±»å:connection;<br>方法or属性:function getAppNet(): Promise\<NetHandle>;<br>新版本信æ¯ï¼š401,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function getGlobalHttpProxy(callback: AsyncCallback\<HttpProxy>): void;<br>旧版本信æ¯ï¼š2100002,2100003|ç±»å:connection;<br>方法or属性:function getGlobalHttpProxy(callback: AsyncCallback\<HttpProxy>): void;<br>新版本信æ¯ï¼š401,202,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function getGlobalHttpProxy(): Promise\<HttpProxy>;<br>旧版本信æ¯ï¼š2100002,2100003|ç±»å:connection;<br>方法or属性:function getGlobalHttpProxy(): Promise\<HttpProxy>;<br>新版本信æ¯ï¼š401,202,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,2100001,2100002,2100003|ç±»å:connection;<br>方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,202,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:connection;<br>方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy): Promise\<void>;<br>旧版本信æ¯ï¼š201,401,2100001,2100002,2100003|ç±»å:connection;<br>方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy): Promise\<void>;<br>新版本信æ¯ï¼š201,401,202,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:NetConnection;<br>方法or属性:register(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,2100002,2100003,2101008,2101022|ç±»å:NetConnection;<br>方法or属性:register(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,2100002,2100003,2101008,2101022|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:NetConnection;<br>方法or属性:unregister(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š2100002,2100003,2101007|ç±»å:NetConnection;<br>方法or属性:unregister(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,2100002,2100003,2101007|@ohos.net.connection.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function getIfaceConfig(iface: string, callback: AsyncCallback\<InterfaceConfiguration>): void;<br>旧版本信æ¯ï¼š201,401,2200001,2200002,2200003,2201005|ç±»å:ethernet;<br>方法or属性:function getIfaceConfig(iface: string, callback: AsyncCallback\<InterfaceConfiguration>): void;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|ç±»å:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|@ohos.net.ethernet.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function isIfaceActive(iface: string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š201,401,2200001,2200002,2200003,2201005|ç±»å:ethernet;<br>方法or属性:function isIfaceActive(iface: string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function getAllActiveIfaces(callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信æ¯ï¼š201,2200002,2200003|ç±»å:ethernet;<br>方法or属性:function getAllActiveIfaces(callback: AsyncCallback\<Array\<string>>): void;<br>新版本信æ¯ï¼š201,202,2200002,2200003|@ohos.net.ethernet.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function isSharingSupported(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š201,2200002,2200003,2202011|ç±»å:sharing;<br>方法or属性:function isSharingSupported(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function isSharing(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š201,2200002,2200003,2202011|ç±»å:sharing;<br>方法or属性:function isSharing(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|ç±»å:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|ç±»å:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsRxBytes(callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š201,2200002,2200003|ç±»å:sharing;<br>方法or属性:function getStatsRxBytes(callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsTxBytes(callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š201,2200002,2200003|ç±»å:sharing;<br>方法or属性:function getStatsTxBytes(callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsTotalBytes(callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š201,2200002,2200003|ç±»å:sharing;<br>方法or属性:function getStatsTotalBytes(callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信æ¯ï¼š201,401,2200001,2200002,2200003|ç±»å:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback\<Array\<string>>): void;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType, callback: AsyncCallback\<SharingIfaceState>): void;<br>旧版本信æ¯ï¼š201,401,2200001,2200002,2200003|ç±»å:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType, callback: AsyncCallback\<SharingIfaceState>): void;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信æ¯ï¼š201,401,2200001,2200002,2200003|ç±»å:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback\<Array\<string>>): void;<br>新版本信æ¯ï¼š201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function on(type: 'sharingStateChange', callback: Callback\<boolean>): void;<br>旧版本信æ¯ï¼š201,401|ç±»å:sharing;<br>方法or属性:function on(type: 'sharingStateChange', callback: Callback\<boolean>): void;<br>新版本信æ¯ï¼š201,202,401|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function on(type: 'interfaceSharingStateChange', callback: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;<br>旧版本信æ¯ï¼š201,401|ç±»å:sharing;<br>方法or属性:function on(type: 'interfaceSharingStateChange', callback: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;<br>新版本信æ¯ï¼š201,202,401|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function on(type: 'sharingUpstreamChange', callback: Callback\<NetHandle>): void;<br>旧版本信æ¯ï¼š201,401|ç±»å:sharing;<br>方法or属性:function on(type: 'sharingUpstreamChange', callback: Callback\<NetHandle>): void;<br>新版本信æ¯ï¼š201,202,401|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function off(type: 'sharingStateChange', callback?: Callback\<boolean>): void;<br>旧版本信æ¯ï¼š201,401|ç±»å:sharing;<br>方法or属性:function off(type: 'sharingStateChange', callback?: Callback\<boolean>): void;<br>新版本信æ¯ï¼š201,202,401|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function off(type: 'interfaceSharingStateChange', callback?: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;<br>旧版本信æ¯ï¼š201,401|ç±»å:sharing;<br>方法or属性:function off(type: 'interfaceSharingStateChange', callback?: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;<br>新版本信æ¯ï¼š201,202,401|@ohos.net.sharing.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function off(type: 'sharingUpstreamChange', callback?: Callback\<NetHandle>): void;<br>旧版本信æ¯ï¼š201,401|ç±»å:sharing;<br>方法or属性:function off(type: 'sharingUpstreamChange', callback?: Callback\<NetHandle>): void;<br>新版本信æ¯ï¼š201,202,401|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.connection.d.ts| +|访问级别有å˜åŒ–|ç±»å:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.connection.d.ts| +|访问级别有å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:mode: IPSetMode;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:mode: IPSetMode;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:ipAddr: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:ipAddr: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:route: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:route: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:gateway: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:gateway: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:netMask: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:netMask: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:dnsServers: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:dnsServers: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:IPSetMode;<br>方法or属性:STATIC = 0<br>旧版本信æ¯ï¼š|ç±»å:IPSetMode;<br>方法or属性:STATIC = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:IPSetMode;<br>方法or属性:DHCP = 1<br>旧版本信æ¯ï¼š|ç±»å:IPSetMode;<br>方法or属性:DHCP = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.net.ethernet.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:SharingIfaceState;<br>方法or属性:SHARING_NIC_SERVING = 1<br>旧版本信æ¯ï¼š|ç±»å:SharingIfaceState;<br>方法or属性:SHARING_NIC_SERVING = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:SharingIfaceState;<br>方法or属性:SHARING_NIC_CAN_SERVER = 2<br>旧版本信æ¯ï¼š|ç±»å:SharingIfaceState;<br>方法or属性:SHARING_NIC_CAN_SERVER = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:SharingIfaceState;<br>方法or属性:SHARING_NIC_ERROR = 3<br>旧版本信æ¯ï¼š|ç±»å:SharingIfaceState;<br>方法or属性:SHARING_NIC_ERROR = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:SharingIfaceType;<br>方法or属性:SHARING_WIFI = 0<br>旧版本信æ¯ï¼š|ç±»å:SharingIfaceType;<br>方法or属性:SHARING_WIFI = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:SharingIfaceType;<br>方法or属性:SHARING_USB = 1<br>旧版本信æ¯ï¼š|ç±»å:SharingIfaceType;<br>方法or属性:SHARING_USB = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:SharingIfaceType;<br>方法or属性:SHARING_BLUETOOTH = 2<br>旧版本信æ¯ï¼š|ç±»å:SharingIfaceType;<br>方法or属性:SHARING_BLUETOOTH = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.net.sharing.d.ts| +|访问级别有å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:EapMethod;<br>方法or属性:enum EapMethod<br>旧版本信æ¯ï¼šsystemapi|ç±»å:EapMethod;<br>方法or属性:enum EapMethod<br>新版本信æ¯ï¼š|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:Phase2Method;<br>方法or属性:enum Phase2Method<br>旧版本信æ¯ï¼šsystemapi|ç±»å:Phase2Method;<br>方法or属性:enum Phase2Method<br>新版本信æ¯ï¼š|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiEapConfig;<br>方法or属性:interface WifiEapConfig<br>旧版本信æ¯ï¼šsystemapi|ç±»å:WifiEapConfig;<br>方法or属性:interface WifiEapConfig<br>新版本信æ¯ï¼š|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:creatorUid?: number;<br>旧版本信æ¯ï¼š|ç±»å:WifiDeviceConfig;<br>方法or属性:creatorUid?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:disableReason?: number;<br>旧版本信æ¯ï¼š|ç±»å:WifiDeviceConfig;<br>方法or属性:disableReason?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:netId?: number;<br>旧版本信æ¯ï¼š|ç±»å:WifiDeviceConfig;<br>方法or属性:netId?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:randomMacType?: number;<br>旧版本信æ¯ï¼š|ç±»å:WifiDeviceConfig;<br>方法or属性:randomMacType?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:randomMacAddr?: string;<br>旧版本信æ¯ï¼š|ç±»å:WifiDeviceConfig;<br>方法or属性:randomMacAddr?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:ipType?: IpType;<br>旧版本信æ¯ï¼š|ç±»å:WifiDeviceConfig;<br>方法or属性:ipType?: IpType;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:staticIp?: IpConfig;<br>旧版本信æ¯ï¼š|ç±»å:WifiDeviceConfig;<br>方法or属性:staticIp?: IpConfig;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:eapConfig?: WifiEapConfig;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:WifiDeviceConfig;<br>方法or属性:eapConfig?: WifiEapConfig;<br>新版本信æ¯ï¼š|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:IpConfig;<br>方法or属性:ipAddress: number;<br>旧版本信æ¯ï¼š|ç±»å:IpConfig;<br>方法or属性:ipAddress: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:IpConfig;<br>方法or属性:gateway: number;<br>旧版本信æ¯ï¼š|ç±»å:IpConfig;<br>方法or属性:gateway: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:IpConfig;<br>方法or属性:prefixLength: number;<br>旧版本信æ¯ï¼š|ç±»å:IpConfig;<br>方法or属性:prefixLength: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:IpConfig;<br>方法or属性:dnsServers: number[];<br>旧版本信æ¯ï¼š|ç±»å:IpConfig;<br>方法or属性:dnsServers: number[];<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:IpConfig;<br>方法or属性:domains: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:IpConfig;<br>方法or属性:domains: Array\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiLinkedInfo;<br>方法or属性:networkId: number;<br>旧版本信æ¯ï¼š|ç±»å:WifiLinkedInfo;<br>方法or属性:networkId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiLinkedInfo;<br>方法or属性:chload: number;<br>旧版本信æ¯ï¼š|ç±»å:WifiLinkedInfo;<br>方法or属性:chload: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiLinkedInfo;<br>方法or属性:snr: number;<br>旧版本信æ¯ï¼š|ç±»å:WifiLinkedInfo;<br>方法or属性:snr: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:WifiLinkedInfo;<br>方法or属性:suppState: SuppState;<br>旧版本信æ¯ï¼š|ç±»å:WifiLinkedInfo;<br>方法or属性:suppState: SuppState;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:HotspotConfig;<br>方法or属性:ssid: string;<br>旧版本信æ¯ï¼š|ç±»å:HotspotConfig;<br>方法or属性:ssid: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:HotspotConfig;<br>方法or属性:securityType: WifiSecurityType;<br>旧版本信æ¯ï¼š|ç±»å:HotspotConfig;<br>方法or属性:securityType: WifiSecurityType;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:HotspotConfig;<br>方法or属性:band: number;<br>旧版本信æ¯ï¼š|ç±»å:HotspotConfig;<br>方法or属性:band: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:HotspotConfig;<br>方法or属性:channel?: number;<br>旧版本信æ¯ï¼š|ç±»å:HotspotConfig;<br>方法or属性:channel?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:HotspotConfig;<br>方法or属性:preSharedKey: string;<br>旧版本信æ¯ï¼š|ç±»å:HotspotConfig;<br>方法or属性:preSharedKey: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:HotspotConfig;<br>方法or属性:maxConn: number;<br>旧版本信æ¯ï¼š|ç±»å:HotspotConfig;<br>方法or属性:maxConn: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:StationInfo;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:StationInfo;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:StationInfo;<br>方法or属性:macAddress: string;<br>旧版本信æ¯ï¼š|ç±»å:StationInfo;<br>方法or属性:macAddress: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:StationInfo;<br>方法or属性:ipAddress: string;<br>旧版本信æ¯ï¼š|ç±»å:StationInfo;<br>方法or属性:ipAddress: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:IpType;<br>方法or属性:STATIC<br>旧版本信æ¯ï¼š|ç±»å:IpType;<br>方法or属性:STATIC<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:IpType;<br>方法or属性:DHCP<br>旧版本信æ¯ï¼š|ç±»å:IpType;<br>方法or属性:DHCP<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:IpType;<br>方法or属性:UNKNOWN<br>旧版本信æ¯ï¼š|ç±»å:IpType;<br>方法or属性:UNKNOWN<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:DISCONNECTED<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:DISCONNECTED<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:INTERFACE_DISABLED<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:INTERFACE_DISABLED<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:INACTIVE<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:INACTIVE<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:SCANNING<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:SCANNING<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:AUTHENTICATING<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:AUTHENTICATING<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:ASSOCIATING<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:ASSOCIATING<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:ASSOCIATED<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:ASSOCIATED<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:FOUR_WAY_HANDSHAKE<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:FOUR_WAY_HANDSHAKE<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:GROUP_HANDSHAKE<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:GROUP_HANDSHAKE<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:COMPLETED<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:COMPLETED<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:UNINITIALIZED<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:UNINITIALIZED<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SuppState;<br>方法or属性:INVALID<br>旧版本信æ¯ï¼š|ç±»å:SuppState;<br>方法or属性:INVALID<br>新版本信æ¯ï¼šsystemapi|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:GattClientDevice;<br>方法or属性:getDeviceName(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:getDeviceName(): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:GattClientDevice;<br>方法or属性:getServices(): Promise\<Array\<GattService>>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:getServices(): Promise\<Array\<GattService>>;<br>新版本信æ¯ï¼šohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:GattClientDevice;<br>方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>;<br>新版本信æ¯ï¼šohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:GattClientDevice;<br>方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>;<br>新版本信æ¯ï¼šohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:GattClientDevice;<br>方法or属性:getRssiValue(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:GattClientDevice;<br>方法or属性:getRssiValue(): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function getDefaultNet(): Promise\<NetHandle>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getDefaultNet(): Promise\<NetHandle>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function getAllNets(): Promise\<Array\<NetHandle>>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getAllNets(): Promise\<Array\<NetHandle>>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function isDefaultNetMetered(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function isDefaultNetMetered(): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function reportNetConnected(netHandle: NetHandle): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function reportNetConnected(netHandle: NetHandle): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function reportNetDisconnected(netHandle: NetHandle): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function reportNetDisconnected(netHandle: NetHandle): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:connection;<br>方法or属性:function getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>旧版本信æ¯ï¼š|ç±»å:connection;<br>方法or属性:function getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:NetHandle;<br>方法or属性:getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>旧版本信æ¯ï¼š|ç±»å:NetHandle;<br>方法or属性:getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:NetHandle;<br>方法or属性:getAddressByName(host: string): Promise\<NetAddress>;<br>旧版本信æ¯ï¼š|ç±»å:NetHandle;<br>方法or属性:getAddressByName(host: string): Promise\<NetAddress>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.connection.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.ethernet.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.http.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.http.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.socket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šohos.permission.SET_WIFI_INFO,ohos.permission.SET_WIFI_CONFIG|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šohos.permission.SET_WIFI_INFO|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function removeCandidateConfig(networkId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function removeCandidateConfig(networkId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.SET_WIFI_INFO|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void;<br>新版本信æ¯ï¼šohos.permission.GET_WIFI_INFO|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void;<br>新版本信æ¯ï¼šohos.permission.GET_WIFI_INFO|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function getCurrentP2pGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getCurrentP2pGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void;<br>新版本信æ¯ï¼šohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void;<br>新版本信æ¯ï¼šohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function getP2pLocalDevice(callback: AsyncCallback\<WifiP2pDevice>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pLocalDevice(callback: AsyncCallback\<WifiP2pDevice>): void;<br>新版本信æ¯ï¼šohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_CONFIG|@ohos.wifiManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts| +|type有å˜åŒ–|ç±»å:NetSpecifier;<br>方法or属性:netCapabilities: NetCapabilities;<br>旧版本信æ¯ï¼š|ç±»å:NetSpecifier;<br>方法or属性:netCapabilities: NetCapabilities;<br>新版本信æ¯ï¼šNetCapabilities|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetSpecifier;<br>方法or属性:bearerPrivateIdentifier?: string;<br>旧版本信æ¯ï¼š|ç±»å:NetSpecifier;<br>方法or属性:bearerPrivateIdentifier?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetHandle;<br>方法or属性:netId: number;<br>旧版本信æ¯ï¼š|ç±»å:NetHandle;<br>方法or属性:netId: number;<br>新版本信æ¯ï¼šnumber|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetCapabilities;<br>方法or属性:linkUpBandwidthKbps?: number;<br>旧版本信æ¯ï¼š|ç±»å:NetCapabilities;<br>方法or属性:linkUpBandwidthKbps?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetCapabilities;<br>方法or属性:linkDownBandwidthKbps?: number;<br>旧版本信æ¯ï¼š|ç±»å:NetCapabilities;<br>方法or属性:linkDownBandwidthKbps?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetCapabilities;<br>方法or属性:networkCap?: Array\<NetCap>;<br>旧版本信æ¯ï¼š|ç±»å:NetCapabilities;<br>方法or属性:networkCap?: Array\<NetCap>;<br>新版本信æ¯ï¼š?Array\<NetCap>|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetCapabilities;<br>方法or属性:bearerTypes: Array\<NetBearType>;<br>旧版本信æ¯ï¼š|ç±»å:NetCapabilities;<br>方法or属性:bearerTypes: Array\<NetBearType>;<br>新版本信æ¯ï¼šArray\<NetBearType>|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:ConnectionProperties;<br>方法or属性:interfaceName: string;<br>旧版本信æ¯ï¼š|ç±»å:ConnectionProperties;<br>方法or属性:interfaceName: string;<br>新版本信æ¯ï¼šstring|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:ConnectionProperties;<br>方法or属性:domains: string;<br>旧版本信æ¯ï¼š|ç±»å:ConnectionProperties;<br>方法or属性:domains: string;<br>新版本信æ¯ï¼šstring|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:ConnectionProperties;<br>方法or属性:linkAddresses: Array\<LinkAddress>;<br>旧版本信æ¯ï¼š|ç±»å:ConnectionProperties;<br>方法or属性:linkAddresses: Array\<LinkAddress>;<br>新版本信æ¯ï¼šArray\<LinkAddress>|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:ConnectionProperties;<br>方法or属性:dnses: Array\<NetAddress>;<br>旧版本信æ¯ï¼š|ç±»å:ConnectionProperties;<br>方法or属性:dnses: Array\<NetAddress>;<br>新版本信æ¯ï¼šArray\<NetAddress>|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:ConnectionProperties;<br>方法or属性:routes: Array\<RouteInfo>;<br>旧版本信æ¯ï¼š|ç±»å:ConnectionProperties;<br>方法or属性:routes: Array\<RouteInfo>;<br>新版本信æ¯ï¼šArray\<RouteInfo>|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:ConnectionProperties;<br>方法or属性:mtu: number;<br>旧版本信æ¯ï¼š|ç±»å:ConnectionProperties;<br>方法or属性:mtu: number;<br>新版本信æ¯ï¼šnumber|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:RouteInfo;<br>方法or属性:interface: string;<br>旧版本信æ¯ï¼š|ç±»å:RouteInfo;<br>方法or属性:interface: string;<br>新版本信æ¯ï¼šstring|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:RouteInfo;<br>方法or属性:destination: LinkAddress;<br>旧版本信æ¯ï¼š|ç±»å:RouteInfo;<br>方法or属性:destination: LinkAddress;<br>新版本信æ¯ï¼šLinkAddress|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:RouteInfo;<br>方法or属性:gateway: NetAddress;<br>旧版本信æ¯ï¼š|ç±»å:RouteInfo;<br>方法or属性:gateway: NetAddress;<br>新版本信æ¯ï¼šNetAddress|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:RouteInfo;<br>方法or属性:hasGateway: boolean;<br>旧版本信æ¯ï¼š|ç±»å:RouteInfo;<br>方法or属性:hasGateway: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:RouteInfo;<br>方法or属性:isDefaultRoute: boolean;<br>旧版本信æ¯ï¼š|ç±»å:RouteInfo;<br>方法or属性:isDefaultRoute: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:LinkAddress;<br>方法or属性:address: NetAddress;<br>旧版本信æ¯ï¼š|ç±»å:LinkAddress;<br>方法or属性:address: NetAddress;<br>新版本信æ¯ï¼šNetAddress|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:LinkAddress;<br>方法or属性:prefixLength: number;<br>旧版本信æ¯ï¼š|ç±»å:LinkAddress;<br>方法or属性:prefixLength: number;<br>新版本信æ¯ï¼šnumber|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetAddress;<br>方法or属性:address: string;<br>旧版本信æ¯ï¼š|ç±»å:NetAddress;<br>方法or属性:address: string;<br>新版本信æ¯ï¼šstring|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetAddress;<br>方法or属性:family?: number;<br>旧版本信æ¯ï¼š|ç±»å:NetAddress;<br>方法or属性:family?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:NetAddress;<br>方法or属性:port?: number;<br>旧版本信æ¯ï¼š|ç±»å:NetAddress;<br>方法or属性:port?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:HttpProxy;<br>方法or属性:host: string;<br>旧版本信æ¯ï¼š|ç±»å:HttpProxy;<br>方法or属性:host: string;<br>新版本信æ¯ï¼šstring|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:HttpProxy;<br>方法or属性:port: number;<br>旧版本信æ¯ï¼š|ç±»å:HttpProxy;<br>方法or属性:port: number;<br>新版本信æ¯ï¼šnumber|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:HttpProxy;<br>方法or属性:exclusionList: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:HttpProxy;<br>方法or属性:exclusionList: Array\<string>;<br>新版本信æ¯ï¼šArray\<string>|@ohos.net.connection.d.ts| +|type有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:mode: IPSetMode;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:mode: IPSetMode;<br>新版本信æ¯ï¼šIPSetMode|@ohos.net.ethernet.d.ts| +|type有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:ipAddr: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:ipAddr: string;<br>新版本信æ¯ï¼šstring|@ohos.net.ethernet.d.ts| +|type有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:route: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:route: string;<br>新版本信æ¯ï¼šstring|@ohos.net.ethernet.d.ts| +|type有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:gateway: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:gateway: string;<br>新版本信æ¯ï¼šstring|@ohos.net.ethernet.d.ts| +|type有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:netMask: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:netMask: string;<br>新版本信æ¯ï¼šstring|@ohos.net.ethernet.d.ts| +|type有å˜åŒ–|ç±»å:InterfaceConfiguration;<br>方法or属性:dnsServers: string;<br>旧版本信æ¯ï¼š|ç±»å:InterfaceConfiguration;<br>方法or属性:dnsServers: string;<br>新版本信æ¯ï¼šstring|@ohos.net.ethernet.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:method?: RequestMethod;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:method?: RequestMethod;<br>新版本信æ¯ï¼š?RequestMethod|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:extraData?: string \| Object \| ArrayBuffer;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:extraData?: string \| Object \| ArrayBuffer;<br>新版本信æ¯ï¼š?string \| Object \| ArrayBuffer|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:expectDataType?: HttpDataType;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:expectDataType?: HttpDataType;<br>新版本信æ¯ï¼š?HttpDataType|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:usingCache?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:usingCache?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:priority?: number;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:priority?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:header?: Object;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:header?: Object;<br>新版本信æ¯ï¼š?Object|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:readTimeout?: number;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:readTimeout?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:connectTimeout?: number;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:connectTimeout?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:usingProtocol?: HttpProtocol;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:usingProtocol?: HttpProtocol;<br>新版本信æ¯ï¼š?HttpProtocol|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:usingProxy?: boolean \| HttpProxy;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:usingProxy?: boolean \| HttpProxy;<br>新版本信æ¯ï¼š?boolean \| HttpProxy|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpRequestOptions;<br>方法or属性:caPath?: string;<br>旧版本信æ¯ï¼š|ç±»å:HttpRequestOptions;<br>方法or属性:caPath?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpResponse;<br>方法or属性:result: string \| Object \| ArrayBuffer;<br>旧版本信æ¯ï¼š|ç±»å:HttpResponse;<br>方法or属性:result: string \| Object \| ArrayBuffer;<br>新版本信æ¯ï¼šstring \| Object \| ArrayBuffer|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpResponse;<br>方法or属性:resultType: HttpDataType;<br>旧版本信æ¯ï¼š|ç±»å:HttpResponse;<br>方法or属性:resultType: HttpDataType;<br>新版本信æ¯ï¼šHttpDataType|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpResponse;<br>方法or属性:responseCode: ResponseCode \| number;<br>旧版本信æ¯ï¼š|ç±»å:HttpResponse;<br>方法or属性:responseCode: ResponseCode \| number;<br>新版本信æ¯ï¼šResponseCode \| number|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpResponse;<br>方法or属性:header: Object;<br>旧版本信æ¯ï¼š|ç±»å:HttpResponse;<br>方法or属性:header: Object;<br>新版本信æ¯ï¼šObject|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:HttpResponse;<br>方法or属性:cookies: string;<br>旧版本信æ¯ï¼š|ç±»å:HttpResponse;<br>方法or属性:cookies: string;<br>新版本信æ¯ï¼šstring|@ohos.net.http.d.ts| +|type有å˜åŒ–|ç±»å:LocalServiceInfo;<br>方法or属性:serviceType: string;<br>旧版本信æ¯ï¼š|ç±»å:LocalServiceInfo;<br>方法or属性:serviceType: string;<br>新版本信æ¯ï¼šstring|@ohos.net.mdns.d.ts| +|type有å˜åŒ–|ç±»å:LocalServiceInfo;<br>方法or属性:serviceName: string;<br>旧版本信æ¯ï¼š|ç±»å:LocalServiceInfo;<br>方法or属性:serviceName: string;<br>新版本信æ¯ï¼šstring|@ohos.net.mdns.d.ts| +|type有å˜åŒ–|ç±»å:LocalServiceInfo;<br>方法or属性:port?: number;<br>旧版本信æ¯ï¼š|ç±»å:LocalServiceInfo;<br>方法or属性:port?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.mdns.d.ts| +|type有å˜åŒ–|ç±»å:LocalServiceInfo;<br>方法or属性:host?: NetAddress;<br>旧版本信æ¯ï¼š|ç±»å:LocalServiceInfo;<br>方法or属性:host?: NetAddress;<br>新版本信æ¯ï¼š?NetAddress|@ohos.net.mdns.d.ts| +|type有å˜åŒ–|ç±»å:LocalServiceInfo;<br>方法or属性:serviceAttribute?: Array\<ServiceAttribute>;<br>旧版本信æ¯ï¼š|ç±»å:LocalServiceInfo;<br>方法or属性:serviceAttribute?: Array\<ServiceAttribute>;<br>新版本信æ¯ï¼š?Array\<ServiceAttribute>|@ohos.net.mdns.d.ts| +|type有å˜åŒ–|ç±»å:ServiceAttribute;<br>方法or属性:key: string;<br>旧版本信æ¯ï¼š|ç±»å:ServiceAttribute;<br>方法or属性:key: string;<br>新版本信æ¯ï¼šstring|@ohos.net.mdns.d.ts| +|type有å˜åŒ–|ç±»å:ServiceAttribute;<br>方法or属性:value: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:ServiceAttribute;<br>方法or属性:value: Array\<number>;<br>新版本信æ¯ï¼šArray\<number>|@ohos.net.mdns.d.ts| +|type有å˜åŒ–|ç±»å:UDPSendOptions;<br>方法or属性:data: string \| ArrayBuffer;<br>旧版本信æ¯ï¼š|ç±»å:UDPSendOptions;<br>方法or属性:data: string \| ArrayBuffer;<br>新版本信æ¯ï¼šstring \| ArrayBuffer|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TCPSendOptions;<br>方法or属性:data: string \| ArrayBuffer;<br>旧版本信æ¯ï¼š|ç±»å:TCPSendOptions;<br>方法or属性:data: string \| ArrayBuffer;<br>新版本信æ¯ï¼šstring \| ArrayBuffer|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:UDPSendOptions;<br>方法or属性:address: NetAddress;<br>旧版本信æ¯ï¼š|ç±»å:UDPSendOptions;<br>方法or属性:address: NetAddress;<br>新版本信æ¯ï¼šNetAddress|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TCPConnectOptions;<br>方法or属性:address: NetAddress;<br>旧版本信æ¯ï¼š|ç±»å:TCPConnectOptions;<br>方法or属性:address: NetAddress;<br>新版本信æ¯ï¼šNetAddress|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSConnectOptions;<br>方法or属性:address: NetAddress;<br>旧版本信æ¯ï¼š|ç±»å:TLSConnectOptions;<br>方法or属性:address: NetAddress;<br>新版本信æ¯ï¼šNetAddress|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:ExtraOptionsBase;<br>方法or属性:receiveBufferSize?: number;<br>旧版本信æ¯ï¼š|ç±»å:ExtraOptionsBase;<br>方法or属性:receiveBufferSize?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:ExtraOptionsBase;<br>方法or属性:sendBufferSize?: number;<br>旧版本信æ¯ï¼š|ç±»å:ExtraOptionsBase;<br>方法or属性:sendBufferSize?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:ExtraOptionsBase;<br>方法or属性:reuseAddress?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ExtraOptionsBase;<br>方法or属性:reuseAddress?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:ExtraOptionsBase;<br>方法or属性:socketTimeout?: number;<br>旧版本信æ¯ï¼š|ç±»å:ExtraOptionsBase;<br>方法or属性:socketTimeout?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:UDPExtraOptions;<br>方法or属性:broadcast?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:UDPExtraOptions;<br>方法or属性:broadcast?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:SocketStateBase;<br>方法or属性:isBound: boolean;<br>旧版本信æ¯ï¼š|ç±»å:SocketStateBase;<br>方法or属性:isBound: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:SocketStateBase;<br>方法or属性:isClose: boolean;<br>旧版本信æ¯ï¼š|ç±»å:SocketStateBase;<br>方法or属性:isClose: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:SocketStateBase;<br>方法or属性:isConnected: boolean;<br>旧版本信æ¯ï¼š|ç±»å:SocketStateBase;<br>方法or属性:isConnected: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:SocketRemoteInfo;<br>方法or属性:address: string;<br>旧版本信æ¯ï¼š|ç±»å:SocketRemoteInfo;<br>方法or属性:address: string;<br>新版本信æ¯ï¼šstring|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:SocketRemoteInfo;<br>方法or属性:family: 'IPv4' \| 'IPv6';<br>旧版本信æ¯ï¼š|ç±»å:SocketRemoteInfo;<br>方法or属性:family: 'IPv4' \| 'IPv6';<br>新版本信æ¯ï¼š'IPv4' \| 'IPv6'|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:SocketRemoteInfo;<br>方法or属性:port: number;<br>旧版本信æ¯ï¼š|ç±»å:SocketRemoteInfo;<br>方法or属性:port: number;<br>新版本信æ¯ï¼šnumber|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:SocketRemoteInfo;<br>方法or属性:size: number;<br>旧版本信æ¯ï¼š|ç±»å:SocketRemoteInfo;<br>方法or属性:size: number;<br>新版本信æ¯ï¼šnumber|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TCPConnectOptions;<br>方法or属性:timeout?: number;<br>旧版本信æ¯ï¼š|ç±»å:TCPConnectOptions;<br>方法or属性:timeout?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TCPSendOptions;<br>方法or属性:encoding?: string;<br>旧版本信æ¯ï¼š|ç±»å:TCPSendOptions;<br>方法or属性:encoding?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TCPExtraOptions;<br>方法or属性:keepAlive?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:TCPExtraOptions;<br>方法or属性:keepAlive?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TCPExtraOptions;<br>方法or属性:OOBInline?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:TCPExtraOptions;<br>方法or属性:OOBInline?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TCPExtraOptions;<br>方法or属性:TCPNoDelay?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:TCPExtraOptions;<br>方法or属性:TCPNoDelay?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TCPExtraOptions;<br>方法or属性:socketLinger?: { on: boolean, linger: number };<br>旧版本信æ¯ï¼š|ç±»å:TCPExtraOptions;<br>方法or属性:socketLinger?: { on: boolean, linger: number };<br>新版本信æ¯ï¼š?object|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSSecureOptions;<br>方法or属性:ca: string \| Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSecureOptions;<br>方法or属性:ca: string \| Array\<string>;<br>新版本信æ¯ï¼šstring \| Array\<string>|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSSecureOptions;<br>方法or属性:cert?: string;<br>旧版本信æ¯ï¼š|ç±»å:TLSSecureOptions;<br>方法or属性:cert?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSSecureOptions;<br>方法or属性:key?: string;<br>旧版本信æ¯ï¼š|ç±»å:TLSSecureOptions;<br>方法or属性:key?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSSecureOptions;<br>方法or属性:password?: string;<br>旧版本信æ¯ï¼š|ç±»å:TLSSecureOptions;<br>方法or属性:password?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSSecureOptions;<br>方法or属性:protocols?: Protocol \| Array\<Protocol>;<br>旧版本信æ¯ï¼š|ç±»å:TLSSecureOptions;<br>方法or属性:protocols?: Protocol \| Array\<Protocol>;<br>新版本信æ¯ï¼š?Protocol \| Array\<Protocol>|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSSecureOptions;<br>方法or属性:useRemoteCipherPrefer?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:TLSSecureOptions;<br>方法or属性:useRemoteCipherPrefer?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSSecureOptions;<br>方法or属性:signatureAlgorithms?: string;<br>旧版本信æ¯ï¼š|ç±»å:TLSSecureOptions;<br>方法or属性:signatureAlgorithms?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSSecureOptions;<br>方法or属性:cipherSuite?: string;<br>旧版本信æ¯ï¼š|ç±»å:TLSSecureOptions;<br>方法or属性:cipherSuite?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSConnectOptions;<br>方法or属性:secureOptions: TLSSecureOptions;<br>旧版本信æ¯ï¼š|ç±»å:TLSConnectOptions;<br>方法or属性:secureOptions: TLSSecureOptions;<br>新版本信æ¯ï¼šTLSSecureOptions|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:TLSConnectOptions;<br>方法or属性:ALPNProtocols?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:TLSConnectOptions;<br>方法or属性:ALPNProtocols?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|@ohos.net.socket.d.ts| +|type有å˜åŒ–|ç±»å:WebSocketRequestOptions;<br>方法or属性:header?: Object;<br>旧版本信æ¯ï¼š|ç±»å:WebSocketRequestOptions;<br>方法or属性:header?: Object;<br>新版本信æ¯ï¼š?Object|@ohos.net.webSocket.d.ts| +|type有å˜åŒ–|ç±»å:WebSocketCloseOptions;<br>方法or属性:code?: number;<br>旧版本信æ¯ï¼š|ç±»å:WebSocketCloseOptions;<br>方法or属性:code?: number;<br>新版本信æ¯ï¼š?number|@ohos.net.webSocket.d.ts| +|type有å˜åŒ–|ç±»å:WebSocketCloseOptions;<br>方法or属性:reason?: string;<br>旧版本信æ¯ï¼š|ç±»å:WebSocketCloseOptions;<br>方法or属性:reason?: string;<br>新版本信æ¯ï¼š?string|@ohos.net.webSocket.d.ts| +|type有å˜åŒ–|ç±»å:WifiEapConfig;<br>方法or属性:caCertAliases: string;<br>旧版本信æ¯ï¼š|ç±»å:WifiEapConfig;<br>方法or属性:caCertAliases: string;<br>新版本信æ¯ï¼šstring|@ohos.wifiManager.d.ts| +|type有å˜åŒ–|ç±»å:WifiEapConfig;<br>方法or属性:clientCertAliases: string;<br>旧版本信æ¯ï¼š|ç±»å:WifiEapConfig;<br>方法or属性:clientCertAliases: string;<br>新版本信æ¯ï¼šstring|@ohos.wifiManager.d.ts| +|type有å˜åŒ–|ç±»å:WifiEapConfig;<br>方法or属性:eapSubId: number;<br>旧版本信æ¯ï¼š|ç±»å:WifiEapConfig;<br>方法or属性:eapSubId: number;<br>新版本信æ¯ï¼šnumber|@ohos.wifiManager.d.ts| +|type有å˜åŒ–|ç±»å:WifiDeviceConfig;<br>方法or属性:eapConfig?: WifiEapConfig;<br>旧版本信æ¯ï¼š|ç±»å:WifiDeviceConfig;<br>方法or属性:eapConfig?: WifiEapConfig;<br>新版本信æ¯ï¼š?WifiEapConfig|@ohos.wifiManager.d.ts| +|type有å˜åŒ–|ç±»å:NetworkResponse;<br>方法or属性:type: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkResponse;<br>方法or属性:type: string;<br>新版本信æ¯ï¼šstring|@system.network.d.ts| +|type有å˜åŒ–|ç±»å:NetworkResponse;<br>方法or属性:metered: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NetworkResponse;<br>方法or属性:metered: boolean;<br>新版本信æ¯ï¼šboolean|@system.network.d.ts| +|函数有å˜åŒ–|ç±»å:HotspotConfig;<br>方法or属性:channel: number;|ç±»å:HotspotConfig;<br>方法or属性:channel?: number;|@ohos.wifiManager.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-compiler-and-runtime.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-compiler-and-runtime.md new file mode 100644 index 0000000000000000000000000000000000000000..8c05191e4e22ecbeb75b700dc6445074a618dc90 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-compiler-and-runtime.md @@ -0,0 +1,51 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:ConditionType;<br>方法or属性:timeout?: number;|@ohos.process.d.ts| +|新增|NA|ç±»å:ConditionType;<br>方法or属性:killSignal?: number \| string;|@ohos.process.d.ts| +|新增|NA|ç±»å:ConditionType;<br>方法or属性:maxBuffer?: number;|@ohos.process.d.ts| +|新增|NA|ç±»å:taskpool;<br>方法or属性:function execute(group: TaskGroup, priority?: Priority): Promise\<unknown[]>;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:taskpool;<br>方法or属性:function cancel(group: TaskGroup): void;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:taskpool;<br>方法or属性:function getTaskPoolInfo(): TaskPoolInfo;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:static isCanceled(): boolean;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:setTransferList(transfer?: ArrayBuffer[]): void;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:TaskGroup;<br>方法or属性:constructor();|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:TaskGroup;<br>方法or属性:addTask(func: Function, ...args: unknown[]): void;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:TaskGroup;<br>方法or属性:addTask(task: Task): void;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:WAITING = 1|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:RUNNING = 2|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:CANCELED = 3|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:taskId: number;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:state: State;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:duration?: number;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:ThreadInfo;<br>方法or属性:tid: number;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:ThreadInfo;<br>方法or属性:taskIds?: number[];|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:ThreadInfo;<br>方法or属性:priority?: Priority;|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:TaskPoolInfo;<br>方法or属性:threadInfos: ThreadInfo[];|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:TaskPoolInfo;<br>方法or属性:taskInfos: TaskInfo[];|@ohos.taskpool.d.ts| +|新增|NA|ç±»å:Type;<br>方法or属性:BASIC|@ohos.util.d.ts| +|新增|NA|ç±»å:Type;<br>方法or属性:MIME|@ohos.util.d.ts| +|新增(错误ç )|ç±»å:WorkerEventListener;<br>方法or属性:(event: Event): void \| Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:WorkerEventListener;<br>方法or属性:(event: Event): void \| Promise\<void>;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|新增(错误ç )|ç±»å:ThreadWorkerGlobalScope;<br>方法or属性:onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>旧版本信æ¯ï¼š|ç±»å:ThreadWorkerGlobalScope;<br>方法or属性:onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|新增(错误ç )|ç±»å:ThreadWorkerGlobalScope;<br>方法or属性:onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>旧版本信æ¯ï¼š|ç±»å:ThreadWorkerGlobalScope;<br>方法or属性:onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|新增(错误ç )|ç±»å:ThreadWorker;<br>方法or属性:onexit?: (code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:ThreadWorker;<br>方法or属性:onexit?: (code: number) => void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|新增(错误ç )|ç±»å:ThreadWorker;<br>方法or属性:onerror?: (err: ErrorEvent) => void;<br>旧版本信æ¯ï¼š|ç±»å:ThreadWorker;<br>方法or属性:onerror?: (err: ErrorEvent) => void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|新增(错误ç )|ç±»å:ThreadWorker;<br>方法or属性:onmessage?: (event: MessageEvents) => void;<br>旧版本信æ¯ï¼š|ç±»å:ThreadWorker;<br>方法or属性:onmessage?: (event: MessageEvents) => void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|新增(错误ç )|ç±»å:ThreadWorker;<br>方法or属性:onmessageerror?: (event: MessageEvents) => void;<br>旧版本信æ¯ï¼š|ç±»å:ThreadWorker;<br>方法or属性:onmessageerror?: (event: MessageEvents) => void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|错误ç 有å˜åŒ–|ç±»å:taskpool;<br>方法or属性:function cancel(task: Task): void;<br>旧版本信æ¯ï¼š401,10200015,10200016|ç±»å:taskpool;<br>方法or属性:function cancel(task: Task): void;<br>新版本信æ¯ï¼š401,10200015|@ohos.taskpool.d.ts| +|错误ç 有å˜åŒ–|ç±»å:Vector;<br>方法or属性:insert(element: T, index: number): void;<br>旧版本信æ¯ï¼šIf|ç±»å:Vector;<br>方法or属性:insert(element: T, index: number): void;<br>新版本信æ¯ï¼š|@ohos.util.Vector.d.ts| +|错误ç 有å˜åŒ–|ç±»å:Vector;<br>方法or属性:removeByRange(fromIndex: number, toIndex: number): void;<br>旧版本信æ¯ï¼šIf|ç±»å:Vector;<br>方法or属性:removeByRange(fromIndex: number, toIndex: number): void;<br>新版本信æ¯ï¼š|@ohos.util.Vector.d.ts| +|错误ç 有å˜åŒ–|ç±»å:Vector;<br>方法or属性:subVector(fromIndex: number, toIndex: number): Vector\<T>;<br>旧版本信æ¯ï¼šIf|ç±»å:Vector;<br>方法or属性:subVector(fromIndex: number, toIndex: number): Vector\<T>;<br>新版本信æ¯ï¼š|@ohos.util.Vector.d.ts| +|错误ç 有å˜åŒ–|ç±»å:WorkerEventTarget;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>旧版本信æ¯ï¼š401,10200004|ç±»å:WorkerEventTarget;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ThreadWorker;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>旧版本信æ¯ï¼š401,10200004|ç±»å:ThreadWorker;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ThreadWorker;<br>方法or属性:on(type: string, listener: WorkerEventListener): void;<br>旧版本信æ¯ï¼š401,10200004|ç±»å:ThreadWorker;<br>方法or属性:on(type: string, listener: WorkerEventListener): void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ThreadWorker;<br>方法or属性:once(type: string, listener: WorkerEventListener): void;<br>旧版本信æ¯ï¼š401,10200004|ç±»å:ThreadWorker;<br>方法or属性:once(type: string, listener: WorkerEventListener): void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|错误ç 有å˜åŒ–|ç±»å:ThreadWorker;<br>方法or属性:off(type: string, listener?: WorkerEventListener): void;<br>旧版本信æ¯ï¼š401,10200004|ç±»å:ThreadWorker;<br>方法or属性:off(type: string, listener?: WorkerEventListener): void;<br>新版本信æ¯ï¼š401,10200004,10200005|@ohos.worker.d.ts| +|type有å˜åŒ–|ç±»å:Task;<br>方法or属性:arguments?: unknown[];<br>旧版本信æ¯ï¼š|ç±»å:Task;<br>方法or属性:arguments?: unknown[];<br>新版本信æ¯ï¼š?unknown[]|@ohos.taskpool.d.ts| +|函数有å˜åŒ–|ç±»å:process;<br>方法or属性:function runCmd(command: string,<br><br> options?: { timeout?: number, killSignal?: number \| string, maxBuffer?: number }): ChildProcess;|ç±»å:process;<br>方法or属性:function runCmd(<br><br> command: string,<br><br> options?: ConditionType<br><br> ): ChildProcess;|@ohos.process.d.ts| +|函数有å˜åŒ–|ç±»å:Priority;<br>方法or属性:HIGH|ç±»å:Priority;<br>方法or属性:HIGH = 0|@ohos.taskpool.d.ts| +|函数有å˜åŒ–|ç±»å:Priority;<br>方法or属性:MEDIUM|ç±»å:Priority;<br>方法or属性:MEDIUM = 1|@ohos.taskpool.d.ts| +|函数有å˜åŒ–|ç±»å:Priority;<br>方法or属性:LOW|ç±»å:Priority;<br>方法or属性:LOW = 2|@ohos.taskpool.d.ts| +|函数有å˜åŒ–|ç±»å:Base64Helper;<br>方法or属性:encodeToStringSync(src: Uint8Array): string;|ç±»å:Base64Helper;<br>方法or属性:encodeToStringSync(src: Uint8Array, options?: Type): string;|@ohos.util.d.ts| +|函数有å˜åŒ–|ç±»å:Base64Helper;<br>方法or属性:decodeSync(src: Uint8Array \| string): Uint8Array;|ç±»å:Base64Helper;<br>方法or属性:decodeSync(src: Uint8Array \| string, options?: Type): Uint8Array;|@ohos.util.d.ts| +|函数有å˜åŒ–|ç±»å:Base64Helper;<br>方法or属性:encodeToString(src: Uint8Array): Promise\<string>;|ç±»å:Base64Helper;<br>方法or属性:encodeToString(src: Uint8Array, options?: Type): Promise\<string>;|@ohos.util.d.ts| +|函数有å˜åŒ–|ç±»å:Base64Helper;<br>方法or属性:decode(src: Uint8Array \| string): Promise\<Uint8Array>;|ç±»å:Base64Helper;<br>方法or属性:decode(src: Uint8Array \| string, options?: Type): Promise\<Uint8Array>;|@ohos.util.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-customization.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-customization.md new file mode 100644 index 0000000000000000000000000000000000000000..83fa1ce20cf775981a704cd1fcf3506f33391ba2 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-customization.md @@ -0,0 +1,64 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:browser;<br>方法or属性:function setPolicies(admin: Want, appId: string, policies: string, callback: AsyncCallback\<void>): void;|@ohos.enterprise.browser.d.ts| +|新增|NA|ç±»å:browser;<br>方法or属性:function setPolicies(admin: Want, appId: string, policies: string): Promise\<void>;|@ohos.enterprise.browser.d.ts| +|新增|NA|ç±»å:browser;<br>方法or属性:function getPolicies(admin: Want, appId: string, callback: AsyncCallback\<string>): void;|@ohos.enterprise.browser.d.ts| +|新增|NA|ç±»å:browser;<br>方法or属性:function getPolicies(admin: Want, appId: string): Promise\<string>;|@ohos.enterprise.browser.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId?: number): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId?: number): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function getDisallowedUninstallBundles(admin: Want, callback: AsyncCallback\<Array\<string>>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function getDisallowedUninstallBundles(admin: Want, userId: number, callback: AsyncCallback\<Array\<string>>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function getDisallowedUninstallBundles(admin: Want, userId?: number): Promise\<Array\<string>>;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, isKeepData: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, userId: number, isKeepData: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, userId?: number, isKeepData?: boolean): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts| +|新增|NA|ç±»å:deviceSettings;<br>方法or属性:function getScreenOffTime(admin: Want, callback: AsyncCallback\<number>): void;|@ohos.enterprise.deviceSettings.d.ts| +|新增|NA|ç±»å:deviceSettings;<br>方法or属性:function getScreenOffTime(admin: Want): Promise\<number>;|@ohos.enterprise.deviceSettings.d.ts| +|新增|NA|ç±»å:networkManager;<br>方法or属性:function addIptablesFilterRule(admin: Want, filterRule: AddFilterRule, callback: AsyncCallback\<void>): void;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:networkManager;<br>方法or属性:function addIptablesFilterRule(admin: Want, filterRule: AddFilterRule): Promise\<void>;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:networkManager;<br>方法or属性:function removeIptablesFilterRule(admin: Want, filterRule: RemoveFilterRule, callback: AsyncCallback\<void>): void;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:networkManager;<br>方法or属性:function removeIptablesFilterRule(admin: Want, filterRule: RemoveFilterRule): Promise\<void>;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:networkManager;<br>方法or属性:function listIptablesFilterRules(admin: Want, callback: AsyncCallback\<string>): void;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:networkManager;<br>方法or属性:function listIptablesFilterRules(admin: Want): Promise\<string>;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddMethod;<br>方法or属性:APPEND = 0|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddMethod;<br>方法or属性:INSERT = 1|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:Direction;<br>方法or属性:INPUT = 0|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:Direction;<br>方法or属性:OUTPUT = 1|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:Action;<br>方法or属性:ALLOW = 0|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:Action;<br>方法or属性:DENY = 1|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:Protocol;<br>方法or属性:ALL = 0|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:Protocol;<br>方法or属性:TCP = 1|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:Protocol;<br>方法or属性:UDP = 2|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:Protocol;<br>方法or属性:ICMP = 3|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:ruleNo?: number;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:srcAddr?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:RemoveFilterRule;<br>方法or属性:srcAddr?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:destAddr?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:RemoveFilterRule;<br>方法or属性:destAddr?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:srcPort?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:RemoveFilterRule;<br>方法or属性:srcPort?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:destPort?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:RemoveFilterRule;<br>方法or属性:destPort?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:uid?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:RemoveFilterRule;<br>方法or属性:uid?: string;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:method: AddMethod;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:direction: Direction;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:RemoveFilterRule;<br>方法or属性:direction: Direction;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:action: Action;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:AddFilterRule;<br>方法or属性:protocol?: Protocol;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:RemoveFilterRule;<br>方法or属性:protocol?: Protocol;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:RemoveFilterRule;<br>方法or属性:action?: Action;|@ohos.enterprise.networkManager.d.ts| +|新增|NA|ç±»å:restrictions;<br>方法or属性:function setPrinterDisabled(admin: Want, disabled: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.restrictions.d.ts| +|新增|NA|ç±»å:restrictions;<br>方法or属性:function setPrinterDisabled(admin: Want, disabled: boolean): Promise\<void>;|@ohos.enterprise.restrictions.d.ts| +|新增|NA|ç±»å:restrictions;<br>方法or属性:function isPrinterDisabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.restrictions.d.ts| +|新增|NA|ç±»å:restrictions;<br>方法or属性:function isPrinterDisabled(admin: Want): Promise\<boolean>;|@ohos.enterprise.restrictions.d.ts| +|新增|NA|ç±»å:restrictions;<br>方法or属性:function setHdcDisabled(admin: Want, disabled: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.restrictions.d.ts| +|新增|NA|ç±»å:restrictions;<br>方法or属性:function setHdcDisabled(admin: Want, disabled: boolean): Promise\<void>;|@ohos.enterprise.restrictions.d.ts| +|新增|NA|ç±»å:restrictions;<br>方法or属性:function isHdcDisabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.restrictions.d.ts| +|新增|NA|ç±»å:restrictions;<br>方法or属性:function isHdcDisabled(admin: Want): Promise\<boolean>;|@ohos.enterprise.restrictions.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-dfx.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-dfx.md new file mode 100644 index 0000000000000000000000000000000000000000..f65a4e78a52a3d7ec0a1a4f14d29c37761b8225f --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-dfx.md @@ -0,0 +1,54 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:hiSysEvent;<br>方法or属性:function exportSysEvents(queryArg: QueryArg, rules: QueryRule[]): number;|@ohos.hiSysEvent.d.ts| +|新增|NA|ç±»å:hiSysEvent;<br>方法or属性:function subscribe(rules: QueryRule[]): number;|@ohos.hiSysEvent.d.ts| +|新增|NA|ç±»å:hiSysEvent;<br>方法or属性:function unsubscribe(): void;|@ohos.hiSysEvent.d.ts| +|新增|NA|ç±»å:QueryArg;<br>方法or属性:fromSeq?: number;|@ohos.hiSysEvent.d.ts| +|新增|NA|ç±»å:QueryArg;<br>方法or属性:toSeq?: number;|@ohos.hiSysEvent.d.ts| +|新增|NA|ç±»å:QueryRule;<br>方法or属性:condition?: string;|@ohos.hiSysEvent.d.ts| +|新增|NA|ç±»å:logLibrary;<br>方法or属性:function list(logType: string): LogEntry[];|@ohos.logLibrary.d.ts| +|新增|NA|ç±»å:logLibrary;<br>方法or属性:function copy(logType: string, logName: string, dest: string): Promise\<void>;|@ohos.logLibrary.d.ts| +|新增|NA|ç±»å:logLibrary;<br>方法or属性:function copy(logType: string, logName: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.logLibrary.d.ts| +|新增|NA|ç±»å:logLibrary;<br>方法or属性:function move(logType: string, logName: string, dest: string): Promise\<void>;|@ohos.logLibrary.d.ts| +|新增|NA|ç±»å:logLibrary;<br>方法or属性:function move(logType: string, logName: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.logLibrary.d.ts| +|新增|NA|ç±»å:logLibrary;<br>方法or属性:function remove(logType: string, logName: string): void;|@ohos.logLibrary.d.ts| +|新增|NA|ç±»å:LogEntry;<br>方法or属性:name: string;|@ohos.logLibrary.d.ts| +|新增|NA|ç±»å:LogEntry;<br>方法or属性:mtime: number;|@ohos.logLibrary.d.ts| +|新增|NA|ç±»å:LogEntry;<br>方法or属性:size: number;|@ohos.logLibrary.d.ts| +|新增(错误ç )|ç±»å:hiSysEvent;<br>方法or属性:function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:hiSysEvent;<br>方法or属性:function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,11200001,11200002,11200003,11200004,11200051,11200052,11200053,11200054|@ohos.hiSysEvent.d.ts| +|新增(错误ç )|ç±»å:hiAppEvent;<br>方法or属性:function write(info: AppEventInfo, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:hiAppEvent;<br>方法or属性:function write(info: AppEventInfo, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,11100001,11101001,11101002,11101003,11101004,11101005,11101006|@ohos.hiviewdfx.hiAppEvent.d.ts| +|错误ç 有å˜åŒ–|ç±»å:hiSysEvent;<br>方法or属性:function addWatcher(watcher: Watcher): void;<br>旧版本信æ¯ï¼š201,401,11200101,11200102|ç±»å:hiSysEvent;<br>方法or属性:function addWatcher(watcher: Watcher): void;<br>新版本信æ¯ï¼š201,202,401,11200101,11200102|@ohos.hiSysEvent.d.ts| +|错误ç 有å˜åŒ–|ç±»å:hiSysEvent;<br>方法or属性:function removeWatcher(watcher: Watcher): void;<br>旧版本信æ¯ï¼š201,401,11200201|ç±»å:hiSysEvent;<br>方法or属性:function removeWatcher(watcher: Watcher): void;<br>新版本信æ¯ï¼š201,202,401,11200201|@ohos.hiSysEvent.d.ts| +|错误ç 有å˜åŒ–|ç±»å:hiSysEvent;<br>方法or属性:function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;<br>旧版本信æ¯ï¼š201,401,11200301,11200302,11200303,11200304|ç±»å:hiSysEvent;<br>方法or属性:function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;<br>新版本信æ¯ï¼š201,202,401,11200301,11200302,11200303,11200304|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:hiSysEvent;<br>方法or属性:function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:hiSysEvent;<br>方法or属性:function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:SysEventInfo;<br>方法or属性:domain: string;<br>旧版本信æ¯ï¼š|ç±»å:SysEventInfo;<br>方法or属性:domain: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:WatchRule;<br>方法or属性:domain: string;<br>旧版本信æ¯ï¼š|ç±»å:WatchRule;<br>方法or属性:domain: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:QueryRule;<br>方法or属性:domain: string;<br>旧版本信æ¯ï¼š|ç±»å:QueryRule;<br>方法or属性:domain: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:SysEventInfo;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:SysEventInfo;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:WatchRule;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:WatchRule;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:SysEventInfo;<br>方法or属性:eventType: EventType;<br>旧版本信æ¯ï¼š|ç±»å:SysEventInfo;<br>方法or属性:eventType: EventType;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:SysEventInfo;<br>方法or属性:params: object;<br>旧版本信æ¯ï¼š|ç±»å:SysEventInfo;<br>方法or属性:params: object;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:WatchRule;<br>方法or属性:tag: string;<br>旧版本信æ¯ï¼š|ç±»å:WatchRule;<br>方法or属性:tag: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:WatchRule;<br>方法or属性:ruleType: RuleType;<br>旧版本信æ¯ï¼š|ç±»å:WatchRule;<br>方法or属性:ruleType: RuleType;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:Watcher;<br>方法or属性:rules: WatchRule[];<br>旧版本信æ¯ï¼š|ç±»å:Watcher;<br>方法or属性:rules: WatchRule[];<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:QueryArg;<br>方法or属性:beginTime: number;<br>旧版本信æ¯ï¼š|ç±»å:QueryArg;<br>方法or属性:beginTime: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:QueryArg;<br>方法or属性:endTime: number;<br>旧版本信æ¯ï¼š|ç±»å:QueryArg;<br>方法or属性:endTime: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:QueryArg;<br>方法or属性:maxEvents: number;<br>旧版本信æ¯ï¼š|ç±»å:QueryArg;<br>方法or属性:maxEvents: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|访问级别有å˜åŒ–|ç±»å:QueryRule;<br>方法or属性:names: string[];<br>旧版本信æ¯ï¼š|ç±»å:QueryRule;<br>方法or属性:names: string[];<br>新版本信æ¯ï¼šsystemapi|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:SysEventInfo;<br>方法or属性:domain: string;<br>旧版本信æ¯ï¼š|ç±»å:SysEventInfo;<br>方法or属性:domain: string;<br>新版本信æ¯ï¼šstring|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:WatchRule;<br>方法or属性:domain: string;<br>旧版本信æ¯ï¼š|ç±»å:WatchRule;<br>方法or属性:domain: string;<br>新版本信æ¯ï¼šstring|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:QueryRule;<br>方法or属性:domain: string;<br>旧版本信æ¯ï¼š|ç±»å:QueryRule;<br>方法or属性:domain: string;<br>新版本信æ¯ï¼šstring|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:SysEventInfo;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:SysEventInfo;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šstring|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:WatchRule;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:WatchRule;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šstring|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:SysEventInfo;<br>方法or属性:eventType: EventType;<br>旧版本信æ¯ï¼š|ç±»å:SysEventInfo;<br>方法or属性:eventType: EventType;<br>新版本信æ¯ï¼šEventType|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:SysEventInfo;<br>方法or属性:params: object;<br>旧版本信æ¯ï¼š|ç±»å:SysEventInfo;<br>方法or属性:params: object;<br>新版本信æ¯ï¼šobject|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:WatchRule;<br>方法or属性:tag: string;<br>旧版本信æ¯ï¼š|ç±»å:WatchRule;<br>方法or属性:tag: string;<br>新版本信æ¯ï¼šstring|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:WatchRule;<br>方法or属性:ruleType: RuleType;<br>旧版本信æ¯ï¼š|ç±»å:WatchRule;<br>方法or属性:ruleType: RuleType;<br>新版本信æ¯ï¼šRuleType|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:QueryArg;<br>方法or属性:beginTime: number;<br>旧版本信æ¯ï¼š|ç±»å:QueryArg;<br>方法or属性:beginTime: number;<br>新版本信æ¯ï¼šnumber|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:QueryArg;<br>方法or属性:endTime: number;<br>旧版本信æ¯ï¼š|ç±»å:QueryArg;<br>方法or属性:endTime: number;<br>新版本信æ¯ï¼šnumber|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:QueryArg;<br>方法or属性:maxEvents: number;<br>旧版本信æ¯ï¼š|ç±»å:QueryArg;<br>方法or属性:maxEvents: number;<br>新版本信æ¯ï¼šnumber|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:QueryRule;<br>方法or属性:names: string[];<br>旧版本信æ¯ï¼š|ç±»å:QueryRule;<br>方法or属性:names: string[];<br>新版本信æ¯ï¼šstring[]|@ohos.hiSysEvent.d.ts| +|type有å˜åŒ–|ç±»å:HiTraceId;<br>方法or属性:chainId: bigint;<br>旧版本信æ¯ï¼š|ç±»å:HiTraceId;<br>方法or属性:chainId: bigint;<br>新版本信æ¯ï¼šbigint|@ohos.hiTraceChain.d.ts| +|type有å˜åŒ–|ç±»å:HiTraceId;<br>方法or属性:spanId?: number;<br>旧版本信æ¯ï¼š|ç±»å:HiTraceId;<br>方法or属性:spanId?: number;<br>新版本信æ¯ï¼š?number|@ohos.hiTraceChain.d.ts| +|type有å˜åŒ–|ç±»å:HiTraceId;<br>方法or属性:parentSpanId?: number;<br>旧版本信æ¯ï¼š|ç±»å:HiTraceId;<br>方法or属性:parentSpanId?: number;<br>新版本信æ¯ï¼š?number|@ohos.hiTraceChain.d.ts| +|type有å˜åŒ–|ç±»å:HiTraceId;<br>方法or属性:flags?: number;<br>旧版本信æ¯ï¼š|ç±»å:HiTraceId;<br>方法or属性:flags?: number;<br>新版本信æ¯ï¼š?number|@ohos.hiTraceChain.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-data.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-data.md new file mode 100644 index 0000000000000000000000000000000000000000..e0eaf15590bf2eefcc62479450abfc9c9115fe52 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-data.md @@ -0,0 +1,123 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|åˆ é™¤|ç±»å:Action;<br>方法or属性:CLEAR_CLOUD_INFO|NA|@ohos.data.cloudData.d.ts| +|åˆ é™¤|ç±»å:Action;<br>方法or属性:CLEAR_CLOUD_DATA_AND_INFO|NA|@ohos.data.cloudData.d.ts| +|新增|NA|ç±»å:ClearAction;<br>方法or属性:CLEAR_CLOUD_INFO|@ohos.data.cloudData.d.ts| +|新增|NA|ç±»å:ClearAction;<br>方法or属性:CLEAR_CLOUD_DATA_AND_INFO|@ohos.data.cloudData.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:static clear(<br> accountId: string,<br> appActions: { [bundleName: string]: ClearAction },<br> callback: AsyncCallback\<void><br> ): void;|@ohos.data.cloudData.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:static clear(accountId: string, appActions: { [bundleName: string]: ClearAction }): Promise\<void>;|@ohos.data.cloudData.d.ts| +|新增|NA|ç±»å:preferences;<br>方法or属性:function getPreferences(context: Context, options: Options, callback: AsyncCallback\<Preferences>): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:preferences;<br>方法or属性:function getPreferences(context: Context, options: Options): Promise\<Preferences>;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:preferences;<br>方法or属性:function deletePreferences(context: Context, options: Options, callback: AsyncCallback\<void>): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:preferences;<br>方法or属性:function deletePreferences(context: Context, options: Options): Promise\<void>;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:preferences;<br>方法or属性:function removePreferencesFromCache(context: Context, options: Options, callback: AsyncCallback\<void>): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:preferences;<br>方法or属性:function removePreferencesFromCache(context: Context, options: Options): Promise\<void>;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:preferences;<br>方法or属性:function removePreferencesFromCacheSync(context: Context, name: string): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Options;<br>方法or属性:name: string;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Options;<br>方法or属性:dataGroupId?: string;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Preferences;<br>方法or属性:getSync(key: string, defValue: ValueType): ValueType;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Preferences;<br>方法or属性:getAllSync(): Object;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Preferences;<br>方法or属性:hasSync(key: string): boolean;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Preferences;<br>方法or属性:putSync(key: string, value: ValueType): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Preferences;<br>方法or属性:deleteSync(key: string): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Preferences;<br>方法or属性:clearSync(): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Preferences;<br>方法or属性:on(type: 'multiProcessChange', callback: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:Preferences;<br>方法or属性:off(type: 'multiProcessChange', callback?: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts| +|新增|NA|ç±»å:relationalStore;<br>方法or属性:type Assets = Asset[];|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:relationalStore;<br>方法or属性:type PRIKeyType = number \| string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:relationalStore;<br>方法or属性:type UTCTime = Date;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:relationalStore;<br>方法or属性:type ModifyTime = Map\<PRIKeyType, UTCTime>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:relationalStore;<br>方法or属性:function deleteRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:relationalStore;<br>方法or属性:function deleteRdbStore(context: Context, config: StoreConfig): Promise\<void>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:AssetStatus;<br>方法or属性:ASSET_NORMAL|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:AssetStatus;<br>方法or属性:ASSET_INSERT|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:AssetStatus;<br>方法or属性:ASSET_UPDATE|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:AssetStatus;<br>方法or属性:ASSET_DELETE|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:AssetStatus;<br>方法or属性:ASSET_ABNORMAL|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:AssetStatus;<br>方法or属性:ASSET_DOWNLOADING|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Asset;<br>方法or属性:name: string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Asset;<br>方法or属性:uri: string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Asset;<br>方法or属性:path: string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Asset;<br>方法or属性:createTime: string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Asset;<br>方法or属性:modifyTime: string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Asset;<br>方法or属性:size: string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Asset;<br>方法or属性:status?: AssetStatus;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:StoreConfig;<br>方法or属性:dataGroupId?: string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Progress;<br>方法or属性:SYNC_BEGIN|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Progress;<br>方法or属性:SYNC_IN_PROGRESS|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Progress;<br>方法or属性:SYNC_FINISH|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Statistic;<br>方法or属性:total: number;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Statistic;<br>方法or属性:successful: number;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Statistic;<br>方法or属性:failed: number;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:Statistic;<br>方法or属性:remained: number;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:TableDetails;<br>方法or属性:upload: Statistic;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:TableDetails;<br>方法or属性:download: Statistic;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressCode;<br>方法or属性:SUCCESS|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressCode;<br>方法or属性:UNKNOWN_ERROR|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressCode;<br>方法or属性:NETWORK_ERROR|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressCode;<br>方法or属性:CLOUD_DISABLED|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressCode;<br>方法or属性:LOCKED_BY_OTHERS|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressCode;<br>方法or属性:RECORD_LIMIT_EXCEEDED|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressCode;<br>方法or属性:NO_SPACE_FOR_ASSET|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressDetails;<br>方法or属性:schedule: Progress;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressDetails;<br>方法or属性:code: ProgressCode;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ProgressDetails;<br>方法or属性:details: {<br> [table: string]: TableDetails;<br> };|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:SyncMode;<br>方法or属性:SYNC_MODE_TIME_FIRST|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:SyncMode;<br>方法or属性:SYNC_MODE_NATIVE_FIRST|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:SyncMode;<br>方法or属性:SYNC_MODE_CLOUD_FIRST|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:SubscribeType;<br>方法or属性:SUBSCRIBE_TYPE_CLOUD_DETAILS|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ChangeType;<br>方法or属性:DATA_CHANGE|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ChangeType;<br>方法or属性:ASSET_CHANGE|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ChangeInfo;<br>方法or属性:table: string;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ChangeInfo;<br>方法or属性:type: ChangeType;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ChangeInfo;<br>方法or属性:inserted: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ChangeInfo;<br>方法or属性:updated: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ChangeInfo;<br>方法or属性:deleted: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:DistributedType;<br>方法or属性:DISTRIBUTED_DEVICE|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:DistributedType;<br>方法or属性:DISTRIBUTED_CLOUD|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:DistributedConfig;<br>方法or属性:autoSync: boolean;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ResultSet;<br>方法or属性:getAsset(columnIndex: number): Asset;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:ResultSet;<br>方法or属性:getAssets(columnIndex: number): Assets;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise\<ModifyTime>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:getModifyTime(<br> table: string,<br> columnName: string,<br> primaryKeys: PRIKeyType[],<br> callback: AsyncCallback\<ModifyTime><br> ): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:setDistributedTables(tables: Array\<string>, type: DistributedType, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:setDistributedTables(<br> tables: Array\<string>,<br> type: DistributedType,<br> config: DistributedConfig,<br> callback: AsyncCallback\<void><br> ): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:setDistributedTables(tables: Array\<string>, type?: DistributedType, config?: DistributedConfig): Promise\<void>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:cloudSync(mode: SyncMode, progress: Callback\<ProgressDetails>, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:cloudSync(mode: SyncMode, progress: Callback\<ProgressDetails>): Promise\<void>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:cloudSync(<br> mode: SyncMode,<br> tables: string[],<br> progress: Callback\<ProgressDetails>,<br> callback: AsyncCallback\<void><br> ): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:cloudSync(mode: SyncMode, tables: string[], progress: Callback\<ProgressDetails>): Promise\<void>;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:on(event: 'dataChange', type: SubscribeType, observer: Callback\<Array\<string>> \| Callback\<Array\<ChangeInfo>>): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:on(event: string, interProcess: boolean, observer: Callback\<void>): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:off(<br> event: 'dataChange',<br> type: SubscribeType,<br> observer?: Callback\<Array\<string>> \| Callback\<Array\<ChangeInfo>><br> ): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:off(event: string, interProcess: boolean, observer?: Callback\<void>): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:RdbStore;<br>方法or属性:emit(event: string): void;|@ohos.data.relationalStore.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:type Options = {<br> /**<br> * indicates the target Intention<br> *<br> * @syscap SystemCapability.DistributedDataManager.UDMF.Core<br> * @since 10<br> */<br> intention?: Intention;<br><br> /**<br> * indicates the unique identifier of target UnifiedData<br> *<br> * @syscap SystemCapability.DistributedDataManager.UDMF.Core<br> * @since 10<br> */<br> key?: string;<br> };|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:function insertData(options: Options, data: UnifiedData, callback: AsyncCallback\<string>): void;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:function insertData(options: Options, data: UnifiedData): Promise\<string>;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:function updateData(options: Options, data: UnifiedData, callback: AsyncCallback\<void>): void;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:function updateData(options: Options, data: UnifiedData): Promise\<void>;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:function queryData(options: Options, callback: AsyncCallback\<Array\<UnifiedData>>): void;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:function queryData(options: Options): Promise\<Array\<UnifiedData>>;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:function deleteData(options: Options, callback: AsyncCallback\<Array\<UnifiedData>>): void;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UDMF;<br>方法or属性:function deleteData(options: Options): Promise\<Array\<UnifiedData>>;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:UnifiedDataType;<br>方法or属性:AUDIO = 'File.Media.Audio'|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:Audio;<br>方法or属性:audioUri: string;|@ohos.data.UDMF.d.ts| +|新增|NA|ç±»å:Intention;<br>方法or属性:DATA_HUB = 'DataHub'|@ohos.data.UDMF.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DataAbilityPredicates;<br>方法or属性:limitAs(value: number): DataAbilityPredicates;<br>旧版本信æ¯ï¼šIllegalPredicateException|ç±»å:DataAbilityPredicates;<br>方法or属性:limitAs(value: number): DataAbilityPredicates;<br>新版本信æ¯ï¼š|@ohos.data.dataAbility.d.ts| +|错误ç 有å˜åŒ–|ç±»å:relationalStore;<br>方法or属性:function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<RdbStore>): void;<br>旧版本信æ¯ï¼š401,14800000,14800010,14800011|ç±»å:relationalStore;<br>方法or属性:function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<RdbStore>): void;<br>新版本信æ¯ï¼š401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts| +|错误ç 有å˜åŒ–|ç±»å:relationalStore;<br>方法or属性:function getRdbStore(context: Context, config: StoreConfig): Promise\<RdbStore>;<br>旧版本信æ¯ï¼š401,14800000,14800010,14800011|ç±»å:relationalStore;<br>方法or属性:function getRdbStore(context: Context, config: StoreConfig): Promise\<RdbStore>;<br>新版本信æ¯ï¼š401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts| +|访问级别有å˜åŒ–|ç±»å:dataSharePredicates;<br>方法or属性:declare dataSharePredicates<br>旧版本信æ¯ï¼šsystemapi|ç±»å:dataSharePredicates;<br>方法or属性:declare dataSharePredicates<br>新版本信æ¯ï¼š|@ohos.data.dataSharePredicates.d.ts| +|访问级别有å˜åŒ–|ç±»å:DataSharePredicates;<br>方法or属性:class DataSharePredicates<br>旧版本信æ¯ï¼šsystemapi|ç±»å:DataSharePredicates;<br>方法or属性:class DataSharePredicates<br>新版本信æ¯ï¼š|@ohos.data.dataSharePredicates.d.ts| +|访问级别有å˜åŒ–|ç±»å:DataSharePredicates;<br>方法or属性:equalTo(field: string, value: ValueType): DataSharePredicates;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:DataSharePredicates;<br>方法or属性:equalTo(field: string, value: ValueType): DataSharePredicates;<br>新版本信æ¯ï¼š|@ohos.data.dataSharePredicates.d.ts| +|访问级别有å˜åŒ–|ç±»å:DataSharePredicates;<br>方法or属性:and(): DataSharePredicates;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:DataSharePredicates;<br>方法or属性:and(): DataSharePredicates;<br>新版本信æ¯ï¼š|@ohos.data.dataSharePredicates.d.ts| +|访问级别有å˜åŒ–|ç±»å:DataSharePredicates;<br>方法or属性:orderByAsc(field: string): DataSharePredicates;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:DataSharePredicates;<br>方法or属性:orderByAsc(field: string): DataSharePredicates;<br>新版本信æ¯ï¼š|@ohos.data.dataSharePredicates.d.ts| +|访问级别有å˜åŒ–|ç±»å:DataSharePredicates;<br>方法or属性:orderByDesc(field: string): DataSharePredicates;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:DataSharePredicates;<br>方法or属性:orderByDesc(field: string): DataSharePredicates;<br>新版本信æ¯ï¼š|@ohos.data.dataSharePredicates.d.ts| +|访问级别有å˜åŒ–|ç±»å:DataSharePredicates;<br>方法or属性:limit(total: number, offset: number): DataSharePredicates;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:DataSharePredicates;<br>方法or属性:limit(total: number, offset: number): DataSharePredicates;<br>新版本信æ¯ï¼š|@ohos.data.dataSharePredicates.d.ts| +|访问级别有å˜åŒ–|ç±»å:DataSharePredicates;<br>方法or属性:in(field: string, value: Array\<ValueType>): DataSharePredicates;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:DataSharePredicates;<br>方法or属性:in(field: string, value: Array\<ValueType>): DataSharePredicates;<br>新版本信æ¯ï¼š|@ohos.data.dataSharePredicates.d.ts| +|访问级别有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:export type ValueType = number \| string \| boolean;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:sourcefile;<br>方法or属性:export type ValueType = number \| string \| boolean;<br>新版本信æ¯ï¼š|@ohos.data.ValuesBucket.d.ts| +|访问级别有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:export type ValuesBucket = {<br><br> [key: string]: ValueType \| Uint8Array \| null;<br><br>};<br>旧版本信æ¯ï¼šsystemapi|ç±»å:sourcefile;<br>方法or属性:export type ValuesBucket = {<br><br> [key: string]: ValueType \| Uint8Array \| null;<br><br>};<br>新版本信æ¯ï¼š|@ohos.data.ValuesBucket.d.ts| +|type有å˜åŒ–|ç±»å:DataShareExtensionAbility;<br>方法or属性:context: ExtensionContext;<br>旧版本信æ¯ï¼š|ç±»å:DataShareExtensionAbility;<br>方法or属性:context: ExtensionContext;<br>新版本信æ¯ï¼šExtensionContext|@ohos.application.DataShareExtensionAbility.d.ts| +|函数有å˜åŒ–|ç±»å:DataShareExtensionAbility;<br>方法or属性:context?: ExtensionContext;|ç±»å:DataShareExtensionAbility;<br>方法or属性:context: ExtensionContext;|@ohos.application.DataShareExtensionAbility.d.ts| +|函数有å˜åŒ–|ç±»å:PublishedItem;<br>方法or属性:data: string \| Ashmem;|ç±»å:PublishedItem;<br>方法or属性:data: string \| ArrayBuffer;|@ohos.data.dataShare.d.ts| +|函数有å˜åŒ–|ç±»å:relationalStore;<br>方法or属性:type ValueType = null \| number \| string \| boolean \| Uint8Array;|ç±»å:relationalStore;<br>方法or属性:type ValueType = null \| number \| string \| boolean \| Uint8Array \| Asset \| Assets;|@ohos.data.relationalStore.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-hardware.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-hardware.md new file mode 100644 index 0000000000000000000000000000000000000000..d50d73313f9cc83fb478937fa84108129a6e8430 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-hardware.md @@ -0,0 +1,158 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:distributedDeviceManager;<br>方法or属性:function createDeviceManager(bundleName: string): DeviceManager;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:distributedDeviceManager;<br>方法or属性:function releaseDeviceManager(deviceManager: DeviceManager): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceBasicInfo;<br>方法or属性:deviceId: string;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceBasicInfo;<br>方法or属性:deviceName: string;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceBasicInfo;<br>方法or属性:deviceType: number;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceBasicInfo;<br>方法or属性:networkId?: string;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceStateChange;<br>方法or属性:UNKNOWN = 0|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceStateChange;<br>方法or属性:AVAILABLE = 1|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceStateChange;<br>方法or属性:UNAVAILABLE = 2|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getAvailableDeviceListSync(): Array\<DeviceBasicInfo>;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getAvailableDeviceList(callback: AsyncCallback\<Array\<DeviceBasicInfo>>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getAvailableDeviceList(): Promise\<Array\<DeviceBasicInfo>>;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceNetworkId(): string;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceName(): string;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceType(): number;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceId(): string;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getDeviceName(networkId: string): string;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getDeviceType(networkId: string): number;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:startDiscovering(discoverParam: { [key: string]: Object }, filterOptions?: { [key: string]: Object }): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:stopDiscovering(): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:bindTarget(deviceId: string, bindParam: { [key: string]: Object }, callback: AsyncCallback\<{deviceId: string}>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:unbindTarget(deviceId: string): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:replyUiAction(action: number, actionResult: string): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:on(type: 'discoverSuccess', callback: Callback\<{ device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceNameChange', callback: Callback\<{ deviceName: string }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:on(type: 'discoverFailure', callback: Callback\<{ reason: number }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback?: Callback\<{}>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:on(type: 'replyResult', callback: Callback\<{ param: string }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:off(type: 'discoverSuccess', callback?: Callback\<{ device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceNameChange', callback?: Callback\<{ deviceName: string }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:off(type: 'discoverFailure', callback?: Callback\<{ reason: number }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: Callback\<{}>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:off(type: 'replyResult', callback?: Callback\<{ param: string }>): void;|@ohos.distributedDeviceManager.d.ts| +|新增|NA|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(isRefresh: boolean): Array\<DeviceInfo>;|@ohos.distributedHardware.deviceManager.d.ts| +|新增(错误ç )|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>新版本信æ¯ï¼š202|@ohos.distributedHardware.deviceManager.d.ts| +|新增(错误ç )|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>新版本信æ¯ï¼š202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:deviceManager;<br>方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>旧版本信æ¯ï¼š401|ç±»å:deviceManager;<br>方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:release(): void;<br>旧版本信æ¯ï¼š11600101|ç±»å:DeviceManager;<br>方法or属性:release(): void;<br>新版本信æ¯ï¼š202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>旧版本信æ¯ï¼š11600101|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>新版本信æ¯ï¼š202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>新版本信æ¯ï¼š202,401|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>旧版本信æ¯ï¼š11600101|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>新版本信æ¯ï¼š202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>旧版本信æ¯ï¼š401,201,11600104,11600101|ç±»å:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>新版本信æ¯ï¼š401,202,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>旧版本信æ¯ï¼š401,201,11600104,11600101|ç±»å:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>新版本信æ¯ï¼š401,202,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>旧版本信æ¯ï¼š401,201,11600101|ç±»å:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>新版本信æ¯ï¼š401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>旧版本信æ¯ï¼š401,201,11600105,11600101|ç±»å:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>新版本信æ¯ï¼š401,202,201,11600105,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>旧版本信æ¯ï¼š401,201,11600101|ç±»å:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>新版本信æ¯ï¼š401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:authenticateDevice(<br> deviceInfo: DeviceInfo,<br> authParam: AuthParam,<br> callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br> ): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:authenticateDevice(<br> deviceInfo: DeviceInfo,<br> authParam: AuthParam,<br> callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br> ): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>旧版本信æ¯ï¼š401,201,11600101|ç±»å:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>新版本信æ¯ï¼š401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>新版本信æ¯ï¼š401,202,201|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>旧版本信æ¯ï¼š401|ç±»å:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>新版本信æ¯ï¼š401,202|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceInfo;<br>方法or属性:deviceId: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceInfo;<br>方法or属性:deviceId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceInfo;<br>方法or属性:deviceName: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceInfo;<br>方法or属性:deviceName: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceInfo;<br>方法or属性:deviceType: DeviceType;<br>旧版本信æ¯ï¼š|ç±»å:DeviceInfo;<br>方法or属性:deviceType: DeviceType;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceInfo;<br>方法or属性:networkId: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceInfo;<br>方法or属性:networkId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceInfo;<br>方法or属性:range: number;<br>旧版本信æ¯ï¼š|ç±»å:DeviceInfo;<br>方法or属性:range: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceInfo;<br>方法or属性:authForm: AuthForm;<br>旧版本信æ¯ï¼š|ç±»å:DeviceInfo;<br>方法or属性:authForm: AuthForm;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthForm;<br>方法or属性:INVALID_TYPE = -1<br>旧版本信æ¯ï¼š|ç±»å:AuthForm;<br>方法or属性:INVALID_TYPE = -1<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthForm;<br>方法or属性:PEER_TO_PEER = 0<br>旧版本信æ¯ï¼š|ç±»å:AuthForm;<br>方法or属性:PEER_TO_PEER = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthForm;<br>方法or属性:IDENTICAL_ACCOUNT = 1<br>旧版本信æ¯ï¼š|ç±»å:AuthForm;<br>方法or属性:IDENTICAL_ACCOUNT = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthForm;<br>方法or属性:ACROSS_ACCOUNT = 2<br>旧版本信æ¯ï¼š|ç±»å:AuthForm;<br>方法or属性:ACROSS_ACCOUNT = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceType;<br>方法or属性:UNKNOWN_TYPE = 0<br>旧版本信æ¯ï¼š|ç±»å:DeviceType;<br>方法or属性:UNKNOWN_TYPE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceType;<br>方法or属性:SPEAKER = 0x0A<br>旧版本信æ¯ï¼š|ç±»å:DeviceType;<br>方法or属性:SPEAKER = 0x0A<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceType;<br>方法or属性:PHONE = 0x0E<br>旧版本信æ¯ï¼š|ç±»å:DeviceType;<br>方法or属性:PHONE = 0x0E<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceType;<br>方法or属性:TABLET = 0x11<br>旧版本信æ¯ï¼š|ç±»å:DeviceType;<br>方法or属性:TABLET = 0x11<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceType;<br>方法or属性:WEARABLE = 0x6D<br>旧版本信æ¯ï¼š|ç±»å:DeviceType;<br>方法or属性:WEARABLE = 0x6D<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceType;<br>方法or属性:CAR = 0x83<br>旧版本信æ¯ï¼š|ç±»å:DeviceType;<br>方法or属性:CAR = 0x83<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceType;<br>方法or属性:TV = 0x9C<br>旧版本信æ¯ï¼š|ç±»å:DeviceType;<br>方法or属性:TV = 0x9C<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceStateChangeAction;<br>方法or属性:ONLINE = 0<br>旧版本信æ¯ï¼š|ç±»å:DeviceStateChangeAction;<br>方法or属性:ONLINE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceStateChangeAction;<br>方法or属性:READY = 1<br>旧版本信æ¯ï¼š|ç±»å:DeviceStateChangeAction;<br>方法or属性:READY = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceStateChangeAction;<br>方法or属性:OFFLINE = 2<br>旧版本信æ¯ï¼š|ç±»å:DeviceStateChangeAction;<br>方法or属性:OFFLINE = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceStateChangeAction;<br>方法or属性:CHANGE = 3<br>旧版本信æ¯ï¼š|ç±»å:DeviceStateChangeAction;<br>方法or属性:CHANGE = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeInfo;<br>方法or属性:subscribeId: number;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeInfo;<br>方法or属性:subscribeId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeInfo;<br>方法or属性:mode: DiscoverMode;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeInfo;<br>方法or属性:mode: DiscoverMode;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:PublishInfo;<br>方法or属性:mode: DiscoverMode;<br>旧版本信æ¯ï¼š|ç±»å:PublishInfo;<br>方法or属性:mode: DiscoverMode;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeInfo;<br>方法or属性:medium: ExchangeMedium;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeInfo;<br>方法or属性:medium: ExchangeMedium;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeInfo;<br>方法or属性:freq: ExchangeFreq;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeInfo;<br>方法or属性:freq: ExchangeFreq;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:PublishInfo;<br>方法or属性:freq: ExchangeFreq;<br>旧版本信æ¯ï¼š|ç±»å:PublishInfo;<br>方法or属性:freq: ExchangeFreq;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeInfo;<br>方法or属性:isSameAccount: boolean;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeInfo;<br>方法or属性:isSameAccount: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeInfo;<br>方法or属性:isWakeRemote: boolean;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeInfo;<br>方法or属性:isWakeRemote: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeInfo;<br>方法or属性:capability: SubscribeCap;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeInfo;<br>方法or属性:capability: SubscribeCap;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:PublishInfo;<br>方法or属性:publishId: number;<br>旧版本信æ¯ï¼š|ç±»å:PublishInfo;<br>方法or属性:publishId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:PublishInfo;<br>方法or属性:ranging: boolean;<br>旧版本信æ¯ï¼š|ç±»å:PublishInfo;<br>方法or属性:ranging: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DiscoverMode;<br>方法or属性:DISCOVER_MODE_PASSIVE = 0x55<br>旧版本信æ¯ï¼š|ç±»å:DiscoverMode;<br>方法or属性:DISCOVER_MODE_PASSIVE = 0x55<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DiscoverMode;<br>方法or属性:DISCOVER_MODE_ACTIVE = 0xAA<br>旧版本信æ¯ï¼š|ç±»å:DiscoverMode;<br>方法or属性:DISCOVER_MODE_ACTIVE = 0xAA<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExchangeMedium;<br>方法or属性:AUTO = 0<br>旧版本信æ¯ï¼š|ç±»å:ExchangeMedium;<br>方法or属性:AUTO = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExchangeMedium;<br>方法or属性:BLE = 1<br>旧版本信æ¯ï¼š|ç±»å:ExchangeMedium;<br>方法or属性:BLE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExchangeMedium;<br>方法or属性:COAP = 2<br>旧版本信æ¯ï¼š|ç±»å:ExchangeMedium;<br>方法or属性:COAP = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExchangeMedium;<br>方法or属性:USB = 3<br>旧版本信æ¯ï¼š|ç±»å:ExchangeMedium;<br>方法or属性:USB = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExchangeFreq;<br>方法or属性:LOW = 0<br>旧版本信æ¯ï¼š|ç±»å:ExchangeFreq;<br>方法or属性:LOW = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExchangeFreq;<br>方法or属性:MID = 1<br>旧版本信æ¯ï¼š|ç±»å:ExchangeFreq;<br>方法or属性:MID = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExchangeFreq;<br>方法or属性:HIGH = 2<br>旧版本信æ¯ï¼š|ç±»å:ExchangeFreq;<br>方法or属性:HIGH = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExchangeFreq;<br>方法or属性:SUPER_HIGH = 3<br>旧版本信æ¯ï¼š|ç±»å:ExchangeFreq;<br>方法or属性:SUPER_HIGH = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_DDMP = 0<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_DDMP = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_OSD = 1<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_OSD = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthParam;<br>方法or属性:authType: number;<br>旧版本信æ¯ï¼š|ç±»å:AuthParam;<br>方法or属性:authType: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthInfo;<br>方法or属性:authType: number;<br>旧版本信æ¯ï¼š|ç±»å:AuthInfo;<br>方法or属性:authType: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthParam;<br>方法or属性:extraInfo: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:AuthParam;<br>方法or属性:extraInfo: { [key: string]: any };<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthInfo;<br>方法or属性:extraInfo: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:AuthInfo;<br>方法or属性:extraInfo: { [key: string]: any };<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:AuthInfo;<br>方法or属性:token: number;<br>旧版本信æ¯ï¼š|ç±»å:AuthInfo;<br>方法or属性:token: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:release(): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:release(): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:authenticateDevice(<br> deviceInfo: DeviceInfo,<br> authParam: AuthParam,<br> callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:authenticateDevice(<br> deviceInfo: DeviceInfo,<br> authParam: AuthParam,<br> callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br> ): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>旧版本信æ¯ï¼š|ç±»å:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>新版本信æ¯ï¼šohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-download-upload.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-download-upload.md new file mode 100644 index 0000000000000000000000000000000000000000..7539085c424c507e9c758421cc01c52a23d80e44 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-download-upload.md @@ -0,0 +1,111 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:agent;<br>方法or属性:function create(context: BaseContext, config: Config, callback: AsyncCallback\<Task>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function create(context: BaseContext, config: Config): Promise\<Task>;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function remove(id: string, callback: AsyncCallback\<void>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function remove(id: string): Promise\<void>;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function show(id: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function show(id: string): Promise\<TaskInfo>;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function touch(id: string, token: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function touch(id: string, token: string): Promise\<TaskInfo>;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function search(filter: Filter, callback: AsyncCallback\<Array\<string>>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function search(filter: Filter): Promise\<Array\<string>>;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function query(id: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:agent;<br>方法or属性:function query(id: string): Promise\<TaskInfo>;|@ohos.request.d.ts| +|新增|NA|ç±»å:Action;<br>方法or属性:DOWNLOAD|@ohos.request.d.ts| +|新增|NA|ç±»å:Action;<br>方法or属性:UPLOAD|@ohos.request.d.ts| +|新增|NA|ç±»å:Mode;<br>方法or属性:BACKGROUND|@ohos.request.d.ts| +|新增|NA|ç±»å:Mode;<br>方法or属性:FOREGROUND|@ohos.request.d.ts| +|新增|NA|ç±»å:Network;<br>方法or属性:ANY|@ohos.request.d.ts| +|新增|NA|ç±»å:Network;<br>方法or属性:WIFI|@ohos.request.d.ts| +|新增|NA|ç±»å:Network;<br>方法or属性:CELLULAR|@ohos.request.d.ts| +|新增|NA|ç±»å:FileSpec;<br>方法or属性:path: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:FileSpec;<br>方法or属性:mimeType?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:FileSpec;<br>方法or属性:filename?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:FileSpec;<br>方法or属性:extras?: object;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:extras?: object;|@ohos.request.d.ts| +|新增|NA|ç±»å:FormItem;<br>方法or属性:name: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:FormItem;<br>方法or属性:value: string \| FileSpec \| Array\<FileSpec>;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:action: Action;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:url: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:title?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:description?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:mode?: Mode;|@ohos.request.d.ts| +|新增|NA|ç±»å:Filter;<br>方法or属性:mode?: Mode;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:overwrite?: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:method?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:headers?: object;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:data?: string \| Array\<FormItem>;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:saveas?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:network?: Network;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:metered?: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:roaming?: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:retry?: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:redirect?: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:index?: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:begins?: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:ends?: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:gauge?: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:precise?: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:Config;<br>方法or属性:token?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:INITIALIZED = 0x00|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:WAITING = 0x10|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:RUNNING = 0x20|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:RETRYING = 0x21|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:PAUSED = 0x30|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:STOPPED = 0x31|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:COMPLETED = 0x40|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:FAILED = 0x41|@ohos.request.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:REMOVED = 0x50|@ohos.request.d.ts| +|新增|NA|ç±»å:Progress;<br>方法or属性:readonly state: State;|@ohos.request.d.ts| +|新增|NA|ç±»å:Progress;<br>方法or属性:readonly index: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:Progress;<br>方法or属性:readonly processed: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:Progress;<br>方法or属性:readonly sizes: Array\<number>;|@ohos.request.d.ts| +|新增|NA|ç±»å:Progress;<br>方法or属性:readonly extras?: object;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly extras?: object;|@ohos.request.d.ts| +|新增|NA|ç±»å:Faults;<br>方法or属性:OTHERS = 0xFF|@ohos.request.d.ts| +|新增|NA|ç±»å:Faults;<br>方法or属性:DISCONNECTED = 0x00|@ohos.request.d.ts| +|新增|NA|ç±»å:Faults;<br>方法or属性:TIMEOUT = 0x10|@ohos.request.d.ts| +|新增|NA|ç±»å:Faults;<br>方法or属性:PROTOCOL = 0x20|@ohos.request.d.ts| +|新增|NA|ç±»å:Faults;<br>方法or属性:FSIO = 0x40|@ohos.request.d.ts| +|新增|NA|ç±»å:Filter;<br>方法or属性:bundle?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:Filter;<br>方法or属性:before?: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:Filter;<br>方法or属性:after?: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:Filter;<br>方法or属性:state?: State;|@ohos.request.d.ts| +|新增|NA|ç±»å:Filter;<br>方法or属性:action?: Action;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly uid?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly bundle?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly saveas?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly url?: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly data?: string \| Array\<FormItem>;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly tid: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:readonly tid: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly title: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly description: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly action: Action;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly mode: Mode;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly mimeType: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly progress: Progress;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly gauge: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly ctime: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly mtime: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly retry: boolean;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly tries: number;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly faults: Faults;|@ohos.request.d.ts| +|新增|NA|ç±»å:TaskInfo;<br>方法or属性:readonly reason: string;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:config: Config;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:on(event: 'progress', callback: (progress: Progress) => void): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:on(event: 'completed', callback: (progress: Progress) => void): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:on(event: 'failed', callback: (progress: Progress) => void): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:off(event: 'progress', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:off(event: 'completed', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:off(event: 'failed', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:start(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:start(): Promise\<void>;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:pause(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:pause(): Promise\<void>;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:resume(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:resume(): Promise\<void>;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts| +|新增|NA|ç±»å:Task;<br>方法or属性:stop(): Promise\<void>;|@ohos.request.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:request;<br>方法or属性:declare request<br>旧版本信æ¯ï¼šohos.permission.INTERNET|ç±»å:request;<br>方法or属性:declare request<br>新版本信æ¯ï¼š|@ohos.request.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-driver.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-driver.md new file mode 100644 index 0000000000000000000000000000000000000000..6f913f40e83b2d1e60cb3ef728e04544aa463132 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-driver.md @@ -0,0 +1,20 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:DriverExtensionAbility;<br>方法or属性:context: DriverExtensionContext;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|新增|NA|ç±»å:DriverExtensionAbility;<br>方法or属性:onInit(want: Want): void;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|新增|NA|ç±»å:DriverExtensionAbility;<br>方法or属性:onRelease(): void;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|新增|NA|ç±»å:DriverExtensionAbility;<br>方法or属性:onConnect(want: Want): rpc.RemoteObject \| Promise\<rpc.RemoteObject>;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|新增|NA|ç±»å:DriverExtensionAbility;<br>方法or属性:onDisconnect(want: Want): void \| Promise\<void>;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|新增|NA|ç±»å:DriverExtensionAbility;<br>方法or属性:onDump(params: Array\<string>): Array\<string>;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|新增|NA|ç±»å:deviceManager;<br>方法or属性:function queryDevices(busType?: number): Array\<Readonly\<Device>>;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:deviceManager;<br>方法or属性:function bindDevice(deviceId: number, onDisconnect: AsyncCallback\<number>,<br><br> callback: AsyncCallback\<{deviceId: number, remote: rpc.IRemoteObject}>): void;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:deviceManager;<br>方法or属性:function bindDevice(deviceId: number, onDisconnect: AsyncCallback\<number>): Promise\<{deviceId: number,<br><br> remote: rpc.IRemoteObject}>;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:deviceManager;<br>方法or属性:function unbindDevice(deviceId: number, callback: AsyncCallback\<number>): void;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:deviceManager;<br>方法or属性:function unbindDevice(deviceId: number): Promise\<number>;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:BusType;<br>方法or属性:USB = 1|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:Device;<br>方法or属性:busType: BusType;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:Device;<br>方法or属性:deviceId: number;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:Device;<br>方法or属性:description: string;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:USBDevice;<br>方法or属性:vendorId: number;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:USBDevice;<br>方法or属性:productId: number;|@ohos.driver.deviceManager.d.ts| +|新增|NA|ç±»å:DriverExtensionContext;<br>方法or属性:updateDriverState(): void;|DriverExtensionContext.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-file-management.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-file-management.md new file mode 100644 index 0000000000000000000000000000000000000000..6f3ccd09592716948f2204d50908d95304b18b1a --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-file-management.md @@ -0,0 +1,448 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:SyncState;<br>方法or属性:UPLOADING|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:SyncState;<br>方法or属性:UPLOAD_FAILED|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:SyncState;<br>方法or属性:DOWNLOADING|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:SyncState;<br>方法or属性:DOWNLOAD_FAILED|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:SyncState;<br>方法or属性:COMPLETED|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:COMPLETED|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:SyncState;<br>方法or属性:STOPPED|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:STOPPED|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:ErrorType;<br>方法or属性:NO_ERROR|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:ErrorType;<br>方法or属性:NETWORK_UNAVAILABLE|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:ErrorType;<br>方法or属性:WIFI_UNAVAILABLE|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:ErrorType;<br>方法or属性:BATTERY_LEVEL_LOW|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:ErrorType;<br>方法or属性:BATTERY_LEVEL_WARNING|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:ErrorType;<br>方法or属性:CLOUD_STORAGE_FULL|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:ErrorType;<br>方法or属性:LOCAL_STORAGE_FULL|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:SyncProgress;<br>方法or属性:state: SyncState;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:SyncProgress;<br>方法or属性:error: ErrorType;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:GallerySync;<br>方法or属性:constructor();|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:Download;<br>方法or属性:constructor();|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:GallerySync;<br>方法or属性:on(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:GallerySync;<br>方法or属性:off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:Download;<br>方法or属性:off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:GallerySync;<br>方法or属性:start(): Promise\<void>;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:GallerySync;<br>方法or属性:start(callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:GallerySync;<br>方法or属性:stop(): Promise\<void>;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:GallerySync;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:RUNNING|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:State;<br>方法or属性:FAILED|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:DownloadProgress;<br>方法or属性:state: State;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:DownloadProgress;<br>方法or属性:processed: number;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:DownloadProgress;<br>方法or属性:size: number;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:DownloadProgress;<br>方法or属性:uri: string;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:Download;<br>方法or属性:on(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:Download;<br>方法or属性:start(uri: string): Promise\<void>;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:Download;<br>方法or属性:start(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:Download;<br>方法or属性:stop(uri: string): Promise\<void>;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:Download;<br>方法or属性:stop(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| +|新增|NA|ç±»å:cloudSyncManager;<br>方法or属性:function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| +|新增|NA|ç±»å:cloudSyncManager;<br>方法or属性:function enableCloud(<br> accountId: string,<br> switches: { [bundleName: string]: boolean },<br> callback: AsyncCallback\<void><br> ): void;|@ohos.file.cloudSyncManager.d.ts| +|新增|NA|ç±»å:cloudSyncManager;<br>方法or属性:function disableCloud(accountId: string): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| +|新增|NA|ç±»å:cloudSyncManager;<br>方法or属性:function disableCloud(accountId: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts| +|新增|NA|ç±»å:cloudSyncManager;<br>方法or属性:function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| +|新增|NA|ç±»å:cloudSyncManager;<br>方法or属性:function clean(accountId: string, appActions: { [bundleName: string]: Action }, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts| +|新增|NA|ç±»å:Action;<br>方法or属性:RETAIN_DATA|@ohos.file.cloudSyncManager.d.ts| +|新增|NA|ç±»å:Action;<br>方法or属性:CLEAR_DATA|@ohos.file.cloudSyncManager.d.ts| +|新增|NA|ç±»å:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, mode?: number): Promise\<RandomAccessFile>;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, callback: AsyncCallback\<RandomAccessFile>): void;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, mode: number, callback: AsyncCallback\<RandomAccessFile>): void;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:sourcefile;<br>方法or属性:declare function createRandomAccessFileSync(file: string \| File, mode?: number): RandomAccessFile;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:readonly fd: number;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:readonly filePointer: number;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:setFilePointer(filePointer: number): void;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:close(): void;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br> ): Promise\<number>;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:writeSync(<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br> ): number;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br> ): Promise\<number>;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br> ): void;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:RandomAccessFile;<br>方法or属性:readSync(<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br> ): number;|@ohos.file.fs.d.ts| +|新增|NA|ç±»å:photoAccessHelper;<br>方法or属性:function getPhotoAccessHelper(context: Context): PhotoAccessHelper;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:photoAccessHelper;<br>方法or属性:type MemberType = number \| string \| boolean;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoType;<br>方法or属性:IMAGE = 1|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoType;<br>方法or属性:VIDEO|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumSubtype;<br>方法or属性:VIDEO|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoSubtype;<br>方法or属性:DEFAULT|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoSubtype;<br>方法or属性:SCREENSHOT|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumSubtype;<br>方法or属性:SCREENSHOT|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PositionType;<br>方法or属性:LOCAL = 1 \<\< 0|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PositionType;<br>方法or属性:CLOUD = 1 \<\< 1|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:readonly uri: string;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:readonly photoType: PhotoType;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:readonly displayName: string;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:get(member: string): MemberType;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:set(member: string, value: string): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:commitModify(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:commitModify(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:open(mode: string, callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:open(mode: string): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:getReadOnlyFd(callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:getReadOnlyFd(): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:close(fd: number, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:close(fd: number): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:getThumbnail(size: image.Size, callback: AsyncCallback\<image.PixelMap>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:getThumbnail(size?: image.Size): Promise\<image.PixelMap>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:URI = 'uri'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumKeys;<br>方法or属性:URI = 'uri'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:PHOTO_TYPE = 'media_type'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:DISPLAY_NAME = 'display_name'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:SIZE = 'size'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:DATE_ADDED = 'date_added'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:DATE_MODIFIED = 'date_modified'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:DURATION = 'duration'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:WIDTH = 'width'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:HEIGHT = 'height'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:DATE_TAKEN = 'date_taken'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:ORIENTATION = 'orientation'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:FAVORITE = 'is_favorite'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:TITLE = 'title'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:POSITION = 'position'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:DATE_TRASHED = 'date_trashed'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoKeys;<br>方法or属性:HIDDEN = 'hidden'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumKeys;<br>方法or属性:ALBUM_NAME = 'album_name'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchOptions;<br>方法or属性:fetchColumns: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchOptions;<br>方法or属性:predicates: dataSharePredicates.DataSharePredicates;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoCreateOptions;<br>方法or属性:subtype?: PhotoSubtype;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:CreateOptions;<br>方法or属性:title?: string;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getCount(): number;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:isAfterLast(): boolean;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getFirstObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getFirstObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getNextObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getNextObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getLastObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getLastObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getObjectByPosition(index: number, callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getObjectByPosition(index: number): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getAllObjects(callback: AsyncCallback\<Array\<T>>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:getAllObjects(): Promise\<Array\<T>>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:FetchResult;<br>方法or属性:close(): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumType;<br>方法or属性:USER = 0|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumType;<br>方法or属性:SYSTEM = 1024|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumSubtype;<br>方法or属性:USER_GENERIC = 1|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumSubtype;<br>方法or属性:FAVORITE = 1025|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumSubtype;<br>方法or属性:HIDDEN|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumSubtype;<br>方法or属性:TRASH|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumSubtype;<br>方法or属性:CAMERA|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AlbumSubtype;<br>方法or属性:ANY = 2147483647|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AbsAlbum;<br>方法or属性:readonly albumType: AlbumType;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AbsAlbum;<br>方法or属性:readonly albumSubtype: AlbumSubtype;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AbsAlbum;<br>方法or属性:albumName: string;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AbsAlbum;<br>方法or属性:readonly albumUri: string;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AbsAlbum;<br>方法or属性:readonly count: number;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AbsAlbum;<br>方法or属性:readonly coverUri: string;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:setCoverUri(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:Album;<br>方法or属性:setCoverUri(uri: string): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, callback: AsyncCallback\<PhotoAsset>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string): Promise\<PhotoAsset>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions): Promise\<PhotoAsset>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\<PhotoAsset>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\<string>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string, callback: AsyncCallback\<Album>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string): Promise\<Album>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:getAlbums(<br> type: AlbumType,<br> subtype: AlbumSubtype,<br> options: FetchOptions,<br> callback: AsyncCallback\<FetchResult\<Album>><br> ): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\<FetchResult\<Album>>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\<FetchResult\<Album>>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\<ChangeData>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:unRegisterChange(uri: string, callback?: Callback\<ChangeData>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:release(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:PhotoAccessHelper;<br>方法or属性:release(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:NotifyType;<br>方法or属性:NOTIFY_ADD|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:NotifyType;<br>方法or属性:NOTIFY_UPDATE|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:NotifyType;<br>方法or属性:NOTIFY_REMOVE|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:NotifyType;<br>方法or属性:NOTIFY_ALBUM_ADD_ASSET|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:NotifyType;<br>方法or属性:NOTIFY_ALBUM_REMOVE_ASSET|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:DefaultChangeUri;<br>方法or属性:DEFAULT_PHOTO_URI = 'file://media/Photo'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:DefaultChangeUri;<br>方法or属性:DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum'|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:ChangeData;<br>方法or属性:type: NotifyType;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:ChangeData;<br>方法or属性:uris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| +|新增|NA|ç±»å:ChangeData;<br>方法or属性:extraUris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.document.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.document.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.document.d.ts| +|废弃版本有å˜åŒ–|ç±»å:document;<br>方法or属性:declare document<br>旧版本信æ¯ï¼š|ç±»å:document;<br>方法or属性:declare document<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.document.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.access|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.access|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.close|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.copyFile|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.copyFile|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.createStream|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.truncate|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.truncate|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.fsync|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.stat|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.fdatasync|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.fdopenStream|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.hash.hash|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.lstat|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.mkdir|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.mkdir|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.mkdtemp|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.open|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.open|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.open|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.listFile|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.readText|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.read|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.read|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.rename|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.rmdir|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.stat|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.symlink|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.truncate|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.truncate|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.unlink|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.write|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.write|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sourcefile;<br>方法or属性:declare function createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.createWatcher|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Dir;<br>方法or属性:declare interface Dir<br>旧版本信æ¯ï¼š|ç±»å:Dir;<br>方法or属性:declare interface Dir<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.listFile|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>旧版本信æ¯ï¼š|ç±»å:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.listFile|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.fs.listFile|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Watcher;<br>方法or属性:declare interface Watcher<br>旧版本信æ¯ï¼š|ç±»å:Watcher;<br>方法or属性:declare interface Watcher<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.Watcher|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Watcher;<br>方法or属性:stop(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Watcher;<br>方法or属性:stop(): Promise\<void>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Statfs;<br>方法or属性:declare Statfs<br>旧版本信æ¯ï¼š|ç±»å:Statfs;<br>方法or属性:declare Statfs<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.statvfs.statfs|@ohos.statfs.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Statfs;<br>方法or属性:function getFreeBytes(path: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:Statfs;<br>方法or属性:function getFreeBytes(path: string): Promise\<number>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.statvfs.getFreeSize|@ohos.statfs.d.ts| +|废弃版本有å˜åŒ–|ç±»å:Statfs;<br>方法or属性:function getTotalBytes(path: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:Statfs;<br>方法or属性:function getTotalBytes(path: string): Promise\<number>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.file.statvfs.getTotalSize|@ohos.statfs.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileResponse;<br>方法or属性:export interface FileResponse<br>旧版本信æ¯ï¼š|ç±»å:FileResponse;<br>方法or属性:export interface FileResponse<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileResponse;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileResponse;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileListOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileListOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileGetOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileGetOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileDeleteOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileDeleteOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteTextOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteTextOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileAccessOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileAccessOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMkdirOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileMkdirOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileRmdirOption;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileRmdirOption;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileResponse;<br>方法or属性:length: number;<br>旧版本信æ¯ï¼š|ç±»å:FileResponse;<br>方法or属性:length: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileResponse;<br>方法or属性:lastModifiedTime: number;<br>旧版本信æ¯ï¼š|ç±»å:FileResponse;<br>方法or属性:lastModifiedTime: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileResponse;<br>方法or属性:type: 'dir' \| 'file';<br>旧版本信æ¯ï¼š|ç±»å:FileResponse;<br>方法or属性:type: 'dir' \| 'file';<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileResponse;<br>方法or属性:subFiles?: Array\<FileResponse>;<br>旧版本信æ¯ï¼š|ç±»å:FileResponse;<br>方法or属性:subFiles?: Array\<FileResponse>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMoveOption;<br>方法or属性:export interface FileMoveOption<br>旧版本信æ¯ï¼š|ç±»å:FileMoveOption;<br>方法or属性:export interface FileMoveOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMoveOption;<br>方法or属性:srcUri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileMoveOption;<br>方法or属性:srcUri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileCopyOption;<br>方法or属性:srcUri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileCopyOption;<br>方法or属性:srcUri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMoveOption;<br>方法or属性:dstUri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileMoveOption;<br>方法or属性:dstUri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileCopyOption;<br>方法or属性:dstUri: string;<br>旧版本信æ¯ï¼š|ç±»å:FileCopyOption;<br>方法or属性:dstUri: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMoveOption;<br>方法or属性:success?: (uri: string) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileMoveOption;<br>方法or属性:success?: (uri: string) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileCopyOption;<br>方法or属性:success?: (uri: string) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileCopyOption;<br>方法or属性:success?: (uri: string) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMoveOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileMoveOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileListOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileListOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileCopyOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileCopyOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileGetOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileGetOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileDeleteOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileDeleteOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileAccessOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileAccessOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMkdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileMkdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileRmdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileRmdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMoveOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileMoveOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileListOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileListOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileCopyOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileCopyOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileGetOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileGetOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileDeleteOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileDeleteOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteTextOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteTextOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileAccessOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileAccessOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMkdirOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileMkdirOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileRmdirOption;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileRmdirOption;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileListResponse;<br>方法or属性:export interface FileListResponse<br>旧版本信æ¯ï¼š|ç±»å:FileListResponse;<br>方法or属性:export interface FileListResponse<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileListResponse;<br>方法or属性:fileList: Array\<FileResponse>;<br>旧版本信æ¯ï¼š|ç±»å:FileListResponse;<br>方法or属性:fileList: Array\<FileResponse>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileListOption;<br>方法or属性:export interface FileListOption<br>旧版本信æ¯ï¼š|ç±»å:FileListOption;<br>方法or属性:export interface FileListOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileListOption;<br>方法or属性:success?: (data: FileListResponse) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileListOption;<br>方法or属性:success?: (data: FileListResponse) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileCopyOption;<br>方法or属性:export interface FileCopyOption<br>旧版本信æ¯ï¼š|ç±»å:FileCopyOption;<br>方法or属性:export interface FileCopyOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileGetOption;<br>方法or属性:export interface FileGetOption<br>旧版本信æ¯ï¼š|ç±»å:FileGetOption;<br>方法or属性:export interface FileGetOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileGetOption;<br>方法or属性:recursive?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FileGetOption;<br>方法or属性:recursive?: boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMkdirOption;<br>方法or属性:recursive?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FileMkdirOption;<br>方法or属性:recursive?: boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileRmdirOption;<br>方法or属性:recursive?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FileRmdirOption;<br>方法or属性:recursive?: boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileGetOption;<br>方法or属性:success?: (file: FileResponse) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileGetOption;<br>方法or属性:success?: (file: FileResponse) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileDeleteOption;<br>方法or属性:export interface FileDeleteOption<br>旧版本信æ¯ï¼š|ç±»å:FileDeleteOption;<br>方法or属性:export interface FileDeleteOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileDeleteOption;<br>方法or属性:success?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileDeleteOption;<br>方法or属性:success?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteTextOption;<br>方法or属性:success?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteTextOption;<br>方法or属性:success?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:success?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:success?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileAccessOption;<br>方法or属性:success?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileAccessOption;<br>方法or属性:success?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMkdirOption;<br>方法or属性:success?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileMkdirOption;<br>方法or属性:success?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileRmdirOption;<br>方法or属性:success?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:FileRmdirOption;<br>方法or属性:success?: () => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteTextOption;<br>方法or属性:export interface FileWriteTextOption<br>旧版本信æ¯ï¼š|ç±»å:FileWriteTextOption;<br>方法or属性:export interface FileWriteTextOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteTextOption;<br>方法or属性:text: string;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteTextOption;<br>方法or属性:text: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextResponse;<br>方法or属性:text: string;<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextResponse;<br>方法or属性:text: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteTextOption;<br>方法or属性:encoding?: string;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteTextOption;<br>方法or属性:encoding?: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextOption;<br>方法or属性:encoding?: string;<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextOption;<br>方法or属性:encoding?: string;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteTextOption;<br>方法or属性:append?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteTextOption;<br>方法or属性:append?: boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:append?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:append?: boolean;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextResponse;<br>方法or属性:export interface FileReadTextResponse<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextResponse;<br>方法or属性:export interface FileReadTextResponse<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextOption;<br>方法or属性:export interface FileReadTextOption<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextOption;<br>方法or属性:export interface FileReadTextOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextOption;<br>方法or属性:position?: number;<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextOption;<br>方法or属性:position?: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:position?: number;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:position?: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferOption;<br>方法or属性:position?: number;<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferOption;<br>方法or属性:position?: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextOption;<br>方法or属性:length?: number;<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextOption;<br>方法or属性:length?: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferOption;<br>方法or属性:length?: number;<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferOption;<br>方法or属性:length?: number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadTextOption;<br>方法or属性:success?: (data: FileReadTextResponse) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileReadTextOption;<br>方法or属性:success?: (data: FileReadTextResponse) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:export interface FileWriteArrayBufferOption<br>旧版本信æ¯ï¼š|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:export interface FileWriteArrayBufferOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:buffer: Uint8Array;<br>旧版本信æ¯ï¼š|ç±»å:FileWriteArrayBufferOption;<br>方法or属性:buffer: Uint8Array;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferResponse;<br>方法or属性:buffer: Uint8Array;<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferResponse;<br>方法or属性:buffer: Uint8Array;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferResponse;<br>方法or属性:export interface FileReadArrayBufferResponse<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferResponse;<br>方法or属性:export interface FileReadArrayBufferResponse<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferOption;<br>方法or属性:export interface FileReadArrayBufferOption<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferOption;<br>方法or属性:export interface FileReadArrayBufferOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileReadArrayBufferOption;<br>方法or属性:success?: (data: FileReadArrayBufferResponse) => void;<br>旧版本信æ¯ï¼š|ç±»å:FileReadArrayBufferOption;<br>方法or属性:success?: (data: FileReadArrayBufferResponse) => void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileAccessOption;<br>方法or属性:export interface FileAccessOption<br>旧版本信æ¯ï¼š|ç±»å:FileAccessOption;<br>方法or属性:export interface FileAccessOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileMkdirOption;<br>方法or属性:export interface FileMkdirOption<br>旧版本信æ¯ï¼š|ç±»å:FileMkdirOption;<br>方法or属性:export interface FileMkdirOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:FileRmdirOption;<br>方法or属性:export interface FileRmdirOption<br>旧版本信æ¯ï¼š|ç±»å:FileRmdirOption;<br>方法or属性:export interface FileRmdirOption<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:export default class File<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:export default class File<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static move(options: FileMoveOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static move(options: FileMoveOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.moveFile|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static copy(options: FileCopyOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static copy(options: FileCopyOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.copyFile|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static list(options: FileListOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static list(options: FileListOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.listFile|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static get(options: FileGetOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static get(options: FileGetOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.stat|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static delete(options: FileDeleteOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static delete(options: FileDeleteOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.unlink|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static writeText(options: FileWriteTextOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static writeText(options: FileWriteTextOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.write|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static readText(options: FileReadTextOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static readText(options: FileReadTextOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.readText|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static writeArrayBuffer(options: FileWriteArrayBufferOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static writeArrayBuffer(options: FileWriteArrayBufferOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.write|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static readArrayBuffer(options: FileReadArrayBufferOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static readArrayBuffer(options: FileReadArrayBufferOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.read|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static access(options: FileAccessOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static access(options: FileAccessOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.access|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static mkdir(options: FileMkdirOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static mkdir(options: FileMkdirOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.mkdir|@system.file.d.ts| +|废弃版本有å˜åŒ–|ç±»å:File;<br>方法or属性:static rmdir(options: FileRmdirOption): void;<br>旧版本信æ¯ï¼š|ç±»å:File;<br>方法or属性:static rmdir(options: FileRmdirOption): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.file.fs.rmdir|@system.file.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šParameter|@ohos.document.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šParameter|@ohos.document.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.document.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getCurrentBundleStats(): Promise\<BundleStats>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getCurrentBundleStats(): Promise\<BundleStats>;<br>新版本信æ¯ï¼š401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信æ¯ï¼š201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信æ¯ï¼š201,202,401,13600001,13600009,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信æ¯ï¼š201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|新增(错误ç )|ç±»å:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信æ¯ï¼š201,202,401,13600001,13900032|@ohos.file.volumeManager.d.ts| +|新增(错误ç )|ç±»å:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600002,13600003,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| +|新增(错误ç )|ç±»å:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600002,13600004,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| +|新增(错误ç )|ç±»å:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| +|新增(错误ç )|ç±»å:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| +|新增(错误ç )|ç±»å:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| +|新增(错误ç )|ç±»å:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| +|新增(错误ç )|ç±»å:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>新版本信æ¯ï¼šfstat|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信æ¯ï¼š|ç±»å:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>旧版本信æ¯ï¼š|ç±»å:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šclose|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Stream;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Stream;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šclose|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Stream;<br>方法or属性:flush(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Stream;<br>方法or属性:flush(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Stream;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:Stream;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Stream;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:Stream;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Stream;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信æ¯ï¼š|ç±»å:Stream;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Stream;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:Stream;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br> ): void;<br>新版本信æ¯ï¼šParameter|@ohos.fileio.d.ts| +|新增(错误ç )|ç±»å:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šstop|@ohos.fileio.d.ts| +|访问级别有å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.storageStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.storageStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.storageStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.storageStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.storageStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.storageStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.storageStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.storageStatistics.d.ts| +|访问级别有å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:Volume;<br>方法or属性:path: string;<br>旧版本信æ¯ï¼š|ç±»å:Volume;<br>方法or属性:path: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信æ¯ï¼šohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:fileShare;<br>方法or属性:function grantUriPermission(<br> uri: string,<br> bundleName: string,<br> flag: wantConstant.Flags,<br> callback: AsyncCallback\<void><br> ): void;<br>旧版本信æ¯ï¼š|ç±»å:fileShare;<br>方法or属性:function grantUriPermission(<br> uri: string,<br> bundleName: string,<br> flag: wantConstant.Flags,<br> callback: AsyncCallback\<void><br> ): void;<br>新版本信æ¯ï¼šohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts| +|type有å˜åŒ–|ç±»å:PhotoSelectOptions;<br>方法or属性:MIMEType?: PhotoViewMIMETypes;<br>旧版本信æ¯ï¼šPhotoViewMIMETypes|ç±»å:PhotoSelectOptions;<br>方法or属性:MIMEType?: PhotoViewMIMETypes;<br>新版本信æ¯ï¼š?PhotoViewMIMETypes|@ohos.file.picker.d.ts| +|type有å˜åŒ–|ç±»å:PhotoSelectOptions;<br>方法or属性:maxSelectNumber?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:PhotoSelectOptions;<br>方法or属性:maxSelectNumber?: number;<br>新版本信æ¯ï¼š?number|@ohos.file.picker.d.ts| +|type有å˜åŒ–|ç±»å:PhotoSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信æ¯ï¼šArray\<string>|ç±»å:PhotoSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|@ohos.file.picker.d.ts| +|type有å˜åŒ–|ç±»å:DocumentSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信æ¯ï¼šArray\<string>|ç±»å:DocumentSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|@ohos.file.picker.d.ts| +|type有å˜åŒ–|ç±»å:AudioSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信æ¯ï¼šArray\<string>|ç±»å:AudioSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|@ohos.file.picker.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-geolocation.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-geolocation.md new file mode 100644 index 0000000000000000000000000000000000000000..4e191569f470b807d0f8f892e23cc232f6ce7861 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-geolocation.md @@ -0,0 +1,22 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:geoLocationManager;<br>方法or属性:function on(type: 'locatingRequiredDataChange', config: LocatingRequiredDataConfig, callback: Callback\<Array\<LocatingRequiredData>>): void;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:geoLocationManager;<br>方法or属性:function off(type: 'locatingRequiredDataChange', callback?: Callback\<Array\<LocatingRequiredData>>): void;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:geoLocationManager;<br>方法or属性:function getLocatingRequiredData(config: LocatingRequiredDataConfig): Promise\<Array\<LocatingRequiredData>>;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:LocatingRequiredDataConfig;<br>方法or属性:type: LocatingRequiredDataType;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:LocatingRequiredDataConfig;<br>方法or属性:needStartScan: boolean;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:LocatingRequiredDataConfig;<br>方法or属性:scanInterval?: number;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:LocatingRequiredDataConfig;<br>方法or属性:scanTimeout?: number;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:LocatingRequiredData;<br>方法or属性:wifiData?: WifiScanInfo;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:LocatingRequiredData;<br>方法or属性:bluetoothData?: BluetoothScanInfo;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:WifiScanInfo;<br>方法or属性:ssid: string;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:WifiScanInfo;<br>方法or属性:bssid: string;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:WifiScanInfo;<br>方法or属性:rssi: number;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:BluetoothScanInfo;<br>方法or属性:rssi: number;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:WifiScanInfo;<br>方法or属性:frequency: number;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:WifiScanInfo;<br>方法or属性:timestamp: number;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:BluetoothScanInfo;<br>方法or属性:timestamp: number;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:BluetoothScanInfo;<br>方法or属性:deviceName: string;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:BluetoothScanInfo;<br>方法or属性:macAddress: string;|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:LocatingRequiredDataType;<br>方法or属性:WIFI = 1|@ohos.geoLocationManager.d.ts| +|新增|NA|ç±»å:LocatingRequiredDataType;<br>方法or属性:BLUETOOTH|@ohos.geoLocationManager.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-global.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-global.md new file mode 100644 index 0000000000000000000000000000000000000000..5f6592c6e4422dc18a6982501ecd9d45487a2b28 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-global.md @@ -0,0 +1,34 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_NONE = 0|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_RELATED = 1|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_SIM = 2|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SortOptions;<br>方法or属性:locale?: string;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SortOptions;<br>方法or属性:isUseLocalName?: boolean;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SortOptions;<br>方法or属性:isSuggestedFirst?: boolean;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:LocaleItem;<br>方法or属性:id: string;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:LocaleItem;<br>方法or属性:suggestionType: SuggestionType;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:LocaleItem;<br>方法or属性:displayName: string;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:LocaleItem;<br>方法or属性:localName?: string;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:TimeZoneCityItem;<br>方法or属性:zoneId: string;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:TimeZoneCityItem;<br>方法or属性:cityId: string;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:TimeZoneCityItem;<br>方法or属性:cityDisplayName: string;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:TimeZoneCityItem;<br>方法or属性:offset: number;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:TimeZoneCityItem;<br>方法or属性:zoneDisplayName: string;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:TimeZoneCityItem;<br>方法or属性:rawOffset?: number;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SystemLocaleManager;<br>方法or属性:constructor();|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SystemLocaleManager;<br>方法or属性:getLanguageInfoArray(languages: Array\<string>, options?: SortOptions): Array\<LocaleItem>;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SystemLocaleManager;<br>方法or属性:getRegionInfoArray(regions: Array\<string>, options?: SortOptions): Array\<LocaleItem>;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:SystemLocaleManager;<br>方法or属性:static getTimeZoneCityItemArray(): Array\<TimeZoneCityItem>;|@ohos.i18n.d.ts| +|新增|NA|ç±»å:resourceManager;<br>方法or属性:export function getSystemResourceManager(): ResourceManager;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColor(resId: number, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColor(resId: number): Promise\<number>;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColor(resource: Resource, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColor(resource: Resource): Promise\<number>;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColorByName(resName: string, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColorByName(resName: string): Promise\<number>;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColorSync(resId: number) : number;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColorSync(resource: Resource) : number;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:getColorByNameSync(resName: string) : number;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:addResource(path: string) : void;|@ohos.resourceManager.d.ts| +|新增|NA|ç±»å:ResourceManager;<br>方法or属性:removeResource(path: string) : void;|@ohos.resourceManager.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-misc.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-misc.md new file mode 100644 index 0000000000000000000000000000000000000000..77fa2c6012deec824e9847ad7d916ff5fcf9272b --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-misc.md @@ -0,0 +1,61 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|åˆ é™¤|ç±»å:InputMethodSetting;<br>方法or属性:on(type: 'imeShow' \| 'imeHide', callback: (info: Array\<InputWindowInfo>) => void): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodSetting;<br>方法or属性:off(type: 'imeShow' \| 'imeHide', callback?: (info: Array\<InputWindowInfo>) => void): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:on(type: 'deleteLeft' \| 'deleteRight', callback: (length: number) => void): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:on(type: 'sendKeyboardStatus', callback: (keyBoardStatus: KeyboardStatus) => void): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts| +|åˆ é™¤|ç±»å:InputMethodController;<br>方法or属性:off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodSetting;<br>方法or属性:on(type: 'imeShow', callback: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodSetting;<br>方法or属性:on(type: 'imeHide', callback: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodSetting;<br>方法or属性:off(type: 'imeShow', callback?: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodSetting;<br>方法or属性:off(type: 'imeHide', callback?: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:on(type: 'deleteLeft', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:on(type: 'deleteRight', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:on(type: 'getLeftTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:on(type: 'getRightTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:on(type: 'getTextIndexAtCursor', callback: () => number): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'selectByRange', callback?: Callback\<Range>): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'selectByMovement', callback?: Callback\<Movement>): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'insertText', callback?: (text: string) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'deleteLeft', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'deleteRight', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'moveCursor', callback?: (direction: Direction) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'getLeftTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'getRightTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:InputMethodController;<br>方法or属性:off(type: 'getTextIndexAtCursor', callback?: () => number): void;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:TextConfig;<br>方法or属性:cursorInfo?: CursorInfo;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:TextConfig;<br>方法or属性:selection?: Range;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:TextConfig;<br>方法or属性:windowId?: number;|@ohos.inputMethod.d.ts| +|新增|NA|ç±»å:KeyboardDelegate;<br>方法or属性:on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| +|新增|NA|ç±»å:KeyboardDelegate;<br>方法or属性:on(type: 'editorAttributeChanged', callback: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts| +|新增|NA|ç±»å:KeyboardDelegate;<br>方法or属性:off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| +|新增|NA|ç±»å:KeyboardDelegate;<br>方法or属性:off(type: 'editorAttributeChanged', callback?: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts| +|新增|NA|ç±»å:wallpaper;<br>方法or属性:function setCustomWallpaper(source: string, wallpaperType: WallpaperType, callback: AsyncCallback\<void>): void;|@ohos.wallpaper.d.ts| +|新增|NA|ç±»å:wallpaper;<br>方法or属性:function setCustomWallpaper(source: string, wallpaperType: WallpaperType): Promise\<void>;|@ohos.wallpaper.d.ts| +|新增|NA|ç±»å:WallpaperExtensionAbility;<br>方法or属性:onCreate(want: object): void;|@ohos.WallpaperExtensionAbility.d.ts| +|新增|NA|ç±»å:WallpaperExtensionAbility;<br>方法or属性:onWallpaperChange(wallpaperType: number): void;|@ohos.WallpaperExtensionAbility.d.ts| +|新增|NA|ç±»å:WallpaperExtensionAbility;<br>方法or属性:onDestroy(): void;|@ohos.WallpaperExtensionAbility.d.ts| +|错误ç 有å˜åŒ–|ç±»å:wallpaper;<br>方法or属性:function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;<br>旧版本信æ¯ï¼š202|ç±»å:wallpaper;<br>方法or属性:function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;<br>新版本信æ¯ï¼š401,202|@ohos.wallpaper.d.ts| +|type有å˜åŒ–|ç±»å:InputMethodProperty;<br>方法or属性:readonly labelId?: number;<br>旧版本信æ¯ï¼š|ç±»å:InputMethodProperty;<br>方法or属性:readonly labelId?: number;<br>新版本信æ¯ï¼š?number|@ohos.inputMethod.d.ts| +|type有å˜åŒ–|ç±»å:InputMethodProperty;<br>方法or属性:readonly iconId?: number;<br>旧版本信æ¯ï¼š|ç±»å:InputMethodProperty;<br>方法or属性:readonly iconId?: number;<br>新版本信æ¯ï¼š?number|@ohos.inputMethod.d.ts| +|type有å˜åŒ–|ç±»å:Movement;<br>方法or属性:direction: Direction;<br>旧版本信æ¯ï¼šnumber|ç±»å:Movement;<br>方法or属性:direction: Direction;<br>新版本信æ¯ï¼šDirection|@ohos.inputMethod.d.ts| +|type有å˜åŒ–|ç±»å:TextConfig;<br>方法or属性:inputAttribute: InputAttribute;<br>旧版本信æ¯ï¼š|ç±»å:TextConfig;<br>方法or属性:inputAttribute: InputAttribute;<br>新版本信æ¯ï¼šInputAttribute|@ohos.inputMethod.d.ts| +|type有å˜åŒ–|ç±»å:Movement;<br>方法or属性:direction: Direction;<br>旧版本信æ¯ï¼šnumber|ç±»å:Movement;<br>方法or属性:direction: Direction;<br>新版本信æ¯ï¼šDirection|@ohos.inputMethodEngine.d.ts| +|type有å˜åŒ–|ç±»å:InputMethodSubtype;<br>方法or属性:readonly labelId?: number;<br>旧版本信æ¯ï¼š|ç±»å:InputMethodSubtype;<br>方法or属性:readonly labelId?: number;<br>新版本信æ¯ï¼š?number|@ohos.InputMethodSubtype.d.ts| +|函数有å˜åŒ–|ç±»å:Panel;<br>方法or属性:on(type: 'show' \| 'hide', callback: () => void): void;|ç±»å:Panel;<br>方法or属性:on(type: 'show', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|函数有å˜åŒ–|ç±»å:Panel;<br>方法or属性:on(type: 'show' \| 'hide', callback: () => void): void;|ç±»å:Panel;<br>方法or属性:on(type: 'hide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|函数有å˜åŒ–|ç±»å:Panel;<br>方法or属性:off(type: 'show' \| 'hide', callback?: () => void): void;|ç±»å:Panel;<br>方法or属性:off(type: 'show', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| +|函数有å˜åŒ–|ç±»å:Panel;<br>方法or属性:off(type: 'show' \| 'hide', callback?: () => void): void;|ç±»å:Panel;<br>方法or属性:off(type: 'hide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| +|函数有å˜åŒ–|ç±»å:wallpaper;<br>方法or属性:function on(<br><br> type: 'wallpaperChange',<br><br> callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void<br><br> ): void;|ç±»å:wallpaper;<br>方法or属性:function on(<br><br> type: 'wallpaperChange',<br><br> callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;|@ohos.wallpaper.d.ts| +|函数有å˜åŒ–|ç±»å:wallpaper;<br>方法or属性:function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void<br><br> ): void;|ç±»å:wallpaper;<br>方法or属性:function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;|@ohos.wallpaper.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-msdp.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-msdp.md new file mode 100644 index 0000000000000000000000000000000000000000..945b29ea2c308adde479c2f206bbdb44f381ed65 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-msdp.md @@ -0,0 +1,15 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_SESSION_DISCONNECTED = 7|@ohos.cooperate.d.ts| +|新增|NA|ç±»å:dragInteraction;<br>方法or属性:function on(type: 'drag', callback: Callback\<DragState>): void;|@ohos.deviceStatus.dragInteraction.d.ts| +|新增|NA|ç±»å:dragInteraction;<br>方法or属性:function off(type: 'drag', callback?: Callback\<DragState>): void;|@ohos.deviceStatus.dragInteraction.d.ts| +|新增|NA|ç±»å:DragState;<br>方法or属性:MSG_DRAG_STATE_START = 1|@ohos.deviceStatus.dragInteraction.d.ts| +|新增|NA|ç±»å:DragState;<br>方法or属性:MSG_DRAG_STATE_STOP = 2|@ohos.deviceStatus.dragInteraction.d.ts| +|新增|NA|ç±»å:DragState;<br>方法or属性:MSG_DRAG_STATE_CANCEL = 3|@ohos.deviceStatus.dragInteraction.d.ts| +|函数有å˜åŒ–|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_PREPARE|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_PREPARE = 0|@ohos.cooperate.d.ts| +|函数有å˜åŒ–|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_UNPREPARE|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_UNPREPARE = 1|@ohos.cooperate.d.ts| +|函数有å˜åŒ–|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE = 2|@ohos.cooperate.d.ts| +|函数有å˜åŒ–|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE_SUCCESS|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE_SUCCESS = 3|@ohos.cooperate.d.ts| +|函数有å˜åŒ–|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE_FAIL|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE_FAIL = 4|@ohos.cooperate.d.ts| +|函数有å˜åŒ–|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_DEACTIVATE_SUCCESS|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_DEACTIVATE_SUCCESS = 5|@ohos.cooperate.d.ts| +|函数有å˜åŒ–|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_DEACTIVATE_FAIL|ç±»å:CooperateMsg;<br>方法or属性:COOPERATE_DEACTIVATE_FAIL = 6|@ohos.cooperate.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-multi-modal-input.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-multi-modal-input.md new file mode 100644 index 0000000000000000000000000000000000000000..8fc645cd5992921f8e130b454fafe925758909ba --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-multi-modal-input.md @@ -0,0 +1,90 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:Pinch;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:ThreeFingersSwipe;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:FourFingersSwipe;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:Pinch;<br>方法or属性:scale: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:ThreeFingersSwipe;<br>方法or属性:x: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:FourFingersSwipe;<br>方法or属性:x: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:ThreeFingersSwipe;<br>方法or属性:y: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:FourFingersSwipe;<br>方法or属性:y: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:ActionType;<br>方法or属性:CANCEL = 0|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:ActionType;<br>方法or属性:BEGIN = 1|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:ActionType;<br>方法or属性:UPDATE = 2|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:ActionType;<br>方法or属性:END = 3|@ohos.multimodalInput.gestureEvent.d.ts| +|新增|NA|ç±»å:inputDevice;<br>方法or属性:function setKeyboardRepeatDelay(delay: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.inputDevice.d.ts| +|新增|NA|ç±»å:inputDevice;<br>方法or属性:function setKeyboardRepeatDelay(delay: number): Promise\<void>;|@ohos.multimodalInput.inputDevice.d.ts| +|新增|NA|ç±»å:inputDevice;<br>方法or属性:function getKeyboardRepeatDelay(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.inputDevice.d.ts| +|新增|NA|ç±»å:inputDevice;<br>方法or属性:function getKeyboardRepeatDelay(): Promise\<number>;|@ohos.multimodalInput.inputDevice.d.ts| +|新增|NA|ç±»å:inputDevice;<br>方法or属性:function setKeyboardRepeatRate(rate: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.inputDevice.d.ts| +|新增|NA|ç±»å:inputDevice;<br>方法or属性:function setKeyboardRepeatRate(rate: number): Promise\<void>;|@ohos.multimodalInput.inputDevice.d.ts| +|新增|NA|ç±»å:inputDevice;<br>方法or属性:function getKeyboardRepeatRate(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.inputDevice.d.ts| +|新增|NA|ç±»å:inputDevice;<br>方法or属性:function getKeyboardRepeatRate(): Promise\<number>;|@ohos.multimodalInput.inputDevice.d.ts| +|新增|NA|ç±»å:inputMonitor;<br>方法or属性:function on(type: 'pinch', receiver: Callback\<Pinch>): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|新增|NA|ç±»å:inputMonitor;<br>方法or属性:function on(type: 'threeFingersSwipe', receiver: Callback\<ThreeFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|新增|NA|ç±»å:inputMonitor;<br>方法or属性:function on(type: 'fourFingersSwipe', receiver: Callback\<FourFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|新增|NA|ç±»å:inputMonitor;<br>方法or属性:function off(type: 'pinch', receiver?: Callback\<Pinch>): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|新增|NA|ç±»å:inputMonitor;<br>方法or属性:function off(type: 'threeFingersSwipe', receiver?: Callback\<ThreeFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|新增|NA|ç±»å:inputMonitor;<br>方法or属性:function off(type: 'fourFingersSwipe', receiver?: Callback\<FourFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_UNKNOWN = -1|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_UP = 1|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_DOWN = 2|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_LEFT = 3|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_RIGHT = 4|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_SELECT = 5|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_ESCAPE = 6|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_BACK = 7|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_FORWARD = 8|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_MENU = 9|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_PAGE_UP = 11|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_PAGE_DOWN = 12|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_ZOOM_OUT = 13|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:IntentionCode;<br>方法or属性:INTENTION_ZOOM_IN = 14|@ohos.multimodalInput.intentionCode.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadScrollSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadScrollSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadScrollSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadScrollSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadScrollDirection(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadScrollDirection(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadScrollDirection(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadScrollDirection(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadTapSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadTapSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadTapSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadTapSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadPointerSpeed(speed: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadPointerSpeed(speed: number): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadPointerSpeed(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadPointerSpeed(): Promise\<number>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadPinchSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadPinchSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadPinchSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadPinchSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadSwipeSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadSwipeSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadSwipeSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadSwipeSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadRightClickType(type: RightClickType, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function setTouchpadRightClickType(type: RightClickType): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadRightClickType(callback: AsyncCallback\<RightClickType>): void;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:pointer;<br>方法or属性:function getTouchpadRightClickType(): Promise\<RightClickType>;|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:PointerStyle;<br>方法or属性:HORIZONTAL_TEXT_CURSOR|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:PointerStyle;<br>方法or属性:CURSOR_CROSS|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:PointerStyle;<br>方法or属性:CURSOR_CIRCLE|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:RightClickType;<br>方法or属性:TOUCHPAD_RIGHT_BUTTON = 1|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:RightClickType;<br>方法or属性:TOUCHPAD_LEFT_BUTTON = 2|@ohos.multimodalInput.pointer.d.ts| +|新增|NA|ç±»å:RightClickType;<br>方法or属性:TOUCHPAD_TWO_FINGER_TAP = 3|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton): Promise\<void>;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton): Promise\<void>;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function getMousePrimaryButton(callback: AsyncCallback\<PrimaryButton>): void;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function getMousePrimaryButton(callback: AsyncCallback\<PrimaryButton>): void;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function getMousePrimaryButton(): Promise\<PrimaryButton>;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function getMousePrimaryButton(): Promise\<PrimaryButton>;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function setHoverScrollState(state: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function setHoverScrollState(state: boolean, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function setHoverScrollState(state: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function setHoverScrollState(state: boolean): Promise\<void>;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function getHoverScrollState(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function getHoverScrollState(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function getHoverScrollState(): Promise\<boolean>;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function getHoverScrollState(): Promise\<boolean>;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function setMouseScrollRows(rows: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function setMouseScrollRows(rows: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function setMouseScrollRows(rows: number): Promise\<void>;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function setMouseScrollRows(rows: number): Promise\<void>;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function getMouseScrollRows(callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function getMouseScrollRows(callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:pointer;<br>方法or属性:function getMouseScrollRows(): Promise\<number>;<br>旧版本信æ¯ï¼š401|ç±»å:pointer;<br>方法or属性:function getMouseScrollRows(): Promise\<number>;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.pointer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401|ç±»å:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.shortKey.d.ts| +|错误ç 有å˜åŒ–|ç±»å:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number): Promise\<void>;<br>旧版本信æ¯ï¼š401|ç±»å:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number): Promise\<void>;<br>新版本信æ¯ï¼š202,401|@ohos.multimodalInput.shortKey.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-multimedia.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-multimedia.md new file mode 100644 index 0000000000000000000000000000000000000000..105069268e5e07e3e7e0c6579791e4cc13fcb972 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-multimedia.md @@ -0,0 +1,410 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|åˆ é™¤|ç±»å:avSession;<br>方法or属性:function on(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:avSession;<br>方法or属性:function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:AVSession;<br>方法or属性:on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:AVSession;<br>方法or属性:off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:OutputDeviceInfo;<br>方法or属性:isRemote: boolean;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:OutputDeviceInfo;<br>方法or属性:audioDeviceId: Array\<number>;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:OutputDeviceInfo;<br>方法or属性:deviceName: Array\<string>;|NA|@ohos.multimedia.avsession.d.ts| +|åˆ é™¤|ç±»å:ImageSource;<br>方法or属性:getDelayTime(): Promise\<Array\<number>>;|NA|@ohos.multimedia.image.d.ts| +|åˆ é™¤|ç±»å:ImageSource;<br>方法or属性:getDelayTime(callback: AsyncCallback\<Array\<number>>): void;|NA|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap,region:Array\<number>):Promise\<ColorPicker>;|@ohos.effectKit.d.ts| +|新增|NA|ç±»å:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap,region:Array\<number>,callback:AsyncCallback\<ColorPicker>):void;|@ohos.effectKit.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:artist?: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:duration?: number;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:getAVPlaybackState(callback: AsyncCallback\<AVPlaybackState>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:getAVPlaybackState(): Promise\<AVPlaybackState>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:audio;<br>方法or属性:type AudioEffectInfoArray = Array\<Readonly\<AudioEffectMode>>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_MUSIC = 1|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_VOICE_MESSAGE = 5|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_RINGTONE = 6|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_NOTIFICATION = 7|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_MOVIE = 10|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_GAME = 11|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_AUDIOBOOK = 12|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_NAVIGATION = 13|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_DTMF = 14|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_ENFORCED_TONE = 15|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:StreamUsage;<br>方法or属性:STREAM_USAGE_ULTRASONIC = 16|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRendererOptions;<br>方法or属性:privacyType?: AudioPrivacyType;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioPrivacyType;<br>方法or属性:PRIVACY_TYPE_PUBLIC = 0|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioPrivacyType;<br>方法or属性:PRIVACY_TYPE_PRIVATE = 1|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:VolumeAdjustType;<br>方法or属性:VOLUME_UP = 0|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:VolumeAdjustType;<br>方法or属性:VOLUME_DOWN = 1|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioStreamManager;<br>方法or属性:getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback\<AudioEffectInfoArray>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioStreamManager;<br>方法or属性:getAudioEffectInfoArray(usage: StreamUsage): Promise\<AudioEffectInfoArray>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioVolumeGroupManager;<br>方法or属性:isVolumeUnadjustable(): boolean;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioVolumeGroupManager;<br>方法or属性:adjustVolumeByStep(adjustType: VolumeAdjustType, callback: AsyncCallback\<void>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioVolumeGroupManager;<br>方法or属性:adjustVolumeByStep(adjustType: VolumeAdjustType): Promise\<void>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioVolumeGroupManager;<br>方法or属性:adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType, callback: AsyncCallback\<void>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioVolumeGroupManager;<br>方法or属性:adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType): Promise\<void>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioVolumeGroupManager;<br>方法or属性:getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType, callback: AsyncCallback\<number>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioVolumeGroupManager;<br>方法or属性:getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType): Promise\<number>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getAudioEffectMode(callback: AsyncCallback\<AudioEffectMode>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getAudioEffectMode(): Promise\<AudioEffectMode>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:setAudioEffectMode(mode: AudioEffectMode, callback: AsyncCallback\<void>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:setAudioEffectMode(mode: AudioEffectMode): Promise\<void>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getMinStreamVolume(callback: AsyncCallback\<number>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getMinStreamVolume(): Promise\<number>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getMaxStreamVolume(callback: AsyncCallback\<number>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getMaxStreamVolume(): Promise\<number>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getUnderflowCount(callback: AsyncCallback\<number>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getUnderflowCount(): Promise\<number>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getCurrentOutputDevices(callback: AsyncCallback\<AudioDeviceDescriptors>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:getCurrentOutputDevices(): Promise\<AudioDeviceDescriptors>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:on(type: 'outputDeviceChange', callback: Callback\<AudioDeviceDescriptors>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioRenderer;<br>方法or属性:off(type: 'outputDeviceChange', callback?: Callback\<AudioDeviceDescriptors>): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:SourceType;<br>方法or属性:SOURCE_TYPE_PLAYBACK_CAPTURE = 2|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioCapturerOptions;<br>方法or属性:playbackCaptureConfig?: AudioPlaybackCaptureConfig;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:CaptureFilterOptions;<br>方法or属性:usages: Array\<StreamUsage>;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioPlaybackCaptureConfig;<br>方法or属性:filterOptions: CaptureFilterOptions;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioCapturer;<br>方法or属性:off(type: 'audioInterrupt'): void;|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioEffectMode;<br>方法or属性:EFFECT_NONE = 0|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:AudioEffectMode;<br>方法or属性:EFFECT_DEFAULT = 1|@ohos.multimedia.audio.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function on(type: 'sessionCreate', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function on(type: 'sessionDestroy', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function on(type: 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function on(type: 'deviceAvailable', callback: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function off(type: 'sessionCreate', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function off(type: 'sessionDestroy', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function off(type: 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function off(type: 'deviceAvailable', callback?: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function startCastDeviceDiscovery(callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function startCastDeviceDiscovery(filter: number, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function startCastDeviceDiscovery(filter?: number): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function stopCastDeviceDiscovery(callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function stopCastDeviceDiscovery(): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function setDiscoverable(enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function setDiscoverable(enable: boolean): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function getAVCastController(sessionId: string, callback: AsyncCallback\<AVCastController>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function getAVCastController(sessionId: string): Promise\<AVCastController>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function startCasting(session: SessionToken, device: OutputDeviceInfo, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function startCasting(session: SessionToken, device: OutputDeviceInfo): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function stopCasting(session: SessionToken, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:function stopCasting(session: SessionToken): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:avSession;<br>方法or属性:type AVCastControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setVolume' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:ProtocolType;<br>方法or属性:TYPE_LOCAL = 0|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:ProtocolType;<br>方法or属性:TYPE_CAST_PLUS_MIRROR = 1|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:ProtocolType;<br>方法or属性:TYPE_CAST_PLUS_STREAM = 2|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:readonly sessionType: AVSessionType;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:getAVCastController(callback: AsyncCallback\<AVCastController>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:getAVCastController(): Promise\<AVCastController>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:on(type: 'play', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:on(type: 'pause', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:on(type: 'stop', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:on(type: 'playNext', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:on(type: 'playPrevious', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:on(type: 'fastForward', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:on(type: 'rewind', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:off(type: 'play', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:off(type: 'pause', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:off(type: 'stop', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:off(type: 'playNext', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:off(type: 'playPrevious', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:off(type: 'fastForward', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:off(type: 'rewind', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:stopCasting(callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSession;<br>方法or属性:stopCasting(): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastControlCommand;<br>方法or属性:command: AVCastControlCommandType;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastControlCommand;<br>方法or属性:parameter?: media.PlaybackSpeed \| number;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:setDisplaySurface(surfaceId: string, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:setDisplaySurface(surfaceId: string): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:sendControlCommand(command: AVCastControlCommand, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:sendControlCommand(command: AVCastControlCommand): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:start(item: AVQueueItem, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:start(item: AVQueueItem): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:prepare(item: AVQueueItem, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:prepare(item: AVQueueItem): Promise\<void>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:getCurrentItem(callback: AsyncCallback\<AVQueueItem>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:getCurrentItem(): Promise\<AVQueueItem>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:on(type: 'playbackStateChange', filter: Array\<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:on(type: 'mediaItemChange', callback: Callback\<AVQueueItem>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:on(type: 'playNext', callback: Callback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:on(type: 'playPrevious', callback: Callback\<void>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:on(type: 'seekDone', callback: Callback\<number>): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:off(type: 'mediaItemChange'): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:off(type: 'playNext'): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:off(type: 'playPrevious'): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:off(type: 'seekDone'): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:off(type: 'videoSizeChange'): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastController;<br>方法or属性:off(type: 'error'): void;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:ConnectionState;<br>方法or属性:STATE_CONNECTING = 0|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:ConnectionState;<br>方法or属性:STATE_CONNECTED = 1|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:ConnectionState;<br>方法or属性:STATE_DISCONNECTED = 6|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:mediaType?: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:mediaSize?: number;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:albumTitle?: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:albumCoverUri?: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:lyricContent?: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:lyricUri?: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:fdSrc?: media.AVFileDescriptor;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:startPosition?: number;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:creditsPosition?: number;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVMediaDescription;<br>方法or属性:appName?: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVPlaybackState;<br>方法or属性:volume?: number;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastCategory;<br>方法or属性:CATEGORY_LOCAL = 0|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVCastCategory;<br>方法or属性:CATEGORY_REMOTE = 1|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceType;<br>方法or属性:DEVICE_TYPE_LOCAL = 0|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceType;<br>方法or属性:DEVICE_TYPE_TV = 2|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceType;<br>方法or属性:DEVICE_TYPE_SMART_SPEAKER = 3|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceType;<br>方法or属性:DEVICE_TYPE_BLUETOOTH = 10|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceInfo;<br>方法or属性:castCategory: number;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceInfo;<br>方法or属性:deviceId: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceInfo;<br>方法or属性:deviceName: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceInfo;<br>方法or属性:deviceType: DeviceType;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceInfo;<br>方法or属性:ipAddress?: string;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:DeviceInfo;<br>方法or属性:providerId?: number;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:OutputDeviceInfo;<br>方法or属性:devices: Array\<DeviceInfo>;|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:PlaybackState;<br>方法or属性:PLAYBACK_STATE_COMPLETED = 7|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:PlaybackState;<br>方法or属性:PLAYBACK_STATE_RELEASED = 8|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:PlaybackState;<br>方法or属性:PLAYBACK_STATE_ERROR = 9|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSessionErrorCode;<br>方法or属性:ERR_CODE_DEVICE_CONNECTION_FAILED = 6600108|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:AVSessionErrorCode;<br>方法or属性:ERR_CODE_REMOTE_CONNECTION_NOT_EXIST = 6600109|@ohos.multimedia.avsession.d.ts| +|新增|NA|ç±»å:PrelaunchConfig;<br>方法or属性:cameraDevice: CameraDevice;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:CameraManager;<br>方法or属性:isPrelaunchSupported(camera: CameraDevice): boolean;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:CameraManager;<br>方法or属性:setPrelaunchConfig(prelaunchConfig: PrelaunchConfig): void;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:CameraManager;<br>方法or属性:prelaunch(): void;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:CameraManager;<br>方法or属性:createDeferredPreviewOutput(profile: Profile): PreviewOutput;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:PreviewOutput;<br>方法or属性:addDeferredSurface(surfaceId: string): void;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:PhotoOutput;<br>方法or属性:on(type: 'quickThumbnail', callback: AsyncCallback\<image.PixelMap>): void;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:PhotoOutput;<br>方法or属性:isQuickThumbnailSupported(): boolean;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:PhotoOutput;<br>方法or属性:enableQuickThumbnail(enabled: boolean): void;|@ohos.multimedia.camera.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:DATE_TIME = 'DateTime'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:GPS_TIME_STAMP = 'GPSTimeStamp'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:GPS_DATE_STAMP = 'GPSDateStamp'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:IMAGE_DESCRIPTION = 'ImageDescription'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:MAKE = 'Make'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:MODEL = 'Model'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:PHOTO_MODE = 'PhotoMode'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:SENSITIVITY_TYPE = 'SensitivityType'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:STANDARD_OUTPUT_SENSITIVITY = 'StandardOutputSensitivity'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:RECOMMENDED_EXPOSURE_INDEX = 'RecommendedExposureIndex'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:ISO_SPEED = 'ISOSpeedRatings'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:APERTURE_VALUE = 'ApertureValue'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:EXPOSURE_BIAS_VALUE = 'ExposureBiasValue'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:METERING_MODE = 'MeteringMode'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:LIGHT_SOURCE = 'LightSource'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:FLASH = 'Flash'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:FOCAL_LENGTH = 'FocalLength'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:USER_COMMENT = 'UserComment'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:PIXEL_X_DIMENSION = 'PixelXDimension'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:PIXEL_Y_DIMENSION = 'PixelYDimension'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:WHITE_BALANCE = 'WhiteBalance'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:FOCAL_LENGTH_IN_35_MM_FILM = 'FocalLengthIn35mmFilm'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:CAPTURE_MODE = 'HwMnoteCaptureMode'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PropertyKey;<br>方法or属性:PHYSICAL_APERTURE = 'HwMnotePhysicalAperture'|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PixelMap;<br>方法or属性:getColorSpace(): colorSpaceManager.ColorSpaceManager;|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PixelMap;<br>方法or属性:marshalling(sequence: rpc.MessageSequence): void;|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PixelMap;<br>方法or属性:unmarshalling(sequence: rpc.MessageSequence): Promise\<PixelMap>;|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:PixelMap;<br>方法or属性:setColorSpace(colorSpace: colorSpaceManager.ColorSpaceManager): void;|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:ImageSource;<br>方法or属性:getDelayTimeList(): Promise\<Array\<number>>;|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:ImageSource;<br>方法or属性:getDelayTimeList(callback: AsyncCallback\<Array\<number>>): void;|@ohos.multimedia.image.d.ts| +|新增|NA|ç±»å:AVPlayer;<br>方法or属性:audioEffectMode ?: audio.AudioEffectMode;|@ohos.multimedia.media.d.ts| +|新增(错误ç )|ç±»å:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap): Promise\<ColorPicker>;<br>旧版本信æ¯ï¼š|ç±»å:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap): Promise\<ColorPicker>;<br>新版本信æ¯ï¼š401|@ohos.effectKit.d.ts| +|新增(错误ç )|ç±»å:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap,callback:AsyncCallback\<ColorPicker>):void;<br>旧版本信æ¯ï¼š|ç±»å:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap,callback:AsyncCallback\<ColorPicker>):void;<br>新版本信æ¯ï¼š401|@ohos.effectKit.d.ts| +|新增(错误ç )|ç±»å:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType): Promise\<AVSession>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType): Promise\<AVSession>;<br>新版本信æ¯ï¼š401,6600101|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>新版本信æ¯ï¼š201,6600101|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>新版本信æ¯ï¼š201,401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>新版本信æ¯ï¼š201,401,6600101,6600102,6600104|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>新版本信æ¯ï¼š201,401,6600101,6600105|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信æ¯ï¼š201,401,6600101,6600105,6600107|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSession;<br>方法or属性:setAVMetadata(data: AVMetadata): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSession;<br>方法or属性:setAVMetadata(data: AVMetadata): Promise\<void>;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSession;<br>方法or属性:setAVPlaybackState(state: AVPlaybackState): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSession;<br>方法or属性:setAVPlaybackState(state: AVPlaybackState): Promise\<void>;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSession;<br>方法or属性:setLaunchAbility(ability: WantAgent): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSession;<br>方法or属性:setLaunchAbility(ability: WantAgent): Promise\<void>;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSession;<br>方法or属性:getController(): Promise\<AVSessionController>;<br>旧版本信æ¯ï¼š|ç±»å:AVSession;<br>方法or属性:getController(): Promise\<AVSessionController>;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSession;<br>方法or属性:getOutputDevice(): Promise\<OutputDeviceInfo>;<br>旧版本信æ¯ï¼š|ç±»å:AVSession;<br>方法or属性:getOutputDevice(): Promise\<OutputDeviceInfo>;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:getOutputDevice(): Promise\<OutputDeviceInfo>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:getOutputDevice(): Promise\<OutputDeviceInfo>;<br>新版本信æ¯ï¼š600101,600103|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSession;<br>方法or属性:activate(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSession;<br>方法or属性:activate(): Promise\<void>;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSession;<br>方法or属性:deactivate(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSession;<br>方法or属性:deactivate(): Promise\<void>;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSession;<br>方法or属性:destroy(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSession;<br>方法or属性:destroy(): Promise\<void>;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:destroy(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:destroy(): Promise\<void>;<br>新版本信æ¯ï¼š6600101,6600103|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:getAVPlaybackState(): Promise\<AVPlaybackState>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:getAVPlaybackState(): Promise\<AVPlaybackState>;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:getAVMetadata(): Promise\<AVMetadata>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:getAVMetadata(): Promise\<AVMetadata>;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:sendAVKeyEvent(event: KeyEvent): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:sendAVKeyEvent(event: KeyEvent): Promise\<void>;<br>新版本信æ¯ï¼š401,600101,600102,600103,600105,600106|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:getLaunchAbility(): Promise\<WantAgent>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:getLaunchAbility(): Promise\<WantAgent>;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:isActive(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:isActive(): Promise\<boolean>;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:getValidCommands(): Promise\<Array\<AVControlCommandType>>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:getValidCommands(): Promise\<Array\<AVControlCommandType>>;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信æ¯ï¼š401,6600101,6600102,6600103,6600105,6600106,6600107|@ohos.multimedia.avsession.d.ts| +|新增(错误ç )|ç±»å:ImageSource;<br>方法or属性:createPixelMapList(options?: DecodingOptions): Promise\<Array\<PixelMap>>;<br>旧版本信æ¯ï¼š|ç±»å:ImageSource;<br>方法or属性:createPixelMapList(options?: DecodingOptions): Promise\<Array\<PixelMap>>;<br>新版本信æ¯ï¼š62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts| +|新增(错误ç )|ç±»å:ImageSource;<br>方法or属性:createPixelMapList(callback: AsyncCallback\<Array\<PixelMap>>): void;<br>旧版本信æ¯ï¼š|ç±»å:ImageSource;<br>方法or属性:createPixelMapList(callback: AsyncCallback\<Array\<PixelMap>>): void;<br>新版本信æ¯ï¼š62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts| +|新增(错误ç )|ç±»å:ImageSource;<br>方法or属性:createPixelMapList(options: DecodingOptions, callback: AsyncCallback\<Array\<PixelMap>>): void;<br>旧版本信æ¯ï¼š|ç±»å:ImageSource;<br>方法or属性:createPixelMapList(options: DecodingOptions, callback: AsyncCallback\<Array\<PixelMap>>): void;<br>新版本信æ¯ï¼š62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts| +|新增(错误ç )|ç±»å:ImageSource;<br>方法or属性:getFrameCount(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:ImageSource;<br>方法or属性:getFrameCount(): Promise\<number>;<br>新版本信æ¯ï¼š62980096,62980110,62980111,62980113,62980116,62980118,62980122|@ohos.multimedia.image.d.ts| +|新增(错误ç )|ç±»å:ImageSource;<br>方法or属性:getFrameCount(callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:ImageSource;<br>方法or属性:getFrameCount(callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š62980096,62980110,62980111,62980113,62980116,62980118,62980122|@ohos.multimedia.image.d.ts| +|错误ç 有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\<AVSession>): void;<br>旧版本信æ¯ï¼š401,{@link|ç±»å:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\<AVSession>): void;<br>新版本信æ¯ï¼š401,6600101|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function getAllSessionDescriptors(callback: AsyncCallback\<Array\<Readonly\<AVSessionDescriptor>>>): void;<br>旧版本信æ¯ï¼š201,{@link|ç±»å:avSession;<br>方法or属性:function getAllSessionDescriptors(callback: AsyncCallback\<Array\<Readonly\<AVSessionDescriptor>>>): void;<br>新版本信æ¯ï¼š201,6600101|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function createController(sessionId: string, callback: AsyncCallback\<AVSessionController>): void;<br>旧版本信æ¯ï¼š201,401,{@link,{@link|ç±»å:avSession;<br>方法or属性:function createController(sessionId: string, callback: AsyncCallback\<AVSessionController>): void;<br>新版本信æ¯ï¼š201,401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,{@link,{@link,{@link|ç±»å:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,6600101,6600102,6600104|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function on(type: 'sessionServiceDie', callback: () => void): void;<br>旧版本信æ¯ï¼š201,401,{@link|ç±»å:avSession;<br>方法or属性:function on(type: 'sessionServiceDie', callback: () => void): void;<br>新版本信æ¯ï¼š201,401,6600101|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function off(type: 'sessionServiceDie', callback?: () => void): void;<br>旧版本信æ¯ï¼š201,401,{@link|ç±»å:avSession;<br>方法or属性:function off(type: 'sessionServiceDie', callback?: () => void): void;<br>新版本信æ¯ï¼š201,401,6600101|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,{@link,{@link|ç±»å:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,6600101,6600105|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,{@link,{@link,{@link|ç±»å:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,6600101,6600105,6600107|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:setAVMetadata(data: AVMetadata, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:setAVMetadata(data: AVMetadata, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:setLaunchAbility(ability: WantAgent, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:setLaunchAbility(ability: WantAgent, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:dispatchSessionEvent(event: string, args: {[key: string]: Object}, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:dispatchSessionEvent(event: string, args: {[key: string]: Object}, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise\<void>;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise\<void>;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:setExtras(extras: {[key: string]: Object}, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:setExtras(extras: {[key: string]: Object}, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:setExtras(extras: {[key: string]: Object}): Promise\<void>;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:setExtras(extras: {[key: string]: Object}): Promise\<void>;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:getController(callback: AsyncCallback\<AVSessionController>): void;<br>旧版本信æ¯ï¼š{@link,{@link|ç±»å:AVSession;<br>方法or属性:getController(callback: AsyncCallback\<AVSessionController>): void;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:getOutputDevice(callback: AsyncCallback\<OutputDeviceInfo>): void;<br>旧版本信æ¯ï¼š{@link,{@link|ç±»å:AVSession;<br>方法or属性:getOutputDevice(callback: AsyncCallback\<OutputDeviceInfo>): void;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:getOutputDevice(callback: AsyncCallback\<OutputDeviceInfo>): void;<br>旧版本信æ¯ï¼š{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:getOutputDevice(callback: AsyncCallback\<OutputDeviceInfo>): void;<br>新版本信æ¯ï¼š600101,600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:on(type: 'seek', callback: (time: number) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:on(type: 'seek', callback: (time: number) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:on(type: 'setSpeed', callback: (speed: number) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:on(type: 'setSpeed', callback: (speed: number) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:on(type: 'toggleFavorite', callback: (assetId: string) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:on(type: 'toggleFavorite', callback: (assetId: string) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:off(type: 'seek', callback?: (time: number) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:off(type: 'seek', callback?: (time: number) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSession;<br>方法or属性:off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:activate(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š{@link,{@link|ç±»å:AVSession;<br>方法or属性:activate(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:deactivate(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š{@link,{@link|ç±»å:AVSession;<br>方法or属性:deactivate(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSession;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š{@link,{@link|ç±»å:AVSession;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š6600101,6600102|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:getAVPlaybackState(callback: AsyncCallback\<AVPlaybackState>): void;<br>旧版本信æ¯ï¼š{@link,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:getAVPlaybackState(callback: AsyncCallback\<AVPlaybackState>): void;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:getAVMetadata(callback: AsyncCallback\<AVMetadata>): void;<br>旧版本信æ¯ï¼š{@link,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:getAVMetadata(callback: AsyncCallback\<AVMetadata>): void;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,{@link,{@link,{@link,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,600101,600102,600103,600105,600106|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:getLaunchAbility(callback: AsyncCallback\<WantAgent>): void;<br>旧版本信æ¯ï¼š{@link,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:getLaunchAbility(callback: AsyncCallback\<WantAgent>): void;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:getRealPlaybackPositionSync(): number;<br>旧版本信æ¯ï¼š{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:getRealPlaybackPositionSync(): number;<br>新版本信æ¯ï¼š6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:isActive(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š{@link,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:isActive(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:getValidCommands(callback: AsyncCallback\<Array\<AVControlCommandType>>): void;<br>旧版本信æ¯ï¼š{@link,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:getValidCommands(callback: AsyncCallback\<Array\<AVControlCommandType>>): void;<br>新版本信æ¯ï¼š6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,{@link,{@link,{@link,{@link,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,6600101,6600102,6600103,6600105,6600106,6600107|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:on(type: 'metadataChange', filter: Array\<keyof AVMetadata> \| 'all', callback: (data: AVMetadata) => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:on(type: 'metadataChange', filter: Array\<keyof AVMetadata> \| 'all', callback: (data: AVMetadata) => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:on(type: 'playbackStateChange', filter: Array\<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:on(type: 'playbackStateChange', filter: Array\<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:on(type: 'sessionDestroy', callback: () => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:on(type: 'sessionDestroy', callback: () => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:on(type: 'activeStateChange', callback: (isActive: boolean) => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:on(type: 'activeStateChange', callback: (isActive: boolean) => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:on(type: 'validCommandChange', callback: (commands: Array\<AVControlCommandType>) => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:on(type: 'validCommandChange', callback: (commands: Array\<AVControlCommandType>) => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:off(type: 'sessionDestroy', callback?: () => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:off(type: 'sessionDestroy', callback?: () => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AVSessionController;<br>方法or属性:off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): void;<br>旧版本信æ¯ï¼š401,{@link,{@link|ç±»å:AVSessionController;<br>方法or属性:off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): void;<br>新版本信æ¯ï¼š401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConnectType;<br>方法or属性:CONNECT_TYPE_LOCAL = 1<br>旧版本信æ¯ï¼š|ç±»å:ConnectType;<br>方法or属性:CONNECT_TYPE_LOCAL = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConnectType;<br>方法or属性:CONNECT_TYPE_DISTRIBUTED = 2<br>旧版本信æ¯ï¼š|ç±»å:ConnectType;<br>方法or属性:CONNECT_TYPE_DISTRIBUTED = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:VolumeGroupInfo;<br>方法or属性:readonly groupId: number;<br>旧版本信æ¯ï¼š|ç±»å:VolumeGroupInfo;<br>方法or属性:readonly groupId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:VolumeGroupInfo;<br>方法or属性:readonly mappingId: number;<br>旧版本信æ¯ï¼š|ç±»å:VolumeGroupInfo;<br>方法or属性:readonly mappingId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:VolumeGroupInfo;<br>方法or属性:readonly groupName: string;<br>旧版本信æ¯ï¼š|ç±»å:VolumeGroupInfo;<br>方法or属性:readonly groupName: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:VolumeGroupInfo;<br>方法or属性:readonly type: ConnectType;<br>旧版本信æ¯ï¼š|ç±»å:VolumeGroupInfo;<br>方法or属性:readonly type: ConnectType;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:VolumeEvent;<br>方法or属性:interface VolumeEvent<br>旧版本信æ¯ï¼šsystemapi|ç±»å:VolumeEvent;<br>方法or属性:interface VolumeEvent<br>新版本信æ¯ï¼š|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:VolumeEvent;<br>方法or属性:volumeGroupId: number;<br>旧版本信æ¯ï¼š|ç±»å:VolumeEvent;<br>方法or属性:volumeGroupId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:VolumeEvent;<br>方法or属性:networkId: string;<br>旧版本信æ¯ï¼š|ç±»å:VolumeEvent;<br>方法or属性:networkId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_0 = 0<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_0 = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_1 = 1<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_1 = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_2 = 2<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_2 = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_3 = 3<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_3 = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_4 = 4<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_4 = 4<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_5 = 5<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_5 = 5<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_6 = 6<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_6 = 6<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_7 = 7<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_7 = 7<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_8 = 8<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_8 = 8<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_9 = 9<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_9 = 9<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_S = 10<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_S = 10<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_P = 11<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_P = 11<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_A = 12<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_A = 12<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_B = 13<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_B = 13<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_C = 14<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_C = 14<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_D = 15<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_DIAL_D = 15<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_ACK = 201<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_ACK = 201<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204<br>旧版本信æ¯ï¼š|ç±»å:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TonePlayer;<br>方法or属性:load(type: ToneType, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:TonePlayer;<br>方法or属性:load(type: ToneType, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TonePlayer;<br>方法or属性:load(type: ToneType): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TonePlayer;<br>方法or属性:load(type: ToneType): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TonePlayer;<br>方法or属性:start(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:TonePlayer;<br>方法or属性:start(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TonePlayer;<br>方法or属性:start(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TonePlayer;<br>方法or属性:start(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TonePlayer;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:TonePlayer;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TonePlayer;<br>方法or属性:stop(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TonePlayer;<br>方法or属性:stop(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TonePlayer;<br>方法or属性:release(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:TonePlayer;<br>方法or属性:release(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TonePlayer;<br>方法or属性:release(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:TonePlayer;<br>方法or属性:release(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.audio.d.ts| +|访问级别有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:sessionId: string;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:sessionId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:sessionId: string;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:sessionId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:pid?: number;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:pid?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:uid?: number;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:uid?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:type: AVSessionType;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:type: AVSessionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:sessionTag: string;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:sessionTag: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:elementName: ElementName;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:elementName: ElementName;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:isActive: boolean;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:isActive: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:isTopSession: boolean;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:isTopSession: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|访问级别有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:outputDevice: OutputDeviceInfo;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:outputDevice: OutputDeviceInfo;<br>新版本信æ¯ï¼šsystemapi|@ohos.multimedia.avsession.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:sessionId: string;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:sessionId: string;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:pid?: number;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:pid?: number;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:uid?: number;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:uid?: number;<br>新版本信æ¯ï¼šohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AudioRendererInfo;<br>方法or属性:content?: ContentType;<br>旧版本信æ¯ï¼š|ç±»å:AudioRendererInfo;<br>方法or属性:content?: ContentType;<br>新版本信æ¯ï¼š?ContentType|@ohos.multimedia.audio.d.ts| +|type有å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:sessionId: string;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:sessionId: string;<br>新版本信æ¯ï¼šstring|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:sessionId: string;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:sessionId: string;<br>新版本信æ¯ï¼šstring|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:pid?: number;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:pid?: number;<br>新版本信æ¯ï¼š?number|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:uid?: number;<br>旧版本信æ¯ï¼š|ç±»å:SessionToken;<br>方法or属性:uid?: number;<br>新版本信æ¯ï¼š?number|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:assetId: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:assetId: string;<br>新版本信æ¯ï¼šstring|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:title?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:title?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMediaDescription;<br>方法or属性:title?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMediaDescription;<br>方法or属性:title?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:artist?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:artist?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:author?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:author?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:album?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:album?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:writer?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:writer?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:composer?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:composer?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:duration?: number;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:duration?: number;<br>新版本信æ¯ï¼š?number|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:publishDate?: Date;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:publishDate?: Date;<br>新版本信æ¯ï¼š?Date|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:subtitle?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:subtitle?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMediaDescription;<br>方法or属性:subtitle?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMediaDescription;<br>方法or属性:subtitle?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:description?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:description?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMediaDescription;<br>方法or属性:description?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMediaDescription;<br>方法or属性:description?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:lyric?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:lyric?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:previousAssetId?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:previousAssetId?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMetadata;<br>方法or属性:nextAssetId?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMetadata;<br>方法or属性:nextAssetId?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMediaDescription;<br>方法or属性:mediaId: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMediaDescription;<br>方法or属性:mediaId: string;<br>新版本信æ¯ï¼šstring|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMediaDescription;<br>方法or属性:iconUri?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMediaDescription;<br>方法or属性:iconUri?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVMediaDescription;<br>方法or属性:mediaUri?: string;<br>旧版本信æ¯ï¼š|ç±»å:AVMediaDescription;<br>方法or属性:mediaUri?: string;<br>新版本信æ¯ï¼š?string|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVQueueItem;<br>方法or属性:itemId: number;<br>旧版本信æ¯ï¼š|ç±»å:AVQueueItem;<br>方法or属性:itemId: number;<br>新版本信æ¯ï¼šnumber|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVPlaybackState;<br>方法or属性:speed?: number;<br>旧版本信æ¯ï¼š|ç±»å:AVPlaybackState;<br>方法or属性:speed?: number;<br>新版本信æ¯ï¼š?number|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVPlaybackState;<br>方法or属性:bufferedTime?: number;<br>旧版本信æ¯ï¼š|ç±»å:AVPlaybackState;<br>方法or属性:bufferedTime?: number;<br>新版本信æ¯ï¼š?number|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVPlaybackState;<br>方法or属性:isFavorite?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:AVPlaybackState;<br>方法or属性:isFavorite?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVPlaybackState;<br>方法or属性:activeItemId?: number;<br>旧版本信æ¯ï¼š|ç±»å:AVPlaybackState;<br>方法or属性:activeItemId?: number;<br>新版本信æ¯ï¼š?number|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:PlaybackPosition;<br>方法or属性:elapsedTime: number;<br>旧版本信æ¯ï¼š|ç±»å:PlaybackPosition;<br>方法or属性:elapsedTime: number;<br>新版本信æ¯ï¼šnumber|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:PlaybackPosition;<br>方法or属性:updateTime: number;<br>旧版本信æ¯ï¼š|ç±»å:PlaybackPosition;<br>方法or属性:updateTime: number;<br>新版本信æ¯ï¼šnumber|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:sessionTag: string;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:sessionTag: string;<br>新版本信æ¯ï¼šstring|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:isActive: boolean;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:isActive: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.multimedia.avsession.d.ts| +|type有å˜åŒ–|ç±»å:AVSessionDescriptor;<br>方法or属性:isTopSession: boolean;<br>旧版本信æ¯ï¼š|ç±»å:AVSessionDescriptor;<br>方法or属性:isTopSession: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.multimedia.avsession.d.ts| +|函数有å˜åŒ–|ç±»å:AudioRendererInfo;<br>方法or属性:content: ContentType;|ç±»å:AudioRendererInfo;<br>方法or属性:content?: ContentType;|@ohos.multimedia.audio.d.ts| +|函数有å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:pid: number;|ç±»å:SessionToken;<br>方法or属性:pid?: number;|@ohos.multimedia.avsession.d.ts| +|函数有å˜åŒ–|ç±»å:SessionToken;<br>方法or属性:uid: number;|ç±»å:SessionToken;<br>方法or属性:uid?: number;|@ohos.multimedia.avsession.d.ts| +|函数有å˜åŒ–|ç±»å:AVMediaDescription;<br>方法or属性:icon?: image.PixelMap \| string;|ç±»å:AVMediaDescription;<br>方法or属性:icon?: image.PixelMap;|@ohos.multimedia.avsession.d.ts| +|函数有å˜åŒ–|ç±»å:CameraInput;<br>方法or属性:on(type: 'error', camera: CameraDevice, callback: ErrorCallback\<BusinessError>): void;|ç±»å:CameraInput;<br>方法or属性:on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|函数有å˜åŒ–|ç±»å:CaptureSession;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|ç±»å:CaptureSession;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|函数有å˜åŒ–|ç±»å:PreviewOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|ç±»å:PreviewOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|函数有å˜åŒ–|ç±»å:PhotoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|ç±»å:PhotoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|函数有å˜åŒ–|ç±»å:VideoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|ç±»å:VideoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|函数有å˜åŒ–|ç±»å:MetadataOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|ç±»å:MetadataOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-notification.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-notification.md new file mode 100644 index 0000000000000000000000000000000000000000..9f62e8a77e1aa1cdb7238e6ef58e20bddc3a9f01 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-notification.md @@ -0,0 +1,250 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:Support;<br>方法or属性:COMMON_EVENT_CHARGE_IDLE_MODE_CHANGED = 'usual.event.CHARGE_IDLE_MODE_CHANGED'|@ohos.commonEventManager.d.ts| +|新增|NA|ç±»å:emitter;<br>方法or属性:function off(eventId: number, callback: Callback\<EventData>): void;|@ohos.events.emitter.d.ts| +|新增|NA|ç±»å:notificationSubscribe;<br>方法or属性:function remove(hashCodes: Array\<String>, reason: RemoveReason, callback: AsyncCallback\<void>): void;|@ohos.notificationSubscribe.d.ts| +|新增|NA|ç±»å:notificationSubscribe;<br>方法or属性:function remove(hashCodes: Array\<String>, reason: RemoveReason): Promise\<void>;|@ohos.notificationSubscribe.d.ts| +|错误ç 有å˜åŒ–|ç±»å:reminderAgentManager;<br>方法or属性:function publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š401|ç±»å:reminderAgentManager;<br>方法or属性:function publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š401,1700001,1700002|@ohos.reminderAgentManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:reminderAgentManager;<br>方法or属性:function publishReminder(reminderReq: ReminderRequest): Promise\<number>;<br>旧版本信æ¯ï¼š401|ç±»å:reminderAgentManager;<br>方法or属性:function publishReminder(reminderReq: ReminderRequest): Promise\<number>;<br>新版本信æ¯ï¼š401,1700001,1700002|@ohos.reminderAgentManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:reminderAgentManager;<br>方法or属性:function cancelReminder(reminderId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401|ç±»å:reminderAgentManager;<br>方法or属性:function cancelReminder(reminderId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,1700003,1700004|@ohos.reminderAgentManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:reminderAgentManager;<br>方法or属性:function cancelReminder(reminderId: number): Promise\<void>;<br>旧版本信æ¯ï¼š401|ç±»å:reminderAgentManager;<br>方法or属性:function cancelReminder(reminderId: number): Promise\<void>;<br>新版本信æ¯ï¼š401,1700003,1700004|@ohos.reminderAgentManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:reminderAgentManager;<br>方法or属性:function getValidReminders(callback: AsyncCallback\<Array\<ReminderRequest>>): void;<br>旧版本信æ¯ï¼š401|ç±»å:reminderAgentManager;<br>方法or属性:function getValidReminders(callback: AsyncCallback\<Array\<ReminderRequest>>): void;<br>新版本信æ¯ï¼š401,1700004|@ohos.reminderAgentManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:reminderAgentManager;<br>方法or属性:function getValidReminders(): Promise\<Array\<ReminderRequest>>;<br>旧版本信æ¯ï¼š401|ç±»å:reminderAgentManager;<br>方法or属性:function getValidReminders(): Promise\<Array\<ReminderRequest>>;<br>新版本信æ¯ï¼š401,1700004|@ohos.reminderAgentManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:reminderAgentManager;<br>方法or属性:function cancelAllReminders(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401|ç±»å:reminderAgentManager;<br>方法or属性:function cancelAllReminders(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401,1700004|@ohos.reminderAgentManager.d.ts| +|错误ç 有å˜åŒ–|ç±»å:reminderAgentManager;<br>方法or属性:function cancelAllReminders(): Promise\<void>;<br>旧版本信æ¯ï¼š401|ç±»å:reminderAgentManager;<br>方法or属性:function cancelAllReminders(): Promise\<void>;<br>新版本信æ¯ï¼š401,1700004|@ohos.reminderAgentManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function publish(request: NotificationRequest, userId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function publish(request: NotificationRequest, userId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function isNotificationEnabled(userId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function isNotificationEnabled(userId: number): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function removeAll(userId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function removeAll(userId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function getDoNotDisturbDate(): Promise\<DoNotDisturbDate>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function getDoNotDisturbDate(): Promise\<DoNotDisturbDate>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function getDoNotDisturbDate(userId: number): Promise\<DoNotDisturbDate>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function getDoNotDisturbDate(userId: number): Promise\<DoNotDisturbDate>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function supportDoNotDisturbMode(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function supportDoNotDisturbMode(): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function enableDistributed(enable: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function enableDistributed(enable: boolean): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function isDistributedEnabledByBundle(bundle: BundleOption): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function isDistributedEnabledByBundle(bundle: BundleOption): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:notification;<br>方法or属性:function getDeviceRemindType(): Promise\<DeviceRemindType>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function getDeviceRemindType(): Promise\<DeviceRemindType>;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_NONE = 0<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_NONE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_ONCE = 1<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_ONCE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_DAILY = 2<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_DAILY = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_CLEARLY = 3<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_CLEARLY = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:end: Date;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:end: Date;<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceRemindType;<br>方法or属性:IDLE_DONOT_REMIND = 0<br>旧版本信æ¯ï¼š|ç±»å:DeviceRemindType;<br>方法or属性:IDLE_DONOT_REMIND = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceRemindType;<br>方法or属性:IDLE_REMIND = 1<br>旧版本信æ¯ï¼š|ç±»å:DeviceRemindType;<br>方法or属性:IDLE_REMIND = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceRemindType;<br>方法or属性:ACTIVE_DONOT_REMIND = 2<br>旧版本信æ¯ï¼š|ç±»å:DeviceRemindType;<br>方法or属性:ACTIVE_DONOT_REMIND = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceRemindType;<br>方法or属性:ACTIVE_REMIND = 3<br>旧版本信æ¯ï¼š|ç±»å:DeviceRemindType;<br>方法or属性:ACTIVE_REMIND = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:SourceType;<br>方法or属性:TYPE_NORMAL = 0<br>旧版本信æ¯ï¼š|ç±»å:SourceType;<br>方法or属性:TYPE_NORMAL = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:SourceType;<br>方法or属性:TYPE_CONTINUOUS = 1<br>旧版本信æ¯ï¼š|ç±»å:SourceType;<br>方法or属性:TYPE_CONTINUOUS = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:SourceType;<br>方法or属性:TYPE_TIMER = 2<br>旧版本信æ¯ï¼š|ç±»å:SourceType;<br>方法or属性:TYPE_TIMER = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:RemoveReason;<br>方法or属性:CLICK_REASON_REMOVE = 1<br>旧版本信æ¯ï¼š|ç±»å:RemoveReason;<br>方法or属性:CLICK_REASON_REMOVE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:RemoveReason;<br>方法or属性:CANCEL_REASON_REMOVE = 2<br>旧版本信æ¯ï¼š|ç±»å:RemoveReason;<br>方法or属性:CANCEL_REASON_REMOVE = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.notification.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationCheckResult;<br>方法or属性:code: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckResult;<br>方法or属性:code: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationCheckResult;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckResult;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_NONE = 0<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_NONE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_ONCE = 1<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_ONCE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_DAILY = 2<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_DAILY = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_CLEARLY = 3<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbType;<br>方法or属性:TYPE_CLEARLY = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:end: Date;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:end: Date;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceRemindType;<br>方法or属性:IDLE_DONOT_REMIND = 0<br>旧版本信æ¯ï¼š|ç±»å:DeviceRemindType;<br>方法or属性:IDLE_DONOT_REMIND = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceRemindType;<br>方法or属性:IDLE_REMIND = 1<br>旧版本信æ¯ï¼š|ç±»å:DeviceRemindType;<br>方法or属性:IDLE_REMIND = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceRemindType;<br>方法or属性:ACTIVE_DONOT_REMIND = 2<br>旧版本信æ¯ï¼š|ç±»å:DeviceRemindType;<br>方法or属性:ACTIVE_DONOT_REMIND = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:DeviceRemindType;<br>方法or属性:ACTIVE_REMIND = 3<br>旧版本信æ¯ï¼š|ç±»å:DeviceRemindType;<br>方法or属性:ACTIVE_REMIND = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SourceType;<br>方法or属性:TYPE_NORMAL = 0<br>旧版本信æ¯ï¼š|ç±»å:SourceType;<br>方法or属性:TYPE_NORMAL = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SourceType;<br>方法or属性:TYPE_CONTINUOUS = 1<br>旧版本信æ¯ï¼š|ç±»å:SourceType;<br>方法or属性:TYPE_CONTINUOUS = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:SourceType;<br>方法or属性:TYPE_TIMER = 2<br>旧版本信æ¯ï¼š|ç±»å:SourceType;<br>方法or属性:TYPE_TIMER = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationManager.d.ts| +|访问级别有å˜åŒ–|ç±»å:notificationSubscribe;<br>方法or属性:export type BundleOption = _BundleOption;<br>旧版本信æ¯ï¼š|ç±»å:notificationSubscribe;<br>方法or属性:export type BundleOption = _BundleOption;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationSubscribe.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationKey;<br>方法or属性:id: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationKey;<br>方法or属性:id: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationSubscribe.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationKey;<br>方法or属性:label?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationKey;<br>方法or属性:label?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationSubscribe.d.ts| +|访问级别有å˜åŒ–|ç±»å:RemoveReason;<br>方法or属性:CLICK_REASON_REMOVE = 1<br>旧版本信æ¯ï¼š|ç±»å:RemoveReason;<br>方法or属性:CLICK_REASON_REMOVE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationSubscribe.d.ts| +|访问级别有å˜åŒ–|ç±»å:RemoveReason;<br>方法or属性:CANCEL_REASON_REMOVE = 2<br>旧版本信æ¯ï¼š|ç±»å:RemoveReason;<br>方法or属性:CANCEL_REASON_REMOVE = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.notificationSubscribe.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSorting;<br>方法or属性:readonly slot: NotificationSlot;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSorting;<br>方法or属性:readonly slot: NotificationSlot;<br>新版本信æ¯ï¼šsystemapi|notificationSorting.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSorting;<br>方法or属性:readonly hashCode: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSorting;<br>方法or属性:readonly hashCode: string;<br>新版本信æ¯ï¼šsystemapi|notificationSorting.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSorting;<br>方法or属性:readonly ranking: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSorting;<br>方法or属性:readonly ranking: number;<br>新版本信æ¯ï¼šsystemapi|notificationSorting.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSortingMap;<br>方法or属性:readonly sortings: { [key: string]: NotificationSorting };<br>旧版本信æ¯ï¼š|ç±»å:NotificationSortingMap;<br>方法or属性:readonly sortings: { [key: string]: NotificationSorting };<br>新版本信æ¯ï¼šsystemapi|notificationSortingMap.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSortingMap;<br>方法or属性:readonly sortedHashCode: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSortingMap;<br>方法or属性:readonly sortedHashCode: Array\<string>;<br>新版本信æ¯ï¼šsystemapi|notificationSortingMap.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscribeInfo;<br>方法or属性:bundleNames?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscribeInfo;<br>方法or属性:bundleNames?: Array\<string>;<br>新版本信æ¯ï¼šsystemapi|notificationSubscribeInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscribeInfo;<br>方法or属性:userId?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscribeInfo;<br>方法or属性:userId?: number;<br>新版本信æ¯ï¼šsystemapi|notificationSubscribeInfo.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onConsume?: (data: SubscribeCallbackData) => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onConsume?: (data: SubscribeCallbackData) => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onCancel?: (data: SubscribeCallbackData) => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onCancel?: (data: SubscribeCallbackData) => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onUpdate?: (data: NotificationSortingMap) => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onUpdate?: (data: NotificationSortingMap) => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onConnect?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onConnect?: () => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onDisconnect?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onDisconnect?: () => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onDestroy?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onDestroy?: () => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onDoNotDisturbDateChange?: (mode: notification.DoNotDisturbDate) => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onDoNotDisturbDateChange?: (mode: notification.DoNotDisturbDate) => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onEnabledNotificationChanged?: (callbackData: EnabledNotificationCallbackData) => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onEnabledNotificationChanged?: (callbackData: EnabledNotificationCallbackData) => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:NotificationSubscriber;<br>方法or属性:onBadgeChanged?: (data: BadgeNumberCallbackData) => void;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscriber;<br>方法or属性:onBadgeChanged?: (data: BadgeNumberCallbackData) => void;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly request: NotificationRequest;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly request: NotificationRequest;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly reason?: number;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly reason?: number;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly sound?: string;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly sound?: string;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly vibrationValues?: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly vibrationValues?: Array\<number>;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly bundle: string;<br>旧版本信æ¯ï¼š|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly bundle: string;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly bundle: string;<br>旧版本信æ¯ï¼š|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly bundle: string;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly uid: number;<br>旧版本信æ¯ï¼š|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly uid: number;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly uid: number;<br>旧版本信æ¯ï¼š|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly uid: number;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly enable: boolean;<br>旧版本信æ¯ï¼š|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly enable: boolean;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|访问级别有å˜åŒ–|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly badgeNumber: number;<br>旧版本信æ¯ï¼š|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly badgeNumber: number;<br>新版本信æ¯ï¼šsystemapi|notificationSubscriber.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function publish(request: NotificationRequest, userId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function publish(request: NotificationRequest, userId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function isNotificationEnabled(userId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function isNotificationEnabled(userId: number): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function removeAll(userId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function removeAll(userId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function getDoNotDisturbDate(): Promise\<DoNotDisturbDate>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function getDoNotDisturbDate(): Promise\<DoNotDisturbDate>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function getDoNotDisturbDate(userId: number): Promise\<DoNotDisturbDate>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function getDoNotDisturbDate(userId: number): Promise\<DoNotDisturbDate>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function supportDoNotDisturbMode(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function supportDoNotDisturbMode(): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function enableDistributed(enable: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function enableDistributed(enable: boolean): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function isDistributedEnabledByBundle(bundle: BundleOption): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function isDistributedEnabledByBundle(bundle: BundleOption): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:notification;<br>方法or属性:function getDeviceRemindType(): Promise\<DeviceRemindType>;<br>旧版本信æ¯ï¼š|ç±»å:notification;<br>方法or属性:function getDeviceRemindType(): Promise\<DeviceRemindType>;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:NotificationCheckResult;<br>方法or属性:code: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckResult;<br>方法or属性:code: number;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:NotificationCheckResult;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckResult;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:EventData;<br>方法or属性:data?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:EventData;<br>方法or属性:data?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|@ohos.events.emitter.d.ts| +|type有å˜åŒ–|ç±»å:InnerEvent;<br>方法or属性:eventId: number;<br>旧版本信æ¯ï¼š|ç±»å:InnerEvent;<br>方法or属性:eventId: number;<br>新版本信æ¯ï¼šnumber|@ohos.events.emitter.d.ts| +|type有å˜åŒ–|ç±»å:InnerEvent;<br>方法or属性:priority?: EventPriority;<br>旧版本信æ¯ï¼š|ç±»å:InnerEvent;<br>方法or属性:priority?: EventPriority;<br>新版本信æ¯ï¼š?EventPriority|@ohos.events.emitter.d.ts| +|type有å˜åŒ–|ç±»å:BundleOption;<br>方法or属性:bundle: string;<br>旧版本信æ¯ï¼š|ç±»å:BundleOption;<br>方法or属性:bundle: string;<br>新版本信æ¯ï¼šstring|@ohos.notification.d.ts| +|type有å˜åŒ–|ç±»å:BundleOption;<br>方法or属性:uid?: number;<br>旧版本信æ¯ï¼š|ç±»å:BundleOption;<br>方法or属性:uid?: number;<br>新版本信æ¯ï¼š?number|@ohos.notification.d.ts| +|type有å˜åŒ–|ç±»å:NotificationKey;<br>方法or属性:id: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationKey;<br>方法or属性:id: number;<br>新版本信æ¯ï¼šnumber|@ohos.notification.d.ts| +|type有å˜åŒ–|ç±»å:NotificationKey;<br>方法or属性:label?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationKey;<br>方法or属性:label?: string;<br>新版本信æ¯ï¼š?string|@ohos.notification.d.ts| +|type有å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>新版本信æ¯ï¼šnumber|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>新版本信æ¯ï¼šContentType|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:NotificationCheckResult;<br>方法or属性:code: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckResult;<br>方法or属性:code: number;<br>新版本信æ¯ï¼šnumber|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:NotificationCheckResult;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationCheckResult;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šstring|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>新版本信æ¯ï¼šDoNotDisturbType|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>新版本信æ¯ï¼šDate|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:DoNotDisturbDate;<br>方法or属性:end: Date;<br>旧版本信æ¯ï¼š|ç±»å:DoNotDisturbDate;<br>方法or属性:end: Date;<br>新版本信æ¯ï¼šDate|@ohos.notificationManager.d.ts| +|type有å˜åŒ–|ç±»å:NotificationKey;<br>方法or属性:id: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationKey;<br>方法or属性:id: number;<br>新版本信æ¯ï¼šnumber|@ohos.notificationSubscribe.d.ts| +|type有å˜åŒ–|ç±»å:NotificationKey;<br>方法or属性:label?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationKey;<br>方法or属性:label?: string;<br>新版本信æ¯ï¼š?string|@ohos.notificationSubscribe.d.ts| +|type有å˜åŒ–|ç±»å:ActionResult;<br>方法or属性:bundleName: string;<br>旧版本信æ¯ï¼š|ç±»å:ActionResult;<br>方法or属性:bundleName: string;<br>新版本信æ¯ï¼šstring|@system.notification.d.ts| +|type有å˜åŒ–|ç±»å:ActionResult;<br>方法or属性:abilityName: string;<br>旧版本信æ¯ï¼š|ç±»å:ActionResult;<br>方法or属性:abilityName: string;<br>新版本信æ¯ï¼šstring|@system.notification.d.ts| +|type有å˜åŒ–|ç±»å:ActionResult;<br>方法or属性:uri: string;<br>旧版本信æ¯ï¼š|ç±»å:ActionResult;<br>方法or属性:uri: string;<br>新版本信æ¯ï¼šstring|@system.notification.d.ts| +|type有å˜åŒ–|ç±»å:ShowNotificationOptions;<br>方法or属性:contentTitle?: string;<br>旧版本信æ¯ï¼š|ç±»å:ShowNotificationOptions;<br>方法or属性:contentTitle?: string;<br>新版本信æ¯ï¼š?string|@system.notification.d.ts| +|type有å˜åŒ–|ç±»å:ShowNotificationOptions;<br>方法or属性:contentText?: string;<br>旧版本信æ¯ï¼š|ç±»å:ShowNotificationOptions;<br>方法or属性:contentText?: string;<br>新版本信æ¯ï¼š?string|@system.notification.d.ts| +|type有å˜åŒ–|ç±»å:ShowNotificationOptions;<br>方法or属性:clickAction?: ActionResult;<br>旧版本信æ¯ï¼š|ç±»å:ShowNotificationOptions;<br>方法or属性:clickAction?: ActionResult;<br>新版本信æ¯ï¼š?ActionResult|@system.notification.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventData;<br>方法or属性:event: string;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventData;<br>方法or属性:event: string;<br>新版本信æ¯ï¼šstring|commonEventData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventData;<br>方法or属性:bundleName?: string;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventData;<br>方法or属性:bundleName?: string;<br>新版本信æ¯ï¼š?string|commonEventData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventData;<br>方法or属性:code?: number;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventData;<br>方法or属性:code?: number;<br>新版本信æ¯ï¼š?number|commonEventData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventData;<br>方法or属性:data?: string;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventData;<br>方法or属性:data?: string;<br>新版本信æ¯ï¼š?string|commonEventData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventData;<br>方法or属性:parameters?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:CommonEventData;<br>方法or属性:parameters?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|commonEventData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventPublishData;<br>方法or属性:bundleName?: string;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventPublishData;<br>方法or属性:bundleName?: string;<br>新版本信æ¯ï¼š?string|commonEventPublishData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventPublishData;<br>方法or属性:code?: number;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventPublishData;<br>方法or属性:code?: number;<br>新版本信æ¯ï¼š?number|commonEventPublishData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventPublishData;<br>方法or属性:data?: string;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventPublishData;<br>方法or属性:data?: string;<br>新版本信æ¯ï¼š?string|commonEventPublishData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventPublishData;<br>方法or属性:subscriberPermissions?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventPublishData;<br>方法or属性:subscriberPermissions?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|commonEventPublishData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventPublishData;<br>方法or属性:isOrdered?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventPublishData;<br>方法or属性:isOrdered?: boolean;<br>新版本信æ¯ï¼š?boolean|commonEventPublishData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventPublishData;<br>方法or属性:isSticky?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventPublishData;<br>方法or属性:isSticky?: boolean;<br>新版本信æ¯ï¼š?boolean|commonEventPublishData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventPublishData;<br>方法or属性:parameters?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:CommonEventPublishData;<br>方法or属性:parameters?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|commonEventPublishData.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:events: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:events: Array\<string>;<br>新版本信æ¯ï¼šArray\<string>|commonEventSubscribeInfo.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:publisherPermission?: string;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:publisherPermission?: string;<br>新版本信æ¯ï¼š?string|commonEventSubscribeInfo.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:publisherDeviceId?: string;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:publisherDeviceId?: string;<br>新版本信æ¯ï¼š?string|commonEventSubscribeInfo.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:userId?: number;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:userId?: number;<br>新版本信æ¯ï¼š?number|commonEventSubscribeInfo.d.ts| +|type有å˜åŒ–|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:priority?: number;<br>旧版本信æ¯ï¼š|ç±»å:CommonEventSubscribeInfo;<br>方法or属性:priority?: number;<br>新版本信æ¯ï¼š?number|commonEventSubscribeInfo.d.ts| +|type有å˜åŒ–|ç±»å:NotificationActionButton;<br>方法or属性:title: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationActionButton;<br>方法or属性:title: string;<br>新版本信æ¯ï¼šstring|notificationActionButton.d.ts| +|type有å˜åŒ–|ç±»å:NotificationActionButton;<br>方法or属性:wantAgent: WantAgent;<br>旧版本信æ¯ï¼š|ç±»å:NotificationActionButton;<br>方法or属性:wantAgent: WantAgent;<br>新版本信æ¯ï¼šWantAgent|notificationActionButton.d.ts| +|type有å˜åŒ–|ç±»å:NotificationActionButton;<br>方法or属性:extras?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:NotificationActionButton;<br>方法or属性:extras?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|notificationActionButton.d.ts| +|type有å˜åŒ–|ç±»å:NotificationActionButton;<br>方法or属性:userInput?: NotificationUserInput;<br>旧版本信æ¯ï¼š|ç±»å:NotificationActionButton;<br>方法or属性:userInput?: NotificationUserInput;<br>新版本信æ¯ï¼š?NotificationUserInput|notificationActionButton.d.ts| +|type有å˜åŒ–|ç±»å:BundleOption;<br>方法or属性:bundle: string;<br>旧版本信æ¯ï¼š|ç±»å:BundleOption;<br>方法or属性:bundle: string;<br>新版本信æ¯ï¼šstring|NotificationCommonDef.d.ts| +|type有å˜åŒ–|ç±»å:BundleOption;<br>方法or属性:uid?: number;<br>旧版本信æ¯ï¼š|ç±»å:BundleOption;<br>方法or属性:uid?: number;<br>新版本信æ¯ï¼š?number|NotificationCommonDef.d.ts| +|type有å˜åŒ–|ç±»å:NotificationBasicContent;<br>方法or属性:title: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationBasicContent;<br>方法or属性:title: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationBasicContent;<br>方法or属性:text: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationBasicContent;<br>方法or属性:text: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationBasicContent;<br>方法or属性:additionalText?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationBasicContent;<br>方法or属性:additionalText?: string;<br>新版本信æ¯ï¼š?string|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationLongTextContent;<br>方法or属性:longText: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationLongTextContent;<br>方法or属性:longText: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationLongTextContent;<br>方法or属性:briefText: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationLongTextContent;<br>方法or属性:briefText: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationMultiLineContent;<br>方法or属性:briefText: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationMultiLineContent;<br>方法or属性:briefText: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationPictureContent;<br>方法or属性:briefText: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationPictureContent;<br>方法or属性:briefText: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationLongTextContent;<br>方法or属性:expandedTitle: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationLongTextContent;<br>方法or属性:expandedTitle: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationPictureContent;<br>方法or属性:expandedTitle: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationPictureContent;<br>方法or属性:expandedTitle: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationMultiLineContent;<br>方法or属性:longTitle: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationMultiLineContent;<br>方法or属性:longTitle: string;<br>新版本信æ¯ï¼šstring|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationMultiLineContent;<br>方法or属性:lines: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:NotificationMultiLineContent;<br>方法or属性:lines: Array\<string>;<br>新版本信æ¯ï¼šArray\<string>|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationPictureContent;<br>方法or属性:picture: image.PixelMap;<br>旧版本信æ¯ï¼š|ç±»å:NotificationPictureContent;<br>方法or属性:picture: image.PixelMap;<br>新版本信æ¯ï¼šimage.PixelMap|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationContent;<br>方法or属性:contentType: notification.ContentType;<br>旧版本信æ¯ï¼š|ç±»å:NotificationContent;<br>方法or属性:contentType: notification.ContentType;<br>新版本信æ¯ï¼šnotification.ContentType|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationContent;<br>方法or属性:normal?: NotificationBasicContent;<br>旧版本信æ¯ï¼š|ç±»å:NotificationContent;<br>方法or属性:normal?: NotificationBasicContent;<br>新版本信æ¯ï¼š?NotificationBasicContent|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationContent;<br>方法or属性:longText?: NotificationLongTextContent;<br>旧版本信æ¯ï¼š|ç±»å:NotificationContent;<br>方法or属性:longText?: NotificationLongTextContent;<br>新版本信æ¯ï¼š?NotificationLongTextContent|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationContent;<br>方法or属性:multiLine?: NotificationMultiLineContent;<br>旧版本信æ¯ï¼š|ç±»å:NotificationContent;<br>方法or属性:multiLine?: NotificationMultiLineContent;<br>新版本信æ¯ï¼š?NotificationMultiLineContent|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationContent;<br>方法or属性:picture?: NotificationPictureContent;<br>旧版本信æ¯ï¼š|ç±»å:NotificationContent;<br>方法or属性:picture?: NotificationPictureContent;<br>新版本信æ¯ï¼š?NotificationPictureContent|notificationContent.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:content: NotificationContent;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:content: NotificationContent;<br>新版本信æ¯ï¼šNotificationContent|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:id?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:id?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:slotType?: notification.SlotType;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:slotType?: notification.SlotType;<br>新版本信æ¯ï¼š?notification.SlotType|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:isOngoing?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:isOngoing?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:isUnremovable?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:isUnremovable?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:deliveryTime?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:deliveryTime?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:tapDismissed?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:tapDismissed?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:autoDeletedTime?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:autoDeletedTime?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:wantAgent?: WantAgent;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:wantAgent?: WantAgent;<br>新版本信æ¯ï¼š?WantAgent|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:extraInfo?: { [key: string]: any };<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:extraInfo?: { [key: string]: any };<br>新版本信æ¯ï¼š?object|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:color?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:color?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:colorEnabled?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:colorEnabled?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:isAlertOnce?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:isAlertOnce?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:isStopwatch?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:isStopwatch?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:isCountDown?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:isCountDown?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:isFloatingIcon?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:isFloatingIcon?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:label?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:label?: string;<br>新版本信æ¯ï¼š?string|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:badgeIconStyle?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:badgeIconStyle?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:showDeliveryTime?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:showDeliveryTime?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:actionButtons?: Array\<NotificationActionButton>;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:actionButtons?: Array\<NotificationActionButton>;<br>新版本信æ¯ï¼š?Array\<NotificationActionButton>|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:smallIcon?: image.PixelMap;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:smallIcon?: image.PixelMap;<br>新版本信æ¯ï¼š?image.PixelMap|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:largeIcon?: image.PixelMap;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:largeIcon?: image.PixelMap;<br>新版本信æ¯ï¼š?image.PixelMap|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:groupName?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:groupName?: string;<br>新版本信æ¯ï¼š?string|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly creatorBundleName?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:readonly creatorBundleName?: string;<br>新版本信æ¯ï¼š?string|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly creatorUid?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:readonly creatorUid?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly creatorPid?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:readonly creatorPid?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly creatorUserId?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:readonly creatorUserId?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:classification?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:classification?: string;<br>新版本信æ¯ï¼š?string|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly hashCode?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:readonly hashCode?: string;<br>新版本信æ¯ï¼š?string|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:isRemoveAllowed?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:isRemoveAllowed?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly source?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:readonly source?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:template?: NotificationTemplate;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:template?: NotificationTemplate;<br>新版本信æ¯ï¼š?NotificationTemplate|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:distributedOption?: DistributedOptions;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:distributedOption?: DistributedOptions;<br>新版本信æ¯ï¼š?DistributedOptions|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly deviceId?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:readonly deviceId?: string;<br>新版本信æ¯ï¼š?string|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly notificationFlags?: NotificationFlags;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:readonly notificationFlags?: NotificationFlags;<br>新版本信æ¯ï¼š?NotificationFlags|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:removalWantAgent?: WantAgent;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:removalWantAgent?: WantAgent;<br>新版本信æ¯ï¼š?WantAgent|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:badgeNumber?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationRequest;<br>方法or属性:badgeNumber?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:DistributedOptions;<br>方法or属性:isDistributed?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:DistributedOptions;<br>方法or属性:isDistributed?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:DistributedOptions;<br>方法or属性:supportDisplayDevices?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:DistributedOptions;<br>方法or属性:supportDisplayDevices?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:DistributedOptions;<br>方法or属性:supportOperateDevices?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:DistributedOptions;<br>方法or属性:supportOperateDevices?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:DistributedOptions;<br>方法or属性:readonly remindType?: number;<br>旧版本信æ¯ï¼š|ç±»å:DistributedOptions;<br>方法or属性:readonly remindType?: number;<br>新版本信æ¯ï¼š?number|notificationRequest.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:type: notification.SlotType;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:type: notification.SlotType;<br>新版本信æ¯ï¼šnotification.SlotType|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:level?: notification.SlotLevel;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:level?: notification.SlotLevel;<br>新版本信æ¯ï¼š?notification.SlotLevel|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:desc?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:desc?: string;<br>新版本信æ¯ï¼š?string|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:badgeFlag?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:badgeFlag?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:bypassDnd?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:bypassDnd?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:lockscreenVisibility?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:lockscreenVisibility?: number;<br>新版本信æ¯ï¼š?number|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:vibrationEnabled?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:vibrationEnabled?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:sound?: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:sound?: string;<br>新版本信æ¯ï¼š?string|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:lightEnabled?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:lightEnabled?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:lightColor?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:lightColor?: number;<br>新版本信æ¯ï¼š?number|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:vibrationValues?: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:vibrationValues?: Array\<number>;<br>新版本信æ¯ï¼š?Array\<number>|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSlot;<br>方法or属性:readonly enabled?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSlot;<br>方法or属性:readonly enabled?: boolean;<br>新版本信æ¯ï¼š?boolean|notificationSlot.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSorting;<br>方法or属性:readonly slot: NotificationSlot;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSorting;<br>方法or属性:readonly slot: NotificationSlot;<br>新版本信æ¯ï¼šNotificationSlot|notificationSorting.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSorting;<br>方法or属性:readonly hashCode: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSorting;<br>方法or属性:readonly hashCode: string;<br>新版本信æ¯ï¼šstring|notificationSorting.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSorting;<br>方法or属性:readonly ranking: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSorting;<br>方法or属性:readonly ranking: number;<br>新版本信æ¯ï¼šnumber|notificationSorting.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSortingMap;<br>方法or属性:readonly sortings: { [key: string]: NotificationSorting };<br>旧版本信æ¯ï¼š|ç±»å:NotificationSortingMap;<br>方法or属性:readonly sortings: { [key: string]: NotificationSorting };<br>新版本信æ¯ï¼šobject|notificationSortingMap.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSortingMap;<br>方法or属性:readonly sortedHashCode: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSortingMap;<br>方法or属性:readonly sortedHashCode: Array\<string>;<br>新版本信æ¯ï¼šArray\<string>|notificationSortingMap.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSubscribeInfo;<br>方法or属性:bundleNames?: Array\<string>;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscribeInfo;<br>方法or属性:bundleNames?: Array\<string>;<br>新版本信æ¯ï¼š?Array\<string>|notificationSubscribeInfo.d.ts| +|type有å˜åŒ–|ç±»å:NotificationSubscribeInfo;<br>方法or属性:userId?: number;<br>旧版本信æ¯ï¼š|ç±»å:NotificationSubscribeInfo;<br>方法or属性:userId?: number;<br>新版本信æ¯ï¼š?number|notificationSubscribeInfo.d.ts| +|type有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly request: NotificationRequest;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly request: NotificationRequest;<br>新版本信æ¯ï¼šNotificationRequest|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>新版本信æ¯ï¼š?NotificationSortingMap|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly reason?: number;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly reason?: number;<br>新版本信æ¯ï¼š?number|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly sound?: string;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly sound?: string;<br>新版本信æ¯ï¼š?string|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly vibrationValues?: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:SubscribeCallbackData;<br>方法or属性:readonly vibrationValues?: Array\<number>;<br>新版本信æ¯ï¼š?Array\<number>|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly bundle: string;<br>旧版本信æ¯ï¼š|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly bundle: string;<br>新版本信æ¯ï¼šstring|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly bundle: string;<br>旧版本信æ¯ï¼š|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly bundle: string;<br>新版本信æ¯ï¼šstring|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly uid: number;<br>旧版本信æ¯ï¼š|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly uid: number;<br>新版本信æ¯ï¼šnumber|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly uid: number;<br>旧版本信æ¯ï¼š|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly uid: number;<br>新版本信æ¯ï¼šnumber|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly enable: boolean;<br>旧版本信æ¯ï¼š|ç±»å:EnabledNotificationCallbackData;<br>方法or属性:readonly enable: boolean;<br>新版本信æ¯ï¼šboolean|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly badgeNumber: number;<br>旧版本信æ¯ï¼š|ç±»å:BadgeNumberCallbackData;<br>方法or属性:readonly badgeNumber: number;<br>新版本信æ¯ï¼šnumber|notificationSubscriber.d.ts| +|type有å˜åŒ–|ç±»å:NotificationTemplate;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationTemplate;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šstring|notificationTemplate.d.ts| +|type有å˜åŒ–|ç±»å:NotificationTemplate;<br>方法or属性:data: { [key: string]: Object };<br>旧版本信æ¯ï¼š|ç±»å:NotificationTemplate;<br>方法or属性:data: { [key: string]: Object };<br>新版本信æ¯ï¼šobject|notificationTemplate.d.ts| +|type有å˜åŒ–|ç±»å:NotificationUserInput;<br>方法or属性:inputKey: string;<br>旧版本信æ¯ï¼š|ç±»å:NotificationUserInput;<br>方法or属性:inputKey: string;<br>新版本信æ¯ï¼šstring|notificationUserInput.d.ts| +|函数有å˜åŒ–|ç±»å:NotificationRequest;<br>方法or属性:readonly isRemoveAllowed?: boolean;|ç±»å:NotificationRequest;<br>方法or属性:isRemoveAllowed?: boolean;|notificationRequest.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-resource-scheduler.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-resource-scheduler.md new file mode 100644 index 0000000000000000000000000000000000000000..bef2fec33c7d2bb242d179458842701c35acc79d --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-resource-scheduler.md @@ -0,0 +1,9 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:ResourceType;<br>方法or属性:RUNNING_LOCK = 1 \<\< 7|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|新增|NA|ç±»å:ResourceType;<br>方法or属性:SENSOR = 1 \<\< 8|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|废弃版本有å˜åŒ–|ç±»å:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning|@ohos.ability.particleAbility.d.ts| +|废弃版本有å˜åŒ–|ç±»å:particleAbility;<br>方法or属性:function cancelBackgroundRunning(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:particleAbility;<br>方法or属性:function cancelBackgroundRunning(): Promise\<void>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning|@ohos.ability.particleAbility.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.KEEP_BACKGROUND_RUNNING|@ohos.ability.particleAbility.d.ts| +|model有å˜åŒ–|ç±»å:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.particleAbility.d.ts| +|model有å˜åŒ–|ç±»å:particleAbility;<br>方法or属性:function cancelBackgroundRunning(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:particleAbility;<br>方法or属性:function cancelBackgroundRunning(): Promise\<void>;<br>新版本信æ¯ï¼šFAModelOnly|@ohos.ability.particleAbility.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-security.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-security.md new file mode 100644 index 0000000000000000000000000000000000000000..1e9f692bc2c75aaa00cb692b66c887a97e0e720c --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-security.md @@ -0,0 +1,131 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:AsyKeyGeneratorBySpec;<br>方法or属性:generateKeyPair(callback: AsyncCallback\<KeyPair>): void;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeyGeneratorBySpec;<br>方法or属性:generateKeyPair(): Promise\<KeyPair>;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:cert;<br>方法or属性:function createCertExtension(inStream: EncodingBlob, callback: AsyncCallback\<CertExtension>): void;|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:cert;<br>方法or属性:function createCertExtension(inStream: EncodingBlob): Promise\<CertExtension>;|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_TBS = 0|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_PUBLIC_KEY = 1|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_ISSUER_UNIQUE_ID = 2|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_SUBJECT_UNIQUE_ID = 3|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_EXTENSIONS = 4|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:ExtensionOidType;<br>方法or属性:EXTENSION_OID_TYPE_ALL = 0|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:ExtensionOidType;<br>方法or属性:EXTENSION_OID_TYPE_CRITICAL = 1|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:ExtensionOidType;<br>方法or属性:EXTENSION_OID_TYPE_UNCRITICAL = 2|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:ExtensionEntryType;<br>方法or属性:EXTENSION_ENTRY_TYPE_ENTRY = 0|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:ExtensionEntryType;<br>方法or属性:EXTENSION_ENTRY_TYPE_ENTRY_CRITICAL = 1|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:ExtensionEntryType;<br>方法or属性:EXTENSION_ENTRY_TYPE_ENTRY_VALUE = 2|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:X509Cert;<br>方法or属性:getCertSerialNumber(): bigint;|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:X509Cert;<br>方法or属性:getItem(itemType: CertItemType): DataBlob;|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertExtension;<br>方法or属性:getEncoded(): EncodingBlob;|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertExtension;<br>方法or属性:getOidList(valueType: ExtensionOidType): DataArray;|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertExtension;<br>方法or属性:getEntry(valueType: ExtensionEntryType, oid: DataBlob): DataBlob;|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:CertExtension;<br>方法or属性:checkCA(): number;|@ohos.security.cert.d.ts| +|新增|NA|ç±»å:cryptoFramework;<br>方法or属性:function createAsyKeyGeneratorBySpec(asyKeySpec: AsyKeySpec): AsyKeyGeneratorBySpec;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:PriKey;<br>方法or属性:getAsyKeySpec(itemType: AsyKeySpecItem): bigint \| string \| number;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:PubKey;<br>方法or属性:getAsyKeySpec(itemType: AsyKeySpecItem): bigint \| string \| number;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Random;<br>方法or属性:generateRandomSync(len: number): DataBlob;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Random;<br>方法or属性:readonly algName: string;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeyGeneratorBySpec;<br>方法or属性:readonly algName: string;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:CipherSpecItem;<br>方法or属性:OAEP_MD_NAME_STR = 100|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:CipherSpecItem;<br>方法or属性:OAEP_MGF_NAME_STR = 101|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:CipherSpecItem;<br>方法or属性:OAEP_MGF1_MD_STR = 102|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:CipherSpecItem;<br>方法or属性:OAEP_MGF1_PSRC_UINT8ARR = 103|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:SignSpecItem;<br>方法or属性:PSS_MD_NAME_STR = 100|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:SignSpecItem;<br>方法or属性:PSS_MGF_NAME_STR = 101|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:SignSpecItem;<br>方法or属性:PSS_MGF1_MD_STR = 102|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:SignSpecItem;<br>方法or属性:PSS_SALT_LEN_NUM = 103|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:SignSpecItem;<br>方法or属性:PSS_TRAILER_FIELD_NUM = 104|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Cipher;<br>方法or属性:setCipherSpec(itemType: CipherSpecItem, itemValue: Uint8Array): void;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Cipher;<br>方法or属性:getCipherSpec(itemType: CipherSpecItem): string \| Uint8Array;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Sign;<br>方法or属性:setSignSpec(itemType: SignSpecItem, itemValue: number): void;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Sign;<br>方法or属性:getSignSpec(itemType: SignSpecItem): string \| number;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Verify;<br>方法or属性:setVerifySpec(itemType: SignSpecItem, itemValue: number): void;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Verify;<br>方法or属性:getVerifySpec(itemType: SignSpecItem): string \| number;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:DSA_P_BN = 101|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:DSA_Q_BN = 102|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:DSA_G_BN = 103|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:DSA_SK_BN = 104|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:DSA_PK_BN = 105|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_FP_P_BN = 201|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_A_BN = 202|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_B_BN = 203|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_G_X_BN = 204|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_G_Y_BN = 205|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_N_BN = 206|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_H_NUM = 207|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_SK_BN = 208|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_PK_X_BN = 209|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_PK_Y_BN = 210|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_FIELD_TYPE_STR = 211|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_FIELD_SIZE_NUM = 212|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:ECC_CURVE_NAME_STR = 213|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:RSA_N_BN = 301|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:RSA_SK_BN = 302|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecItem;<br>方法or属性:RSA_PK_BN = 303|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecType;<br>方法or属性:COMMON_PARAMS_SPEC = 0|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecType;<br>方法or属性:PRIVATE_KEY_SPEC = 1|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecType;<br>方法or属性:PUBLIC_KEY_SPEC = 2|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpecType;<br>方法or属性:KEY_PAIR_SPEC = 3|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpec;<br>方法or属性:algName: string;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeySpec;<br>方法or属性:specType: AsyKeySpecType;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:DSACommonParamsSpec;<br>方法or属性:p: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECFieldFp;<br>方法or属性:p: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:DSACommonParamsSpec;<br>方法or属性:q: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:DSACommonParamsSpec;<br>方法or属性:g: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:DSAPubKeySpec;<br>方法or属性:params: DSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:DSAKeyPairSpec;<br>方法or属性:params: DSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:DSAPubKeySpec;<br>方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:DSAKeyPairSpec;<br>方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:RSAPubKeySpec;<br>方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:RSAKeyPairSpec;<br>方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:DSAKeyPairSpec;<br>方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCPriKeySpec;<br>方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCKeyPairSpec;<br>方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:RSAKeyPairSpec;<br>方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECField;<br>方法or属性:fieldType: string;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Point;<br>方法or属性:x: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:Point;<br>方法or属性:y: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCCommonParamsSpec;<br>方法or属性:field: ECField;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCCommonParamsSpec;<br>方法or属性:a: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCCommonParamsSpec;<br>方法or属性:b: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCCommonParamsSpec;<br>方法or属性:g: Point;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCCommonParamsSpec;<br>方法or属性:n: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:RSACommonParamsSpec;<br>方法or属性:n: bigint;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCCommonParamsSpec;<br>方法or属性:h: number;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCPriKeySpec;<br>方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCPubKeySpec;<br>方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCKeyPairSpec;<br>方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCPubKeySpec;<br>方法or属性:pk: Point;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:ECCKeyPairSpec;<br>方法or属性:pk: Point;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:RSAPubKeySpec;<br>方法or属性:params: RSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:RSAKeyPairSpec;<br>方法or属性:params: RSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeyGeneratorBySpec;<br>方法or属性:generatePriKey(callback: AsyncCallback\<PriKey>): void;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeyGeneratorBySpec;<br>方法or属性:generatePriKey(): Promise\<PriKey>;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeyGeneratorBySpec;<br>方法or属性:generatePubKey(callback: AsyncCallback\<PubKey>): void;|@ohos.security.cryptoFramework.d.ts| +|新增|NA|ç±»å:AsyKeyGeneratorBySpec;<br>方法or属性:generatePubKey(): Promise\<PubKey>;|@ohos.security.cryptoFramework.d.ts| +|废弃版本有å˜åŒ–|ç±»å:X509Cert;<br>方法or属性:getSerialNumber(): number;<br>旧版本信æ¯ï¼š|ç±»å:X509Cert;<br>方法or属性:getSerialNumber(): number;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š ohos.security.cert.X509Cert.getCertSerialNumber|@ohos.security.cert.d.ts| +|新增(错误ç )|ç±»å:Key;<br>方法or属性:getEncoded(): DataBlob;<br>旧版本信æ¯ï¼š|ç±»å:Key;<br>方法or属性:getEncoded(): DataBlob;<br>新版本信æ¯ï¼š801,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:cryptoFramework;<br>方法or属性:function createAsyKeyGenerator(algName: string): AsyKeyGenerator;<br>旧版本信æ¯ï¼š401|ç±»å:cryptoFramework;<br>方法or属性:function createAsyKeyGenerator(algName: string): AsyKeyGenerator;<br>新版本信æ¯ï¼š401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:cryptoFramework;<br>方法or属性:function createCipher(transformation: string): Cipher;<br>旧版本信æ¯ï¼š401,801|ç±»å:cryptoFramework;<br>方法or属性:function createCipher(transformation: string): Cipher;<br>新版本信æ¯ï¼š401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:cryptoFramework;<br>方法or属性:function createSign(algName: string): Sign;<br>旧版本信æ¯ï¼š401|ç±»å:cryptoFramework;<br>方法or属性:function createSign(algName: string): Sign;<br>新版本信æ¯ï¼š401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:cryptoFramework;<br>方法or属性:function createVerify(algName: string): Verify;<br>旧版本信æ¯ï¼š401|ç±»å:cryptoFramework;<br>方法or属性:function createVerify(algName: string): Verify;<br>新版本信æ¯ï¼š401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:cryptoFramework;<br>方法or属性:function createKeyAgreement(algName: string): KeyAgreement;<br>旧版本信æ¯ï¼š401|ç±»å:cryptoFramework;<br>方法or属性:function createKeyAgreement(algName: string): KeyAgreement;<br>新版本信æ¯ï¼š401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AsyKeyGenerator;<br>方法or属性:generateKeyPair(callback: AsyncCallback\<KeyPair>): void;<br>旧版本信æ¯ï¼š401,17620001|ç±»å:AsyKeyGenerator;<br>方法or属性:generateKeyPair(callback: AsyncCallback\<KeyPair>): void;<br>新版本信æ¯ï¼š401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AsyKeyGenerator;<br>方法or属性:generateKeyPair(): Promise\<KeyPair>;<br>旧版本信æ¯ï¼š401,17620001|ç±»å:AsyKeyGenerator;<br>方法or属性:generateKeyPair(): Promise\<KeyPair>;<br>新版本信æ¯ï¼š401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AsyKeyGenerator;<br>方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\<KeyPair>): void;<br>旧版本信æ¯ï¼š401,17620001|ç±»å:AsyKeyGenerator;<br>方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\<KeyPair>): void;<br>新版本信æ¯ï¼š401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|错误ç 有å˜åŒ–|ç±»å:AsyKeyGenerator;<br>方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\<KeyPair>;<br>旧版本信æ¯ï¼š401,17620001|ç±»å:AsyKeyGenerator;<br>方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\<KeyPair>;<br>新版本信æ¯ï¼š401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|type有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:tokenId?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:PermissionUsedRequest;<br>方法or属性:tokenId?: number;<br>新版本信æ¯ï¼š?number|@ohos.privacyManager.d.ts| +|type有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:isRemote?: boolean;<br>旧版本信æ¯ï¼šboolean|ç±»å:PermissionUsedRequest;<br>方法or属性:isRemote?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.privacyManager.d.ts| +|type有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:deviceId?: string;<br>旧版本信æ¯ï¼šstring|ç±»å:PermissionUsedRequest;<br>方法or属性:deviceId?: string;<br>新版本信æ¯ï¼š?string|@ohos.privacyManager.d.ts| +|type有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:bundleName?: string;<br>旧版本信æ¯ï¼šstring|ç±»å:PermissionUsedRequest;<br>方法or属性:bundleName?: string;<br>新版本信æ¯ï¼š?string|@ohos.privacyManager.d.ts| +|type有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:permissionNames?: Array\<Permissions>;<br>旧版本信æ¯ï¼šArray\<Permissions>|ç±»å:PermissionUsedRequest;<br>方法or属性:permissionNames?: Array\<Permissions>;<br>新版本信æ¯ï¼š?Array\<Permissions>|@ohos.privacyManager.d.ts| +|type有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:beginTime?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:PermissionUsedRequest;<br>方法or属性:beginTime?: number;<br>新版本信æ¯ï¼š?number|@ohos.privacyManager.d.ts| +|type有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:endTime?: number;<br>旧版本信æ¯ï¼šnumber|ç±»å:PermissionUsedRequest;<br>方法or属性:endTime?: number;<br>新版本信æ¯ï¼š?number|@ohos.privacyManager.d.ts| +|函数有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:tokenId: number;|ç±»å:PermissionUsedRequest;<br>方法or属性:tokenId?: number;|@ohos.privacyManager.d.ts| +|函数有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:isRemote: boolean;|ç±»å:PermissionUsedRequest;<br>方法or属性:isRemote?: boolean;|@ohos.privacyManager.d.ts| +|函数有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:deviceId: string;|ç±»å:PermissionUsedRequest;<br>方法or属性:deviceId?: string;|@ohos.privacyManager.d.ts| +|函数有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:bundleName: string;|ç±»å:PermissionUsedRequest;<br>方法or属性:bundleName?: string;|@ohos.privacyManager.d.ts| +|函数有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:permissionNames: Array\<Permissions>;|ç±»å:PermissionUsedRequest;<br>方法or属性:permissionNames?: Array\<Permissions>;|@ohos.privacyManager.d.ts| +|函数有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:beginTime: number;|ç±»å:PermissionUsedRequest;<br>方法or属性:beginTime?: number;|@ohos.privacyManager.d.ts| +|函数有å˜åŒ–|ç±»å:PermissionUsedRequest;<br>方法or属性:endTime: number;|ç±»å:PermissionUsedRequest;<br>方法or属性:endTime?: number;|@ohos.privacyManager.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-sensor.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-sensor.md new file mode 100644 index 0000000000000000000000000000000000000000..cb59e75c7690d76906760ab8928ba41df37af5f3 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-sensor.md @@ -0,0 +1,30 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:sensor;<br>方法or属性:function on(type: SensorId.COLOR, callback: Callback\<ColorResponse>, options?: Options): void;|@ohos.sensor.d.ts| +|新增|NA|ç±»å:sensor;<br>方法or属性:function on(type: SensorId.SAR, callback: Callback\<SarResponse>, options?: Options): void;|@ohos.sensor.d.ts| +|新增|NA|ç±»å:sensor;<br>方法or属性:function off(type: SensorId.COLOR, callback?: Callback\<ColorResponse>): void;|@ohos.sensor.d.ts| +|新增|NA|ç±»å:sensor;<br>方法or属性:function off(type: SensorId.SAR, callback?: Callback\<SarResponse>): void;|@ohos.sensor.d.ts| +|新增|NA|ç±»å:SensorId;<br>方法or属性:COLOR = 14|@ohos.sensor.d.ts| +|新增|NA|ç±»å:SensorId;<br>方法or属性:SAR = 15|@ohos.sensor.d.ts| +|新增|NA|ç±»å:ColorResponse;<br>方法or属性:lightIntensity: number;|@ohos.sensor.d.ts| +|新增|NA|ç±»å:ColorResponse;<br>方法or属性:colorTemperature: number;|@ohos.sensor.d.ts| +|新增|NA|ç±»å:SarResponse;<br>方法or属性:absorptionRatio: number;|@ohos.sensor.d.ts| +|新增|NA|ç±»å:VibrateFromFile;<br>方法or属性:type: 'file';|@ohos.vibrator.d.ts| +|新增|NA|ç±»å:VibrateFromFile;<br>方法or属性:hapticFd: HapticFileDescriptor;|@ohos.vibrator.d.ts| +|新增|NA|ç±»å:HapticFileDescriptor;<br>方法or属性:fd: number;|@ohos.vibrator.d.ts| +|新增|NA|ç±»å:HapticFileDescriptor;<br>方法or属性:offset?: number;|@ohos.vibrator.d.ts| +|新增|NA|ç±»å:HapticFileDescriptor;<br>方法or属性:length?: number;|@ohos.vibrator.d.ts| +|废弃版本有å˜åŒ–|ç±»å:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š vibrator#startVibration|@ohos.vibrator.d.ts| +|废弃版本有å˜åŒ–|ç±»å:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š vibrator#startVibration|@ohos.vibrator.d.ts| +|废弃版本有å˜åŒ–|ç±»å:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š vibrator#stopVibration|@ohos.vibrator.d.ts| +|错误ç 有å˜åŒ–|ç±»å:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,14600101|ç±»å:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,401,801,14600101|@ohos.vibrator.d.ts| +|错误ç 有å˜åŒ–|ç±»å:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise\<void>;<br>旧版本信æ¯ï¼š201,401,14600101|ç±»å:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise\<void>;<br>新版本信æ¯ï¼š201,401,801,14600101|@ohos.vibrator.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.VIBRATE|@ohos.vibrator.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.VIBRATE|@ohos.vibrator.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.VIBRATE|@ohos.vibrator.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:VibrateOptions;<br>方法or属性:mode?: 'long' \| 'short';<br>旧版本信æ¯ï¼š|ç±»å:VibrateOptions;<br>方法or属性:mode?: 'long' \| 'short';<br>新版本信æ¯ï¼šohos.permission.VIBRATE|@system.vibrator.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:VibrateOptions;<br>方法or属性:success: () => void;<br>旧版本信æ¯ï¼š|ç±»å:VibrateOptions;<br>方法or属性:success: () => void;<br>新版本信æ¯ï¼šohos.permission.VIBRATE|@system.vibrator.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:VibrateOptions;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信æ¯ï¼š|ç±»å:VibrateOptions;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信æ¯ï¼šohos.permission.VIBRATE|@system.vibrator.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:VibrateOptions;<br>方法or属性:complete?: () => void;<br>旧版本信æ¯ï¼š|ç±»å:VibrateOptions;<br>方法or属性:complete?: () => void;<br>新版本信æ¯ï¼šohos.permission.VIBRATE|@system.vibrator.d.ts| +|type有å˜åŒ–|ç±»å:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;<br>旧版本信æ¯ï¼š|ç±»å:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;<br>新版本信æ¯ï¼šVibrateTime \| VibratePreset \| VibrateFromFile|@ohos.vibrator.d.ts| +|函数有å˜åŒ–|ç±»å:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset;|ç±»å:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;|@ohos.vibrator.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-start-up.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-start-up.md new file mode 100644 index 0000000000000000000000000000000000000000..8e2a85d0c6cc83bd15aea8d8300399a4439a1015 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-start-up.md @@ -0,0 +1,34 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|废弃版本有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.systemparameter.d.ts| +|废弃版本有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.systemparameter.d.ts| +|废弃版本有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.systemparameter.d.ts| +|废弃版本有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.systemparameter.d.ts| +|废弃版本有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.systemparameter.d.ts| +|废弃版本有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š|@ohos.systemparameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemparameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemparameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemparameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemparameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function setSync(key: string, value: string): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function setSync(key: string, value: string): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemparameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemparameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemparameter.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameterEnhance;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信æ¯ï¼š|ç±»å:systemParameterEnhance;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemParameterEnhance.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameterEnhance;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameterEnhance;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemParameterEnhance.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameterEnhance;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameterEnhance;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemParameterEnhance.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameterEnhance;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:systemParameterEnhance;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemParameterEnhance.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameterEnhance;<br>方法or属性:function setSync(key: string, value: string): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameterEnhance;<br>方法or属性:function setSync(key: string, value: string): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemParameterEnhance.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemParameterEnhance.d.ts| +|访问级别有å˜åŒ–|ç±»å:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.systemParameterEnhance.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:brand: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:brand: string;<br>新版本信æ¯ï¼šstring|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:manufacturer: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:manufacturer: string;<br>新版本信æ¯ï¼šstring|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:model: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:model: string;<br>新版本信æ¯ï¼šstring|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:product: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:product: string;<br>新版本信æ¯ï¼šstring|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:language: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:language: string;<br>新版本信æ¯ï¼šstring|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:region: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:region: string;<br>新版本信æ¯ï¼šstring|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:windowWidth: number;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:windowWidth: number;<br>新版本信æ¯ï¼šnumber|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:windowHeight: number;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:windowHeight: number;<br>新版本信æ¯ï¼šnumber|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:screenDensity: number;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:screenDensity: number;<br>新版本信æ¯ï¼šnumber|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:screenShape: 'rect' \| 'circle';<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:screenShape: 'rect' \| 'circle';<br>新版本信æ¯ï¼š'rect' \| 'circle'|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:apiVersion: number;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:apiVersion: number;<br>新版本信æ¯ï¼šnumber|@system.device.d.ts| +|type有å˜åŒ–|ç±»å:DeviceResponse;<br>方法or属性:deviceType: string;<br>旧版本信æ¯ï¼š|ç±»å:DeviceResponse;<br>方法or属性:deviceType: string;<br>新版本信æ¯ï¼šstring|@system.device.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-telephony.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-telephony.md new file mode 100644 index 0000000000000000000000000000000000000000..b01ab5e1a60ed8a4e61acc865a4844b9be28796d --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-telephony.md @@ -0,0 +1,1254 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|åˆ é™¤|ç±»å:AudioDevice;<br>方法or属性:DEVICE_EARPIECE|NA|@ohos.telephony.call.d.ts| +|åˆ é™¤|ç±»å:AudioDevice;<br>方法or属性:DEVICE_SPEAKER|NA|@ohos.telephony.call.d.ts| +|åˆ é™¤|ç±»å:AudioDevice;<br>方法or属性:DEVICE_WIRED_HEADSET|NA|@ohos.telephony.call.d.ts| +|åˆ é™¤|ç±»å:AudioDevice;<br>方法or属性:DEVICE_BLUETOOTH_SCO|NA|@ohos.telephony.call.d.ts| +|åˆ é™¤|ç±»å:AudioDevice;<br>方法or属性:DEVICE_MIC|NA|@ohos.telephony.call.d.ts| +|åˆ é™¤|ç±»å:AudioDeviceOptions;<br>方法or属性:bluetoothAddress?: string;|NA|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:NROptionMode;<br>方法or属性:NR_OPTION_UNKNOWN|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:NROptionMode;<br>方法or属性:NR_OPTION_NSA_ONLY|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:NROptionMode;<br>方法or属性:NR_OPTION_SA_ONLY|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:NROptionMode;<br>方法or属性:NR_OPTION_NSA_AND_SA|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:call;<br>方法or属性:function setCallRestrictionPassword(slotId: number, oldPassword: string, newPassword: string, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:call;<br>方法or属性:function setCallRestrictionPassword(slotId: number, oldPassword: string, newPassword: string): Promise\<void>;|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:call;<br>方法or属性:function kickOutFromConference(callId: number, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:call;<br>方法or属性:function kickOutFromConference(callId: number): Promise\<void>;|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:call;<br>方法or属性:function removeMissedIncomingCallNotification(callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:call;<br>方法or属性:function removeMissedIncomingCallNotification(): Promise\<void>;|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:VoNRState;<br>方法or属性:VONR_STATE_OFF = 0|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:AudioDevice;<br>方法or属性:deviceType: AudioDeviceType;|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:AudioDevice;<br>方法or属性:address?: string;|@ohos.telephony.call.d.ts| +|新增|NA|ç±»å:data;<br>方法or属性:function getDefaultCellularDataSimId(): number;|@ohos.telephony.data.d.ts| +|新增|NA|ç±»å:observer;<br>方法or属性:function on(type: 'iccAccountInfoChange', callback: Callback\<void>): void;|@ohos.telephony.observer.d.ts| +|新增|NA|ç±»å:observer;<br>方法or属性:function off(type: 'iccAccountInfoChange', callback?: Callback\<void>): void;|@ohos.telephony.observer.d.ts| +|新增|NA|ç±»å:radio;<br>方法or属性:function setNROptionMode(slotId: number, mode: NROptionMode, callback: AsyncCallback\<void>): void;|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:radio;<br>方法or属性:function setNROptionMode(slotId: number, mode: NROptionMode): Promise\<void>;|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:radio;<br>方法or属性:function getNROptionMode(slotId: number, callback: AsyncCallback\<NROptionMode>): void;|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:radio;<br>方法or属性:function getNROptionMode(slotId: number): Promise\<NROptionMode>;|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:radio;<br>方法or属性:function setNetworkCapability(slotId: number, type: NetworkCapabilityType, state: NetworkCapabilityState,<br> callback: AsyncCallback\<void>): void;|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:radio;<br>方法or属性:function setNetworkCapability(slotId: number, type: NetworkCapabilityType, state: NetworkCapabilityState): Promise\<void>;|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:radio;<br>方法or属性:function getNetworkCapability(slotId: number, type: NetworkCapabilityType,<br> callback: AsyncCallback\<NetworkCapabilityState>): void;|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:radio;<br>方法or属性:function getNetworkCapability(slotId: number, type: NetworkCapabilityType): Promise\<NetworkCapabilityState>;|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:NetworkCapabilityType;<br>方法or属性:SERVICE_TYPE_LTE|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:NetworkCapabilityType;<br>方法or属性:SERVICE_TYPE_NR|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:NetworkCapabilityState;<br>方法or属性:SERVICE_CAPABILITY_OFF|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:NetworkCapabilityState;<br>方法or属性:SERVICE_CAPABILITY_ON|@ohos.telephony.radio.d.ts| +|新增|NA|ç±»å:sim;<br>方法or属性:function getDefaultVoiceSimId(callback: AsyncCallback\<number>): void;|@ohos.telephony.sim.d.ts| +|新增|NA|ç±»å:sim;<br>方法or属性:function getDefaultVoiceSimId(): Promise\<number>;|@ohos.telephony.sim.d.ts| +|新增|NA|ç±»å:sms;<br>方法or属性:function sendShortMessage(options: SendMessageOptions, callback: AsyncCallback\<void>): void;|@ohos.telephony.sms.d.ts| +|新增|NA|ç±»å:sms;<br>方法or属性:function sendShortMessage(options: SendMessageOptions): Promise\<void>;|@ohos.telephony.sms.d.ts| +|新增|NA|ç±»å:sms;<br>方法or属性:function getDefaultSmsSimId(callback: AsyncCallback\<number>): void;|@ohos.telephony.sms.d.ts| +|新增|NA|ç±»å:sms;<br>方法or属性:function getDefaultSmsSimId(): Promise\<number>;|@ohos.telephony.sms.d.ts| +|废弃版本有å˜åŒ–|ç±»å:call;<br>方法or属性:function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š telephony.call#dialCall|@ohos.telephony.call.d.ts| +|废弃版本有å˜åŒ–|ç±»å:call;<br>方法or属性:function dial(phoneNumber: string, options?: DialOptions): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function dial(phoneNumber: string, options?: DialOptions): Promise\<boolean>;<br>新版本信æ¯ï¼š9<br>代替接å£ï¼š telephony.call#dialCall|@ohos.telephony.call.d.ts| +|废弃版本有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNrOptionMode(callback: AsyncCallback\<NrOptionMode>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNrOptionMode(callback: AsyncCallback\<NrOptionMode>): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId: number, callback: AsyncCallback\<NrOptionMode>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId: number, callback: AsyncCallback\<NrOptionMode>): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId?: number): Promise\<NrOptionMode>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId?: number): Promise\<NrOptionMode>;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:export enum NrOptionMode<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:export enum NrOptionMode<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_UNKNOWN<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_UNKNOWN<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_NSA_ONLY<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_NSA_ONLY<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_SA_ONLY<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_SA_ONLY<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_NSA_AND_SA<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_NSA_AND_SA<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|废弃版本有å˜åŒ–|ç±»å:sms;<br>方法or属性:function sendMessage(options: SendMessageOptions): void;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function sendMessage(options: SendMessageOptions): void;<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š telephony.sms#sendShortMessage|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function muteRinger(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function muteRinger(): Promise\<void>;<br>新版本信æ¯ï¼š201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise\<boolean>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\<string>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise\<string>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function holdCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function holdCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function unHoldCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function unHoldCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function switchCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function switchCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function combineConference(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function combineConference(callId: number): Promise\<void>;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function getMainCallId(callId: number): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getMainCallId(callId: number): Promise\<number>;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function getSubCallIdList(callId: number): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getSubCallIdList(callId: number): Promise\<Array\<string>>;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function getCallIdListForConference(callId: number): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallIdListForConference(callId: number): Promise\<Array\<string>>;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function getCallWaitingStatus(slotId: number): Promise\<CallWaitingStatus>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallWaitingStatus(slotId: number): Promise\<CallWaitingStatus>;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function setCallWaiting(slotId: number, activate: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallWaiting(slotId: number, activate: boolean): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function startDTMF(callId: number, character: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function startDTMF(callId: number, character: string): Promise\<void>;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function stopDTMF(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function stopDTMF(callId: number): Promise\<void>;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function isInEmergencyCall(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isInEmergencyCall(): Promise\<boolean>;<br>新版本信æ¯ï¼š201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function isNewCallAllowed(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isNewCallAllowed(): Promise\<boolean>;<br>新版本信æ¯ï¼š202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function separateConference(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function separateConference(callId: number): Promise\<void>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\<RestrictionStatus>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\<RestrictionStatus>;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\<CallTransferResult>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\<CallTransferResult>;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function isRinging(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isRinging(): Promise\<boolean>;<br>新版本信æ¯ï¼š201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function setMuted(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setMuted(): Promise\<void>;<br>新版本信æ¯ï¼š202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function cancelMuted(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function cancelMuted(): Promise\<void>;<br>新版本信æ¯ï¼š202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function joinConference(mainCallId: number, callNumberList: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function joinConference(mainCallId: number, callNumberList: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\<void>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function enableImsSwitch(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function enableImsSwitch(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function disableImsSwitch(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function disableImsSwitch(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:call;<br>方法or属性:function isImsSwitchEnabled(slotId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isImsSwitchEnabled(slotId: number): Promise\<boolean>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|新增(错误ç )|ç±»å:data;<br>方法or属性:function setDefaultCellularDataSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function setDefaultCellularDataSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.data.d.ts| +|新增(错误ç )|ç±»å:data;<br>方法or属性:function isCellularDataEnabled(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function isCellularDataEnabled(): Promise\<boolean>;<br>新版本信æ¯ï¼š201,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|新增(错误ç )|ç±»å:data;<br>方法or属性:function enableCellularData(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function enableCellularData(): Promise\<void>;<br>新版本信æ¯ï¼š201,202,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|新增(错误ç )|ç±»å:data;<br>方法or属性:function disableCellularData(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function disableCellularData(): Promise\<void>;<br>新版本信æ¯ï¼š201,202,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|新增(错误ç )|ç±»å:data;<br>方法or属性:function isCellularDataRoamingEnabled(slotId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function isCellularDataRoamingEnabled(slotId: number): Promise\<boolean>;<br>新版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|新增(错误ç )|ç±»å:data;<br>方法or属性:function enableCellularDataRoaming(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function enableCellularDataRoaming(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|新增(错误ç )|ç±»å:data;<br>方法or属性:function disableCellularDataRoaming(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function disableCellularDataRoaming(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|新增(错误ç )|ç±»å:observer;<br>方法or属性:function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\<NetworkState>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\<NetworkState>): void;<br>新版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|新增(错误ç )|ç±»å:observer;<br>方法or属性:function on(type: 'signalInfoChange', options: { slotId: number }, callback: Callback\<Array\<SignalInformation>>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'signalInfoChange', options: { slotId: number }, callback: Callback\<Array\<SignalInformation>>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|新增(错误ç )|ç±»å:observer;<br>方法or属性:function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|新增(错误ç )|ç±»å:observer;<br>方法or属性:function on(type: 'cellularDataConnectionStateChange', options: { slotId: number },<br> callback: Callback\<{ state: DataConnectState, network: RatType }>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'cellularDataConnectionStateChange', options: { slotId: number },<br> callback: Callback\<{ state: DataConnectState, network: RatType }>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|新增(错误ç )|ç±»å:observer;<br>方法or属性:function on(type: 'cellularDataFlowChange', options: { slotId: number }, callback: Callback\<DataFlowType>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'cellularDataFlowChange', options: { slotId: number }, callback: Callback\<DataFlowType>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|新增(错误ç )|ç±»å:observer;<br>方法or属性:function on(type: 'callStateChange', options: { slotId: number }, callback: Callback\<{ state: CallState, number: string }>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'callStateChange', options: { slotId: number }, callback: Callback\<{ state: CallState, number: string }>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|新增(错误ç )|ç±»å:observer;<br>方法or属性:function on(type: 'simStateChange', options: { slotId: number }, callback: Callback\<SimStateData>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'simStateChange', options: { slotId: number }, callback: Callback\<SimStateData>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;<br>新版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getNetworkState(slotId: number, callback: AsyncCallback\<NetworkState>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNetworkState(slotId: number, callback: AsyncCallback\<NetworkState>): void;<br>新版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getNetworkState(slotId?: number): Promise\<NetworkState>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNetworkState(slotId?: number): Promise\<NetworkState>;<br>新版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId: number, callback: AsyncCallback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId: number, callback: AsyncCallback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId?: number): Promise\<Array\<CellInformation>>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId?: number): Promise\<Array\<CellInformation>>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getNetworkSelectionMode(slotId: number): Promise\<NetworkSelectionMode>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNetworkSelectionMode(slotId: number): Promise\<NetworkSelectionMode>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getNetworkSearchInformation(slotId: number): Promise\<NetworkSearchResult>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNetworkSearchInformation(slotId: number): Promise\<NetworkSearchResult>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getISOCountryCodeForNetwork(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getISOCountryCodeForNetwork(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId: number, callback: AsyncCallback\<NrOptionMode>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId: number, callback: AsyncCallback\<NrOptionMode>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId?: number): Promise\<NrOptionMode>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId?: number): Promise\<NrOptionMode>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getIMEI(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getIMEI(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getIMEI(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getIMEI(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getMEID(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getMEID(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getMEID(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getMEID(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getPrimarySlotId(): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getPrimarySlotId(): Promise\<number>;<br>新版本信æ¯ï¼š8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function setPrimarySlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setPrimarySlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getSignalInformation(slotId: number): Promise\<Array\<SignalInformation>>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getSignalInformation(slotId: number): Promise\<Array\<SignalInformation>>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void<br>新版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function isRadioOn(slotId?: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function isRadioOn(slotId?: number): Promise\<boolean>;<br>新版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId?: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId?: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getOperatorName(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getOperatorName(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getPreferredNetwork(slotId: number): Promise\<PreferredNetworkMode>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getPreferredNetwork(slotId: number): Promise\<PreferredNetworkMode>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:radio;<br>方法or属性:function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\<ImsRegInfo>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\<ImsRegInfo>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function hasOperatorPrivileges(slotId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function hasOperatorPrivileges(slotId: number): Promise\<boolean>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getISOCountryCodeForSim(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getISOCountryCodeForSim(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getSimOperatorNumeric(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimOperatorNumeric(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getSimSpn(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimSpn(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getSimState(slotId: number): Promise\<SimState>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimState(slotId: number): Promise\<SimState>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getCardType(slotId: number): Promise\<CardType>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getCardType(slotId: number): Promise\<CardType>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getSimIccId(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimIccId(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getVoiceMailIdentifier(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getVoiceMailIdentifier(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getVoiceMailNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getVoiceMailNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getSimTelephoneNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimTelephoneNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getSimGid1(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimGid1(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getIMSI(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getIMSI(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function hasSimCard(slotId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function hasSimCard(slotId: number): Promise\<boolean>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getSimAccountInfo(slotId: number): Promise\<IccAccountInfo>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimAccountInfo(slotId: number): Promise\<IccAccountInfo>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getActiveSimAccountInfoList(): Promise\<Array\<IccAccountInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getActiveSimAccountInfoList(): Promise\<Array\<IccAccountInfo>>;<br>新版本信æ¯ï¼š8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function setDefaultVoiceSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setDefaultVoiceSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function activateSim(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function activateSim(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function deactivateSim(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function deactivateSim(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function setShowName(slotId: number, name: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setShowName(slotId: number, name: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getShowName(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getShowName(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function setShowNumber(slotId: number, number: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setShowNumber(slotId: number, number: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getShowNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getShowNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getOperatorConfigs(slotId: number): Promise\<Array\<OperatorConfig>>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getOperatorConfigs(slotId: number): Promise\<Array\<OperatorConfig>>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function unlockPin(slotId: number, pin: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPin(slotId: number, pin: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function unlockPuk(slotId: number, newPin: string, puk: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPuk(slotId: number, newPin: string, puk: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function alterPin(slotId: number, newPin: string, oldPin: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function alterPin(slotId: number, newPin: string, oldPin: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function setLockState(slotId: number, options: LockInfo): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setLockState(slotId: number, options: LockInfo): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function unlockPin2(slotId: number, pin2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPin2(slotId: number, pin2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\<Array\<DiallingNumbersInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\<Array\<DiallingNumbersInfo>>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getLockState(slotId: number, lockType: LockType): Promise\<LockState>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getLockState(slotId: number, lockType: LockType): Promise\<LockState>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function sendEnvelopeCmd(slotId: number, cmd: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function sendEnvelopeCmd(slotId: number, cmd: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getOpKey(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getOpKey(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š401,801,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sim;<br>方法or属性:function getOpName(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getOpName(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š401,801,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function splitMessage(content: string): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function splitMessage(content: string): Promise\<Array\<string>>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function createMessage(pdu: Array\<number>, specification: string): Promise\<ShortMessage>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function createMessage(pdu: Array\<number>, specification: string): Promise\<ShortMessage>;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function setDefaultSmsSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setDefaultSmsSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function setSmscAddr(slotId: number, smscAddr: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setSmscAddr(slotId: number, smscAddr: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function getSmscAddr(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getSmscAddr(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function addSimMessage(options: SimMessageOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function addSimMessage(options: SimMessageOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function delSimMessage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function delSimMessage(slotId: number, msgIndex: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function updateSimMessage(options: UpdateSimMessageOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function updateSimMessage(options: UpdateSimMessageOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function getAllSimMessages(slotId: number): Promise\<Array\<SimShortMessage>>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getAllSimMessages(slotId: number): Promise\<Array\<SimShortMessage>>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function setCBConfig(options: CBConfigOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setCBConfig(options: CBConfigOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\<SmsSegmentsInfo>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\<SmsSegmentsInfo>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function isImsSmsSupported(slotId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function isImsSmsSupported(slotId: number): Promise\<boolean>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function getImsShortMessageFormat(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getImsShortMessageFormat(): Promise\<string>;<br>新版本信æ¯ï¼š202,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function decodeMms(mmsFilePathName: string \| Array\<number>): Promise\<MmsInformation>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function decodeMms(mmsFilePathName: string \| Array\<number>): Promise\<MmsInformation>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|新增(错误ç )|ç±»å:sms;<br>方法or属性:function encodeMms(mms: MmsInformation): Promise\<Array\<number>>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function encodeMms(mms: MmsInformation): Promise\<Array\<number>>;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function dialCall(phoneNumber: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function dialCall(phoneNumber: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300005,8300006,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300005,8300006,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function dialCall(phoneNumber: string, options?: DialCallOptions): Promise\<void>;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function dialCall(phoneNumber: string, options?: DialCallOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300005,8300006,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function muteRinger(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function muteRinger(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function answerCall(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function answerCall(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function answerCall(callId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function answerCall(callId?: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function answerCall(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function answerCall(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function hangUpCall(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function hangUpCall(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function hangUpCall(callId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function hangUpCall(callId?: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function hangUpCall(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function hangUpCall(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function rejectCall(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function rejectCall(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function rejectCall(callId?: number, options?: RejectMessageOptions): Promise\<void>;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function rejectCall(callId?: number, options?: RejectMessageOptions): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function rejectCall(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function rejectCall(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function rejectCall(options: RejectMessageOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function rejectCall(options: RejectMessageOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function holdCall(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function holdCall(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function unHoldCall(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function unHoldCall(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function switchCall(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function switchCall(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function combineConference(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function combineConference(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function getMainCallId(callId: number, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function getMainCallId(callId: number, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function getSubCallIdList(callId: number, callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信æ¯ï¼š401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function getSubCallIdList(callId: number, callback: AsyncCallback\<Array\<string>>): void;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallIdListForConference(callId: number, callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信æ¯ï¼š401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function getCallIdListForConference(callId: number, callback: AsyncCallback\<Array\<string>>): void;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallWaitingStatus(slotId: number, callback: AsyncCallback\<CallWaitingStatus>): void;<br>旧版本信æ¯ï¼š201,401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function getCallWaitingStatus(slotId: number, callback: AsyncCallback\<CallWaitingStatus>): void;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function startDTMF(callId: number, character: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function startDTMF(callId: number, character: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function stopDTMF(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function stopDTMF(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function isInEmergencyCall(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function isInEmergencyCall(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function on(type: 'callDetailsChange', callback: Callback\<CallAttributeOptions>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function on(type: 'callDetailsChange', callback: Callback\<CallAttributeOptions>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function on(type: 'callEventChange', callback: Callback\<CallEventOptions>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function on(type: 'callEventChange', callback: Callback\<CallEventOptions>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function on(type: 'callDisconnectedCause', callback: Callback\<DisconnectedDetails>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function on(type: 'callDisconnectedCause', callback: Callback\<DisconnectedDetails>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function on(type: 'mmiCodeResult', callback: Callback\<MmiCodeResults>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function on(type: 'mmiCodeResult', callback: Callback\<MmiCodeResults>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function off(type: 'callDetailsChange', callback?: Callback\<CallAttributeOptions>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function off(type: 'callDetailsChange', callback?: Callback\<CallAttributeOptions>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function off(type: 'callEventChange', callback?: Callback\<CallEventOptions>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function off(type: 'callEventChange', callback?: Callback\<CallEventOptions>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function off(type: 'callDisconnectedCause', callback?: Callback\<DisconnectedDetails>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function off(type: 'callDisconnectedCause', callback?: Callback\<DisconnectedDetails>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function off(type: 'mmiCodeResult', callback?: Callback\<MmiCodeResults>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function off(type: 'mmiCodeResult', callback?: Callback\<MmiCodeResults>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function isNewCallAllowed(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function isNewCallAllowed(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function separateConference(callId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function separateConference(callId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback\<RestrictionStatus>): void;<br>旧版本信æ¯ï¼š201,401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback\<RestrictionStatus>): void;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback\<CallTransferResult>): void;<br>旧版本信æ¯ï¼š201,401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback\<CallTransferResult>): void;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,801,8300001,8300002,8300003|ç±»å:call;<br>方法or属性:function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function isRinging(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function isRinging(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function setMuted(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function setMuted(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function cancelMuted(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function cancelMuted(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function setAudioDevice(device: AudioDevice, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function setAudioDevice(device: AudioDevice, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function joinConference(mainCallId: number, callNumberList: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function joinConference(mainCallId: number, callNumberList: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function updateImsCallMode(callId: number, mode: ImsCallMode, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function updateImsCallMode(callId: number, mode: ImsCallMode, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function enableImsSwitch(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function enableImsSwitch(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function disableImsSwitch(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function disableImsSwitch(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function isImsSwitchEnabled(slotId: number, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function isImsSwitchEnabled(slotId: number, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function inputDialerSpecialCode(inputCode: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function inputDialerSpecialCode(inputCode: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:call;<br>方法or属性:function inputDialerSpecialCode(inputCode: string): Promise\<void>;<br>旧版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|ç±»å:call;<br>方法or属性:function inputDialerSpecialCode(inputCode: string): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|错误ç 有å˜åŒ–|ç±»å:data;<br>方法or属性:function setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301001|ç±»å:data;<br>方法or属性:function setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.data.d.ts| +|错误ç 有å˜åŒ–|ç±»å:data;<br>方法or属性:function enableCellularData(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:data;<br>方法or属性:function enableCellularData(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|错误ç 有å˜åŒ–|ç±»å:data;<br>方法or属性:function disableCellularData(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:data;<br>方法or属性:function disableCellularData(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|错误ç 有å˜åŒ–|ç±»å:data;<br>方法or属性:function enableCellularDataRoaming(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:data;<br>方法or属性:function enableCellularDataRoaming(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|错误ç 有å˜åŒ–|ç±»å:data;<br>方法or属性:function disableCellularDataRoaming(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:data;<br>方法or属性:function disableCellularDataRoaming(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|错误ç 有å˜åŒ–|ç±»å:observer;<br>方法or属性:function on(type: 'cellInfoChange', callback: Callback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:observer;<br>方法or属性:function on(type: 'cellInfoChange', callback: Callback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:observer;<br>方法or属性:function off(type: 'cellInfoChange', callback?: Callback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:observer;<br>方法or属性:function off(type: 'cellInfoChange', callback?: Callback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(slotId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(slotId?: number): Promise\<void>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getCellInformation(callback: AsyncCallback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getCellInformation(callback: AsyncCallback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNetworkSearchInformation(slotId: number, callback: AsyncCallback\<NetworkSearchResult>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getNetworkSearchInformation(slotId: number, callback: AsyncCallback\<NetworkSearchResult>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNrOptionMode(callback: AsyncCallback\<NrOptionMode>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getNrOptionMode(callback: AsyncCallback\<NrOptionMode>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getIMEI(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getIMEI(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getMEID(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getMEID(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getPrimarySlotId(callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getPrimarySlotId(callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function setPrimarySlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:radio;<br>方法or属性:function setPrimarySlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOnRadio(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function turnOnRadio(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOffRadio(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function turnOffRadio(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getPreferredNetwork(slotId: number, callback: AsyncCallback\<PreferredNetworkMode>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getPreferredNetwork(slotId: number, callback: AsyncCallback\<PreferredNetworkMode>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getImsRegInfo(slotId: number, imsType: ImsServiceType, callback: AsyncCallback\<ImsRegInfo>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getImsRegInfo(slotId: number, imsType: ImsServiceType, callback: AsyncCallback\<ImsRegInfo>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function on(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback: Callback\<ImsRegInfo>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function on(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback: Callback\<ImsRegInfo>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function off(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback?: Callback\<ImsRegInfo>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function off(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback?: Callback\<ImsRegInfo>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getBasebandVersion(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getBasebandVersion(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getBasebandVersion(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:radio;<br>方法or属性:function getBasebandVersion(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimIccId(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getSimIccId(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getVoiceMailIdentifier(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getVoiceMailIdentifier(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getVoiceMailNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getVoiceMailNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimGid1(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getSimGid1(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getIMSI(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getIMSI(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimAccountInfo(slotId: number, callback: AsyncCallback\<IccAccountInfo>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function getSimAccountInfo(slotId: number, callback: AsyncCallback\<IccAccountInfo>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getActiveSimAccountInfoList(callback: AsyncCallback\<Array\<IccAccountInfo>>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getActiveSimAccountInfoList(callback: AsyncCallback\<Array\<IccAccountInfo>>): void;<br>新版本信æ¯ï¼š401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301001|ç±»å:sim;<br>方法or属性:function setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function activateSim(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function activateSim(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function deactivateSim(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function deactivateSim(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setShowName(slotId: number, name: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function setShowName(slotId: number, name: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getShowName(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getShowName(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setShowNumber(slotId: number, number: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function setShowNumber(slotId: number, number: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getShowNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function getShowNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getOperatorConfigs(slotId: number, callback: AsyncCallback\<Array\<OperatorConfig>>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sim;<br>方法or属性:function getOperatorConfigs(slotId: number, callback: AsyncCallback\<Array\<OperatorConfig>>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPin(slotId: number, pin: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function unlockPin(slotId: number, pin: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setLockState(slotId: number, options: LockInfo, callback: AsyncCallback\<LockStatusResponse>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function setLockState(slotId: number, options: LockInfo, callback: AsyncCallback\<LockStatusResponse>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function queryIccDiallingNumbers(slotId: number, type: ContactType, callback: AsyncCallback\<Array\<DiallingNumbersInfo>>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function queryIccDiallingNumbers(slotId: number, type: ContactType, callback: AsyncCallback\<Array\<DiallingNumbersInfo>>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback\<LockState>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback\<LockState>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function sendEnvelopeCmd(slotId: number, cmd: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function sendEnvelopeCmd(slotId: number, cmd: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function sendTerminalResponseCmd(slotId: number, cmd: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sim;<br>方法or属性:function sendTerminalResponseCmd(slotId: number, cmd: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback\<LockStatusResponse>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999,8301002|ç±»å:sim;<br>方法or属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback\<LockStatusResponse>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function splitMessage(content: string, callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function splitMessage(content: string, callback: AsyncCallback\<Array\<string>>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function setDefaultSmsSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300004,8300999|ç±»å:sms;<br>方法or属性:function setDefaultSmsSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function getSmscAddr(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function getSmscAddr(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function addSimMessage(options: SimMessageOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function addSimMessage(options: SimMessageOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function getAllSimMessages(slotId: number, callback: AsyncCallback\<Array\<SimShortMessage>>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function getAllSimMessages(slotId: number, callback: AsyncCallback\<Array\<SimShortMessage>>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function setCBConfig(options: CBConfigOptions, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š201,401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function setCBConfig(options: CBConfigOptions, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean, callback: AsyncCallback\<SmsSegmentsInfo>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean, callback: AsyncCallback\<SmsSegmentsInfo>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function isImsSmsSupported(slotId: number, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function isImsSmsSupported(slotId: number, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function getImsShortMessageFormat(callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function getImsShortMessageFormat(callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function decodeMms(mmsFilePathName: string \| Array\<number>, callback: AsyncCallback\<MmsInformation>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function decodeMms(mmsFilePathName: string \| Array\<number>, callback: AsyncCallback\<MmsInformation>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|错误ç 有å˜åŒ–|ç±»å:sms;<br>方法or属性:function encodeMms(mms: MmsInformation, callback: AsyncCallback\<Array\<number>>): void;<br>旧版本信æ¯ï¼š401,8300001,8300002,8300003,8300999|ç±»å:sms;<br>方法or属性:function encodeMms(mms: MmsInformation, callback: AsyncCallback\<Array\<number>>): void;<br>新版本信æ¯ï¼š202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function muteRinger(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function muteRinger(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function holdCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function holdCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function unHoldCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function unHoldCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function switchCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function switchCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function combineConference(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function combineConference(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function getMainCallId(callId: number): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getMainCallId(callId: number): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function getSubCallIdList(callId: number): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getSubCallIdList(callId: number): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallIdListForConference(callId: number): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallIdListForConference(callId: number): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallWaitingStatus(slotId: number): Promise\<CallWaitingStatus>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallWaitingStatus(slotId: number): Promise\<CallWaitingStatus>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallWaiting(slotId: number, activate: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallWaiting(slotId: number, activate: boolean): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function startDTMF(callId: number, character: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function startDTMF(callId: number, character: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function stopDTMF(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function stopDTMF(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function isInEmergencyCall(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isInEmergencyCall(): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function isNewCallAllowed(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isNewCallAllowed(): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function separateConference(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function separateConference(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\<RestrictionStatus>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\<RestrictionStatus>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\<CallTransferResult>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\<CallTransferResult>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function isRinging(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isRinging(): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function setMuted(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setMuted(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function cancelMuted(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function cancelMuted(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function joinConference(mainCallId: number, callNumberList: Array\<string>): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function joinConference(mainCallId: number, callNumberList: Array\<string>): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function enableImsSwitch(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function enableImsSwitch(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function disableImsSwitch(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function disableImsSwitch(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:call;<br>方法or属性:function isImsSwitchEnabled(slotId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isImsSwitchEnabled(slotId: number): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_AUDIO_ONLY = 0<br>旧版本信æ¯ï¼š|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_AUDIO_ONLY = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_SEND_ONLY<br>旧版本信æ¯ï¼š|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_SEND_ONLY<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_RECEIVE_ONLY<br>旧版本信æ¯ï¼š|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_RECEIVE_ONLY<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_SEND_RECEIVE<br>旧版本信æ¯ï¼š|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_SEND_RECEIVE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_VIDEO_PAUSED<br>旧版本信æ¯ï¼š|ç±»å:ImsCallMode;<br>方法or属性:CALL_MODE_VIDEO_PAUSED<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:VoNRState;<br>方法or属性:VONR_STATE_ON = 1<br>旧版本信æ¯ï¼š|ç±»å:VoNRState;<br>方法or属性:VONR_STATE_ON = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:AudioDeviceType;<br>方法or属性:DEVICE_EARPIECE<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceType;<br>方法or属性:DEVICE_EARPIECE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:AudioDeviceType;<br>方法or属性:DEVICE_SPEAKER<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceType;<br>方法or属性:DEVICE_SPEAKER<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:AudioDeviceType;<br>方法or属性:DEVICE_WIRED_HEADSET<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceType;<br>方法or属性:DEVICE_WIRED_HEADSET<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:AudioDeviceType;<br>方法or属性:DEVICE_BLUETOOTH_SCO<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceType;<br>方法or属性:DEVICE_BLUETOOTH_SCO<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:AudioDeviceInfo;<br>方法or属性:audioDeviceList: Array\<AudioDevice>;<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceInfo;<br>方法or属性:audioDeviceList: Array\<AudioDevice>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:AudioDeviceInfo;<br>方法or属性:currentAudioDevice: AudioDevice;<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceInfo;<br>方法or属性:currentAudioDevice: AudioDevice;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:AudioDeviceInfo;<br>方法or属性:isMuted: boolean;<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceInfo;<br>方法or属性:isMuted: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_ALL_INCOMING = 0<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_ALL_INCOMING = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_ALL_OUTGOING<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_ALL_OUTGOING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_INTERNATIONAL<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_INTERNATIONAL<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_ROAMING_INCOMING<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_ROAMING_INCOMING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_ALL_CALLS<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_ALL_CALLS<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_OUTGOING_SERVICES<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_OUTGOING_SERVICES<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_INCOMING_SERVICES<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionType;<br>方法or属性:RESTRICTION_TYPE_INCOMING_SERVICES<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:transferNum: string;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:transferNum: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:type: CallTransferType;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:type: CallTransferType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:settingType: CallTransferSettingType;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:settingType: CallTransferSettingType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:startHour?: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:startHour?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:startMinute?: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:startMinute?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:endHour?: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:endHour?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:endMinute?: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:endMinute?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferType;<br>方法or属性:TRANSFER_TYPE_UNCONDITIONAL = 0<br>旧版本信æ¯ï¼š|ç±»å:CallTransferType;<br>方法or属性:TRANSFER_TYPE_UNCONDITIONAL = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferType;<br>方法or属性:TRANSFER_TYPE_BUSY<br>旧版本信æ¯ï¼š|ç±»å:CallTransferType;<br>方法or属性:TRANSFER_TYPE_BUSY<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferType;<br>方法or属性:TRANSFER_TYPE_NO_REPLY<br>旧版本信æ¯ï¼š|ç±»å:CallTransferType;<br>方法or属性:TRANSFER_TYPE_NO_REPLY<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferType;<br>方法or属性:TRANSFER_TYPE_NOT_REACHABLE<br>旧版本信æ¯ï¼š|ç±»å:CallTransferType;<br>方法or属性:TRANSFER_TYPE_NOT_REACHABLE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferSettingType;<br>方法or属性:CALL_TRANSFER_DISABLE = 0<br>旧版本信æ¯ï¼š|ç±»å:CallTransferSettingType;<br>方法or属性:CALL_TRANSFER_DISABLE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferSettingType;<br>方法or属性:CALL_TRANSFER_ENABLE = 1<br>旧版本信æ¯ï¼š|ç±»å:CallTransferSettingType;<br>方法or属性:CALL_TRANSFER_ENABLE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferSettingType;<br>方法or属性:CALL_TRANSFER_REGISTRATION = 3<br>旧版本信æ¯ï¼š|ç±»å:CallTransferSettingType;<br>方法or属性:CALL_TRANSFER_REGISTRATION = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferSettingType;<br>方法or属性:CALL_TRANSFER_ERASURE = 4<br>旧版本信æ¯ï¼š|ç±»å:CallTransferSettingType;<br>方法or属性:CALL_TRANSFER_ERASURE = 4<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:accountNumber: string;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:accountNumber: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:speakerphoneOn: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:speakerphoneOn: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:accountId: number;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:accountId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:videoState: VideoStateType;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:videoState: VideoStateType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:startTime: number;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:startTime: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:isEcc: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:isEcc: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:callType: CallType;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:callType: CallType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:callId: number;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:callId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:callState: DetailedCallState;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:callState: DetailedCallState;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:conferenceState: ConferenceState;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:conferenceState: ConferenceState;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConferenceState;<br>方法or属性:TEL_CONFERENCE_IDLE = 0<br>旧版本信æ¯ï¼š|ç±»å:ConferenceState;<br>方法or属性:TEL_CONFERENCE_IDLE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConferenceState;<br>方法or属性:TEL_CONFERENCE_ACTIVE<br>旧版本信æ¯ï¼š|ç±»å:ConferenceState;<br>方法or属性:TEL_CONFERENCE_ACTIVE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConferenceState;<br>方法or属性:TEL_CONFERENCE_DISCONNECTING<br>旧版本信æ¯ï¼š|ç±»å:ConferenceState;<br>方法or属性:TEL_CONFERENCE_DISCONNECTING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:ConferenceState;<br>方法or属性:TEL_CONFERENCE_DISCONNECTED<br>旧版本信æ¯ï¼š|ç±»å:ConferenceState;<br>方法or属性:TEL_CONFERENCE_DISCONNECTED<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallType;<br>方法or属性:TYPE_CS = 0<br>旧版本信æ¯ï¼š|ç±»å:CallType;<br>方法or属性:TYPE_CS = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallType;<br>方法or属性:TYPE_IMS = 1<br>旧版本信æ¯ï¼š|ç±»å:CallType;<br>方法or属性:TYPE_IMS = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallType;<br>方法or属性:TYPE_OTT = 2<br>旧版本信æ¯ï¼š|ç±»å:CallType;<br>方法or属性:TYPE_OTT = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallType;<br>方法or属性:TYPE_ERR_CALL = 3<br>旧版本信æ¯ï¼š|ç±»å:CallType;<br>方法or属性:TYPE_ERR_CALL = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:VideoStateType;<br>方法or属性:TYPE_VOICE = 0<br>旧版本信æ¯ï¼š|ç±»å:VideoStateType;<br>方法or属性:TYPE_VOICE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:VideoStateType;<br>方法or属性:TYPE_VIDEO<br>旧版本信æ¯ï¼š|ç±»å:VideoStateType;<br>方法or属性:TYPE_VIDEO<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_ACTIVE = 0<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_ACTIVE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_HOLDING<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_HOLDING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_DIALING<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_DIALING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_ALERTING<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_ALERTING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_INCOMING<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_INCOMING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_WAITING<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_WAITING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_DISCONNECTED<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_DISCONNECTED<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_DISCONNECTING<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_DISCONNECTING<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_IDLE<br>旧版本信æ¯ï¼š|ç±»å:DetailedCallState;<br>方法or属性:CALL_STATUS_IDLE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionInfo;<br>方法or属性:type: CallRestrictionType;<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionInfo;<br>方法or属性:type: CallRestrictionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionInfo;<br>方法or属性:password: string;<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionInfo;<br>方法or属性:password: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionInfo;<br>方法or属性:mode: CallRestrictionMode;<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionInfo;<br>方法or属性:mode: CallRestrictionMode;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionMode;<br>方法or属性:RESTRICTION_MODE_DEACTIVATION = 0<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionMode;<br>方法or属性:RESTRICTION_MODE_DEACTIVATION = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallRestrictionMode;<br>方法or属性:RESTRICTION_MODE_ACTIVATION<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionMode;<br>方法or属性:RESTRICTION_MODE_ACTIVATION<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallEventOptions;<br>方法or属性:eventId: CallAbilityEventId,<br>旧版本信æ¯ï¼š|ç±»å:CallEventOptions;<br>方法or属性:eventId: CallAbilityEventId,<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAbilityEventId;<br>方法or属性:EVENT_DIAL_NO_CARRIER = 1<br>旧版本信æ¯ï¼š|ç±»å:CallAbilityEventId;<br>方法or属性:EVENT_DIAL_NO_CARRIER = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallAbilityEventId;<br>方法or属性:EVENT_INVALID_FDN_NUMBER<br>旧版本信æ¯ï¼š|ç±»å:CallAbilityEventId;<br>方法or属性:EVENT_INVALID_FDN_NUMBER<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DialScene;<br>方法or属性:CALL_NORMAL = 0<br>旧版本信æ¯ï¼š|ç±»å:DialScene;<br>方法or属性:CALL_NORMAL = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DialScene;<br>方法or属性:CALL_PRIVILEGED = 1<br>旧版本信æ¯ï¼š|ç±»å:DialScene;<br>方法or属性:CALL_PRIVILEGED = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DialScene;<br>方法or属性:CALL_EMERGENCY = 2<br>旧版本信æ¯ï¼š|ç±»å:DialScene;<br>方法or属性:CALL_EMERGENCY = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DialType;<br>方法or属性:DIAL_CARRIER_TYPE = 0<br>旧版本信æ¯ï¼š|ç±»å:DialType;<br>方法or属性:DIAL_CARRIER_TYPE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DialType;<br>方法or属性:DIAL_VOICE_MAIL_TYPE = 1<br>旧版本信æ¯ï¼š|ç±»å:DialType;<br>方法or属性:DIAL_VOICE_MAIL_TYPE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DialType;<br>方法or属性:DIAL_OTT_TYPE = 2<br>旧版本信æ¯ï¼š|ç±»å:DialType;<br>方法or属性:DIAL_OTT_TYPE = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:RejectMessageOptions;<br>方法or属性:messageContent: string;<br>旧版本信æ¯ï¼š|ç±»å:RejectMessageOptions;<br>方法or属性:messageContent: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:status: TransferStatus;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:status: TransferStatus;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:number: string;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:number: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:startHour: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:startHour: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:startMinute: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:startMinute: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:endHour: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:endHour: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:endMinute: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:endMinute: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallWaitingStatus;<br>方法or属性:CALL_WAITING_DISABLE = 0<br>旧版本信æ¯ï¼š|ç±»å:CallWaitingStatus;<br>方法or属性:CALL_WAITING_DISABLE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:CallWaitingStatus;<br>方法or属性:CALL_WAITING_ENABLE = 1<br>旧版本信æ¯ï¼š|ç±»å:CallWaitingStatus;<br>方法or属性:CALL_WAITING_ENABLE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:RestrictionStatus;<br>方法or属性:RESTRICTION_DISABLE = 0<br>旧版本信æ¯ï¼š|ç±»å:RestrictionStatus;<br>方法or属性:RESTRICTION_DISABLE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:RestrictionStatus;<br>方法or属性:RESTRICTION_ENABLE = 1<br>旧版本信æ¯ï¼š|ç±»å:RestrictionStatus;<br>方法or属性:RESTRICTION_ENABLE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:TransferStatus;<br>方法or属性:TRANSFER_DISABLE = 0<br>旧版本信æ¯ï¼š|ç±»å:TransferStatus;<br>方法or属性:TRANSFER_DISABLE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:TransferStatus;<br>方法or属性:TRANSFER_ENABLE = 1<br>旧版本信æ¯ï¼š|ç±»å:TransferStatus;<br>方法or属性:TRANSFER_ENABLE = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmiCodeResults;<br>方法or属性:result: MmiCodeResult;<br>旧版本信æ¯ï¼š|ç±»å:MmiCodeResults;<br>方法or属性:result: MmiCodeResult;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmiCodeResults;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:MmiCodeResults;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedDetails;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedDetails;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmiCodeResult;<br>方法or属性:MMI_CODE_SUCCESS = 0<br>旧版本信æ¯ï¼š|ç±»å:MmiCodeResult;<br>方法or属性:MMI_CODE_SUCCESS = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmiCodeResult;<br>方法or属性:MMI_CODE_FAILED = 1<br>旧版本信æ¯ï¼š|ç±»å:MmiCodeResult;<br>方法or属性:MMI_CODE_FAILED = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:UNASSIGNED_NUMBER = 1<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:UNASSIGNED_NUMBER = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NO_ROUTE_TO_DESTINATION = 3<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NO_ROUTE_TO_DESTINATION = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:CHANNEL_UNACCEPTABLE = 6<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:CHANNEL_UNACCEPTABLE = 6<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:OPERATOR_DETERMINED_BARRING = 8<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:OPERATOR_DETERMINED_BARRING = 8<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:CALL_COMPLETED_ELSEWHERE = 13<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:CALL_COMPLETED_ELSEWHERE = 13<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NORMAL_CALL_CLEARING = 16<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NORMAL_CALL_CLEARING = 16<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:USER_BUSY = 17<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:USER_BUSY = 17<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NO_USER_RESPONDING = 18<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NO_USER_RESPONDING = 18<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:USER_ALERTING_NO_ANSWER = 19<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:USER_ALERTING_NO_ANSWER = 19<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:CALL_REJECTED = 21<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:CALL_REJECTED = 21<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NUMBER_CHANGED = 22<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NUMBER_CHANGED = 22<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:CALL_REJECTED_DUE_TO_FEATURE_AT_THE_DESTINATION = 24<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:CALL_REJECTED_DUE_TO_FEATURE_AT_THE_DESTINATION = 24<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:FAILED_PRE_EMPTION = 25<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:FAILED_PRE_EMPTION = 25<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NON_SELECTED_USER_CLEARING = 26<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NON_SELECTED_USER_CLEARING = 26<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:DESTINATION_OUT_OF_ORDER = 27<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:DESTINATION_OUT_OF_ORDER = 27<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_NUMBER_FORMAT = 28<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_NUMBER_FORMAT = 28<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:FACILITY_REJECTED = 29<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:FACILITY_REJECTED = 29<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RESPONSE_TO_STATUS_ENQUIRY = 30<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RESPONSE_TO_STATUS_ENQUIRY = 30<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NORMAL_UNSPECIFIED = 31<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NORMAL_UNSPECIFIED = 31<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NO_CIRCUIT_CHANNEL_AVAILABLE = 34<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NO_CIRCUIT_CHANNEL_AVAILABLE = 34<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NETWORK_OUT_OF_ORDER = 38<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NETWORK_OUT_OF_ORDER = 38<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:TEMPORARY_FAILURE = 41<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:TEMPORARY_FAILURE = 41<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:SWITCHING_EQUIPMENT_CONGESTION = 42<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:SWITCHING_EQUIPMENT_CONGESTION = 42<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:ACCESS_INFORMATION_DISCARDED = 43<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:ACCESS_INFORMATION_DISCARDED = 43<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RESOURCES_UNAVAILABLE_UNSPECIFIED = 47<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RESOURCES_UNAVAILABLE_UNSPECIFIED = 47<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:QUALITY_OF_SERVICE_UNAVAILABLE = 49<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:QUALITY_OF_SERVICE_UNAVAILABLE = 49<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:REQUESTED_FACILITY_NOT_SUBSCRIBED = 50<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:REQUESTED_FACILITY_NOT_SUBSCRIBED = 50<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:BEARER_CAPABILITY_NOT_AUTHORIZED = 57<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:BEARER_CAPABILITY_NOT_AUTHORIZED = 57<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:BEARER_SERVICE_NOT_IMPLEMENTED = 65<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:BEARER_SERVICE_NOT_IMPLEMENTED = 65<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:ACM_EQUALTO_OR_GREATER_THAN_THE_MAXIMUM_VALUE = 68<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:ACM_EQUALTO_OR_GREATER_THAN_THE_MAXIMUM_VALUE = 68<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:REQUESTED_FACILITY_NOT_IMPLEMENTED = 69<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:REQUESTED_FACILITY_NOT_IMPLEMENTED = 69<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:ONLY_RESTRICTED_DIGITAL_INFO_BEARER_CAPABILITY_IS_AVAILABLE = 70<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:ONLY_RESTRICTED_DIGITAL_INFO_BEARER_CAPABILITY_IS_AVAILABLE = 70<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_TRANSACTION_IDENTIFIER_VALUE = 81<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_TRANSACTION_IDENTIFIER_VALUE = 81<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:USER_NOT_MEMBER_OF_CUG = 87<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:USER_NOT_MEMBER_OF_CUG = 87<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INCOMPATIBLE_DESTINATION = 88<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INCOMPATIBLE_DESTINATION = 88<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_TRANSIT_NETWORK_SELECTION = 91<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_TRANSIT_NETWORK_SELECTION = 91<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:SEMANTICALLY_INCORRECT_MESSAGE = 95<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:SEMANTICALLY_INCORRECT_MESSAGE = 95<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_MANDATORY_INFORMATION = 96<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_MANDATORY_INFORMATION = 96<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:CONDITIONAL_IE_ERROR = 100<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:CONDITIONAL_IE_ERROR = 100<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RECOVERY_ON_TIMER_EXPIRED = 102<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RECOVERY_ON_TIMER_EXPIRED = 102<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:PROTOCOL_ERROR_UNSPECIFIED = 111<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:PROTOCOL_ERROR_UNSPECIFIED = 111<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INTERWORKING_UNSPECIFIED = 127<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INTERWORKING_UNSPECIFIED = 127<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:CALL_BARRED = 240<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:CALL_BARRED = 240<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:FDN_BLOCKED = 241<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:FDN_BLOCKED = 241<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:IMSI_UNKNOWN_IN_VLR = 242<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:IMSI_UNKNOWN_IN_VLR = 242<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:IMEI_NOT_ACCEPTED = 243<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:IMEI_NOT_ACCEPTED = 243<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:DIAL_MODIFIED_TO_USSD = 244<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:DIAL_MODIFIED_TO_USSD = 244<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:DIAL_MODIFIED_TO_SS = 245<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:DIAL_MODIFIED_TO_SS = 245<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:DIAL_MODIFIED_TO_DIAL = 246<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:DIAL_MODIFIED_TO_DIAL = 246<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_OFF = 247<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_OFF = 247<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:OUT_OF_SERVICE = 248<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:OUT_OF_SERVICE = 248<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NO_VALID_SIM = 249<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NO_VALID_SIM = 249<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_INTERNAL_ERROR = 250<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_INTERNAL_ERROR = 250<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NETWORK_RESP_TIMEOUT = 251<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NETWORK_RESP_TIMEOUT = 251<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NETWORK_REJECT = 252<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NETWORK_REJECT = 252<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_ACCESS_FAILURE = 253<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_ACCESS_FAILURE = 253<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_LINK_FAILURE = 254<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_LINK_FAILURE = 254<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_LINK_LOST = 255<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_LINK_LOST = 255<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_UPLINK_FAILURE = 256<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_UPLINK_FAILURE = 256<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_SETUP_FAILURE = 257<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_SETUP_FAILURE = 257<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_RELEASE_NORMAL = 258<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_RELEASE_NORMAL = 258<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_RELEASE_ABNORMAL = 259<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:RADIO_RELEASE_ABNORMAL = 259<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:ACCESS_CLASS_BLOCKED = 260<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:ACCESS_CLASS_BLOCKED = 260<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:NETWORK_DETACH = 261<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:NETWORK_DETACH = 261<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_PARAMETER = 1025<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:INVALID_PARAMETER = 1025<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:SIM_NOT_EXIT = 1026<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:SIM_NOT_EXIT = 1026<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:SIM_PIN_NEED = 1027<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:SIM_PIN_NEED = 1027<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:CALL_NOT_ALLOW = 1029<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:CALL_NOT_ALLOW = 1029<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:SIM_INVALID = 1045<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:SIM_INVALID = 1045<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedReason;<br>方法or属性:UNKNOWN = 1279<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedReason;<br>方法or属性:UNKNOWN = 1279<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:DisconnectedDetails;<br>方法or属性:reason: DisconnectedReason;<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedDetails;<br>方法or属性:reason: DisconnectedReason;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.call.d.ts| +|访问级别有å˜åŒ–|ç±»å:data;<br>方法or属性:function setDefaultCellularDataSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function setDefaultCellularDataSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.data.d.ts| +|访问级别有å˜åŒ–|ç±»å:data;<br>方法or属性:function enableCellularData(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function enableCellularData(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.data.d.ts| +|访问级别有å˜åŒ–|ç±»å:data;<br>方法or属性:function disableCellularData(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function disableCellularData(): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.data.d.ts| +|访问级别有å˜åŒ–|ç±»å:data;<br>方法or属性:function enableCellularDataRoaming(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function enableCellularDataRoaming(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.data.d.ts| +|访问级别有å˜åŒ–|ç±»å:data;<br>方法or属性:function disableCellularDataRoaming(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function disableCellularDataRoaming(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.data.d.ts| +|访问级别有å˜åŒ–|ç±»å:observer;<br>方法or属性:function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.observer.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId: number, callback: AsyncCallback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId: number, callback: AsyncCallback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId?: number): Promise\<Array\<CellInformation>>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId?: number): Promise\<Array\<CellInformation>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNetworkSearchInformation(slotId: number): Promise\<NetworkSearchResult>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNetworkSearchInformation(slotId: number): Promise\<NetworkSearchResult>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId: number, callback: AsyncCallback\<NrOptionMode>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId: number, callback: AsyncCallback\<NrOptionMode>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId?: number): Promise\<NrOptionMode>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNrOptionMode(slotId?: number): Promise\<NrOptionMode>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getIMEI(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getIMEI(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getIMEI(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getIMEI(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getMEID(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getMEID(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getMEID(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getMEID(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function setPrimarySlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setPrimarySlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId?: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId?: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getPreferredNetwork(slotId: number): Promise\<PreferredNetworkMode>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getPreferredNetwork(slotId: number): Promise\<PreferredNetworkMode>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\<ImsRegInfo>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\<ImsRegInfo>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_GSM = 1<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_GSM = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_WCDMA = 2<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_WCDMA = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE = 3<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_WCDMA = 4<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_WCDMA = 4<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM = 5<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM = 5<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_WCDMA_GSM = 6<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_WCDMA_GSM = 6<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_CDMA = 7<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_CDMA = 7<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_EVDO = 8<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_EVDO = 8<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_EVDO_CDMA = 9<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_EVDO_CDMA = 9<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_WCDMA_GSM_EVDO_CDMA = 10<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_WCDMA_GSM_EVDO_CDMA = 10<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_EVDO_CDMA = 11<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_EVDO_CDMA = 11<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM_EVDO_CDMA = 12<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM_EVDO_CDMA = 12<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA = 13<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA = 13<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA_GSM = 14<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA_GSM = 14<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA = 15<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA = 15<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM = 16<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM = 16<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA = 17<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA = 17<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA_GSM = 18<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA_GSM = 18<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA = 19<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA = 19<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM = 20<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM = 20<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 21<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 21<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 22<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 22<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR = 31<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR = 31<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE = 32<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE = 32<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_WCDMA = 33<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_WCDMA = 33<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM = 34<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM = 34<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_EVDO_CDMA = 35<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_EVDO_CDMA = 35<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM_EVDO_CDMA = 36<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM_EVDO_CDMA = 36<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA = 37<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA = 37<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_GSM = 38<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_GSM = 38<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA = 39<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA = 39<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM = 40<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM = 40<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 41<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 41<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_MAX_VALUE = 99<br>旧版本信æ¯ï¼š|ç±»å:PreferredNetworkMode;<br>方法or属性:PREFERRED_NETWORK_MODE_MAX_VALUE = 99<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:export interface CellInformation<br>旧版本信æ¯ï¼šsystemapi|ç±»å:CellInformation;<br>方法or属性:export interface CellInformation<br>新版本信æ¯ï¼š|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:isCamped: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CellInformation;<br>方法or属性:isCamped: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:timeStamp: number;<br>旧版本信æ¯ï¼š|ç±»å:CellInformation;<br>方法or属性:timeStamp: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:data: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation \| TdscdmaCellInformation<br> \| WcdmaCellInformation;<br>旧版本信æ¯ï¼š|ç±»å:CellInformation;<br>方法or属性:data: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation \| TdscdmaCellInformation<br> \| WcdmaCellInformation;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:baseId: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:baseId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:latitude: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:latitude: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:longitude: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:longitude: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:nid: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:nid: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:sid: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:sid: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:lac: number;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:lac: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:lac: number;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:lac: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:lac: number;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:lac: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:cellId: number;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:cellId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:cellId: number;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:cellId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:cellId: number;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:cellId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:arfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:arfcn: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:bsic: number;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:bsic: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:cgi: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:cgi: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:pci: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:pci: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:pci: number;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:pci: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:tac: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:tac: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:tac: number;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:tac: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:earfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:earfcn: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:bandwidth: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:bandwidth: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:isSupportEndc: boolean;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:isSupportEndc: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:nrArfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:nrArfcn: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:nci: number;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:nci: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:cpid: number;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:cpid: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:uarfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:uarfcn: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:uarfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:uarfcn: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:psc: number;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:psc: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_UNKNOWN<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_UNKNOWN<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_NSA_ONLY<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_NSA_ONLY<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_SA_ONLY<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_SA_ONLY<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_NSA_AND_SA<br>旧版本信æ¯ï¼š|ç±»å:NrOptionMode;<br>方法or属性:NR_OPTION_NSA_AND_SA<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkSearchResult;<br>方法or属性:isNetworkSearchSuccess: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSearchResult;<br>方法or属性:isNetworkSearchSuccess: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkSearchResult;<br>方法or属性:networkSearchResult: Array\<NetworkInformation>;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSearchResult;<br>方法or属性:networkSearchResult: Array\<NetworkInformation>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkInformation;<br>方法or属性:operatorName: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformation;<br>方法or属性:operatorName: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkInformation;<br>方法or属性:operatorNumeric: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformation;<br>方法or属性:operatorNumeric: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkInformation;<br>方法or属性:state: NetworkInformationState;<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformation;<br>方法or属性:state: NetworkInformationState;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkInformation;<br>方法or属性:radioTech: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformation;<br>方法or属性:radioTech: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkInformationState;<br>方法or属性:NETWORK_UNKNOWN<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformationState;<br>方法or属性:NETWORK_UNKNOWN<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkInformationState;<br>方法or属性:NETWORK_AVAILABLE<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformationState;<br>方法or属性:NETWORK_AVAILABLE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkInformationState;<br>方法or属性:NETWORK_CURRENT<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformationState;<br>方法or属性:NETWORK_CURRENT<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkInformationState;<br>方法or属性:NETWORK_FORBIDDEN<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformationState;<br>方法or属性:NETWORK_FORBIDDEN<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:selectMode: NetworkSelectionMode;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:selectMode: NetworkSelectionMode;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:networkInformation: NetworkInformation;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:networkInformation: NetworkInformation;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:resumeSelection: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:resumeSelection: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsRegState;<br>方法or属性:IMS_UNREGISTERED<br>旧版本信æ¯ï¼š|ç±»å:ImsRegState;<br>方法or属性:IMS_UNREGISTERED<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsRegState;<br>方法or属性:IMS_REGISTERED<br>旧版本信æ¯ï¼š|ç±»å:ImsRegState;<br>方法or属性:IMS_REGISTERED<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsRegTech;<br>方法or属性:REGISTRATION_TECH_NONE<br>旧版本信æ¯ï¼š|ç±»å:ImsRegTech;<br>方法or属性:REGISTRATION_TECH_NONE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsRegTech;<br>方法or属性:REGISTRATION_TECH_LTE<br>旧版本信æ¯ï¼š|ç±»å:ImsRegTech;<br>方法or属性:REGISTRATION_TECH_LTE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsRegTech;<br>方法or属性:REGISTRATION_TECH_IWLAN<br>旧版本信æ¯ï¼š|ç±»å:ImsRegTech;<br>方法or属性:REGISTRATION_TECH_IWLAN<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsRegTech;<br>方法or属性:REGISTRATION_TECH_NR<br>旧版本信æ¯ï¼š|ç±»å:ImsRegTech;<br>方法or属性:REGISTRATION_TECH_NR<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsRegInfo;<br>方法or属性:imsRegState: ImsRegState;<br>旧版本信æ¯ï¼š|ç±»å:ImsRegInfo;<br>方法or属性:imsRegState: ImsRegState;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsRegInfo;<br>方法or属性:imsRegTech: ImsRegTech;<br>旧版本信æ¯ï¼š|ç±»å:ImsRegInfo;<br>方法or属性:imsRegTech: ImsRegTech;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsServiceType;<br>方法or属性:TYPE_VOICE<br>旧版本信æ¯ï¼š|ç±»å:ImsServiceType;<br>方法or属性:TYPE_VOICE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsServiceType;<br>方法or属性:TYPE_VIDEO<br>旧版本信æ¯ï¼š|ç±»å:ImsServiceType;<br>方法or属性:TYPE_VIDEO<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsServiceType;<br>方法or属性:TYPE_UT<br>旧版本信æ¯ï¼š|ç±»å:ImsServiceType;<br>方法or属性:TYPE_UT<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:ImsServiceType;<br>方法or属性:TYPE_SMS<br>旧版本信æ¯ï¼š|ç±»å:ImsServiceType;<br>方法or属性:TYPE_SMS<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.radio.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimIccId(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimIccId(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getVoiceMailIdentifier(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getVoiceMailIdentifier(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getVoiceMailNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getVoiceMailNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimTelephoneNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimTelephoneNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimGid1(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimGid1(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getIMSI(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getIMSI(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimAccountInfo(slotId: number, callback: AsyncCallback\<IccAccountInfo>): void;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:sim;<br>方法or属性:function getSimAccountInfo(slotId: number, callback: AsyncCallback\<IccAccountInfo>): void;<br>新版本信æ¯ï¼š|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getActiveSimAccountInfoList(callback: AsyncCallback\<Array\<IccAccountInfo>>): void;<br>旧版本信æ¯ï¼šsystemapi|ç±»å:sim;<br>方法or属性:function getActiveSimAccountInfoList(callback: AsyncCallback\<Array\<IccAccountInfo>>): void;<br>新版本信æ¯ï¼š|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setDefaultVoiceSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setDefaultVoiceSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function activateSim(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function activateSim(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function deactivateSim(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function deactivateSim(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setShowName(slotId: number, name: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setShowName(slotId: number, name: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getShowName(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getShowName(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setShowNumber(slotId: number, number: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setShowNumber(slotId: number, number: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getShowNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getShowNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getOperatorConfigs(slotId: number): Promise\<Array\<OperatorConfig>>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getOperatorConfigs(slotId: number): Promise\<Array\<OperatorConfig>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPin(slotId: number, pin: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPin(slotId: number, pin: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPuk(slotId: number, newPin: string, puk: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPuk(slotId: number, newPin: string, puk: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function alterPin(slotId: number, newPin: string, oldPin: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function alterPin(slotId: number, newPin: string, oldPin: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function setLockState(slotId: number, options: LockInfo): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setLockState(slotId: number, options: LockInfo): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPin2(slotId: number, pin2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPin2(slotId: number, pin2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\<Array\<DiallingNumbersInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\<Array\<DiallingNumbersInfo>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function getLockState(slotId: number, lockType: LockType): Promise\<LockState>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getLockState(slotId: number, lockType: LockType): Promise\<LockState>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function sendEnvelopeCmd(slotId: number, cmd: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function sendEnvelopeCmd(slotId: number, cmd: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfig;<br>方法or属性:field: string;<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfig;<br>方法or属性:field: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfig;<br>方法or属性:value: string;<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfig;<br>方法or属性:value: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:simId: number;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:simId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:slotIndex: number;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:slotIndex: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:isEsim: boolean;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:isEsim: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:isActive: boolean;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:isActive: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:iccId: string;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:iccId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:showName: string;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:showName: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:showNumber: string;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:showNumber: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockStatusResponse;<br>方法or属性:result: number;<br>旧版本信æ¯ï¼š|ç±»å:LockStatusResponse;<br>方法or属性:result: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockStatusResponse;<br>方法or属性:remain?: number;<br>旧版本信æ¯ï¼š|ç±»å:LockStatusResponse;<br>方法or属性:remain?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:DiallingNumbersInfo;<br>方法or属性:alphaTag: string;<br>旧版本信æ¯ï¼š|ç±»å:DiallingNumbersInfo;<br>方法or属性:alphaTag: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:DiallingNumbersInfo;<br>方法or属性:number: string;<br>旧版本信æ¯ï¼š|ç±»å:DiallingNumbersInfo;<br>方法or属性:number: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:DiallingNumbersInfo;<br>方法or属性:recordNumber?: number;<br>旧版本信æ¯ï¼š|ç±»å:DiallingNumbersInfo;<br>方法or属性:recordNumber?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:DiallingNumbersInfo;<br>方法or属性:pin2?: string;<br>旧版本信æ¯ï¼š|ç±»å:DiallingNumbersInfo;<br>方法or属性:pin2?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockInfo;<br>方法or属性:lockType: LockType;<br>旧版本信æ¯ï¼š|ç±»å:LockInfo;<br>方法or属性:lockType: LockType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockInfo;<br>方法or属性:password: string;<br>旧版本信æ¯ï¼š|ç±»å:LockInfo;<br>方法or属性:password: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockInfo;<br>方法or属性:password: string;<br>旧版本信æ¯ï¼š|ç±»å:PersoLockInfo;<br>方法or属性:password: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockInfo;<br>方法or属性:state: LockState;<br>旧版本信æ¯ï¼š|ç±»å:LockInfo;<br>方法or属性:state: LockState;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockInfo;<br>方法or属性:lockType: PersoLockType;<br>旧版本信æ¯ï¼š|ç±»å:PersoLockInfo;<br>方法or属性:lockType: PersoLockType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockType;<br>方法or属性:PIN_LOCK = 1<br>旧版本信æ¯ï¼š|ç±»å:LockType;<br>方法or属性:PIN_LOCK = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockType;<br>方法or属性:FDN_LOCK = 2<br>旧版本信æ¯ï¼š|ç±»å:LockType;<br>方法or属性:FDN_LOCK = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockState;<br>方法or属性:LOCK_OFF = 0<br>旧版本信æ¯ï¼š|ç±»å:LockState;<br>方法or属性:LOCK_OFF = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:LockState;<br>方法or属性:LOCK_ON = 1<br>旧版本信æ¯ï¼š|ç±»å:LockState;<br>方法or属性:LOCK_ON = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:ContactType;<br>方法or属性:GENERAL_CONTACT = 1<br>旧版本信æ¯ï¼š|ç±»å:ContactType;<br>方法or属性:GENERAL_CONTACT = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:ContactType;<br>方法or属性:FIXED_DIALING = 2<br>旧版本信æ¯ï¼š|ç±»å:ContactType;<br>方法or属性:FIXED_DIALING = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:PN_PIN_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:PN_PIN_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:PN_PUK_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:PN_PUK_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:PU_PIN_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:PU_PIN_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:PU_PUK_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:PU_PUK_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:PP_PIN_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:PP_PIN_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:PP_PUK_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:PP_PUK_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:PC_PIN_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:PC_PIN_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:PC_PUK_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:PC_PUK_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:SIM_PIN_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:SIM_PIN_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:PersoLockType;<br>方法or属性:SIM_PUK_LOCK<br>旧版本信æ¯ï¼š|ç±»å:PersoLockType;<br>方法or属性:SIM_PUK_LOCK<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_VOICE_MAIL_NUMBER_STRING = "voice_mail_number_string"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_VOICE_MAIL_NUMBER_STRING = "voice_mail_number_string"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_IMS_SWITCH_ON_BY_DEFAULT_BOOL = "ims_switch_on_by_default_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_IMS_SWITCH_ON_BY_DEFAULT_BOOL = "ims_switch_on_by_default_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_HIDE_IMS_SWITCH_BOOL = "hide_ims_switch_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_HIDE_IMS_SWITCH_BOOL = "hide_ims_switch_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_VOLTE_SUPPORTED_BOOL = "volte_supported_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_VOLTE_SUPPORTED_BOOL = "volte_supported_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_NR_MODE_SUPPORTED_LIST_INT_ARRAY = "nr_mode_supported_list_int_array"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_NR_MODE_SUPPORTED_LIST_INT_ARRAY = "nr_mode_supported_list_int_array"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_VOLTE_PROVISIONING_SUPPORTED_BOOL = "volte_provisioning_supported_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_VOLTE_PROVISIONING_SUPPORTED_BOOL = "volte_provisioning_supported_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_SS_OVER_UT_SUPPORTED_BOOL = "ss_over_ut_supported_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_SS_OVER_UT_SUPPORTED_BOOL = "ss_over_ut_supported_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_IMS_GBA_REQUIRED_BOOL = "ims_gba_required_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_IMS_GBA_REQUIRED_BOOL = "ims_gba_required_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_UT_PROVISIONING_SUPPORTED_BOOL = "ut_provisioning_supported_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_UT_PROVISIONING_SUPPORTED_BOOL = "ut_provisioning_supported_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_IMS_PREFER_FOR_EMERGENCY_BOOL = "ims_prefer_for_emergency_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_IMS_PREFER_FOR_EMERGENCY_BOOL = "ims_prefer_for_emergency_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_CALL_WAITING_SERVICE_CLASS_INT = "call_waiting_service_class_int"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_CALL_WAITING_SERVICE_CLASS_INT = "call_waiting_service_class_int"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_CALL_TRANSFER_VISIBILITY_BOOL = "call_transfer_visibility_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_CALL_TRANSFER_VISIBILITY_BOOL = "call_transfer_visibility_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_IMS_CALL_DISCONNECT_REASON_INFO_MAPPING_STRING_ARRAY =<br> "ims_call_disconnect_reason_info_mapping_string_array"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_IMS_CALL_DISCONNECT_REASON_INFO_MAPPING_STRING_ARRAY =<br> "ims_call_disconnect_reason_info_mapping_string_array"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_FORCE_VOLTE_SWITCH_ON_BOOL = "force_volte_switch_on_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_FORCE_VOLTE_SWITCH_ON_BOOL = "force_volte_switch_on_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_ENABLE_OPERATOR_NAME_CUST_BOOL = "enable_operator_name_cust_bool"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_ENABLE_OPERATOR_NAME_CUST_BOOL = "enable_operator_name_cust_bool"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_OPERATOR_NAME_CUST_STRING = "operator_name_cust_string"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_OPERATOR_NAME_CUST_STRING = "operator_name_cust_string"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_SPN_DISPLAY_CONDITION_CUST_INT = "spn_display_condition_cust_int"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_SPN_DISPLAY_CONDITION_CUST_INT = "spn_display_condition_cust_int"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_PNN_CUST_STRING_ARRAY = "pnn_cust_string_array"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_PNN_CUST_STRING_ARRAY = "pnn_cust_string_array"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_OPL_CUST_STRING_ARRAY = "opl_cust_string_array"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_OPL_CUST_STRING_ARRAY = "opl_cust_string_array"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_EMERGENCY_CALL_STRING_ARRAY = "emergency_call_string_array"<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfigKey;<br>方法or属性:KEY_EMERGENCY_CALL_STRING_ARRAY = "emergency_call_string_array"<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sim.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function splitMessage(content: string): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function splitMessage(content: string): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function setDefaultSmsSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setDefaultSmsSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function setSmscAddr(slotId: number, smscAddr: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setSmscAddr(slotId: number, smscAddr: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function getSmscAddr(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getSmscAddr(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function addSimMessage(options: SimMessageOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function addSimMessage(options: SimMessageOptions): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function delSimMessage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function delSimMessage(slotId: number, msgIndex: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function updateSimMessage(options: UpdateSimMessageOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function updateSimMessage(options: UpdateSimMessageOptions): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function getAllSimMessages(slotId: number): Promise\<Array\<SimShortMessage>>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getAllSimMessages(slotId: number): Promise\<Array\<SimShortMessage>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function setCBConfig(options: CBConfigOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setCBConfig(options: CBConfigOptions): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\<SmsSegmentsInfo>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\<SmsSegmentsInfo>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function isImsSmsSupported(slotId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function isImsSmsSupported(slotId: number): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function getImsShortMessageFormat(): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getImsShortMessageFormat(): Promise\<string>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function decodeMms(mmsFilePathName: string \| Array\<number>): Promise\<MmsInformation>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function decodeMms(mmsFilePathName: string \| Array\<number>): Promise\<MmsInformation>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:sms;<br>方法or属性:function encodeMms(mms: MmsInformation): Promise\<Array\<number>>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function encodeMms(mms: MmsInformation): Promise\<Array\<number>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsInformation;<br>方法or属性:messageType: MessageType;<br>旧版本信æ¯ï¼š|ç±»å:MmsInformation;<br>方法or属性:messageType: MessageType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsInformation;<br>方法or属性:mmsType: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \| MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd;<br>旧版本信æ¯ï¼š|ç±»å:MmsInformation;<br>方法or属性:mmsType: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \| MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsInformation;<br>方法or属性:attachment?: Array\<MmsAttachment>;<br>旧版本信æ¯ï¼š|ç±»å:MmsInformation;<br>方法or属性:attachment?: Array\<MmsAttachment>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:from: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:from: MmsAddress;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:from: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:from: MmsAddress;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:from: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:from: MmsAddress;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendConf;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendConf;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRespInd;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRespInd;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAcknowledgeInd;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAcknowledgeInd;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:contentType: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:contentType: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:contentType: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:contentType: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentType: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentType: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendConf;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendConf;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRespInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsRespInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAcknowledgeInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsAcknowledgeInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:to?: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:to?: Array\<MmsAddress>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:date?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:date?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:date?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:date?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:cc?: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:cc?: Array\<MmsAddress>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:cc?: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:cc?: Array\<MmsAddress>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:bcc?: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:bcc?: Array\<MmsAddress>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:subject?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:subject?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:subject?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:subject?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:subject?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:subject?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:messageClass?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:messageClass?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:expiry?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:expiry?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:priority?: MmsPriorityType;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:priority?: MmsPriorityType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:priority?: MmsPriorityType;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:priority?: MmsPriorityType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:senderVisibility?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:senderVisibility?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:deliveryReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:deliveryReport?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:deliveryReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:deliveryReport?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:deliveryReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:deliveryReport?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:readReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:readReport?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:readReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:readReport?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendConf;<br>方法or属性:responseState: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendConf;<br>方法or属性:responseState: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsSendConf;<br>方法or属性:messageId?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendConf;<br>方法or属性:messageId?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:messageClass: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:messageClass: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:messageSize: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:messageSize: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:expiry: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:expiry: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:contentLocation: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:contentLocation: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentLocation: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentLocation: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:from?: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:from?: MmsAddress;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:from?: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:from?: MmsAddress;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:contentClass?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:contentClass?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRespInd;<br>方法or属性:status: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRespInd;<br>方法or属性:status: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:status: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:status: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRespInd;<br>方法or属性:reportAllowed?: ReportType;<br>旧版本信æ¯ï¼š|ç±»å:MmsRespInd;<br>方法or属性:reportAllowed?: ReportType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAcknowledgeInd;<br>方法or属性:reportAllowed?: ReportType;<br>旧版本信æ¯ï¼š|ç±»å:MmsAcknowledgeInd;<br>方法or属性:reportAllowed?: ReportType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:messageId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:messageId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:messageId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:messageId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:messageId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:messageId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:messageId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:messageId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:date: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:date: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:date: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:date: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:date: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:date: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:to: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:to: Array\<MmsAddress>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:to: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:to: Array\<MmsAddress>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:to: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:to: Array\<MmsAddress>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:to: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:to: Array\<MmsAddress>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:retrieveStatus?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:retrieveStatus?: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:retrieveText?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:retrieveText?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:readStatus: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:readStatus: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:readStatus: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:readStatus: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentDisposition: DispositionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentDisposition: DispositionType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentTransferEncoding: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentTransferEncoding: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:isSmil: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:isSmil: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:path?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:path?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:inBuff?: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:inBuff?: Array\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:fileName?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:fileName?: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:charset?: MmsCharSets;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:charset?: MmsCharSets;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAddress;<br>方法or属性:address: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAddress;<br>方法or属性:address: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsAddress;<br>方法or属性:charset: MmsCharSets;<br>旧版本信æ¯ï¼š|ç±»å:MmsAddress;<br>方法or属性:charset: MmsCharSets;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_SEND_REQ = 128<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_SEND_REQ = 128<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_SEND_CONF<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_SEND_CONF<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_NOTIFICATION_IND<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_NOTIFICATION_IND<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_RESP_IND<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_RESP_IND<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_RETRIEVE_CONF<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_RETRIEVE_CONF<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_ACKNOWLEDGE_IND<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_ACKNOWLEDGE_IND<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_DELIVERY_IND<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_DELIVERY_IND<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_READ_REC_IND<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_READ_REC_IND<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_READ_ORIG_IND<br>旧版本信æ¯ï¼š|ç±»å:MessageType;<br>方法or属性:TYPE_MMS_READ_ORIG_IND<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsPriorityType;<br>方法or属性:MMS_LOW = 128<br>旧版本信æ¯ï¼š|ç±»å:MmsPriorityType;<br>方法or属性:MMS_LOW = 128<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsPriorityType;<br>方法or属性:MMS_NORMAL<br>旧版本信æ¯ï¼š|ç±»å:MmsPriorityType;<br>方法or属性:MMS_NORMAL<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsPriorityType;<br>方法or属性:MMS_HIGH<br>旧版本信æ¯ï¼š|ç±»å:MmsPriorityType;<br>方法or属性:MMS_HIGH<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsVersionType;<br>方法or属性:MMS_VERSION_1_0 = 0x10<br>旧版本信æ¯ï¼š|ç±»å:MmsVersionType;<br>方法or属性:MMS_VERSION_1_0 = 0x10<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsVersionType;<br>方法or属性:MMS_VERSION_1_1<br>旧版本信æ¯ï¼š|ç±»å:MmsVersionType;<br>方法or属性:MMS_VERSION_1_1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsVersionType;<br>方法or属性:MMS_VERSION_1_2<br>旧版本信æ¯ï¼š|ç±»å:MmsVersionType;<br>方法or属性:MMS_VERSION_1_2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsVersionType;<br>方法or属性:MMS_VERSION_1_3<br>旧版本信æ¯ï¼š|ç±»å:MmsVersionType;<br>方法or属性:MMS_VERSION_1_3<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:BIG5 = 0X07EA<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:BIG5 = 0X07EA<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_10646_UCS_2 = 0X03E8<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_10646_UCS_2 = 0X03E8<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_1 = 0X04<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_1 = 0X04<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_2<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_3<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_3<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_4<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_4<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_5<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_5<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_6<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_6<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_7<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_7<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_8<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_8<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_9<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:ISO_8859_9<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:SHIFT_JIS = 0X11<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:SHIFT_JIS = 0X11<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:US_ASCII = 0X03<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:US_ASCII = 0X03<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:MmsCharSets;<br>方法or属性:UTF_8 = 0X6A<br>旧版本信æ¯ï¼š|ç±»å:MmsCharSets;<br>方法or属性:UTF_8 = 0X6A<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:DispositionType;<br>方法or属性:FROM_DATA = 0<br>旧版本信æ¯ï¼š|ç±»å:DispositionType;<br>方法or属性:FROM_DATA = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:DispositionType;<br>方法or属性:ATTACHMENT<br>旧版本信æ¯ï¼š|ç±»å:DispositionType;<br>方法or属性:ATTACHMENT<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:DispositionType;<br>方法or属性:INLINE<br>旧版本信æ¯ï¼š|ç±»å:DispositionType;<br>方法or属性:INLINE<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:ReportType;<br>方法or属性:MMS_YES = 128<br>旧版本信æ¯ï¼š|ç±»å:ReportType;<br>方法or属性:MMS_YES = 128<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:ReportType;<br>方法or属性:MMS_NO<br>旧版本信æ¯ï¼š|ç±»å:ReportType;<br>方法or属性:MMS_NO<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:SimMessageOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:enable: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:enable: boolean;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:startMessageId: number;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:startMessageId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:endMessageId: number;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:endMessageId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:ranType: RanType;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:ranType: RanType;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageOptions;<br>方法or属性:smsc: string;<br>旧版本信æ¯ï¼š|ç±»å:SimMessageOptions;<br>方法or属性:smsc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:smsc: string;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:smsc: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageOptions;<br>方法or属性:pdu: string;<br>旧版本信æ¯ï¼š|ç±»å:SimMessageOptions;<br>方法or属性:pdu: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:pdu: string;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:pdu: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageOptions;<br>方法or属性:status: SimMessageStatus;<br>旧版本信æ¯ï¼š|ç±»å:SimMessageOptions;<br>方法or属性:status: SimMessageStatus;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:msgIndex: number;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:msgIndex: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:newStatus: SimMessageStatus;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:newStatus: SimMessageStatus;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimShortMessage;<br>方法or属性:shortMessage: ShortMessage;<br>旧版本信æ¯ï¼š|ç±»å:SimShortMessage;<br>方法or属性:shortMessage: ShortMessage;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimShortMessage;<br>方法or属性:simMessageStatus: SimMessageStatus;<br>旧版本信æ¯ï¼š|ç±»å:SimShortMessage;<br>方法or属性:simMessageStatus: SimMessageStatus;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimShortMessage;<br>方法or属性:indexOnSim: number;<br>旧版本信æ¯ï¼š|ç±»å:SimShortMessage;<br>方法or属性:indexOnSim: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_FREE = 0<br>旧版本信æ¯ï¼š|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_FREE = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_READ = 1<br>旧版本信æ¯ï¼š|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_READ = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_UNREAD = 3<br>旧版本信æ¯ï¼š|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_UNREAD = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_SENT = 5<br>旧版本信æ¯ï¼š|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_SENT = 5<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_UNSENT = 7<br>旧版本信æ¯ï¼š|ç±»å:SimMessageStatus;<br>方法or属性:SIM_MESSAGE_STATUS_UNSENT = 7<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:RanType;<br>方法or属性:TYPE_GSM = 1<br>旧版本信æ¯ï¼š|ç±»å:RanType;<br>方法or属性:TYPE_GSM = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:RanType;<br>方法or属性:TYPE_CDMA = 2<br>旧版本信æ¯ï¼š|ç±»å:RanType;<br>方法or属性:TYPE_CDMA = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SmsSegmentsInfo;<br>方法or属性:splitCount: number;<br>旧版本信æ¯ï¼š|ç±»å:SmsSegmentsInfo;<br>方法or属性:splitCount: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SmsSegmentsInfo;<br>方法or属性:encodeCount: number;<br>旧版本信æ¯ï¼š|ç±»å:SmsSegmentsInfo;<br>方法or属性:encodeCount: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SmsSegmentsInfo;<br>方法or属性:encodeCountRemaining: number;<br>旧版本信æ¯ï¼š|ç±»å:SmsSegmentsInfo;<br>方法or属性:encodeCountRemaining: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SmsSegmentsInfo;<br>方法or属性:scheme: SmsEncodingScheme;<br>旧版本信æ¯ï¼š|ç±»å:SmsSegmentsInfo;<br>方法or属性:scheme: SmsEncodingScheme;<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SmsEncodingScheme;<br>方法or属性:SMS_ENCODING_UNKNOWN = 0<br>旧版本信æ¯ï¼š|ç±»å:SmsEncodingScheme;<br>方法or属性:SMS_ENCODING_UNKNOWN = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SmsEncodingScheme;<br>方法or属性:SMS_ENCODING_7BIT<br>旧版本信æ¯ï¼š|ç±»å:SmsEncodingScheme;<br>方法or属性:SMS_ENCODING_7BIT<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SmsEncodingScheme;<br>方法or属性:SMS_ENCODING_8BIT<br>旧版本信æ¯ï¼š|ç±»å:SmsEncodingScheme;<br>方法or属性:SMS_ENCODING_8BIT<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|访问级别有å˜åŒ–|ç±»å:SmsEncodingScheme;<br>方法or属性:SMS_ENCODING_16BIT<br>旧版本信æ¯ï¼š|ç±»å:SmsEncodingScheme;<br>方法or属性:SMS_ENCODING_16BIT<br>新版本信æ¯ï¼šsystemapi|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼šohos.permission.PLACE_CALL|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function dial(phoneNumber: string, options?: DialOptions): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function dial(phoneNumber: string, options?: DialOptions): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.PLACE_CALL|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function muteRinger(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function muteRinger(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function holdCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function holdCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function unHoldCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function unHoldCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function switchCall(callId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function switchCall(callId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallWaitingStatus(slotId: number): Promise\<CallWaitingStatus>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallWaitingStatus(slotId: number): Promise\<CallWaitingStatus>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallWaiting(slotId: number, activate: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallWaiting(slotId: number, activate: boolean): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function isInEmergencyCall(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isInEmergencyCall(): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\<RestrictionStatus>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\<RestrictionStatus>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\<CallTransferResult>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\<CallTransferResult>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function isRinging(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function isRinging(): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function setAudioDevice(device: AudioDevice, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function setAudioDevice(device: AudioDevice, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function enableImsSwitch(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function enableImsSwitch(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:call;<br>方法or属性:function disableImsSwitch(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:call;<br>方法or属性:function disableImsSwitch(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:data;<br>方法or属性:function setDefaultCellularDataSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function setDefaultCellularDataSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:data;<br>方法or属性:function isCellularDataEnabled(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function isCellularDataEnabled(): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.telephony.data.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:data;<br>方法or属性:function enableCellularData(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function enableCellularData(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:data;<br>方法or属性:function disableCellularData(): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function disableCellularData(): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:data;<br>方法or属性:function isCellularDataRoamingEnabled(slotId: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function isCellularDataRoamingEnabled(slotId: number): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.telephony.data.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:data;<br>方法or属性:function enableCellularDataRoaming(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function enableCellularDataRoaming(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:data;<br>方法or属性:function disableCellularDataRoaming(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:data;<br>方法or属性:function disableCellularDataRoaming(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:observer;<br>方法or属性:function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\<NetworkState>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\<NetworkState>): void;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.telephony.observer.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:observer;<br>方法or属性:function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š|ç±»å:observer;<br>方法or属性:function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼šohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.observer.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNetworkState(slotId: number, callback: AsyncCallback\<NetworkState>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNetworkState(slotId: number, callback: AsyncCallback\<NetworkState>): void;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNetworkState(slotId?: number): Promise\<NetworkState>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNetworkState(slotId?: number): Promise\<NetworkState>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId: number, callback: AsyncCallback\<Array\<CellInformation>>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId: number, callback: AsyncCallback\<Array\<CellInformation>>): void;<br>新版本信æ¯ï¼šohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId?: number): Promise\<Array\<CellInformation>>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getCellInformation(slotId?: number): Promise\<Array\<CellInformation>>;<br>新版本信æ¯ï¼šohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getNetworkSearchInformation(slotId: number): Promise\<NetworkSearchResult>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getNetworkSearchInformation(slotId: number): Promise\<NetworkSearchResult>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getIMEI(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getIMEI(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getIMEI(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getIMEI(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getMEID(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getMEID(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getMEID(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getMEID(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId: number, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId: number, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId?: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getUniqueDeviceId(slotId?: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function setPrimarySlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setPrimarySlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function isRadioOn(slotId?: number): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function isRadioOn(slotId?: number): Promise\<boolean>;<br>新版本信æ¯ï¼šohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOnRadio(slotId?: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId?: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function turnOffRadio(slotId?: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getPreferredNetwork(slotId: number): Promise\<PreferredNetworkMode>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getPreferredNetwork(slotId: number): Promise\<PreferredNetworkMode>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:radio;<br>方法or属性:function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\<ImsRegInfo>;<br>旧版本信æ¯ï¼š|ç±»å:radio;<br>方法or属性:function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\<ImsRegInfo>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimIccId(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimIccId(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getVoiceMailIdentifier(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getVoiceMailIdentifier(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getVoiceMailNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getVoiceMailNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimTelephoneNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimTelephoneNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimGid1(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimGid1(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getIMSI(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getIMSI(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getSimAccountInfo(slotId: number): Promise\<IccAccountInfo>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getSimAccountInfo(slotId: number): Promise\<IccAccountInfo>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getActiveSimAccountInfoList(): Promise\<Array\<IccAccountInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getActiveSimAccountInfoList(): Promise\<Array\<IccAccountInfo>>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function setDefaultVoiceSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setDefaultVoiceSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function activateSim(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function activateSim(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function deactivateSim(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function deactivateSim(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function setShowName(slotId: number, name: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setShowName(slotId: number, name: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getShowName(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getShowName(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function setShowNumber(slotId: number, number: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setShowNumber(slotId: number, number: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getShowNumber(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getShowNumber(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getOperatorConfigs(slotId: number): Promise\<Array\<OperatorConfig>>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getOperatorConfigs(slotId: number): Promise\<Array\<OperatorConfig>>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPin(slotId: number, pin: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPin(slotId: number, pin: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPuk(slotId: number, newPin: string, puk: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPuk(slotId: number, newPin: string, puk: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function alterPin(slotId: number, newPin: string, oldPin: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function alterPin(slotId: number, newPin: string, oldPin: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function setLockState(slotId: number, options: LockInfo): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function setLockState(slotId: number, options: LockInfo): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPin2(slotId: number, pin2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPin2(slotId: number, pin2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\<Array\<DiallingNumbersInfo>>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\<Array\<DiallingNumbersInfo>>;<br>新版本信æ¯ï¼šohos.permission.READ_CONTACTS|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.WRITE_CONTACTS|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.WRITE_CONTACTS|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.WRITE_CONTACTS|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function getLockState(slotId: number, lockType: LockType): Promise\<LockState>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function getLockState(slotId: number, lockType: LockType): Promise\<LockState>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function sendEnvelopeCmd(slotId: number, cmd: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function sendEnvelopeCmd(slotId: number, cmd: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sim;<br>方法or属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\<LockStatusResponse>;<br>旧版本信æ¯ï¼š|ç±»å:sim;<br>方法or属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\<LockStatusResponse>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function splitMessage(content: string): Promise\<Array\<string>>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function splitMessage(content: string): Promise\<Array\<string>>;<br>新版本信æ¯ï¼šohos.permission.SEND_MESSAGES|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function setDefaultSmsSlotId(slotId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setDefaultSmsSlotId(slotId: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function setSmscAddr(slotId: number, smscAddr: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setSmscAddr(slotId: number, smscAddr: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function getSmscAddr(slotId: number): Promise\<string>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getSmscAddr(slotId: number): Promise\<string>;<br>新版本信æ¯ï¼šohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function addSimMessage(options: SimMessageOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function addSimMessage(options: SimMessageOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.RECEIVE_SMS,ohos.permission.SEND_MESSAGES|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function delSimMessage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function delSimMessage(slotId: number, msgIndex: number): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.RECEIVE_SMS,ohos.permission.SEND_MESSAGES|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function updateSimMessage(options: UpdateSimMessageOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function updateSimMessage(options: UpdateSimMessageOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.RECEIVE_SMS,ohos.permission.SEND_MESSAGES|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function getAllSimMessages(slotId: number): Promise\<Array\<SimShortMessage>>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function getAllSimMessages(slotId: number): Promise\<Array\<SimShortMessage>>;<br>新版本信æ¯ï¼šohos.permission.RECEIVE_SMS|@ohos.telephony.sms.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:sms;<br>方法or属性:function setCBConfig(options: CBConfigOptions): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:sms;<br>方法or属性:function setCBConfig(options: CBConfigOptions): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.RECEIVE_SMS|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:AudioDeviceInfo;<br>方法or属性:audioDeviceList: Array\<AudioDevice>;<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceInfo;<br>方法or属性:audioDeviceList: Array\<AudioDevice>;<br>新版本信æ¯ï¼šArray\<AudioDevice>|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:AudioDeviceInfo;<br>方法or属性:currentAudioDevice: AudioDevice;<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceInfo;<br>方法or属性:currentAudioDevice: AudioDevice;<br>新版本信æ¯ï¼šAudioDevice|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:AudioDeviceInfo;<br>方法or属性:isMuted: boolean;<br>旧版本信æ¯ï¼š|ç±»å:AudioDeviceInfo;<br>方法or属性:isMuted: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:transferNum: string;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:transferNum: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:type: CallTransferType;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:type: CallTransferType;<br>新版本信æ¯ï¼šCallTransferType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:settingType: CallTransferSettingType;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:settingType: CallTransferSettingType;<br>新版本信æ¯ï¼šCallTransferSettingType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:startHour?: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:startHour?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:startMinute?: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:startMinute?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:endHour?: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:endHour?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferInfo;<br>方法or属性:endMinute?: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferInfo;<br>方法or属性:endMinute?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:accountNumber: string;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:accountNumber: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:speakerphoneOn: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:speakerphoneOn: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:accountId: number;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:accountId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:videoState: VideoStateType;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:videoState: VideoStateType;<br>新版本信æ¯ï¼šVideoStateType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:startTime: number;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:startTime: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:isEcc: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:isEcc: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:callType: CallType;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:callType: CallType;<br>新版本信æ¯ï¼šCallType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:callId: number;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:callId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:callState: DetailedCallState;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:callState: DetailedCallState;<br>新版本信æ¯ï¼šDetailedCallState|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallAttributeOptions;<br>方法or属性:conferenceState: ConferenceState;<br>旧版本信æ¯ï¼š|ç±»å:CallAttributeOptions;<br>方法or属性:conferenceState: ConferenceState;<br>新版本信æ¯ï¼šConferenceState|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallRestrictionInfo;<br>方法or属性:type: CallRestrictionType;<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionInfo;<br>方法or属性:type: CallRestrictionType;<br>新版本信æ¯ï¼šCallRestrictionType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallRestrictionInfo;<br>方法or属性:password: string;<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionInfo;<br>方法or属性:password: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallRestrictionInfo;<br>方法or属性:mode: CallRestrictionMode;<br>旧版本信æ¯ï¼š|ç±»å:CallRestrictionInfo;<br>方法or属性:mode: CallRestrictionMode;<br>新版本信æ¯ï¼šCallRestrictionMode|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallEventOptions;<br>方法or属性:eventId: CallAbilityEventId,<br>旧版本信æ¯ï¼š|ç±»å:CallEventOptions;<br>方法or属性:eventId: CallAbilityEventId,<br>新版本信æ¯ï¼šCallAbilityEventId|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialOptions;<br>方法or属性:extras?: boolean;<br>旧版本信æ¯ï¼š|ç±»å:DialOptions;<br>方法or属性:extras?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialOptions;<br>方法or属性:accountId?: number;<br>旧版本信æ¯ï¼š|ç±»å:DialOptions;<br>方法or属性:accountId?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialCallOptions;<br>方法or属性:accountId?: number;<br>旧版本信æ¯ï¼š|ç±»å:DialCallOptions;<br>方法or属性:accountId?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialOptions;<br>方法or属性:videoState?: VideoStateType;<br>旧版本信æ¯ï¼š|ç±»å:DialOptions;<br>方法or属性:videoState?: VideoStateType;<br>新版本信æ¯ï¼š?VideoStateType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialCallOptions;<br>方法or属性:videoState?: VideoStateType;<br>旧版本信æ¯ï¼š|ç±»å:DialCallOptions;<br>方法or属性:videoState?: VideoStateType;<br>新版本信æ¯ï¼š?VideoStateType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialOptions;<br>方法or属性:dialScene?: DialScene;<br>旧版本信æ¯ï¼š|ç±»å:DialOptions;<br>方法or属性:dialScene?: DialScene;<br>新版本信æ¯ï¼š?DialScene|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialCallOptions;<br>方法or属性:dialScene?: DialScene;<br>旧版本信æ¯ï¼š|ç±»å:DialCallOptions;<br>方法or属性:dialScene?: DialScene;<br>新版本信æ¯ï¼š?DialScene|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialOptions;<br>方法or属性:dialType?: DialType;<br>旧版本信æ¯ï¼š|ç±»å:DialOptions;<br>方法or属性:dialType?: DialType;<br>新版本信æ¯ï¼š?DialType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DialCallOptions;<br>方法or属性:dialType?: DialType;<br>旧版本信æ¯ï¼š|ç±»å:DialCallOptions;<br>方法or属性:dialType?: DialType;<br>新版本信æ¯ï¼š?DialType|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:RejectMessageOptions;<br>方法or属性:messageContent: string;<br>旧版本信æ¯ï¼š|ç±»å:RejectMessageOptions;<br>方法or属性:messageContent: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:status: TransferStatus;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:status: TransferStatus;<br>新版本信æ¯ï¼šTransferStatus|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:number: string;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:number: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:startHour: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:startHour: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:startMinute: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:startMinute: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:endHour: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:endHour: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:CallTransferResult;<br>方法or属性:endMinute: number;<br>旧版本信æ¯ï¼š|ç±»å:CallTransferResult;<br>方法or属性:endMinute: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:EmergencyNumberOptions;<br>方法or属性:slotId?: number;<br>旧版本信æ¯ï¼š|ç±»å:EmergencyNumberOptions;<br>方法or属性:slotId?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:NumberFormatOptions;<br>方法or属性:countryCode?: string;<br>旧版本信æ¯ï¼š|ç±»å:NumberFormatOptions;<br>方法or属性:countryCode?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:MmiCodeResults;<br>方法or属性:result: MmiCodeResult;<br>旧版本信æ¯ï¼š|ç±»å:MmiCodeResults;<br>方法or属性:result: MmiCodeResult;<br>新版本信æ¯ï¼šMmiCodeResult|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:MmiCodeResults;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:MmiCodeResults;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DisconnectedDetails;<br>方法or属性:message: string;<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedDetails;<br>方法or属性:message: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:DisconnectedDetails;<br>方法or属性:reason: DisconnectedReason;<br>旧版本信æ¯ï¼š|ç±»å:DisconnectedDetails;<br>方法or属性:reason: DisconnectedReason;<br>新版本信æ¯ï¼šDisconnectedReason|@ohos.telephony.call.d.ts| +|type有å˜åŒ–|ç±»å:SimStateData;<br>方法or属性:type: CardType;<br>旧版本信æ¯ï¼š|ç±»å:SimStateData;<br>方法or属性:type: CardType;<br>新版本信æ¯ï¼šCardType|@ohos.telephony.observer.d.ts| +|type有å˜åŒ–|ç±»å:SimStateData;<br>方法or属性:state: SimState;<br>旧版本信æ¯ï¼š|ç±»å:SimStateData;<br>方法or属性:state: SimState;<br>新版本信æ¯ï¼šSimState|@ohos.telephony.observer.d.ts| +|type有å˜åŒ–|ç±»å:SimStateData;<br>方法or属性:reason: LockReason;<br>旧版本信æ¯ï¼š|ç±»å:SimStateData;<br>方法or属性:reason: LockReason;<br>新版本信æ¯ï¼šLockReason|@ohos.telephony.observer.d.ts| +|type有å˜åŒ–|ç±»å:SignalInformation;<br>方法or属性:signalType: NetworkType;<br>旧版本信æ¯ï¼š|ç±»å:SignalInformation;<br>方法or属性:signalType: NetworkType;<br>新版本信æ¯ï¼šNetworkType|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:SignalInformation;<br>方法or属性:signalLevel: number;<br>旧版本信æ¯ï¼š|ç±»å:SignalInformation;<br>方法or属性:signalLevel: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:SignalInformation;<br>方法or属性:dBm: number;<br>旧版本信æ¯ï¼š|ç±»å:SignalInformation;<br>方法or属性:dBm: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:longOperatorName: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:longOperatorName: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:shortOperatorName: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:shortOperatorName: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:plmnNumeric: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:plmnNumeric: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:isRoaming: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:isRoaming: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:regState: RegState;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:regState: RegState;<br>新版本信æ¯ï¼šRegState|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:cfgTech: RadioTechnology;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:cfgTech: RadioTechnology;<br>新版本信æ¯ï¼šRadioTechnology|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:nsaState: NsaState;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:nsaState: NsaState;<br>新版本信æ¯ï¼šNsaState|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:isCaActive: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:isCaActive: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkState;<br>方法or属性:isEmergency: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NetworkState;<br>方法or属性:isEmergency: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:networkType: NetworkType;<br>旧版本信æ¯ï¼š|ç±»å:CellInformation;<br>方法or属性:networkType: NetworkType;<br>新版本信æ¯ï¼šNetworkType|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:isCamped: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CellInformation;<br>方法or属性:isCamped: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:timeStamp: number;<br>旧版本信æ¯ï¼š|ç±»å:CellInformation;<br>方法or属性:timeStamp: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:signalInformation: SignalInformation;<br>旧版本信æ¯ï¼š|ç±»å:CellInformation;<br>方法or属性:signalInformation: SignalInformation;<br>新版本信æ¯ï¼šSignalInformation|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CellInformation;<br>方法or属性:data: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation \| TdscdmaCellInformation<br> \| WcdmaCellInformation;<br>旧版本信æ¯ï¼š|ç±»å:CellInformation;<br>方法or属性:data: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation \| TdscdmaCellInformation<br> \| WcdmaCellInformation;<br>新版本信æ¯ï¼šCdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation\| TdscdmaCellInformation \| WcdmaCellInformation|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:baseId: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:baseId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:latitude: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:latitude: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:longitude: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:longitude: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:nid: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:nid: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:CdmaCellInformation;<br>方法or属性:sid: number;<br>旧版本信æ¯ï¼š|ç±»å:CdmaCellInformation;<br>方法or属性:sid: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:lac: number;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:lac: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:lac: number;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:lac: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:lac: number;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:lac: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:cellId: number;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:cellId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:cellId: number;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:cellId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:cellId: number;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:cellId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:arfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:arfcn: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:bsic: number;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:bsic: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:mcc: string;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:mcc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:GsmCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:GsmCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:mnc: string;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:mnc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:cgi: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:cgi: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:pci: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:pci: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:pci: number;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:pci: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:tac: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:tac: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:tac: number;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:tac: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:earfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:earfcn: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:bandwidth: number;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:bandwidth: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:LteCellInformation;<br>方法or属性:isSupportEndc: boolean;<br>旧版本信æ¯ï¼š|ç±»å:LteCellInformation;<br>方法or属性:isSupportEndc: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:nrArfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:nrArfcn: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NrCellInformation;<br>方法or属性:nci: number;<br>旧版本信æ¯ï¼š|ç±»å:NrCellInformation;<br>方法or属性:nci: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:cpid: number;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:cpid: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:TdscdmaCellInformation;<br>方法or属性:uarfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:TdscdmaCellInformation;<br>方法or属性:uarfcn: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:uarfcn: number;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:uarfcn: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:WcdmaCellInformation;<br>方法or属性:psc: number;<br>旧版本信æ¯ï¼š|ç±»å:WcdmaCellInformation;<br>方法or属性:psc: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkSearchResult;<br>方法or属性:isNetworkSearchSuccess: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSearchResult;<br>方法or属性:isNetworkSearchSuccess: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkSearchResult;<br>方法or属性:networkSearchResult: Array\<NetworkInformation>;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSearchResult;<br>方法or属性:networkSearchResult: Array\<NetworkInformation>;<br>新版本信æ¯ï¼šArray\<NetworkInformation>|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkInformation;<br>方法or属性:operatorName: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformation;<br>方法or属性:operatorName: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkInformation;<br>方法or属性:operatorNumeric: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformation;<br>方法or属性:operatorNumeric: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkInformation;<br>方法or属性:state: NetworkInformationState;<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformation;<br>方法or属性:state: NetworkInformationState;<br>新版本信æ¯ï¼šNetworkInformationState|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkInformation;<br>方法or属性:radioTech: string;<br>旧版本信æ¯ï¼š|ç±»å:NetworkInformation;<br>方法or属性:radioTech: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:selectMode: NetworkSelectionMode;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:selectMode: NetworkSelectionMode;<br>新版本信æ¯ï¼šNetworkSelectionMode|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:networkInformation: NetworkInformation;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:networkInformation: NetworkInformation;<br>新版本信æ¯ï¼šNetworkInformation|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:resumeSelection: boolean;<br>旧版本信æ¯ï¼š|ç±»å:NetworkSelectionModeOptions;<br>方法or属性:resumeSelection: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:ImsRegInfo;<br>方法or属性:imsRegState: ImsRegState;<br>旧版本信æ¯ï¼š|ç±»å:ImsRegInfo;<br>方法or属性:imsRegState: ImsRegState;<br>新版本信æ¯ï¼šImsRegState|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:ImsRegInfo;<br>方法or属性:imsRegTech: ImsRegTech;<br>旧版本信æ¯ï¼š|ç±»å:ImsRegInfo;<br>方法or属性:imsRegTech: ImsRegTech;<br>新版本信æ¯ï¼šImsRegTech|@ohos.telephony.radio.d.ts| +|type有å˜åŒ–|ç±»å:OperatorConfig;<br>方法or属性:field: string;<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfig;<br>方法or属性:field: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:OperatorConfig;<br>方法or属性:value: string;<br>旧版本信æ¯ï¼š|ç±»å:OperatorConfig;<br>方法or属性:value: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:simId: number;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:simId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:slotIndex: number;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:slotIndex: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:isEsim: boolean;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:isEsim: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:isActive: boolean;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:isActive: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:iccId: string;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:iccId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:showName: string;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:showName: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:IccAccountInfo;<br>方法or属性:showNumber: string;<br>旧版本信æ¯ï¼š|ç±»å:IccAccountInfo;<br>方法or属性:showNumber: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:LockStatusResponse;<br>方法or属性:result: number;<br>旧版本信æ¯ï¼š|ç±»å:LockStatusResponse;<br>方法or属性:result: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:LockStatusResponse;<br>方法or属性:remain?: number;<br>旧版本信æ¯ï¼š|ç±»å:LockStatusResponse;<br>方法or属性:remain?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:DiallingNumbersInfo;<br>方法or属性:alphaTag: string;<br>旧版本信æ¯ï¼š|ç±»å:DiallingNumbersInfo;<br>方法or属性:alphaTag: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:DiallingNumbersInfo;<br>方法or属性:number: string;<br>旧版本信æ¯ï¼š|ç±»å:DiallingNumbersInfo;<br>方法or属性:number: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:DiallingNumbersInfo;<br>方法or属性:recordNumber?: number;<br>旧版本信æ¯ï¼š|ç±»å:DiallingNumbersInfo;<br>方法or属性:recordNumber?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:DiallingNumbersInfo;<br>方法or属性:pin2?: string;<br>旧版本信æ¯ï¼š|ç±»å:DiallingNumbersInfo;<br>方法or属性:pin2?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:LockInfo;<br>方法or属性:lockType: LockType;<br>旧版本信æ¯ï¼š|ç±»å:LockInfo;<br>方法or属性:lockType: LockType;<br>新版本信æ¯ï¼šLockType|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:LockInfo;<br>方法or属性:password: string;<br>旧版本信æ¯ï¼š|ç±»å:LockInfo;<br>方法or属性:password: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:PersoLockInfo;<br>方法or属性:password: string;<br>旧版本信æ¯ï¼š|ç±»å:PersoLockInfo;<br>方法or属性:password: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:LockInfo;<br>方法or属性:state: LockState;<br>旧版本信æ¯ï¼š|ç±»å:LockInfo;<br>方法or属性:state: LockState;<br>新版本信æ¯ï¼šLockState|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:PersoLockInfo;<br>方法or属性:lockType: PersoLockType;<br>旧版本信æ¯ï¼š|ç±»å:PersoLockInfo;<br>方法or属性:lockType: PersoLockType;<br>新版本信æ¯ï¼šPersoLockType|@ohos.telephony.sim.d.ts| +|type有å˜åŒ–|ç±»å:MmsInformation;<br>方法or属性:messageType: MessageType;<br>旧版本信æ¯ï¼š|ç±»å:MmsInformation;<br>方法or属性:messageType: MessageType;<br>新版本信æ¯ï¼šMessageType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsInformation;<br>方法or属性:mmsType: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \| MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd;<br>旧版本信æ¯ï¼š|ç±»å:MmsInformation;<br>方法or属性:mmsType: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \| MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd;<br>新版本信æ¯ï¼šMmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \|MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsInformation;<br>方法or属性:attachment?: Array\<MmsAttachment>;<br>旧版本信æ¯ï¼š|ç±»å:MmsInformation;<br>方法or属性:attachment?: Array\<MmsAttachment>;<br>新版本信æ¯ï¼š?Array\<MmsAttachment>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:from: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:from: MmsAddress;<br>新版本信æ¯ï¼šMmsAddress|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:from: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:from: MmsAddress;<br>新版本信æ¯ï¼šMmsAddress|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:from: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:from: MmsAddress;<br>新版本信æ¯ï¼šMmsAddress|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendConf;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendConf;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRespInd;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRespInd;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAcknowledgeInd;<br>方法or属性:transactionId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAcknowledgeInd;<br>方法or属性:transactionId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:contentType: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:contentType: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:contentType: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:contentType: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentType: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentType: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendConf;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendConf;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRespInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsRespInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAcknowledgeInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsAcknowledgeInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:version: MmsVersionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:version: MmsVersionType;<br>新版本信æ¯ï¼šMmsVersionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:to?: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:to?: Array\<MmsAddress>;<br>新版本信æ¯ï¼š?Array\<MmsAddress>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:date?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:date?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:date?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:date?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:cc?: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:cc?: Array\<MmsAddress>;<br>新版本信æ¯ï¼š?Array\<MmsAddress>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:cc?: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:cc?: Array\<MmsAddress>;<br>新版本信æ¯ï¼š?Array\<MmsAddress>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:bcc?: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:bcc?: Array\<MmsAddress>;<br>新版本信æ¯ï¼š?Array\<MmsAddress>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:subject?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:subject?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:subject?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:subject?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:subject?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:subject?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:messageClass?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:messageClass?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:expiry?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:expiry?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:priority?: MmsPriorityType;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:priority?: MmsPriorityType;<br>新版本信æ¯ï¼š?MmsPriorityType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:priority?: MmsPriorityType;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:priority?: MmsPriorityType;<br>新版本信æ¯ï¼š?MmsPriorityType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:senderVisibility?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:senderVisibility?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:deliveryReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:deliveryReport?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:deliveryReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:deliveryReport?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:deliveryReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:deliveryReport?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendReq;<br>方法or属性:readReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendReq;<br>方法or属性:readReport?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:readReport?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:readReport?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendConf;<br>方法or属性:responseState: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendConf;<br>方法or属性:responseState: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsSendConf;<br>方法or属性:messageId?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsSendConf;<br>方法or属性:messageId?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:messageClass: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:messageClass: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:messageSize: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:messageSize: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:expiry: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:expiry: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:contentLocation: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:contentLocation: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentLocation: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentLocation: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:from?: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:from?: MmsAddress;<br>新版本信æ¯ï¼š?MmsAddress|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:from?: MmsAddress;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:from?: MmsAddress;<br>新版本信æ¯ï¼š?MmsAddress|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsNotificationInd;<br>方法or属性:contentClass?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsNotificationInd;<br>方法or属性:contentClass?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRespInd;<br>方法or属性:status: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRespInd;<br>方法or属性:status: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:status: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:status: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:status: number;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:status: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRespInd;<br>方法or属性:reportAllowed?: ReportType;<br>旧版本信æ¯ï¼š|ç±»å:MmsRespInd;<br>方法or属性:reportAllowed?: ReportType;<br>新版本信æ¯ï¼š?ReportType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAcknowledgeInd;<br>方法or属性:reportAllowed?: ReportType;<br>旧版本信æ¯ï¼š|ç±»å:MmsAcknowledgeInd;<br>方法or属性:reportAllowed?: ReportType;<br>新版本信æ¯ï¼š?ReportType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:messageId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:messageId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:messageId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:messageId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:messageId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:messageId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:messageId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:messageId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:date: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:date: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:date: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:date: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:date: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:date: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:to: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:to: Array\<MmsAddress>;<br>新版本信æ¯ï¼šArray\<MmsAddress>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsDeliveryInd;<br>方法or属性:to: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsDeliveryInd;<br>方法or属性:to: Array\<MmsAddress>;<br>新版本信æ¯ï¼šArray\<MmsAddress>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:to: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:to: Array\<MmsAddress>;<br>新版本信æ¯ï¼šArray\<MmsAddress>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:to: Array\<MmsAddress>;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:to: Array\<MmsAddress>;<br>新版本信æ¯ï¼šArray\<MmsAddress>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:retrieveStatus?: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:retrieveStatus?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsRetrieveConf;<br>方法or属性:retrieveText?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsRetrieveConf;<br>方法or属性:retrieveText?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadOrigInd;<br>方法or属性:readStatus: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadOrigInd;<br>方法or属性:readStatus: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsReadRecInd;<br>方法or属性:readStatus: number;<br>旧版本信æ¯ï¼š|ç±»å:MmsReadRecInd;<br>方法or属性:readStatus: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentId: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentId: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentDisposition: DispositionType;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentDisposition: DispositionType;<br>新版本信æ¯ï¼šDispositionType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:contentTransferEncoding: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:contentTransferEncoding: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:isSmil: boolean;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:isSmil: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:path?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:path?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:inBuff?: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:inBuff?: Array\<number>;<br>新版本信æ¯ï¼š?Array\<number>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:fileName?: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:fileName?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAttachment;<br>方法or属性:charset?: MmsCharSets;<br>旧版本信æ¯ï¼š|ç±»å:MmsAttachment;<br>方法or属性:charset?: MmsCharSets;<br>新版本信æ¯ï¼š?MmsCharSets|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAddress;<br>方法or属性:address: string;<br>旧版本信æ¯ï¼š|ç±»å:MmsAddress;<br>方法or属性:address: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:MmsAddress;<br>方法or属性:charset: MmsCharSets;<br>旧版本信æ¯ï¼š|ç±»å:MmsAddress;<br>方法or属性:charset: MmsCharSets;<br>新版本信æ¯ï¼šMmsCharSets|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SimMessageOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:SimMessageOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SendMessageOptions;<br>方法or属性:slotId: number;<br>旧版本信æ¯ï¼š|ç±»å:SendMessageOptions;<br>方法or属性:slotId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:enable: boolean;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:enable: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:startMessageId: number;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:startMessageId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:endMessageId: number;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:endMessageId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:CBConfigOptions;<br>方法or属性:ranType: RanType;<br>旧版本信æ¯ï¼š|ç±»å:CBConfigOptions;<br>方法or属性:ranType: RanType;<br>新版本信æ¯ï¼šRanType|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SimMessageOptions;<br>方法or属性:smsc: string;<br>旧版本信æ¯ï¼š|ç±»å:SimMessageOptions;<br>方法or属性:smsc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:smsc: string;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:smsc: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SimMessageOptions;<br>方法or属性:pdu: string;<br>旧版本信æ¯ï¼š|ç±»å:SimMessageOptions;<br>方法or属性:pdu: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:pdu: string;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:pdu: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SimMessageOptions;<br>方法or属性:status: SimMessageStatus;<br>旧版本信æ¯ï¼š|ç±»å:SimMessageOptions;<br>方法or属性:status: SimMessageStatus;<br>新版本信æ¯ï¼šSimMessageStatus|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:msgIndex: number;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:msgIndex: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:UpdateSimMessageOptions;<br>方法or属性:newStatus: SimMessageStatus;<br>旧版本信æ¯ï¼š|ç±»å:UpdateSimMessageOptions;<br>方法or属性:newStatus: SimMessageStatus;<br>新版本信æ¯ï¼šSimMessageStatus|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:visibleMessageBody: string;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:visibleMessageBody: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:visibleRawAddress: string;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:visibleRawAddress: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:messageClass: ShortMessageClass;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:messageClass: ShortMessageClass;<br>新版本信æ¯ï¼šShortMessageClass|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:protocolId: number;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:protocolId: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:scAddress: string;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:scAddress: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:scTimestamp: number;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:scTimestamp: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:isReplaceMessage: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:isReplaceMessage: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:hasReplyPath: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:hasReplyPath: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:pdu: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:pdu: Array\<number>;<br>新版本信æ¯ï¼šArray\<number>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:IDeliveryShortMessageCallback;<br>方法or属性:pdu: Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:IDeliveryShortMessageCallback;<br>方法or属性:pdu: Array\<number>;<br>新版本信æ¯ï¼šArray\<number>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ShortMessage;<br>方法or属性:isSmsStatusReportMessage: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ShortMessage;<br>方法or属性:isSmsStatusReportMessage: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SimShortMessage;<br>方法or属性:shortMessage: ShortMessage;<br>旧版本信æ¯ï¼š|ç±»å:SimShortMessage;<br>方法or属性:shortMessage: ShortMessage;<br>新版本信æ¯ï¼šShortMessage|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SimShortMessage;<br>方法or属性:simMessageStatus: SimMessageStatus;<br>旧版本信æ¯ï¼š|ç±»å:SimShortMessage;<br>方法or属性:simMessageStatus: SimMessageStatus;<br>新版本信æ¯ï¼šSimMessageStatus|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SimShortMessage;<br>方法or属性:indexOnSim: number;<br>旧版本信æ¯ï¼š|ç±»å:SimShortMessage;<br>方法or属性:indexOnSim: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SendMessageOptions;<br>方法or属性:destinationHost: string;<br>旧版本信æ¯ï¼š|ç±»å:SendMessageOptions;<br>方法or属性:destinationHost: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SendMessageOptions;<br>方法or属性:serviceCenter?: string;<br>旧版本信æ¯ï¼š|ç±»å:SendMessageOptions;<br>方法or属性:serviceCenter?: string;<br>新版本信æ¯ï¼š?string|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SendMessageOptions;<br>方法or属性:content: string \| Array\<number>;<br>旧版本信æ¯ï¼š|ç±»å:SendMessageOptions;<br>方法or属性:content: string \| Array\<number>;<br>新版本信æ¯ï¼šstring \| Array\<number>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SendMessageOptions;<br>方法or属性:destinationPort?: number;<br>旧版本信æ¯ï¼š|ç±»å:SendMessageOptions;<br>方法or属性:destinationPort?: number;<br>新版本信æ¯ï¼š?number|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SendMessageOptions;<br>方法or属性:sendCallback?: AsyncCallback\<ISendShortMessageCallback>;<br>旧版本信æ¯ï¼š|ç±»å:SendMessageOptions;<br>方法or属性:sendCallback?: AsyncCallback\<ISendShortMessageCallback>;<br>新版本信æ¯ï¼š?AsyncCallback\<ISendShortMessageCallback>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SendMessageOptions;<br>方法or属性:deliveryCallback?: AsyncCallback\<IDeliveryShortMessageCallback>;<br>旧版本信æ¯ï¼š|ç±»å:SendMessageOptions;<br>方法or属性:deliveryCallback?: AsyncCallback\<IDeliveryShortMessageCallback>;<br>新版本信æ¯ï¼š?AsyncCallback\<IDeliveryShortMessageCallback>|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ISendShortMessageCallback;<br>方法or属性:result: SendSmsResult;<br>旧版本信æ¯ï¼š|ç±»å:ISendShortMessageCallback;<br>方法or属性:result: SendSmsResult;<br>新版本信æ¯ï¼šSendSmsResult|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ISendShortMessageCallback;<br>方法or属性:url: string;<br>旧版本信æ¯ï¼š|ç±»å:ISendShortMessageCallback;<br>方法or属性:url: string;<br>新版本信æ¯ï¼šstring|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:ISendShortMessageCallback;<br>方法or属性:isLastPart: boolean;<br>旧版本信æ¯ï¼š|ç±»å:ISendShortMessageCallback;<br>方法or属性:isLastPart: boolean;<br>新版本信æ¯ï¼šboolean|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SmsSegmentsInfo;<br>方法or属性:splitCount: number;<br>旧版本信æ¯ï¼š|ç±»å:SmsSegmentsInfo;<br>方法or属性:splitCount: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SmsSegmentsInfo;<br>方法or属性:encodeCount: number;<br>旧版本信æ¯ï¼š|ç±»å:SmsSegmentsInfo;<br>方法or属性:encodeCount: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SmsSegmentsInfo;<br>方法or属性:encodeCountRemaining: number;<br>旧版本信æ¯ï¼š|ç±»å:SmsSegmentsInfo;<br>方法or属性:encodeCountRemaining: number;<br>新版本信æ¯ï¼šnumber|@ohos.telephony.sms.d.ts| +|type有å˜åŒ–|ç±»å:SmsSegmentsInfo;<br>方法or属性:scheme: SmsEncodingScheme;<br>旧版本信æ¯ï¼š|ç±»å:SmsSegmentsInfo;<br>方法or属性:scheme: SmsEncodingScheme;<br>新版本信æ¯ï¼šSmsEncodingScheme|@ohos.telephony.sms.d.ts| +|函数有å˜åŒ–|ç±»å:call;<br>方法or属性:function setVoNRState(slotId: number, state: VoNRState, callback: AsyncCallback\<boolean>): void;|ç±»å:call;<br>方法or属性:function setVoNRState(slotId: number, state: VoNRState, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| +|函数有å˜åŒ–|ç±»å:call;<br>方法or属性:function setVoNRState(slotId: number, state: VoNRState): Promise\<boolean>;|ç±»å:call;<br>方法or属性:function setVoNRState(slotId: number, state: VoNRState): Promise\<void>;|@ohos.telephony.call.d.ts| +|函数有å˜åŒ–|ç±»å:VoNRState;<br>方法or属性:VONR_STATE_ON = 0|ç±»å:VoNRState;<br>方法or属性:VONR_STATE_ON = 1|@ohos.telephony.call.d.ts| +|函数有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getBasebandVersion(slotId: number, callback: AsyncCallback\<String>): void;|ç±»å:radio;<br>方法or属性:function getBasebandVersion(slotId: number, callback: AsyncCallback\<string>): void;|@ohos.telephony.radio.d.ts| +|函数有å˜åŒ–|ç±»å:radio;<br>方法or属性:function getBasebandVersion(slotId: number): Promise\<String>;|ç±»å:radio;<br>方法or属性:function getBasebandVersion(slotId: number): Promise\<string>;|@ohos.telephony.radio.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-unitest.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-unitest.md new file mode 100644 index 0000000000000000000000000000000000000000..9e57ea9c3a47c60b16815bbcad4dee9d78584ef1 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-unitest.md @@ -0,0 +1,12 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:UIElementInfo;<br>方法or属性:readonly bundleName: string;|@ohos.UiTest.d.ts| +|新增|NA|ç±»å:UIElementInfo;<br>方法or属性:readonly type: string;|@ohos.UiTest.d.ts| +|新增|NA|ç±»å:UIElementInfo;<br>方法or属性:readonly text: string;|@ohos.UiTest.d.ts| +|新增|NA|ç±»å:UIEventObserver;<br>方法or属性:once(type: 'toastShow', callback: Callback\<UIElementInfo>): void;|@ohos.UiTest.d.ts| +|新增|NA|ç±»å:UIEventObserver;<br>方法or属性:once(type: 'dialogShow', callback: Callback\<UIElementInfo>): void;|@ohos.UiTest.d.ts| +|新增|NA|ç±»å:Driver;<br>方法or属性:createUIEventObserver(): UIEventObserver;|@ohos.UiTest.d.ts| +|type有å˜åŒ–|ç±»å:WindowFilter;<br>方法or属性:bundleName?: string;<br>旧版本信æ¯ï¼šstring?|ç±»å:WindowFilter;<br>方法or属性:bundleName?: string;<br>新版本信æ¯ï¼š?string|@ohos.UiTest.d.ts| +|type有å˜åŒ–|ç±»å:WindowFilter;<br>方法or属性:title?: string;<br>旧版本信æ¯ï¼šstring?|ç±»å:WindowFilter;<br>方法or属性:title?: string;<br>新版本信æ¯ï¼š?string|@ohos.UiTest.d.ts| +|type有å˜åŒ–|ç±»å:WindowFilter;<br>方法or属性:focused?: boolean;<br>旧版本信æ¯ï¼šboolean?|ç±»å:WindowFilter;<br>方法or属性:focused?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.UiTest.d.ts| +|type有å˜åŒ–|ç±»å:WindowFilter;<br>方法or属性:actived?: boolean;<br>旧版本信æ¯ï¼šboolean?|ç±»å:WindowFilter;<br>方法or属性:actived?: boolean;<br>新版本信æ¯ï¼š?boolean|@ohos.UiTest.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-usb.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-usb.md new file mode 100644 index 0000000000000000000000000000000000000000..10d4ebed6ab2925188742709d4b83aff1b43369d --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-usb.md @@ -0,0 +1,3 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|错误ç 有å˜åŒ–|ç±»å:usbManager;<br>方法or属性:function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>旧版本信æ¯ï¼š401|ç±»å:usbManager;<br>方法or属性:function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>新版本信æ¯ï¼š401,14400002|@ohos.usbManager.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-web.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-web.md new file mode 100644 index 0000000000000000000000000000000000000000..28bf896da42ec5b9c2020a3cc3b2482fe6c3ef0f --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-web.md @@ -0,0 +1,19 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:SecureDnsMode;<br>方法or属性:OFF = 0|@ohos.web.webview.d.ts| +|新增|NA|ç±»å:SecureDnsMode;<br>方法or属性:AUTO = 1|@ohos.web.webview.d.ts| +|新增|NA|ç±»å:SecureDnsMode;<br>方法or属性:SECURE_ONLY = 2|@ohos.web.webview.d.ts| +|新增|NA|ç±»å:WebviewController;<br>方法or属性:prefetchPage(url: string, additionalHeaders?: Array\<WebHeader>): void;|@ohos.web.webview.d.ts| +|新增|NA|ç±»å:WebviewController;<br>方法or属性:static prepareForPageLoad(url: string, preconnectable: boolean, numSockets: number): void;|@ohos.web.webview.d.ts| +|废弃版本有å˜åŒ–|ç±»å:SecureDnsMode;<br>方法or属性:Off = 0<br>旧版本信æ¯ï¼š|ç±»å:SecureDnsMode;<br>方法or属性:Off = 0<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š SecureDnsMode#OFF|@ohos.web.webview.d.ts| +|废弃版本有å˜åŒ–|ç±»å:SecureDnsMode;<br>方法or属性:Auto = 1<br>旧版本信æ¯ï¼š|ç±»å:SecureDnsMode;<br>方法or属性:Auto = 1<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š SecureDnsMode#AUTO|@ohos.web.webview.d.ts| +|废弃版本有å˜åŒ–|ç±»å:SecureDnsMode;<br>方法or属性:SecureOnly = 2<br>旧版本信æ¯ï¼š|ç±»å:SecureDnsMode;<br>方法or属性:SecureOnly = 2<br>新版本信æ¯ï¼š10<br>代替接å£ï¼š SecureDnsMode#SECURE_ONLY|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:WebStorage;<br>方法or属性:static getOrigins(callback: AsyncCallback\<Array\<WebStorageOrigin>>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebStorage;<br>方法or属性:static getOrigins(callback: AsyncCallback\<Array\<WebStorageOrigin>>): void;<br>新版本信æ¯ï¼š401,17100012|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:WebStorage;<br>方法or属性:static getOriginQuota(origin: string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebStorage;<br>方法or属性:static getOriginQuota(origin: string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š401,17100011|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:WebStorage;<br>方法or属性:static getOriginUsage(origin: string, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebStorage;<br>方法or属性:static getOriginUsage(origin: string, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼š401,17100011|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:GeolocationPermissions;<br>方法or属性:static getAccessibleGeolocation(origin: string, callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:GeolocationPermissions;<br>方法or属性:static getAccessibleGeolocation(origin: string, callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼š401,17100011|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:GeolocationPermissions;<br>方法or属性:static getStoredGeolocation(callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信æ¯ï¼š|ç±»å:GeolocationPermissions;<br>方法or属性:static getStoredGeolocation(callback: AsyncCallback\<Array\<string>>): void;<br>新版本信æ¯ï¼š401|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:WebCookieManager;<br>方法or属性:static saveCookieAsync(callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebCookieManager;<br>方法or属性:static saveCookieAsync(callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼š401|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:WebviewController;<br>方法or属性:storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebviewController;<br>方法or属性:storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š401,17100001,17100003|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:WebviewController;<br>方法or属性:runJavaScript(script: string, callback: AsyncCallback\<string>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebviewController;<br>方法or属性:runJavaScript(script: string, callback: AsyncCallback\<string>): void;<br>新版本信æ¯ï¼š401,17100001|@ohos.web.webview.d.ts| +|新增(错误ç )|ç±»å:WebviewController;<br>方法or属性:runJavaScriptExt(script: string, callback: AsyncCallback\<JsMessageExt>): void;<br>旧版本信æ¯ï¼š|ç±»å:WebviewController;<br>方法or属性:runJavaScriptExt(script: string, callback: AsyncCallback\<JsMessageExt>): void;<br>新版本信æ¯ï¼š401,17100001|@ohos.web.webview.d.ts| diff --git a/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-window.md b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-window.md new file mode 100644 index 0000000000000000000000000000000000000000..a7e59afd3b9521e466af1e8c1a1b6e3fe2801b00 --- /dev/null +++ b/zh-cn/release-notes/api-diff/v4.0-beta2/js-apidiff-window.md @@ -0,0 +1,64 @@ +| æ“作 | 旧版本 | 新版本 | d.ts文件 | +| ---- | ------ | ------ | -------- | +|新增|NA|ç±»å:Window;<br>方法or属性:getUIContext() : UIContext;|@ohos.window.d.ts| +|新增(错误ç )|ç±»å:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>新版本信æ¯ï¼š1400001|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>新版本信æ¯ï¼š401,1400001|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>新版本信æ¯ï¼š401,1400001|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信æ¯ï¼š201,401,1400001|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>新版本信æ¯ï¼š401,1400002|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信æ¯ï¼š201,401,1400001|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>新版本信æ¯ï¼š401|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>新版本信æ¯ï¼š401,1400003|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>新版本信æ¯ï¼š401,1400003|@ohos.screen.d.ts| +|新增(错误ç )|ç±»å:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>新版本信æ¯ï¼š401,1400003|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function getAllScreens(callback: AsyncCallback\<Array\<Screen>>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function getAllScreens(callback: AsyncCallback\<Array\<Screen>>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\<number>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\<number>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>, callback: AsyncCallback\<number>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>, callback: AsyncCallback\<number>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\<Screen>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\<Screen>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function isScreenRotationLocked(callback: AsyncCallback\<boolean>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function isScreenRotationLocked(callback: AsyncCallback\<boolean>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function isScreenRotationLocked(): Promise\<boolean>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function isScreenRotationLocked(): Promise\<boolean>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExpandOption;<br>方法or属性:interface ExpandOption<br>旧版本信æ¯ï¼š|ç±»å:ExpandOption;<br>方法or属性:interface ExpandOption<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExpandOption;<br>方法or属性:screenId: number;<br>旧版本信æ¯ï¼š|ç±»å:ExpandOption;<br>方法or属性:screenId: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExpandOption;<br>方法or属性:startX: number;<br>旧版本信æ¯ï¼š|ç±»å:ExpandOption;<br>方法or属性:startX: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ExpandOption;<br>方法or属性:startY: number;<br>旧版本信æ¯ï¼š|ç±»å:ExpandOption;<br>方法or属性:startY: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:VirtualScreenOption;<br>方法or属性:interface VirtualScreenOption<br>旧版本信æ¯ï¼š|ç±»å:VirtualScreenOption;<br>方法or属性:interface VirtualScreenOption<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:VirtualScreenOption;<br>方法or属性:name: string;<br>旧版本信æ¯ï¼š|ç±»å:VirtualScreenOption;<br>方法or属性:name: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:VirtualScreenOption;<br>方法or属性:width: number;<br>旧版本信æ¯ï¼š|ç±»å:VirtualScreenOption;<br>方法or属性:width: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:VirtualScreenOption;<br>方法or属性:height: number;<br>旧版本信æ¯ï¼š|ç±»å:VirtualScreenOption;<br>方法or属性:height: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:VirtualScreenOption;<br>方法or属性:density: number;<br>旧版本信æ¯ï¼š|ç±»å:VirtualScreenOption;<br>方法or属性:density: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:VirtualScreenOption;<br>方法or属性:surfaceId: string;<br>旧版本信æ¯ï¼š|ç±»å:VirtualScreenOption;<br>方法or属性:surfaceId: string;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ScreenSourceMode;<br>方法or属性:enum ScreenSourceMode<br>旧版本信æ¯ï¼š|ç±»å:ScreenSourceMode;<br>方法or属性:enum ScreenSourceMode<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ScreenSourceMode;<br>方法or属性:SCREEN_MAIN = 0<br>旧版本信æ¯ï¼š|ç±»å:ScreenSourceMode;<br>方法or属性:SCREEN_MAIN = 0<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ScreenSourceMode;<br>方法or属性:SCREEN_MIRROR = 1<br>旧版本信æ¯ï¼š|ç±»å:ScreenSourceMode;<br>方法or属性:SCREEN_MIRROR = 1<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ScreenSourceMode;<br>方法or属性:SCREEN_EXTEND = 2<br>旧版本信æ¯ï¼š|ç±»å:ScreenSourceMode;<br>方法or属性:SCREEN_EXTEND = 2<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ScreenSourceMode;<br>方法or属性:SCREEN_ALONE = 3<br>旧版本信æ¯ï¼š|ç±»å:ScreenSourceMode;<br>方法or属性:SCREEN_ALONE = 3<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:interface Screen<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:interface Screen<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:readonly id: number;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:readonly id: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:readonly parent: number;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:readonly parent: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:readonly supportedModeInfo: Array\<ScreenModeInfo>;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:readonly supportedModeInfo: Array\<ScreenModeInfo>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:readonly activeModeIndex: number;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:readonly activeModeIndex: number;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:readonly orientation: Orientation;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:readonly orientation: Orientation;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:readonly sourceMode: ScreenSourceMode;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:readonly sourceMode: ScreenSourceMode;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:setOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:setDensityDpi(densityDpi: number, callback: AsyncCallback\<void>): void;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setDensityDpi(densityDpi: number, callback: AsyncCallback\<void>): void;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:Orientation;<br>方法or属性:enum Orientation<br>旧版本信æ¯ï¼š|ç±»å:Orientation;<br>方法or属性:enum Orientation<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|访问级别有å˜åŒ–|ç±»å:ScreenModeInfo;<br>方法or属性:interface ScreenModeInfo<br>旧版本信æ¯ï¼š|ç±»å:ScreenModeInfo;<br>方法or属性:interface ScreenModeInfo<br>新版本信æ¯ï¼šsystemapi|@ohos.screen.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信æ¯ï¼šohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| +|æƒé™æœ‰å˜åŒ–|ç±»å:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信æ¯ï¼š|ç±»å:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信æ¯ï¼šohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| +|函数有å˜åŒ–|ç±»å:Window;<br>方法or属性:off(type: 'windowEvent',callback:Callback\<WindowEventType>):void;|ç±»å:Window;<br>方法or属性:off(type:'windowEvent',callback?: Callback\<WindowEventType):void;|@ohos.window.d.ts| diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-LocalStorage.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-LocalStorage.md deleted file mode 100644 index b26cfb5125493aa5d9227e32f74f3ad8a9caba8e..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-LocalStorage.md +++ /dev/null @@ -1,116 +0,0 @@ -# ArkUIå系统LocalStorage类接å£ChangeLog - -## cl.LocalStorage.1 get接å£è¿”回类型å˜æ›´ - -**å˜æ›´å½±å“** - -返回类型从get<T>(propName: string): Tå˜æ›´ä¸ºget<T>(propName: string): T | undefined -应用ä¸éœ€è¦è¿›è¡Œé€‚é…。 - -## cl.LocalStorage.2 setOrCreateå‚æ•°newValueå˜æˆå¿…选 -**å˜æ›´å½±å“** - -原接å£å£°æ˜Žï¼š -```js -setOrCreate<T>(propName: string, newValue?: T): boolean -``` -现接å£å£°æ˜Žï¼š -```js -setOrCreate<T>(propName: string, newValue: T): boolean -``` -第二个å‚æ•°newValueå˜ä¸ºå¿…选。 -如果应用调用这个接å£æ²¡æœ‰æŒ‡å®šnewValueå‚数,在替æ¢æ–°çš„sdkåŽä¼šç¼–译ä¸è¿‡ï¼Œéœ€è¦æ‰‹åŠ¨æŒ‡å®šnewValue。 - -**适é…指导** - -```js -let storage = new LocalStorage(); -storage.setOrCreate('propA', 'hello'); -``` -## cl.LocalStorage.3 linkå‚数和返回类型å˜æ›´ -**å˜æ›´å½±å“** - -原接å£å£°æ˜Žï¼š -```js -link<T>(propName: string, linkUser?: T, subscribersName?: string): T -``` -现接å£å£°æ˜Žï¼š -```js -link<T>(propName: string): SubscribedAbstractProperty<T> -``` -1. link第二三个å‚数为框架内部调用,ä¸åº”对外开å‘,所以将接å£å˜æ›´ä¸ºä¸€ä¸ªå‚æ•°ï¼› -2. 返回类型Tå˜æ›´ä¸ºSubscribedAbstractPropertyï¼› - -**适é…指导** - -```js -let storage = new LocalStorage({"PropA": "47"}); -let linA = storage.link("PropA"); -linA.set(50); -``` - -## cl.LocalStorage.4 setAndLinkå‚数和返回类型å˜æ›´ -**å˜æ›´å½±å“** - -原接å£å£°æ˜Žï¼š -```js -setAndLink<T>(propName: string, defaultValue: T, linkUser?: T, subscribersName?: string): T -``` -现接å£å£°æ˜Žï¼š -```js -setAndLink<T>(propName: string, defaultValue: T): SubscribedAbstractProperty<T> -``` -1. setAndLink第三四个å‚数为框架内部调用,ä¸åº”对外开å‘,所以将接å£å˜æ›´ä¸º2个å‚æ•°ï¼› -2. 返回类型Tå˜æ›´ä¸ºSubscribedAbstractPropertyï¼› - -**适é…指导** - -```js -let storage = new LocalStorage({"PropA": "47"}); -let linA = storage.setAndLink("PropA", "48") -linA.set(50); -``` - -## cl.LocalStorage.5 propå‚数和返回类型å˜æ›´ -**å˜æ›´å½±å“** - -原接å£å£°æ˜Žï¼š -```js -prop<T>(propName: string, propUser?: T, subscribersName?: string): T -``` -现接å£å£°æ˜Žï¼š -```js -prop<S>(propName: string): SubscribedAbstractProperty<S> -``` -1. prop第二三个å‚数为框架内部调用,ä¸åº”对外开å‘,所以将接å£å˜æ›´ä¸º1个å‚æ•°ï¼› -2. 返回类型Tå˜æ›´ä¸ºSubscribedAbstractPropertyï¼› - -**适é…指导** - -```js -let storage = new LocalStorage({"PropA": "47"}); -let propA = storage.prop("PropA"); -propA.set(51); // one-way sync -``` - -## cl.LocalStorage.6 setAndPropå‚数和返回类型å˜æ›´ -**å˜æ›´å½±å“** - -原接å£å£°æ˜Žï¼š -```js -setAndProp<T>(propName: string, defaultValue: T, propUser?: T, subscribersName?: string): T -``` -现接å£å£°æ˜Žï¼š -```js -setAndProp<S>(propName: string, defaultValue: S): SubscribedAbstractProperty<S> -``` -1. setAndProp第三四个å‚数为框架内部调用,ä¸åº”对外开å‘,所以将接å£å˜æ›´ä¸º2个å‚æ•°ï¼› -2. 返回类型Tå˜æ›´ä¸ºSubscribedAbstractPropertyï¼› - -**适é…指导** - -```js -let storage = new LocalStorage({"PropA": "47"}); -let propA = storage.setAndProp("PropA", "48"); -propA.set(51); // one-way sync -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md deleted file mode 100755 index 8c87ddad950e21b074b2d08b1e8636a1ca238d77..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md +++ /dev/null @@ -1,475 +0,0 @@ -# securityå系统ChangeLog - -## cl.security.1 Randomçš„setSeed功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ - -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -setSeed(seed : DataBlob, callback : AsyncCallback\<void>) : void; -setSeed(seed : DataBlob) : Promise\<void>; -修改åŽçš„接å£åŽŸåž‹ï¼š -setSeed(seed : DataBlob) : void; - -**适é…指导** -查看APIå‚考ä¸setSeed对应的接å£é€‚é…指å—: -[åŠ è§£å¯†ç®—æ³•åº“æ¡†æž¶-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cryptoFramework.md) - - -## cl.security.2 interface DataArray 从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface DataArray从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.3 interface EncodingFormat从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface EncodingFormat从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.4 interface EncodingBlob 从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface EncodingBlob 从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.5 interface CertChainData从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface CertChainData从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.6 interface X509Cert从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface X509Cert从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.7 function createX509Cert从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -function createX509Cert从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.8 interface X509CrlEntry从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface X509CrlEntry从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.9 interface X509Crl从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface X509Crl从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.10 function createX509Crl从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -function createX509Crl从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.11 interface CertChainValidator从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface CertChainValidator从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.12 function createCertChainValidator从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -function createCertChainValidator从@ohos.security.cryptoFramework.d.ts è¿ç§»è‡³@ohos.security.cert.d.ts - -**适é…指导** -é‡æ–°import并使用对应的.d.ts文件: -import cryptoCert from '@ohos.security.cert'; -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.13 X509Cert çš„getPublicKey功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -getPublicKey(callback : AsyncCallback\<PubKey>) : void; -getPublicKey() : Promise\<PubKey>; -修改åŽçš„接å£åŽŸåž‹ï¼š -getPublicKey() : cryptoFramework.PubKey; - -**适é…指导** -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.14 X509Cert çš„checkValidityWithDate功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -checkValidityWithDate(date: string, callback : AsyncCallback\<void>) : void; -checkValidityWithDate(date: string) : Promise\<void>; -修改åŽçš„接å£åŽŸåž‹ï¼š -checkValidityWithDate(date: string) : void; - -**适é…指导** -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.15 X509CrlEntry çš„getCertIssuer功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -getCertIssuer(callback : AsyncCallback\<DataBlob>) : void; -getCertIssuer() : Promise\<DataBlob>; - -修改åŽçš„接å£åŽŸåž‹ï¼š -getCertIssuer() : DataBlob; - -**适é…指导** -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.16 X509CrlEntry çš„getRevocationDate功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -getRevocationDate(callback : AsyncCallback\<string>) : void; -getRevocationDate() : Promise\<string>; - -修改åŽçš„接å£åŽŸåž‹ï¼š -getRevocationDate() : string; - -**适é…指导** -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.17 X509Crl çš„isRevoked功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -isRevoked(cert : X509Cert, callback : AsyncCallback\<boolean>) : void; -isRevoked(cert : X509Cert) : Promise\<boolean>; - -修改åŽçš„接å£åŽŸåž‹ï¼š -isRevoked(cert : X509Cert) : boolean; - -**适é…指导** -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.18 X509Crl çš„getRevokedCert功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -getRevokedCert(serialNumber : number, callback : AsyncCallback\<X509CrlEntry>) : void; -getRevokedCert(serialNumber : number) : Promise\<X509CrlEntry>; - -修改åŽçš„接å£åŽŸåž‹ï¼š -getRevokedCert(serialNumber : number) : X509CrlEntry; - -**适é…指导** -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.19 X509Crl çš„getRevokedCertWithCert功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -getRevokedCertWithCert(cert : X509Cert, callback : AsyncCallback\<X509CrlEntry>) : void; -getRevokedCertWithCert(cert : X509Cert) : Promise\<X509CrlEntry>; - -修改åŽçš„接å£åŽŸåž‹ï¼š -getRevokedCertWithCert(cert : X509Cert) : X509CrlEntry; - -**适é…指导** -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.20 X509Crl çš„getTbsInfo功能å˜æ›´ï¼Œç”±å¼‚æ¥æŽ¥å£æ”¹ä¸ºåŒæ¥æŽ¥å£ -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -修改å‰çš„接å£åŽŸåž‹ï¼š -getTbsInfo(callback : AsyncCallback\<DataBlob>) : void; -getTbsInfo() : Promise\<DataBlob>; - -修改åŽçš„接å£åŽŸåž‹ï¼š -getTbsInfo() : DataBlob; - -**适é…指导** -查看APIå‚考ä¸å¯¹åº”的接å£é€‚é…指å—: -[è¯ä¹¦-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cert.md) - -## cl.security.21 HUKS支æŒNo-Hashçš„ç¾åæ¨¡å¼ - -å˜æ›´ä¹‹å‰ï¼Œåº”ç”¨ä¼ é€’huks.HuksTag.HUKS_TAG_DIGEST = huks.HuksKeyDigest.HUKS_DIGEST_NONE,HUKS默认使用huks.HuksKeyDigest.HUKS_DIGEST_SHA256进行处ç†ï¼›å˜æ›´ä¹‹åŽï¼Œåº”ç”¨ä¼ é€’huks.HuksTag.HUKS_TAG_DIGEST = huks.HuksKeyDigest.HUKS_DIGEST_NONE时,HUKS默认ä¸è¿›è¡Œæ‘˜è¦å¤„ç†ï¼Œéœ€è¦ä¸šåŠ¡å…ˆå¯¹åŽŸå§‹æ•°æ®è¿›è¡Œhashæ“作,å†å°†hashåŽçš„摘è¦ä¼ å…¥huks进行ç¾å/验ç¾å¤„ç†ã€‚ - -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥ä½¿å¾—å˜æ›´å‰åŽçš„ç¾å/验ç¾ç»“果通过。 - -**关键的接å£/组件å˜æ›´** - -å‘布的JS接å£ä¸å˜ï¼Œ ä¼ å…¥æŽ¥å£çš„å‚数集åˆå‘生å˜æ›´ã€‚ - -业务使用No-Hashçš„ç¾å模å¼ï¼Œéœ€è¦å…ˆå¯¹åŽŸå§‹æ•°æ®è¿›è¡Œhash处ç†ï¼Œå†å°†hashåŽçš„摘è¦ä¼ å…¥huksç¾å/验ç¾æŽ¥å£ã€‚åŒæ—¶huks.HuksTag.HUKS_TAG_DIGESTå‚数设置为huks.HuksKeyDigest.HUKS_DIGEST_NONE。 - -**适é…指导** - -以ç¾å为例,示例代ç 如下: - -```js -import huks from '@ohos.security.huks'; - -let keyAlias = 'rsa_Key'; -/* sha256之åŽçš„摘è¦å€¼ */ -let inDataAfterSha256 = new Uint8Array( - 0x4B, 0x1E, 0x22, 0x64, 0xA9, 0x89, 0x60, 0x1D, 0xEC, 0x78, 0xC0, 0x5D, 0xBE, 0x46, 0xAD, 0xCF, - 0x1C, 0x35, 0x16, 0x11, 0x34, 0x01, 0x4E, 0x9B, 0x7C, 0x00, 0x66, 0x0E, 0xCA, 0x09, 0xC0, 0xF3, -); -/* ç¾åå‚æ•° */ -let signProperties = new Array(); -signProperties[0] = { - tag: huks.HuksTag.HUKS_TAG_ALGORITHM, - value: huks.HuksKeyAlg.HUKS_ALG_RSA, -} -signProperties[1] = { - tag: huks.HuksTag.HUKS_TAG_PURPOSE, - value: - huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_SIGN -} -signProperties[2] = { - tag: huks.HuksTag.HUKS_TAG_KEY_SIZE, - value: huks.HuksKeySize.HUKS_RSA_KEY_SIZE_2048, -} -signProperties[3] = { - tag: huks.HuksTag.HUKS_TAG_DIGEST, - value: huks.HuksKeyDigest.HUKS_DIGEST_NONE, // 设置 digest-none -} -let signOptions = { - properties: signProperties, - inData: inDataAfterSha256 // 设置HASHåŽçš„值 -} - -huks.initSession(keyAlias, signOptions); -``` - -更多接å£çš„示例代ç å¯å‚考[HUKS-guidelines](../../../application-dev/security/huks-guidelines.md)å’Œ[HUKS API](../../../application-dev/reference/apis/js-apis-huks.md)。 - -## cl.security.22 HUKS支æŒåœ¨å¯†é’¥ä½¿ç”¨æ—¶æŒ‡å®šå¯†é’¥è¿ç®—å‚æ•° - -å˜æ›´ä¹‹å‰ï¼Œä¸šåŠ¡åœ¨ç”Ÿæˆå¯†é’¥çš„时候,必须指定密钥è¿ç®—的全部å‚æ•°ï¼›å˜æ›´ä¹‹åŽï¼Œåœ¨ç”Ÿæˆå¯†é’¥æ—¶ï¼Œåªéœ€è¦åŒ…å«å¿…选å‚æ•°å³å¯ï¼Œåœ¨å¯†é’¥ä½¿ç”¨é˜¶æ®µå†ä¼ 入其他å‚æ•°ã€‚ä¸šåŠ¡ä½¿ç”¨ä¼šæ›´åŠ çµæ´»ã€‚ - -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ - -å…许应用在生æˆå¯†é’¥é˜¶æ®µä¼ 入的å‚æ•°ä¸åŒ…å«å¿…选å‚æ•°å³å¯ï¼Œåœ¨å¯†é’¥ä½¿ç”¨é˜¶æ®µå†ä¼ 入其他å¯é€‰å‚数。 - -**关键的接å£/组件å˜æ›´** - -å‘布的JS接å£ä¸å˜ï¼Œ ä¼ å…¥æŽ¥å£çš„å‚数集åˆå‘生å˜æ›´ï¼Œå°†å‚数分为必选å‚æ•°å’Œå¯é€‰å‚数,具体å¯å‚考[HUKS-guidelines](../../../application-dev/security/huks-guidelines.md),涉åŠçš„接å£æœ‰ï¼š - -huks.generateKeyItem - -huks.importKeyItem - -huks.importWrappedKeyItem - -huks.initSession - -huks.updateSession - -huks.finishSession - -**适é…指导** - -以生æˆå¯†é’¥ä¸ºä¾‹ï¼Œç¤ºä¾‹ä»£ç 如下: - -```js -let keyAlias = 'keyAlias'; -let properties = new Array(); -//必选å‚æ•° -properties[0] = { - tag: huks.HuksTag.HUKS_TAG_ALGORITHM, - value: huks.HuksKeyAlg.HUKS_ALG_RSA -}; -//必选å‚æ•° -properties[1] = { - tag: huks.HuksTag.HUKS_TAG_KEY_SIZE, - value: huks.HuksKeySize.HUKS_RSA_KEY_SIZE_2048 -}; -//必选å‚æ•° -properties[2] = { - tag: huks.HuksTag.HUKS_TAG_PURPOSE, - value: - huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_SIGN | - huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_VERIFY -}; -//å¯é€‰å‚数,如果在生æˆå¯†é’¥é˜¶æ®µæ²¡æœ‰ä¼ å…¥ï¼Œåˆ™åœ¨ä½¿ç”¨å¯†é’¥é˜¶æ®µå¿…é¡»ä¼ å…¥ã€‚ -properties[3] = { - tag: huks.HuksTag.HUKS_TAG_DIGEST, - value: huks.HuksKeyDigest.HUKS_DIGEST_SHA256 -}; -let options = { - properties: properties -}; -try { - huks.generateKeyItem(keyAlias, options, function (error, data) { - if (error) { - console.error(`callback: generateKeyItem failed, code: ${error.code}, msg: ${error.message}`); - } else { - console.info(`callback: generateKeyItem key success`); - } - }); -} catch (error) { - console.error(`callback: generateKeyItem input arg invalid, code: ${error.code}, msg: ${error.message}`); -} -``` - -更多接å£çš„示例代ç å¯å‚考[HUKS-guidelines](../../../application-dev/security/huks-guidelines.md)å’Œ[HUKS API](../../../application-dev/reference/apis/js-apis-huks.md)。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md deleted file mode 100644 index 19e914fa005fa0acb6d9a0a59512a6454f36a38e..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md +++ /dev/null @@ -1,140 +0,0 @@ -# 元能力å系统JS APIå˜æ›´Changelog - -OpenHarmony 3.2.10.1(Mr)版本相较于OpenHarmony 3.2.beta4版本,元能力å系统的APIå˜æ›´å¦‚下 - -## cl.ability.1 接å£è¿ç§» -abilityå系统UIAbilityContext的接å£requestPermissionsFromUserè¿ç§»åˆ°securityå系统: - -之å‰æƒé™å¼¹çª—应用是基于UIAbility实现的,需è¦å€ŸåŠ©äºŽUIAbilityContextçš„startAbilityForResult接å£æŠŠæŽˆæƒç»“果带回给调用方,故把requestPermissionsFromUser接å£æš‚时放在UIAbilityContextä¸ã€‚现在æƒé™å¼¹çª—应用切æ¢ä¸ºåŸºäºŽServiceExtensionAbility实现,ä¸å†éœ€è¦å€ŸåŠ©UIAbilityContextçš„startAbilityForResult接å£ï¼Œå› æ¤æŠŠrequestPermissionsFromUser接å£è¿ç§»åˆ°securityå系统。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| application/UIAbilityContext | UIAbilityContext | requestPermissionsFromUser(permissions: Array<string>, requestCallback: AsyncCallback<PermissionRequestResult>): void; | åˆ é™¤ | -| application/UIAbilityContext | UIAbilityContext | requestPermissionsFromUser(permissions: Array<string>): Promise<PermissionRequestResult>; | åˆ é™¤ | -| @ohos.abilityAccessCtrl | AtManager | requestPermissionsFromUser(context: Context, permissions: Array<Permissions>, requestCallback: AsyncCallback<PermissionRequestResult>) : void; | 新增 | -| @ohos.abilityAccessCtrl | AtManager | requestPermissionsFromUser(context: Context, permissions: Array<Permissions>) : Promise<PermissionRequestResult>; | 新增 | - - -**适é…指导** - -应用ä¸è°ƒç”¨requestPermissionsFromUser拉起æƒé™å¼¹çª—应用å¯å‚考下列代ç - -Stage模型下的示例: - -```ts -import abilityAccessCtrl from '@ohos.abilityAccessCtrl.d.ts'; -//UIAbilityçš„onWindowStageCreate生命周期 -onWindowStageCreate() { - let AtManager = abilityAccessCtrl.createAtManager(); - //requestPermissionsFromUser会判æ–æƒé™çš„授æƒçŠ¶æ€æ¥å†³å®šæ˜¯å¦å”¤èµ·å¼¹çª— - AtManager.requestPermissionsFromUser(this.context, ["ohos.permission.MANAGE_DISPOSED_APP_STATUS"]).then((data) => { - console.log("data type:" + typeof(data)); - console.log("data:" + data); - console.log("data permissions:" + data.permissions); - console.log("data result:" + data.authResults); - }).catch((err) => { - console.error('Failed to start ability', err.code); - }) -} -``` - - - -## cl.ability.2 åˆ é™¤æ ‡è®°ä¸ºåºŸå¼ƒçš„API9æŽ¥å£ - -[元能力异常处ç†æ•´æ”¹](../OpenHarmony_3.2.8.3/changelogs-ability.md)将部分API9接å£æ ‡è®°ä¸ºäº†åºŸå¼ƒï¼Œæ ¹æ®OpenHarmony接å£è§„范,需è¦åˆ é™¤æ ‡è®°ä¸ºåºŸå¼ƒçš„API9接å£ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需è¦å°†è¢«åˆ 除的接å£æ›¿æ¢ä¸ºæ–°æŽ¥å£ï¼Œå¦åˆ™ä¼šå½±å“应用编译。 - -**关键接å£/组件å˜æ›´** - -接å£æ–‡ä»¶è¢«åˆ 除: - -| è¢«åˆ é™¤æŽ¥å£ | æ–°æŽ¥å£ | -| ----------------------------------------------- | ----------------------------------------------- | -| @ohos.application.Ability.d.ts | @ohos.app.ability.UIAbility.d.ts | -| @ohos.application.AbilityConstant.d.ts | @ohos.app.ability.AbilityConstant.d.ts | -| @ohos.application.AbilityLifecycleCallback.d.ts | @ohos.app.ability.AbilityLifecycleCallback.d.ts | -| @ohos.application.AbilityStage.d.ts | @ohos.app.ability.AbilityStage.d.ts | -| @ohos.application.EnvironmentCallback.d.ts | @ohos.app.ability.EnvironmentCallback.d.ts | -| @ohos.application.ExtensionAbility.d.ts | @ohos.app.ability.ExtensionAbility.d.ts | -| @ohos.application.FormExtension.d.ts | @ohos.app.form.FormExtensionAbility.d.ts | -| @ohos.application.ServiceExtensionAbility.d.ts | @ohos.app.ability.ServiceExtensionAbility.d.ts | -| @ohos.application.StartOptions.d.ts | @ohos.app.ability.StartOptions.d.ts | -| @ohos.application.context.d.ts | @ohos.app.ability.common.d.ts | -| @ohos.application.errorManager.d.ts | @ohos.app.ability.errorManager.d.ts | - -接å£ã€å±žæ€§è¢«åˆ 除: - -- @ohos.application.Configuration.d.ts - - Configuration çš„ directionã€screenDensityã€displayIdã€hasPointerDevice è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.ability.Configuration.d.ts çš„ Configuration替æ¢ã€‚ -- @ohos.application.ConfigurationConstant.d.ts - - 枚举 Direction å’Œ ScreenDensity è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.ability.ConfigurationConstant.d.ts 的枚举 Direction å’Œ ScreenDensity 替æ¢ã€‚ -- @ohos.application.abilityManager.d.ts - - 方法 getExtensionRunningInfos å’Œ getTopAbility è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.ability.abilityManager.d.ts çš„åŒå方法替æ¢ã€‚ -- @ohos.application.appManager.d.ts - - 枚举 ApplicationState å’Œ ProcessState è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.ability.appManager.d.ts 的枚举 ApplicationState å’Œ ProcessState 替æ¢ã€‚ - - 方法 registerApplicationStateObserver å’Œ getProcessRunningInformationè¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.ability.appManager.d.ts çš„åŒå方法替æ¢ã€‚ -- @ohos.application.formHost.d.ts - - 方法 shareForm å’Œ notifyFormsPrivacyProtected è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.form.formHost.d.ts çš„åŒå方法替æ¢ã€‚ -- @ohos.application.formInfo.d.ts - - 枚举 FormType çš„ eTS è¢«åˆ é™¤ï¼Œå¯ä»¥ä½¿ç”¨ @ohos.app.form.formInfo.d.ts çš„ FormType ä¸çš„ eTS 替æ¢ã€‚ - - 枚举 FormParam çš„ IDENTITY_KEYã€BUNDLE_NAME_KEYã€ABILITY_NAME_KEYã€DEVICE_ID_KEY è¢«åˆ é™¤ï¼Œå¯ä»¥ä½¿ç”¨ @ohos.app.form.formInfo.d.ts çš„ FormParam ä¸çš„åŒå枚举替æ¢ã€‚ - - æŽ¥å£ FormInfoFilter è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.form.formInfo.d.ts çš„ FormInfoFilter 替æ¢ã€‚ - - 枚举 FormDimension è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.form.formInfo.d.ts çš„ FormDimension 替æ¢ã€‚ - - 枚举 VisibilityType è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.form.formInfo.d.ts çš„ VisibilityType 替æ¢ã€‚ -- @ohos.wantAgent.d.ts - - 方法 trigger å’Œ getOperationType è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ @ohos.app.ability.wantAgent.d.ts çš„åŒå方法替æ¢ã€‚ -- application/ApplicationContext.d.ts - - 方法 registerAbilityLifecycleCallbackã€unregisterAbilityLifecycleCallbackã€registerEnvironmentCallbackã€unregisterEnvironmentCallback è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ onã€off 替æ¢ã€‚ -- application/ServiceExtensionContext.d.ts - - 方法 connectAbilityã€connectAbilityWithAccountã€disconnectAbility è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ connectServiceExtensionAbilityã€connectServiceExtensionAbilityWithAccountã€disconnectServiceExtensionAbility 替æ¢ã€‚ -- @ohos.application.FormExtension.d.ts - - 生命周期onCreateã€onCastToNormalã€onUpdateã€onVisibilityChangeã€onEventã€onDestroyã€onAcquireFormStateã€onShare è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨@ohos.app.form.FormExtensionAbility.d.tsçš„onAddFormã€onCastToNormalFormã€onUpdateFormã€onChangeFormVisibilityã€onFormEventã€onRemoveFormã€onAcquireFormStateã€onShareForm -- @ohos.application.abilityDelegatorRegistry.d.ts - - 导出类 AbilityDelegatorã€AbilityDelegatorArgsã€AbilityMonitorã€ShellCmdResult è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨@ohos.app.ability.abilityDelegatorRegistry.d.tsä¸çš„åŒå导出类替æ¢ã€‚ -- @ohos.application.abilityManager.d.ts - - 导出类 AbilityRunningInfoã€ExtensionRunningInfo è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨@ohos.app.ability.abilityManager.d.tsä¸çš„åŒå导出类替æ¢ã€‚ -- @ohos.application.appManager.d.ts - - 导出类 AbilityStateDataã€AppStateDataã€ApplicationStateObserverã€ProcessRunningInfoã€ProcessRunningInformation è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨@ohos.app.ability.appManager.d.tsä¸çš„åŒå导出类替æ¢ã€‚ -- @ohos.application.missionManager.d.ts - - 导出类 MissionInfoã€MissionListenerã€MissionSnapshot è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨@ohos.app.ability.missionManager.d.tsä¸çš„åŒå导出类替æ¢ã€‚ -- @ohos.wantAgent.d.ts - - 导出类 TriggerInfoã€WantAgentInfo è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨@ohos.app.ability.wantAgent.d.tsä¸çš„åŒå导出类替æ¢ã€‚ - - - - - -**适é…指导** - -如上所述,仅少数接å£ä¿®æ”¹äº†æŽ¥å£å的如注册回调函数(registerAbilityLifecycleCallbackã€unregisterAbilityLifecycleCallbackã€registerEnvironmentCallbackã€unregisterEnvironmentCallback)和连接æ–å¼€ ServiceExtensionAbility(connectAbilityã€connectAbilityWithAccountã€disconnectAbility),å¡ç‰‡ç”Ÿå‘½å‘¨æœŸç‰éœ€è¦æ›¿æ¢æˆæ–°çš„接å£å。 - -ç»å¤§å¤šæ•°æŽ¥å£å¹³ç§»åˆ°äº†æ–°çš„namespaceä¸ï¼Œæ‰€ä»¥å¯ä»¥é€šè¿‡ä¿®æ”¹importæ¥è§£å†³é€‚é…问题: - -如原先接å£ä½¿ç”¨äº†@ohos.application.Ability - -```js -import Ability from '@ohos.application.Ability'; -``` - -å¯ä»¥é€šè¿‡ç›´æŽ¥ä¿®æ”¹import,æ¥åˆ‡æ¢åˆ°æ–°çš„namespace上: - -```js -import Ability from '@ohos.app.ability.UIAbility'; -``` - -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考新接å£çš„接å£æ–‡æ¡£ã€‚ - - - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md deleted file mode 100644 index 44cfb4d87f548d6f399b822afd2b586d34584577..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md +++ /dev/null @@ -1,23 +0,0 @@ -# commonlibraryå系统JS APIå˜æ›´Changelog - -OpenHarmony 3.2.10.1(Mr)版本相较于OpenHarmony 3.2.beta4版本,containerå系统的APIå˜æ›´å¦‚下 - -## cl.公共基础类库å系统.1 错误ç åŠä¿¡æ¯å˜æ›´ -公共基础类库å系统å系统ä¸ArrayListã€Listã€LinkedListã€Stackã€Queueã€Dequeã€PlainArrayã€LightWeightMapã€LightWeightSetã€HashMapã€HashSetã€TreeMapã€TreeSet类的接å£æŠ›å‡ºçš„错误ç åŠä¿¡æ¯å˜æ›´ï¼š - -å˜æ›´åŽçš„错误ç 详细介ç»è¯·å‚è§[è¯è¨€åŸºç¡€ç±»åº“错误ç ](../../../application-dev/reference/errorcodes/errorcode-utils.md)。 - -已使用相关接å£å¼€å‘çš„åº”ç”¨æ— éœ€é‡æ–°é€‚é…。 - -**关键的接å£/组件å˜æ›´** -å„个类ä¸çš„接å£é‡æ–°å®šä¹‰äº†é”™è¯¯ç 抛出的信æ¯ï¼Œå¹¶åœ¨å¯¹åº”模å—çš„`*.d.ts`声明文件ä¸é€šè¿‡'@throws'æ ‡ç¾è¿›è¡Œæ ‡ç¤ºã€‚ -示例如下: -ArrayListç±»å˜æ›´å‰ï¼š -constructor(); -ArrayListç±»å˜æ›´åŽï¼š -@throws { BusinessError } 10200012 - The ArrayList's constructor cannot be directly invoked. -constructor(); - -**å˜æ›´å½±å“** - -æš‚æ— å½±å“。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md deleted file mode 100644 index 8273daea910b4b07c5e8930e1a64910a673af1c9..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md +++ /dev/null @@ -1,160 +0,0 @@ -# 分布å¼æ•°æ®ç®¡ç†å系统JS APIå˜æ›´Changelog - -OpenHarmony 3.2.10.1(Mr)版本相较于OpenHarmony 3.2.beta4版本,分布å¼æ•°æ®ç®¡ç†å系统的APIå˜æ›´å¦‚下 - -## cl.distributeddatamgr.1 接å£å˜æ›´ -distributeddatamgrå系统kv_store组件接å£å˜åœ¨å˜æ›´ï¼š - -由于执行时间固定且耗时çŸï¼Œä¸éœ€è¦å¼‚æ¥ç‰å¾…执行结果,createKVManager方法需è¦æ”¹ä¸ºåŒæ¥æŽ¥å£ã€‚å› æ¤æ—§çš„接å£function createKVManager(config: KVManagerConfig): Promise\<KVManager\>; 与 function createKVManager(config: KVManagerConfig, callback: AsyncCallback<KVManager>): void; 改为 function createKVManager(config: KVManagerConfig): KVManager; - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.distributedKVStore | distributedKVStore | function createKVManager(config: KVManagerConfig): Promise\<KVManager\>; | åˆ é™¤ | -| @ohos.distributedKVStore | distributedKVStore | function createKVManager(config: KVManagerConfig): KVManager; | å˜æ›´ | - - -**适é…指导** - -应用ä¸è°ƒç”¨createKVManager创建KVManager对象实例å¯å‚考下列代ç - -Stage模型下的示例: - -```ts -import AbilityStage from '@ohos.application.Ability' -let kvManager; -export default class MyAbilityStage extends AbilityStage { - onCreate() { - console.log("MyAbilityStage onCreate") - let context = this.context - const kvManagerConfig = { - context: context, - bundleName: 'com.example.datamanagertest', - } - try { - kvManager = distributedKVStore.createKVManager(kvManagerConfig); - } catch (e) { - console.error(`Failed to create KVManager.code is ${e.code},message is ${e.message}`); - } - } -} -``` - -FA模型下的示例: - -```ts -import featureAbility from '@ohos.ability.featureAbility' -let kvManager; -let context = featureAbility.getContext() -const kvManagerConfig = { - context: context, - bundleName: 'com.example.datamanagertest', -} -try { - kvManager = distributedKVStore.createKVManager(kvManagerConfig); -} catch (e) { - console.error(`Failed to create KVManager.code is ${e.code},message is ${e.message}`); -} -``` - -## cl.distributeddatamgr.2 function getRdbStoreV9 从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts -**å˜æ›´å½±å“** -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -如下接å£ï¼š -```ts -function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number, callback: AsyncCallback<RdbStoreV9>): void; -function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise<RdbStoreV9>; -``` -从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts: -``` -function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback<RdbStore>): void; -function getRdbStore(context: Context, config: StoreConfig): Promise<RdbStore>; -``` - -**适é…指导** - * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`ï¼› - * 按上述接å£å˜æ›´å¯¹é½ä¿®æ”¹æ‰€è°ƒç”¨çš„方法å称å³å¯ã€‚ - -## cl.distributeddatamgr.3 function deleteRdbStoreV9 从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts -**å˜æ›´å½±å“** -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -如下接å£ï¼š -```ts -function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback<void>): void; -function deleteRdbStoreV9(context: Context, name: string): Promise<void>; -``` -从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts: -``` -function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback<void>): void; -function deleteRdbStoreV9(context: Context, name: string): Promise<void>; -``` - -**适é…指导** - * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`ï¼› - * 按上述接å£å˜æ›´å¯¹é½ä¿®æ”¹æ‰€è°ƒç”¨çš„方法å称å³å¯ã€‚ - -## cl.distributeddatamgr.4 interface StoreConfigV9 从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts -**å˜æ›´å½±å“** -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface StoreConfigV9 从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts 改å为interface StoreConfig。 - -**适é…指导** - * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`ï¼› - * 按上述接å£å˜æ›´å¯¹é½ä¿®æ”¹æ‰€è°ƒç”¨çš„接å£å称å³å¯ã€‚ - -## cl.distributeddatamgr.5 enum SecurityLevel 从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts -**å˜æ›´å½±å“** -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -enum SecurityLevel 从ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts。 - -**适é…指导** - * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`ï¼› - * 按上述接å£å˜æ›´å¯¹é½ä¿®æ”¹æ‰€è°ƒç”¨çš„接å£å称å³å¯ã€‚ - -## cl.distributeddatamgr.6 interface RdbStoreV9 从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts -**å˜æ›´å½±å“** -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface RdbStoreV9 从@ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts 改å为interface RdbStore。 - -**适é…指导** - * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`ï¼› - * 按上述接å£å˜æ›´å¯¹é½ä¿®æ”¹æ‰€è°ƒç”¨çš„接å£å称å³å¯ã€‚ - -## cl.distributeddatamgr.7 class RdbPredicatesV9 从ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts -**å˜æ›´å½±å“** -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -class RdbPredicatesV9 从ohos.data.rdb.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts 改å为interface RdbPredicates。 - -**适é…指导** - * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`ï¼› - * 按上述接å£å˜æ›´å¯¹é½ä¿®æ”¹æ‰€è°ƒç”¨çš„接å£å称å³å¯ã€‚ - -## cl.distributeddatamgr.8 interface ResultSetV9 从api/@ohos.data.relationalStore.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts -**å˜æ›´å½±å“** -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** -interface ResultSetV9 从api/data/rdb/resultSet.d.ts è¿ç§»è‡³@ohos.data.relationalStore.d.ts 改å为interface ResultSet。 - -**适é…指导** - * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`ï¼› - * ResultSetV9实例仅通过getRdbStoreV9方法获å–,å‚考cl.distributeddatamgr.2å˜æ›´åŽï¼Œä»£ç å¯è‡ªåŠ¨é€‚é…ResultSet。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md deleted file mode 100644 index 45249cf9851984f3119e534f732d694eacf1e31f..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md +++ /dev/null @@ -1,53 +0,0 @@ -## cl.multimedia.av_session.001 av_session所有接å£æ›´æ¢ä¸ºç³»ç»ŸæŽ¥å£ - -所有av_session的接å£å˜æ›´ä¸ºSystemApi。 - -**å˜æ›´å½±å“** - -éžç³»ç»Ÿåº”ç”¨æ— æ³•è°ƒç”¨ç³»ç»ŸæŽ¥å£ï¼Œå¦‚调用方为éžç³»ç»Ÿåº”用或未申请SystemApi相关æƒé™ï¼Œå°†æ— 法调用接å£ã€‚ - -**关键的接å£/组件å˜æ›´** - -所有接å£å‡å˜æ›´ä¸ºSystemApi,接å£æ˜Žç»†å¦‚下: - -| 接å£ã€æžšä¸¾æˆ–å˜é‡å | 类型 | 是å¦ä¸ºSystemApi | -| -------- | -------- | ------- | -| SessionToken | interface | 是 | -| AVMetadata | interface | 是 | -| AVPlaybackState | interface | 是 | -| PlaybackPosition | interface | 是 | -| OutputDeviceInfo | interface | 是 | -| AVSessionDescriptor | interface | 是 | -| AVSessionController | interface | 是 | -| AVControlCommand | interface | 是 | -| createAVSession | function | 是 | -| getAllSessionDescriptors | function | 是 | -| createController | function | 是 | -| castAudio | function | 是 | -| on | function | 是 | -| off | function | 是 | -| sendSystemAVKeyEvent | function | 是 | -| sendSystemControlCommand | function | 是 | -| sessionId | variable | 是 | -| setAVMetadata | function | 是 | -| setAVPlaybackState | function | 是 | -| setLaunchAbility | function | 是 | -| getController | function | 是 | -| getOutputDevice | function | 是 | -| activate | function | 是 | -| deactivate | function | 是 | -| destroy | function | 是 | -| getAVPlaybackState | function | 是 | -| getAVMetadata | function | 是 | -| getOutputDevice | function | 是 | -| sendAVKeyEvent | function | 是 | -| getLaunchAbility | function | 是 | -| getRealPlaybackPositionSync | function | 是 | -| isActive | function | 是 | -| getValidCommands | function | 是 | -| sendControlCommand | function | 是 | -| AVSessionType | type | 是 | -| AVControlCommandType | type | 是 | -| LoopMode | enum | 是 | -| PlaybackState | enum | 是 | -| AVSessionErrorCode | enum | 是 | diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md deleted file mode 100644 index 7877ff8ae51a74460187fcd3460070bf12919813..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md +++ /dev/null @@ -1,48 +0,0 @@ -# 事件通知å系统ChangeLog - -## cl.notification.1 åˆ é™¤æ ‡è®°ä¸ºåºŸå¼ƒçš„API9æŽ¥å£ - -[事件通知异常处ç†æ•´æ”¹](../OpenHarmony_3.2.8.3/changelogs-notification.md)将部分API9接å£æ ‡è®°ä¸ºäº†åºŸå¼ƒï¼Œæ ¹æ®OpenHarmony接å£è§„范,需è¦åˆ é™¤æ ‡è®°ä¸ºåºŸå¼ƒçš„API9接å£ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需è¦å°†è¢«åˆ 除的接å£æ›¿æ¢ä¸ºæ–°æŽ¥å£ï¼Œå¦åˆ™ä¼šå½±å“应用编译。 - -**关键接å£/组件å˜æ›´** - -原接å£ä¸æ ‡è®°ä¸ºåºŸå¼ƒçš„API9接å£å°†è¢«åˆ 除,å¯ä»¥ä½¿ç”¨æ–°æŽ¥å£ä¸çš„åŒå接å£æ›¿æ¢ã€‚ - -| åŽŸæŽ¥å£ | æ–°æŽ¥å£ | -| ----------------------- | -------------------------------- | -| @ohos.commonEvent.d.ts | @ohos.commonEventManager.d.ts | -| @ohos.notification.d.ts | @ohos.notificationManager.d.ts | -| @ohos.notification.d.ts | @ohos.notificationSubscribe.d.ts | - -接å£ã€å±žæ€§è¢«åˆ 除: - -- @ohos.notification.d.ts - - æŽ¥å£ publishAsBundleã€cancelAsBundleã€isNotificationSlotEnabledã€setSyncNotificationEnabledWithoutAppã€getSyncNotificationEnabledWithoutApp è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ api/@ohos.notificationManager.d.ts çš„åŒå接å£æ›¿æ¢ã€‚ - - æŽ¥å£ enableNotificationSlot è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ api/@ohos.notificationManager.d.ts çš„æŽ¥å£ setNotificationEnableSlot 替æ¢ã€‚ - - 导出类 NotificationActionButtonã€NotificationBasicContentã€NotificationContentã€NotificationLongTextContentã€NotificationMultiLineContentã€NotificationPictureContentã€NotificationFlagsã€NotificationFlagStatusã€NotificationRequestã€DistributedOptionsã€NotificationSlotã€NotificationSortingã€NotificationTemplateã€NotificationUserInput è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ api/@ohos.notificationManager.d.ts çš„åŒå导出类替æ¢ã€‚ - - 导出类 NotificationSubscribeInfoã€NotificationSubscriberã€SubscribeCallbackDataã€EnabledNotificationCallbackData è¢«åˆ é™¤ã€‚å¯ä»¥ä½¿ç”¨ api/@ohos.notificationSubscribe.d.ts çš„åŒå导出类替æ¢ã€‚ - -**适é…指导** - -如上所述,仅将è€æŽ¥å£å¹³ç§»åˆ°äº†æ–°çš„namespaceä¸ï¼Œæ‰€ä»¥å¯ä»¥é€šè¿‡ä¿®æ”¹importæ¥è§£å†³é€‚é…问题: - -如原先接å£ä½¿ç”¨äº†@ohos.commonEvent - -```js -import commonEvent from '@ohos.commonEvent'; -``` - -å¯ä»¥é€šè¿‡ç›´æŽ¥ä¿®æ”¹import,æ¥åˆ‡æ¢åˆ°æ–°çš„namespace上: - -```js -import commonEvent from '@ohos.commonEventManager'; -``` - -@ohos.notification拆分æˆäº†ä¸¤ä¸ªnamespace,需è¦æ ¹æ®æŽ¥å£æƒ…况选择需è¦çš„æ–°namespace进行适é…。 - -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考新接å£çš„接å£æ–‡æ¡£ã€‚ - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-time.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-time.md deleted file mode 100644 index 1f6aa755b94e4acbcec7900011f563478e1793fc..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-time.md +++ /dev/null @@ -1,336 +0,0 @@ -# 时间时区å系统ChangeLog - -## cl.time.1 接å£å¼‚常抛出å˜æ›´ - -时间时区å系统定时器接å£å¼‚常抛出:202éžç³»ç»Ÿåº”用异常和401å‚æ•°æ— æ•ˆå¼‚å¸¸ã€‚ - -**å˜æ›´å½±å“** - -该接å£å˜æ›´å‰å‘兼容,基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用å¯ç»§ç»ä½¿ç”¨æŽ¥å£ï¼Œå¢žåŠ 相应的异常处ç†ï¼ŒåŽŸæœ‰åŠŸèƒ½ä¸å—å½±å“。 - -**关键接å£/组件å˜æ›´** - -å˜æ›´å‰ï¼š - - 接å£å¼‚常抛出messageï¼Œæ— é”™è¯¯ç 。 - -å˜æ›´åŽï¼š - - 接å£å¼‚常抛出messageå’Œcode,包括202éžç³»ç»Ÿåº”用异常和401å‚æ•°æ— æ•ˆå¼‚å¸¸ã€‚ - - | 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | - | ----------------- | ----------- | ------------------------------------------------------------ | -------- | - | @ohos.systemTimer | systemTimer | function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void | å˜æ›´ | - | @ohos.systemTimer | systemTimer | function createTimer(options: TimerOptions): Promise<number> | å˜æ›´ | - | @ohos.systemTimer | systemTimer | function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void | å˜æ›´ | - | @ohos.systemTimer | systemTimer | function startTimer(timer: number, triggerTime: number): Promise<void> | å˜æ›´ | - | @ohos.systemTimer | systemTimer | function stopTimer(timer: number, callback: AsyncCallback<void>): void | å˜æ›´ | - | @ohos.systemTimer | systemTimer | function stopTimer(timer: number): Promise<void> | å˜æ›´ | - | @ohos.systemTimer | systemTimer | function destroyTimer(timer: number, callback: AsyncCallback<void>): void | å˜æ›´ | - | @ohos.systemTimer | systemTimer | function destroyTimer(timer: number): Promise<void> | å˜æ›´ | - - -**适é…指导** - -应用ä¸è°ƒç”¨systemTimer所有接å£å¯å‚考下列代ç 进行异常æ•èŽ· - -createTimer callbackå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -export default { - systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat: false - }; - try { - systemTimer.createTimer(options, (error, timerId) => { - if (error) { - //æ•èŽ·æƒé™å¦å®šå¼‚常 - console.info(`Failed to create timer. message: ${error.message}, code: ${error.code}`); - } - console.info(`Succeeded in creating timer. timerId: ${timerId}`); - }); - } catch(e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to create timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -createTimer promiseå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -export default { - systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat: false - }; - try { - systemTimer.createTimer(options).then((timerId) => { - console.info(`Succeeded in creating timer. timerId: ${timerId}`); - }).catch((error) => { - //æ•èŽ·æƒé™å¦å®šå¼‚常 - console.info(`Failed to create timer. message: ${error.message}, code: ${error.code}`); - }); - } catch(e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to create timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -startTimer callbackå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -export default { - async systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - try { - systemTimer.startTimer(timerId, triggerTime, (error) => { - if (error) { - //æ•èŽ·æƒé™å¦å®šå¼‚常 - console.error(`Failed to start timer. message: ${error.message}, code: ${error.code}`); - } - }); - } catch (e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to start timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -startTimer promiseå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -export default { - async systemTimer (){ - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - try { - systemTimer.startTimer(timerId, triggerTime).then((data) => { - console.log(`Succeeded in startting timer. Data:` + data); - }).catch((error) => { - //æ•èŽ·æƒé™å¦å®šå¼‚常 - console.info(`Failed to start timer. message: ${error.message}, code: ${error.code}`); - }); - } catch (e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to start timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -stopTimer callbackå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -export default { - async systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - systemTimer.startTimer(timerId, triggerTime); - try { - systemTimer.stopTimer(timerId, triggerTime, (error) => { - if (error) { - //æ•èŽ·æƒé™å¦å®šå¼‚常 - console.error(`Failed to stop timer. message: ${error.message}, code: ${error.code}`); - } - }); - } catch (e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to stop timer. message: ${e.message}, code: ${e.code}`); - } - } -}git -``` - -stopTimer promiseå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -export default { - async systemTimer (){ - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - systemTimer.startTimer(timerId, triggerTime); - try { - systemTimer.stopTimer(timerId, triggerTime).then((data) => { - console.log(`Succeeded in stop timer. Data:` + data); - }).catch((error) => { - //æ•èŽ·æƒé™å¦å®šå¼‚常 - console.info(`Failed to stop timer. message: ${error.message}, code: ${error.code}`); - }); - } catch (e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to stop timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -destroyTimer callbackå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -export default { - async systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - systemTimer.startTimer(timerId, triggerTime); - systemTimer.stopTimer(timerId); - try { - systemTimer.destroyTimer(timerId, triggerTime, (error) => { - if (error) { - //æ•èŽ·æƒé™å¦å®šå¼‚常 - console.error(`Failed to destroy timer. message: ${error.message}, code: ${error.code}`); - } - }); - } catch (e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to destroy timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -destroyTimer promiseå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -export default { - async systemTimer (){ - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - systemTimer.startTimer(timerId, triggerTime); - systemTimer.stopTimer(timerId); - try { - systemTimer.destroyTimer(timerId, triggerTime).then((data) => { - console.log(`Succeeded in destroy timer. Data:` + data); - }).catch((error) => { - //æ•èŽ·æƒé™å¦å®šå¼‚常 - console.info(`Failed to destroy timer. message: ${error.message}, code: ${error.code}`); - }); - } catch (e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to destroy timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -## cl.time.2 接å£å¼‚常抛出å˜æ›´ - -时间时区å系统时间相关接å£å¼‚常抛出:201æƒé™å¦å®šå¼‚常ã€202éžç³»ç»Ÿåº”用异常和401å‚æ•°æ— æ•ˆå¼‚å¸¸ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,继ç»ä½¿ç”¨æ— å½±å“,使用新接å£éœ€è¦æ•èŽ·å¹¶å¤„ç†æŠ›å‡ºçš„新异常。 - -**关键接å£/组件å˜æ›´** - -å˜æ›´å‰ï¼š - - 接å£å¼‚常抛出message,错误ç -1。 - -å˜æ›´åŽï¼š - - 接å£å¼‚常抛出messageå’Œcode,包括201æƒé™å¦å®šå¼‚常ã€202éžç³»ç»Ÿåº”用异常和401å‚æ•°æ— æ•ˆå¼‚å¸¸ã€‚ - -原接å£ä¸æ ‡è®°ä¸ºåºŸå¼ƒçš„接å£ï¼Œå¯ä»¥ä½¿ç”¨æ–°æŽ¥å£ä¸çš„åŒå接å£æ›¿æ¢ - -| åŽŸæŽ¥å£ | æ–°æŽ¥å£ | -| ---------------- | -------------------- | -| @ohos.systemTime | @ohos.systemDateTime | - -**适é…指导** - -应用ä¸è°ƒç”¨systemTime所有接å£å¯å‚考下列代ç 进行异常æ•èŽ·ï¼Œä»¥setTime接å£ä¸ºä¾‹ï¼Œå…¶ä»–接å£é€‚é…方法相åŒã€‚ - -callbackå½¢å¼è°ƒç”¨: - -**示例:** - -```js -import systemDateTime from @ohos.systemDateTime -// time对应的时间为2021-01-20 02:36:25 -let time = 1611081385000; -try { - systemDateTime.setTime(time, (error) => { - //æ•èŽ·æƒé™å¦å®šå¼‚常和éžç³»ç»Ÿåº”用异常 - if (error) { - console.info(`Failed to setting time. message: ${error.message}, code: ${error.code}`); - return; - } - console.info(`Succeeded in setting time.`); - }) -} catch(e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to set time. message: ${e.message}, code: ${e.code}`); -} -``` - -promiseå½¢å¼è°ƒç”¨ï¼š - -**示例:** - -```js -import systemDateTime from @ohos.systemDateTime -// time对应的时间为2021-01-20 02:36:25 -let time = 1611081385000; -try { - systemDateTime.setTime(time).then(() => { - console.info(`Succeeded in setting time.`); - }).catch((error) => { - //æ•èŽ·æƒé™å¦å®šå¼‚常和éžç³»ç»Ÿåº”用异常 - console.info(`Failed to setting time. message: ${error.message}, code: ${error.code}`); - }); -} catch(e) { - //æ•èŽ·å‚æ•°æ ¡éªŒå¤±è´¥å¼‚å¸¸ - console.info(`Failed to set time. message: ${e.message}, code: ${e.code}`); -} -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-url.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-url.md deleted file mode 100644 index c9ea0328d415ce1504c57eeabe79e3bb3dabcbc9..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-url.md +++ /dev/null @@ -1,70 +0,0 @@ -# 公共基础类库å系统JS APIå˜æ›´Changelog - -OpenHarmony 3.2.10.1(Mr)版本相较于OpenHarmony 3.2.beta4版本,urlå系统的APIå˜æ›´å¦‚下 - -## cl.commonlibrary.1.URLParams类接å£å˜æ›´ -公共基础类库å系统url模å—URLParamsç±»æž„é€ å‡½æ•°å˜åœ¨å˜æ›´ï¼š - -constructor(init?: string[][] | Record<string, string> | string | URLSearchParams) 改为 constructor(init?: string[][] | Record<string, string> | string | URLParams);å‚数类型为原æ¥çš„URLSearchParams类改为URLParams类。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| :------------------------ | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.url | URLParams | constructor(string[][] \| Record<string, string> \| string \| URLSearchParams) | åˆ é™¤ | -| @ohos.url | URLParams | constructor(string[][] \| Record<string, string> \| string \| URLParams)| å˜æ›´ - -**适é…指导** - -应用ä¸åˆ›å»ºURLParams对象实例å¯å‚考下列代ç - -示例: - -```ts -import url from '@ohos.url' -try { - let params1 = new Url.URLParams('?user=abc&query=xyz') - let params2 = new Url.URLParams(params1) - var result= params2.toString() - console.log(result) //"user=abc&query=xyz" -} catch (err) { - console.error(`Fail to ceate URLParams.codeis${err.code},message is ${err.message}`); -} -``` -## cl.commonlibrary.2.URL类属性å˜æ›´urlå系统URLParamsç±»æž„é€ å‡½æ•°å˜åœ¨å˜æ›´ï¼š -公共基础类库å系统url模å—URL类属性å˜åœ¨å˜æ›´ï¼š - -废弃searchParams: URLSearchParams属性,新增params: URLParams属性 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| :------------------------ | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.url | URL | searchParams: URLSearchParams; |废弃版本:9<br> | -| @ohos.url | URL | params: URLParams; | 新增 | - -**适é…指导** - -应用ä¸åˆ›å»ºURLParams对象实例å¯å‚考下列代ç - -示例: - -```ts -import url from '@ohos.url' -let that = new Url.URL('http://username:password@host:8080/directory/file?ä½ å¥½=china#qwer=da') -let params = that.URLParams -var result = params.toString() -console.log(result) //%E4%BD%A0%E5%A5%BD=china -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-bundlemanager.md deleted file mode 100644 index 8cb911d0fe15bf51e1a612d63010d50849b2ffc5..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-bundlemanager.md +++ /dev/null @@ -1,60 +0,0 @@ -# 包管ç†å系统ChangeLog - -## cl.bundlemanager.1 app.jsoné…ç½®æ–‡ä»¶åˆ é™¤atomicServiceæ ‡ç¾ -åˆ é™¤é…置文件app.jsonä¸atomicServiceæ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件app.jsonä¸atomicServiceæ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤atomicServiceæ ‡ç¾ - -## cl.bundlemanager.2 app.jsoné…置文件新增bundleTypeæ ‡ç¾ -é…置文件app.jsonä¸æ–°å¢žbundleTypeæ ‡ç¾ - -**å˜æ›´å½±å“**<br> -现å˜çš„å…ƒæœåŠ¡ï¼ˆ[installationFree](../../../application-dev/quick-start/module-configuration-file.md)为true),必须在app.jsonä¸æŒ‡å®šbundleType为atomicService,å¦åˆ™æ‰“包失败。 - -**适é…指导**<br> -新增[bundleType](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ã€‚è¯¥æ ‡ç¾ä¸ºå¯ç¼ºçœï¼ˆç¼ºçœå€¼ä¸ºappï¼‰ã€‚è¯¥æ ‡ç¾éœ€è¦å’Œmodule.jsonä¸[installationFree](../../../application-dev/quick-start/module-configuration-file.md)å—段ä¿æŒä¸€ä¸€å¯¹åº”,其相应规则为: -- 当bundleType为app时,installationFree必须为false。 -- 当bundleType为atomicService时,installationFree必须为true。 - -## cl.bundlemanager.3 包管ç†ApplicationInfo结构体ä¸åˆ 除splitå—段。 - -包管ç†[ApplicationInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts)结构体ä¸åˆ 除splitå—段。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了split的,会编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[ApplicationInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts)结构体ä¸åˆ 除splitå—段。 - -**适é…指导**<br> -åˆ é™¤ApplicationInfo结构体ä¸çš„splitå—段。目å‰å…ƒæœåŠ¡ä¸stage模型强制分包,ä¸æ”¯æŒä¸åˆ†åŒ…。 - -## cl.bundlemanager.4 包管ç†HapModuleInfo结构体ä¸åˆ 除atomicServiceModuleTypeå—段。 - -包管ç†[HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)结构体ä¸åˆ 除atomicServiceModuleTypeå—段。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了atomicServiceModuleType的,会编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)结构体ä¸åˆ 除atomicServiceModuleTypeå—段。 - -**适é…指导**<br> -åˆ é™¤[HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)结构体ä¸çš„atomicServiceModuleTypeå—段。判æ–atomicServiceModuleTypeå—段的部分,用[HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)结构体ä¸çš„moduleType代替。 - -## cl.bundlemanager.5 包管ç†åˆ 除AtomicServiceModuleType枚举值。 - -包管ç†[HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)结构体ä¸åˆ 除atomicServiceModuleTypeå—段。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了atomicServiceModuleType的,会编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)结构体ä¸åˆ 除atomicServiceModuleTypeå—段。 - -**适é…指导**<br> -åˆ é™¤[HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)结构体ä¸çš„atomicServiceModuleTypeå—段。判æ–atomicServiceModuleTypeå—段的部分,用[HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)结构体ä¸çš„moduleType代替。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-imf.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-imf.md deleted file mode 100644 index a6cdab6b8d7e7fc6a97698ce9b2e2a84ba32076a..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-imf.md +++ /dev/null @@ -1,21 +0,0 @@ -# 输入法框架å系统-输入法框架æœåŠ¡ChangeLog - - -## @ohos.InputMethodSubtype ä¸è¾“入法å类型ä¸nameã€labelã€id属性值å˜æ›´ -从API9开始,å˜æ›´å¦‚上三个属性值 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -æ¤ä¸‰ä¸ªå±žæ€§çš„å–值å‘生å˜åŒ–,需è¦å¼€å‘者进行适é…æ›´æ–° - -| å称 | å˜æ›´å‰ | å˜æ›´åŽ | -| -------- | -------- | -------- | -| label | (1)å–值:输入法å类型的id。| (1)å–值:输入法åç±»åž‹çš„æ ‡ç¾ã€‚| -| name | (1)说明:输入法å类型的åå—;(2)å–值:输入法åç±»åž‹çš„æ ‡ç¾ã€‚| (1)说明:输入法应用的包å;(2)å–值:输入法应用的包å。| -| id | (1)å–值:输入法应用的包å。| (1)å–值:输入法å类型的id。| - -**适é…指导** - -请按上述å–值å˜æ›´ç»“果适é…更新。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-screenlock.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-screenlock.md deleted file mode 100644 index 8e5a2fab3671eb32db8accb72d764a1194f26ff1..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-screenlock.md +++ /dev/null @@ -1,155 +0,0 @@ -# 主题框架å系统-é”å±ç®¡ç†æœåŠ¡ChangeLog - - -## cl.screenlock.1 isLockedã€unlock接å£ä½¿ç”¨æƒé™å˜æ›´ -从API9开始,å˜æ›´ä¸ºsystemapi,åœæ¢å¯¹ä¸‰æ–¹åº”用开放。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´çš„js接å£ï¼Œå˜æ›´å‰çš„接å£å·²ç»ä¸èƒ½æ£å¸¸ä½¿ç”¨äº†ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function isLocked(): boolean; - function unlock(callback: AsyncCallback<boolean>): void; - function unlock():Promise<boolean>; -``` - -- å˜æ›´å‰ï¼š - -```js - * Checks whether the screen is currently locked. - * - * @returns Returns {@code true} if the screen is currently locked; returns {@code false} otherwise. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function isLocked(): boolean; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function unlock(callback: AsyncCallback<boolean>): void; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function unlock():Promise<boolean>; -``` - -- å˜æ›´åŽï¼š - -```js - * Checks whether the screen is currently locked. - * - * @returns Returns {@code true} if the screen is currently locked; returns {@code false} otherwise. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function isLocked(): boolean; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function unlock(callback: AsyncCallback<boolean>): void; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function unlock():Promise<boolean>; -``` - - -**适é…指导** - -该接å£å˜æ›´ä¸ºç³»ç»Ÿåº”用åŽï¼Œä¸‰æ–¹åº”ç”¨å·²æ— æ³•ä½¿ç”¨ã€‚ -系统应用å¯æ£å¸¸ä½¿ç”¨ã€‚ -示例代ç 如下: - -```js - try { - let ret = screenLock.isLocked(); - console.error(`Obtain whether the screen is locked successfully , ret is: ${ret}`); - } catch (error) { - console.error(`Failed to obtain whether the screen is locked, error is : ${error.code}, ${error.message}`); - } -``` - -```js - screenlock.unlock((err, data) => { - if (err) { - console.error(`Failed to unlock the screen, because: ${err.message}`); - return; - } - console.info(`unlock the screen successfully. result: ${data}`); - }); -``` - -```js - screenlock.unlock().then((data) => { - console.info(`unlock the screen successfully. result: ${data}`); - }).catch((err) => { - console.error(`Failed to unlock the screen, because: ${err.message}`); - }); -``` - - -## cl.screenlock.2 isSecure接å£åºŸå¼ƒå˜æ›´ -从API9开始,废弃æ¤æŽ¥å£ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨è¿›è¡Œæ›´æ–°ä½¿ç”¨ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function isSecure(): boolean; -``` - -- å˜æ›´å‰ï¼š - -```js - function isSecure(): boolean; -``` - -- å˜æ›´åŽï¼šåˆ 除接å£ï¼Œåœæ¢å¯¹å¤–开放。 - - -**适é…指导** - -该接å£åˆ 除åŽæ— 法å†ä½¿ç”¨ï¼Œè¯·é€‚é…更新。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-wallpaper.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-wallpaper.md deleted file mode 100644 index 13baab45851959398ccf4689543f91c5e1aa1d68..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-wallpaper.md +++ /dev/null @@ -1,304 +0,0 @@ -# 主题框架å系统-å£çº¸ç®¡ç†æœåŠ¡ChangeLog - - -## cl.wallpaper.1 getColorsSyncã€getMinHeightSyncã€getMinWidthSyncã€restoreã€setImage接å£ä½¿ç”¨æƒé™å˜æ›´ -从API9开始,å˜æ›´ä¸ºsystemapi,åœæ¢å¯¹ä¸‰æ–¹åº”用开放。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´çš„js接å£ï¼Œå˜æ›´å‰çš„接å£å·²ç»ä¸èƒ½æ£å¸¸ä½¿ç”¨äº†ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>; - function getMinHeightSync(): number; - function getMinWidthSync(): number; - function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - function restore(wallpaperType: WallpaperType): Promise<void>; - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; -``` - -- å˜æ›´å‰ï¼š - -```js - /** - * Obtains the wallpaper colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function. - * @param wallpaperType Indicates the wallpaper type. - * @returns { Array<RgbaColor> } the Array<RgbaColor> returned by the function. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>; - - /** - * Obtains the minimum height of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getMinHeightSync(): number; - - /** - * Obtains the minimum width of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getMinWidthSync(): number; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function restore(wallpaperType: WallpaperType): Promise<void>; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; -``` - -- å˜æ›´åŽï¼š - -```js - /** - * Obtains the wallpaper colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function. - * @param wallpaperType Indicates the wallpaper type. - * @returns { Array<RgbaColor> } the Array<RgbaColor> returned by the function. - * @throws {BusinessError} 401 - parameter error. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>; - - /** - * Obtains the minimum height of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getMinHeightSync(): number; - - /** - * Obtains the minimum width of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getMinWidthSync(): number; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function restore(wallpaperType: WallpaperType): Promise<void>; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; -``` - - -**适é…指导** - -该接å£å˜æ›´ä¸ºç³»ç»Ÿåº”用åŽï¼Œä¸‰æ–¹åº”ç”¨å·²æ— æ³•ä½¿ç”¨ã€‚ -系统应用å¯æ£å¸¸ä½¿ç”¨ã€‚ -示例代ç 如下: - -```js - try { - let colors = wallpaper.getColorsSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); - console.log(`success to getColorsSync: ${JSON.stringify(colors)}`); - } catch (error) { - console.error(`failed to getColorsSync because: ${JSON.stringify(error)}`); - } -``` - -```js - let minHeight = wallpaper.getMinHeightSync(); -``` - -```js - let minWidth = wallpaper.getMinWidthSync(); -``` - -```js - wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error) => { - if (error) { - console.error(`failed to restore because: ${JSON.stringify(error)}`); - return; - } - console.log(`success to restore.`); - }); -``` - -```js - wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM).then(() => { - console.log(`success to restore.`); - }).catch((error) => { - console.error(`failed to restore because: ${JSON.stringify(error)}`); - }); -``` - -```js - // source类型为string - let wallpaperPath = "/data/data/ohos.acts.aafwk.plrdtest.form/files/Cup_ic.jpg"; - wallpaper.setImage(wallpaperPath, wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error) => { - if (error) { - console.error(`failed to setImage because: ${JSON.stringify(error)}`); - return; - } - console.log(`success to setImage.`); - }); -``` - -```js - // source类型为string - let wallpaperPath = "/data/data/ohos.acts.aafwk.plrdtest.form/files/Cup_ic.jpg"; - wallpaper.setImage(wallpaperPath, wallpaper.WallpaperType.WALLPAPER_SYSTEM).then(() => { - console.log(`success to setImage.`); - }).catch((error) => { - console.error(`failed to setImage because: ${JSON.stringify(error)}`); - }); -``` - - -## cl.wallpaper.2 getIdSyncã€getFileSyncã€isChangeAllowedã€isUserChangeAllowedã€onã€offã€RgbaColor接å£åºŸå¼ƒå˜æ›´ -从API9开始,废弃æ¤æŽ¥å£ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨è¿›è¡Œæ›´æ–°ä½¿ç”¨ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function getIdSync(wallpaperType: WallpaperType): number; - function getFileSync(wallpaperType: WallpaperType): number; - function isChangeAllowed(): boolean; - function isUserChangeAllowed(): boolean; - function on(type: 'colorChange', callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; - function off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; - interface RgbaColor { - red: number; - green: number; - blue: number; - alpha: number; - } -``` - -- å˜æ›´å‰ï¼š - -```js - function getIdSync(wallpaperType: WallpaperType): number; - function getFileSync(wallpaperType: WallpaperType): number; - function isChangeAllowed(): boolean; - function isUserChangeAllowed(): boolean; - function on(type: 'colorChange', callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; - function off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; - interface RgbaColor { - red: number; - green: number; - blue: number; - alpha: number; - } -``` - -- å˜æ›´åŽï¼šåˆ 除接å£ï¼Œåœæ¢å¯¹å¤–开放。 - - -**适é…指导** - -该接å£åˆ 除åŽæ— 法å†ä½¿ç”¨ï¼Œè¯·é€‚é…更新。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.2/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.2/changelogs-bundlemanager.md deleted file mode 100644 index cff07729a7ee1b0d5d53bdf5e07006548dcd0822..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.2/changelogs-bundlemanager.md +++ /dev/null @@ -1,34 +0,0 @@ -# 包管ç†å系统ChangeLog - -## cl.bundlemanager.1 API9çš„ApplicationInfo结构体å—段å˜æ›´ï¼Œæ–°å¢žsystemAppå—æ®µï¼Œåˆ é™¤entryDirå—段。 - -API9çš„ApplicationInfo结构体[bundleManager/applicationInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts)å—段å˜æ›´ï¼Œæ–°å¢žsystemAppå—æ®µï¼Œåˆ é™¤entryDirå—段。 - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—和新接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -ApplicationInfo结构体å‘生å˜åŒ–çš„å—段内容如下表所示。 -| åˆ é™¤ | API9新增或å˜æ›´ | 类型 | -| --- | --- | --- | -| æ— | systemApp | boolean | -| entryDir | æ— | string | - -**适é…指导**<br> -导入包管ç†æŸ¥è¯¢çš„模å—,在API9 versionçš„ApplicationInfo结构体时,å¯ä»¥ä½¿ç”¨systemAppå—段。使用了entryDir需è¦è¿›è¡Œä¿®æ”¹ï¼Œè¯¥å—段在HAPä¸è§£åŽ‹ç‰¹æ€§ä¸å±žäºŽå¤šä½™å—段。 - -## cl.bundlemanager.2 API9çš„HapModuleInfo结构体å—段å˜æ›´ï¼Œåˆ 除moduleSourceDirå—段。 - -API9çš„HapModuleInfo结构体[bundleManager/hapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)å—段å˜æ›´ï¼Œåˆ 除moduleSourceDirå—段。 - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—和新接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -HapModuleInfo结构体å‘生å˜åŒ–çš„å—段内容如下表所示。 -| åˆ é™¤ | API9新增或å˜æ›´ | 类型 | -| --- | --- | --- | -| moduleSourceDir | æ— | string | - -**适é…指导**<br> -导入包管ç†æŸ¥è¯¢çš„模å—,在API9 versionçš„HapModuleInfo结构体时ä¸èƒ½ä½¿ç”¨moduleSourceDirå—段。使用了moduleSourceDir需è¦è¿›è¡Œä¿®æ”¹ï¼Œè¯¥å—段在HAPä¸è§£åŽ‹ç‰¹æ€§ä¸å±žäºŽå¤šä½™å—段。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-account_os_account.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-account_os_account.md deleted file mode 100644 index 8b8cad7dbf026cb17c1599e61ebdbae510073a30..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-account_os_account.md +++ /dev/null @@ -1,96 +0,0 @@ -# å¸å·å系统changeLog - -## cl.account_os_account.1 createOsAccountForDomain错误ç å˜æ›´ - -使用createOsAccountForDomainé‡å¤åˆ›å»ºåŸŸå¸å·æ—¶ï¼Œå˜æ›´å‰è¿”回的错误ç 为12300001,å˜æ›´åŽè¿”回的错误ç 为12300004。 -错误信æ¯ç”±é€šç”¨ç³»ç»ŸæŠ¥é”™ç»†åŒ–为å¸å·å·²å˜åœ¨æŠ¥é”™ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´åŽçš„错误ç ,å¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** -- AccountManager - - createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo, callback: AsyncCallback<OsAccountInfo>); - - createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo): Promise<OsAccountInfo>; - -**适é…指导** - -é‡å¤åˆ›å»ºåŸŸå¸å·çš„示例代ç 如下: - -```ts -import account_osAccount from "@ohos.account.osAccount" - -let accountMgr = account_osAccount.getAccountManager(); -let domainInfo = { - accountName: "zhangsan", - domain: "china.example.com" -}; -try { - await accountMgr.createOsAccountForDomain(account_osAccount.OsAccountType.NORMAL, domainInfo); - await accountMgr.createOsAccountForDomain(account_osAccount.OsAccountType.NORMAL, domainInfo); -} catch (err) { - console.log("activateOsAccount err: " + JSON.stringify(err)); // error.code = 12300004; -} -``` - -## cl.account_os_account.2 应用å¸å·getAllAccounts接å£æƒé™åœºæ™¯å˜æ›´ - -应用使用getAllAccounts接å£æŸ¥è¯¢è‡ªå·±å¯è®¿é—®çš„å¸å·åˆ—表时,ä¸éœ€è¦ç”³è¯·æƒé™ohos.permission.GET_ALL_APP_ACCOUNTS。 - -**å˜æ›´å½±å“** - -基于æ¤åŽç‰ˆæœ¬å¼€å‘的应用,查询自己å¯è®¿é—®çš„å¸å·åˆ—è¡¨æ—¶ï¼Œæ— éœ€ç”³è¯·æƒé™ã€‚ - -**关键接å£/组件å˜æ›´** -- AccountManager - - getAllAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void; - - getAllAccounts(): Promise<Array<AppAccountInfo>>; - -**适é…指导** - -应用未申请ohos.permission.GET_ALL_APP_ACCOUNTS,查询自己å¯è®¿é—®çš„å¸å·åˆ—表示例代ç 如下: - -```ts -import account_appAccount from "@ohos.account.appAccount" - -let accountMgr = account_appAccount.createAppAccountManager(); -try { - await accountMgr.addAccount("accessibleAccount_promise_nopermission"); - var data = await accountMgr.getAllAccounts(); - if (data[0].name == "accessibleAccount_promise_nopermission") { - console.log("getAllAccounts successfully"); - } -} catch (err) { - console.log("getAllAccounts err: " + JSON.stringify(err)); -} -``` - -## cl.account_os_account.3 应用å¸å·getAccountsByOwner接å£æƒé™åœºæ™¯å˜æ›´ - -应用使用getAccountsByOwner接å£æŸ¥è¯¢å¯è®¿é—®çš„指定应用的å¸å·åˆ—表时,ä¸éœ€è¦ç”³è¯·æƒé™ohos.permission.GET_ALL_APP_ACCOUNTS。 - -**å˜æ›´å½±å“** - -基于æ¤åŽç‰ˆæœ¬å¼€å‘的应用,查询指定应用å¯è®¿é—®çš„å¸å·åˆ—è¡¨æ—¶ï¼Œæ— éœ€ç”³è¯·æƒé™ã€‚ - -**关键接å£/组件å˜æ›´** -- AccountManager - - getAccountsByOwner(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void; - - getAccountsByOwner(owner: string): Promise<Array<AppAccountInfo>>; - -**适é…指导** - -应用未申请ohos.permission.GET_ALL_APP_ACCOUNTS,查询指定应用å¯è®¿é—®çš„å¸å·åˆ—表示例代ç 如下: - -```ts -import account_appAccount from "@ohos.account.appAccount" - -let accountMgr = account_appAccount.createAppAccountManager(); -try { - var ownerName = "com.example.owner"; - var data = await accountMgr.getAllAccounts(ownerName); -} catch (err) { - console.log("getAllAccounts err: " + JSON.stringify(err)); -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md deleted file mode 100644 index 13e8296b97741d899e311203a75a26d135b20cc2..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md +++ /dev/null @@ -1,17 +0,0 @@ -# 包管ç†å系统ChangeLog - -## cl.bundlemanager.1 包管ç†åˆ†å¸ƒå¼æŸ¥è¯¢æ¨¡å—å称å˜æ›´ï¼Œç”±ohos.bundle.distributedBundleå˜æ›´ä¸ºohos.bundle.distributedBundleManager,接å£æœªå‘生å˜æ›´ã€‚ - -API9的包管ç†åˆ†å¸ƒå¼æŸ¥è¯¢æ¨¡å—å称å˜æ›´ï¼Œç”±ohos.bundle.distributedBundleå˜æ›´ä¸º[ohos.bundle.distributedBundleManager](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.distributedBundleManager.d.ts),接å£æœªå‘生å˜æ›´ã€‚ - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†åˆ†å¸ƒå¼æŸ¥è¯¢æ¨¡å—å称由ohos.bundle.distributedBundle修改为ohos.bundle.distributedBundleManager,接å£æœªå‘生å˜æ›´ã€‚ - -**适é…指导**<br> -原有导入模å—@ohos.bundle.distributedBundle代ç 需è¦ä¿®æ”¹ä¸º@ohos.bundle.distributedBundleManager。 -```ts -import distributedBundle form '@ohos.bundle.distributedBundleManager'; -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md deleted file mode 100644 index cd2a570296f2f086edce830fbba345d1c2c5232c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md +++ /dev/null @@ -1,522 +0,0 @@ -# 媒体å系统 JS API å˜æ›´ Changelog - -OpenHarmony3.2.10.3 相对 OpenHarmony3.2 Beta4 版本,媒体å系统 camera 部件 API å˜æ›´å¦‚下 - -## cl.subsystemname.1 camera 接å£å˜æ›´ -1. camera 部件在 API9 版本全é‡æ”¹ä¸º SystemAPI -2. åŸºäºŽä»¥ä¸‹åŽŸå› æ–°å¢žéƒ¨åˆ†åŠŸèƒ½æŽ¥å£ä»¥åŠåºŸå¼ƒéƒ¨åˆ†æŽ¥å£ï¼š - -æå‡å¼€å‘者使用相机接å£çš„便利。 -帮助开å‘者快速掌æ¡ç›¸æœºå¼€å‘接å£ï¼Œå¿«é€ŸæŠ•å…¥åˆ°å¼€å‘当ä¸ã€‚ -易于åŽç»ç‰ˆæœ¬ä¸æ¡†æž¶åŠŸèƒ½çš„扩展,é™ä½Žæ¡†æž¶æ¨¡å—之间的耦åˆåº¦ã€‚ - -具体å‚考下方å˜æ›´å†…容,开å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -å½±å“ API9 版本的 JS 接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬ SDK 环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | 是å¦ä¸º SystemApi | å˜æ›´ç±»åž‹ | -| ---------------------- | ----------------------- | ------------------------------------------------------------ | --------------- | -------- | -| ohos.multimedia.camera | camera | function getCameraManager(context: Context): CameraManager; | 是 | 新增 | -| ohos.multimedia.camera | camera | function getCameraManager(context: Context, callback: AsyncCallback<CameraManager>): void;<br/>function getCameraManager(context: Context): Promise<CameraManager>; | 是 | 废弃 | -| ohos.multimedia.camera | CameraErrorCode | INVALID_ARGUMENT = 7400101,<br/>OPERATION_NOT_ALLOWED = 7400102,<br/>SESSION_NOT_CONFIG = 7400103,<br/>SESSION_NOT_RUNNING = 7400104,<br/>SESSION_CONFIG_LOCKED = 7400105,<br/>DEVICE_SETTING_LOCKED = 7400106,<br/>CONFILICT_CAMERA = 7400107,<br/>DEVICE_DISABLED = 7400108,<br/>SERVICE_FATAL_ERROR = 7400201 | 是 | 新增 | -| ohos.multimedia.camera | CameraManager | getSupportedCameras(): Array<CameraDevice>;<br/>getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability;<br/>createCameraInput(camera: CameraDevice): CameraInput;<br/>createCameraInput(position: CameraPosition, type: CameraType): CameraInput;<br/>createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput;<br/>createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput;<br/>createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput;<br/>createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): MetadataOutput;<br/>createCaptureSession(): CaptureSession; | 是 | 新增 | -| ohos.multimedia.camera | CameraManager | getSupportedCameras(callback: AsyncCallback<Array<CameraDevice>>): void;<br/>getSupportedCameras(): Promise<Array<CameraDevice>>;<br/>getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback<CameraOutputCapability>): void;<br/>getSupportedOutputCapability(camera: CameraDevice): Promise<CameraOutputCapability>;<br/>createCameraInput(camera: CameraDevice, callback: AsyncCallback<CameraInput>): void;<br/>createCameraInput(camera: CameraDevice): Promise<CameraInput>;<br/>createCameraInput(position: CameraPosition, type: CameraType, callback: AsyncCallback<CameraInput>): void;<br/>createCameraInput(position: CameraPosition, type: CameraType): Promise<CameraInput>;<br/>createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<PreviewOutput>): void;<br/>createPreviewOutput(profile: Profile, surfaceId: string): Promise<PreviewOutput>;<br/>createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<PhotoOutput>): void;<br/>createPhotoOutput(profile: Profile, surfaceId: string): Promise<PhotoOutput>;<br/>createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback<VideoOutput>): void;<br/>createVideoOutput(profile: VideoProfile, surfaceId: string): Promise<VideoOutput>;<br/>createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>, callback: AsyncCallback<MetadataOutput>): void;<br/>createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): Promise<MetadataOutput>;<br/>createCaptureSession(callback: AsyncCallback<CaptureSession>): void;<br/>createCaptureSession(): Promise<CaptureSession>; | 是 | 废弃 | -| ohos.multimedia.camera | CameraType | CAMERA_TYPE_DEFAULT = 0 | 是 | 新增 | -| ohos.multimedia.camera | CameraType | CAMERA_TYPE_UNSPECIFIED = 0 | 是 | 废弃 | -| ohos.multimedia.camera | CameraInput | on(type: 'error', camera: CameraDevice, callback: ErrorCallback<BusinessError>): void; | 是 | 新增 | -| ohos.multimedia.camera | CameraInput | release(callback: AsyncCallback<void>): void;<br/>release(): Promise<void>;<br/>on(type: 'error', camera: CameraDevice, callback: ErrorCallback<CameraInputError>): void; | 是 | 废弃 | -| ohos.multimedia.camera | CameraInputErrorCode | ERROR_UNKNOWN = -1<br/>ERROR_NO_PERMISSION = 0<br/>ERROR_DEVICE_PREEMPTED = 1<br/>ERROR_DEVICE_DISCONNECTED = 2<br/>ERROR_DEVICE_IN_USE = 3<br/>ERROR_DRIVER_ERROR = 4 | 是 | 废弃 | -| ohos.multimedia.camera | CameraInputError | code: CameraInputErrorCode | 是 | 废弃 | -| ohos.multimedia.camera | CaptureSession | beginConfig(): void;<br/>addInput(cameraInput: CameraInput): void;<br/>removeInput(cameraInput: CameraInput): void;<br/>addOutput(cameraOutput: CameraOutput): void;<br/>removeOutput(cameraOutput: CameraOutput): void;<br/>hasFlash(): boolean;<br/>isFlashModeSupported(flashMode: FlashMode): boolean;<br/>getFlashMode(): FlashMode;<br/>setFlashMode(flashMode: FlashMode): void;<br/>isExposureModeSupported(aeMode: ExposureMode): boolean;<br/>getExposureMode(): ExposureMode;<br/>setExposureMode(aeMode: ExposureMode): void;<br/>getMeteringPoint(): Point;<br/>setMeteringPoint(point: Point): void;<br/>getExposureBiasRange(): Array<number>;<br/>setExposureBias(exposureBias: number): void;<br/>getExposureValue(): number;<br/>isFocusModeSupported(afMode: FocusMode): boolean;<br/>getFocusMode(): FocusMode;<br/>setFocusMode(afMode: FocusMode): void;<br/>setFocusPoint(point: Point): void;<br/>getFocusPoint(): Point;<br/>getFocalLength(): number;<br/>getZoomRatioRange(): Array<number>;<br/>getZoomRatio(): number;<br/>setZoomRatio(zoomRatio: number): void;<br/>isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean;<br/>getActiveVideoStabilizationMode(): VideoStabilizationMode;<br/>setVideoStabilizationMode(mode: VideoStabilizationMode): void;<br/>on(type: 'error', callback: ErrorCallback<BusinessError>): void; | 是 | 新增 | -| ohos.multimedia.camera | CaptureSession | beginConfig(callback: AsyncCallback<void>): void;<br/>beginConfig(): Promise<void>;<br/>addInput(cameraInput: CameraInput, callback: AsyncCallback<void>): void;<br/>addInput(cameraInput: CameraInput): Promise<void>;<br/>removeInput(cameraInput: CameraInput, callback: AsyncCallback<void>): void;<br/>removeInput(cameraInput: CameraInput): Promise<void>;<br/>addOutput(cameraOutput: CameraOutput, callback: AsyncCallback<void>): void;<br/>addOutput(cameraOutput: CameraOutput): Promise<void>;<br/>removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback<void>): void;<br/>removeOutput(cameraOutput: CameraOutput): Promise<void>;<br/>hasFlash(callback: AsyncCallback<boolean>): void;<br/>hasFlash(): Promise<boolean>;<br/>isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback<boolean>): void;<br/>isFlashModeSupported(flashMode: FlashMode): Promise<boolean>;<br/>getFlashMode(callback: AsyncCallback<FlashMode>): void;<br/>getFlashMode(): Promise<FlashMode>;<br/>setFlashMode(flashMode: FlashMode, callback: AsyncCallback<void>): void;<br/>setFlashMode(flashMode: FlashMode): Promise<void>;<br/>isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback<boolean>): void;<br/>isExposureModeSupported(aeMode: ExposureMode): Promise<boolean>;<br/>getExposureMode(callback: AsyncCallback<ExposureMode>): void;<br/>getExposureMode(): Promise<ExposureMode>;<br/>setExposureMode(aeMode: ExposureMode, callback: AsyncCallback<void>): void;<br/>setExposureMode(aeMode: ExposureMode): Promise<void>;<br/>getMeteringPoint(callback: AsyncCallback<Point>): void;<br/>getMeteringPoint(): Promise<Point>;<br/>setMeteringPoint(point: Point, callback: AsyncCallback<void>): void;<br/>setMeteringPoint(point: Point): Promise<void>;<br/>getExposureBiasRange(callback: AsyncCallback<Array<number>>): void;<br/>getExposureBiasRange(): Promise<Array<number>>;<br/>setExposureBias(exposureBias: number, callback: AsyncCallback<void>): void;<br/>setExposureBias(exposureBias: number): Promise<void>;<br/>getExposureValue(callback: AsyncCallback<number>): void;<br/>getExposureValue(): Promise<number>;<br/>isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback<boolean>): void;<br/>isFocusModeSupported(afMode: FocusMode): Promise<boolean>;<br/>getFocusMode(callback: AsyncCallback<FocusMode>): void;<br/>getFocusMode(): Promise<FocusMode>;<br/>setFocusMode(afMode: FocusMode, callback: AsyncCallback<void>): void;<br/>setFocusMode(afMode: FocusMode): Promise<void>;<br/>setFocusPoint(point: Point, callback: AsyncCallback<void>): void;<br/>setFocusPoint(point: Point): Promise<void>;<br/>getFocusPoint(callback: AsyncCallback<Point>): void;<br/>getFocusPoint(): Promise<Point>;<br/>getFocalLength(callback: AsyncCallback<number>): void;<br/>getFocalLength(): Promise<number>;<br/>getZoomRatioRange(callback: AsyncCallback<Array<number>>): void;<br/>getZoomRatioRange(): Promise<Array<number>>;<br/>getZoomRatio(callback: AsyncCallback<number>): void;<br/>getZoomRatio(): Promise<number>;<br/>setZoomRatio(zoomRatio: number, callback: AsyncCallback<void>): void;<br/>setZoomRatio(zoomRatio: number): Promise<void>;<br/>isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback<boolean>): void;<br/>isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise<boolean>;<br/>getActiveVideoStabilizationMode(callback: AsyncCallback<VideoStabilizationMode>): void;<br/>getActiveVideoStabilizationMode(): Promise<VideoStabilizationMode>;<br/>setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback<void>): void;<br/>setVideoStabilizationMode(mode: VideoStabilizationMode): Promise<void>;<br/>on(type: 'error', callback: ErrorCallback<CaptureSessionError>): void; | 是 | 废弃 | -| ohos.multimedia.camera | CaptureSessionErrorCode | ERROR_UNKNOWN = -1<br/>ERROR_INSUFFICIENT_RESOURCES = 0<br/>ERROR_TIMEOUT = 1 | 是 | 废弃 | -| ohos.multimedia.camera | CaptureSessionError | code: CaptureSessionErrorCode | 是 | 废弃 | -| ohos.multimedia.camera | PreviewOutput | on(type: 'error', callback: ErrorCallback<BusinessError>): void; | 是 | 新增 | -| ohos.multimedia.camera | PreviewOutput | on(type: 'error', callback: ErrorCallback<PreviewOutputError>): void; | 是 | 废弃 | -| ohos.multimedia.camera | PreviewOutputErrorCode | ERROR_UNKNOWN = -1 | 是 | 废弃 | -| ohos.multimedia.camera | PreviewOutputError | code: PreviewOutputErrorCode | 是 | 废弃 | -| ohos.multimedia.camera | PhotoOutput | capture(): Promise<void>;<br/>isMirrorSupported(): boolean;<br/>on(type: 'error', callback: ErrorCallback<BusinessError>): void; | 是 | 新增 | -| ohos.multimedia.camera | PhotoOutput | isMirrorSupported(callback: AsyncCallback<boolean>): void;<br/>isMirrorSupported(): Promise<boolean>;<br/>on(type: 'error', callback: ErrorCallback<PhotoOutputError>): void; | 是 | 废弃 | -| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_UNKNOWN = -1<br/>ERROR_DRIVER_ERROR = 0<br/>ERROR_INSUFFICIENT_RESOURCES = 1<br/>ERROR_TIMEOUT = 2 | 是 | 废弃 | -| ohos.multimedia.camera | PhotoOutputError | code: PhotoOutputErrorCode | 是 | 废弃 | -| ohos.multimedia.camera | VideoOutput | on(type: 'error', callback: ErrorCallback<BusinessError>): void; | 是 | 新增 | -| ohos.multimedia.camera | VideoOutput | on(type: 'error', callback: ErrorCallback<VideoOutputError>): void; | 是 | 废弃 | -| ohos.multimedia.camera | VideoOutputErrorCode | ERROR_UNKNOWN = -1<br/>ERROR_DRIVER_ERROR = 0 | 是 | 废弃 | -| ohos.multimedia.camera | VideoOutputError | code: VideoOutputErrorCode | 是 | 废弃 | -| ohos.multimedia.camera | MetadataObject | readonly type: MetadataObjectType;<br/>readonly timestamp: number; | 是 | 新增 | -| ohos.multimedia.camera | MetadataObject | getType(callback: AsyncCallback<MetadataObjectType>): void;<br/>getType(): Promise<MetadataObjectType>;<br/>getTimestamp(callback: AsyncCallback<number>): void;<br/>getTimestamp(): Promise<number>;<br/>getBoundingBox(callback: AsyncCallback<Rect>): void;<br/>getBoundingBox(): Promise<Rect>; | 是 | 废弃 | -| ohos.multimedia.camera | MetadataFaceObject | readonly boundingBox: Rect | 是 | 新增 | -| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback<BusinessError>): void; | 是 | 新增 | -| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback<BusinessError>): void; | 是 | 废弃 | -| ohos.multimedia.camera | MetadataOutputErrorCode | ERROR_UNKNOWN = -1<br/>ERROR_INSUFFICIENT_RESOURCES = 0 | 是 | 废弃 | -| ohos.multimedia.camera | MetadataOutputError | code: MetadataOutputErrorCode | 是 | 废弃 | - -**适é…指导** - -除新增接å£ï¼Œå’ŒåºŸå¼ƒæŽ¥å£ä¹‹å¤–,开å‘者需è¦å…³æ³¨å˜æ›´çš„接å£çš„适é…: - -从 Beta4 版本开始,对以下接å£è¿›è¡Œè°ƒæ•´ï¼š - -**新增接å£** - -1. CameraErrorCode 枚举 - - 枚举值å称:INVALID_ARGUMENT, 值:7400101; - - 枚举值å称:OPERATION_NOT_ALLOWED, 值:7400102; - - 枚举值å称:SESSION_NOT_CONFIG, 值:7400103; - - 枚举值å称:SESSION_NOT_RUNNING, 值:7400104; - - 枚举值å称:SESSION_CONFIG_LOCKED, 值:7400105; - - 枚举值å称:DEVICE_SETTING_LOCKED, 值:7400106; - - 枚举值å称:CONFILICT_CAMERA, 值:7400107; - - 枚举值å称:DEVICE_DISABLED, 值:7400108; - - 枚举值å称:SERVICE_FATAL_ERROR, 值:7400201; - -2. PhotoOutput 接å£æ–°å¢ž capture(): Promise<void>; - -3. MetadataObject 接å£ä¸æ–°å¢ž readonly type: MetadataObjectType; - -4. MetadataObject 接å£ä¸æ–°å¢ž readonly timestamp: number; - -5. MetadataObject 接å£ä¸æ–°å¢ž readonly boundingBox: Rect; - -**废弃接å£** - -1. CameraInput ä¸åºŸå¼ƒæŽ¥å£ release(callback: AsyncCallback<void>): void; ä»¥åŠ release(): Promise<void>; - -2. 废弃枚举 CameraInputErrorCode 以åŠæ‰€æœ‰å®ƒé‡Œè¾¹çš„枚举值(ERROR_UNKNOWN = -1,ERROR_NO_PERMISSION = 0,ERROR_DEVICE_PREEMPTED = 1,ERROR_DEVICE_DISCONNECTED = 2,ERROR_DEVICE_IN_USE = 3,ERROR_DRIVER_ERROR = 4); - -3. åºŸå¼ƒæŽ¥å£ CameraInputError 以åŠæŽ¥å£å±žæ€§ code:CameraInputErrorCode; - -4. 废弃枚举 CaptureSessionErrorCode 以åŠæ‰€æœ‰å®ƒé‡Œè¾¹çš„枚举值(ERROR_UNKNOWN = -1,ERROR_INSUFFICIENT_RESOURCES = 0,ERROR_TIMEOUT = 1); - -5. åºŸå¼ƒæŽ¥å£ CaptureSessionError 以åŠæŽ¥å£å±žæ€§ code: CaptureSessionErrorCode; - -6. 废弃枚举 PreviewOutputErrorCode 以åŠæ‰€æœ‰å®ƒé‡Œè¾¹çš„枚举值(ERROR_UNKNOWN = -1); - -7. åºŸå¼ƒæŽ¥å£ PreviewOutputError 以åŠæŽ¥å£å±žæ€§ code: PreviewOutputErrorCode; - -8. 废弃枚举 PhotoOutputErrorCode 以åŠæ‰€æœ‰å®ƒé‡Œè¾¹çš„枚举值(ERROR_UNKNOWN = -1,ERROR_DRIVER_ERROR = 0,ERROR_INSUFFICIENT_RESOURCES = 1,ERROR_TIMEOUT = 2); - -9. åºŸå¼ƒæŽ¥å£ PhotoOutputError 以åŠæŽ¥å£å±žæ€§ code:PhotoOutputErrorCode; - -10. 废弃枚举 VideoOutputErrorCode 以åŠæ‰€æœ‰å®ƒé‡Œè¾¹çš„枚举值(ERROR_UNKNOWN = -1,ERROR_DRIVER_ERROR = 0); - -11. åºŸå¼ƒæŽ¥å£ VideoOutputError 以åŠæŽ¥å£å±žæ€§ code:VideoOutputErrorCode; - -12. åºŸå¼ƒæŽ¥å£ MetadataObject ä¸ getType(callback: AsyncCallback<MetadataObjectType>): void; - -13. åºŸå¼ƒæŽ¥å£ MetadataObject ä¸ getType(): Promise<MetadataObjectType>; - -14. åºŸå¼ƒæŽ¥å£ MetadataObject ä¸ getTimestamp(callback: AsyncCallback<number>): void; - -15. åºŸå¼ƒæŽ¥å£ MetadataObject ä¸ getTimestamp(): Promise<number>; - -16. åºŸå¼ƒæŽ¥å£ MetadataObject ä¸ getBoundingBox(callback: AsyncCallback<Rect>): void; - -17. åºŸå¼ƒæŽ¥å£ MetadataObject ä¸ getBoundingBox(): Promise<Rect>; - -18. 废弃枚举 MetadataOutputErrorCode 以åŠæ‰€æœ‰å®ƒé‡Œè¾¹çš„枚举值(ERROR_UNKNOWN = -1,ERROR_INSUFFICIENT_RESOURCES = 0); - -19. åºŸå¼ƒæŽ¥å£ MetadataOutputError 以åŠæŽ¥å£å±žæ€§ code:MetadataOutputErrorCode; - -**接å£å˜æ›´** - -1. camera 模å—ä¸æŽ¥å£ getCameraManager 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getCameraManager(context: Context, callback: AsyncCallback<CameraManager>): void; ä»¥åŠ getCameraManager(context: Context): Promise<CameraManager>; å˜æ›´ä¸º getCameraManager(context: Context): CameraManager; - - å‚考代ç 如下: - - ``` - let cameraManager = camera.getCameraManager(context); - ``` - -2. CameraManager ä¸æŽ¥å£ getSupportedCameras 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getSupportedCameras(callback: AsyncCallback<Array<CameraDevice>>): void; ä»¥åŠ getSupportedCameras(): Promise<Array<CameraDevice>>; å˜æ›´ä¸º getSupportedCameras(): Array<CameraDevice>; - - å‚考代ç 如下: - - ``` - let cameras = cameraManager.getSupportedCameras(); - ``` - -3. CameraManager ä¸æŽ¥å£ getSupportedOutputCapability 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback<CameraOutputCapability>): void; ä»¥åŠ getSupportedOutputCapability(camera: CameraDevice): Promise<CameraOutputCapability>; å˜æ›´ä¸º getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability; - - å‚考代ç 如下: - - ``` - let cameraDevice = cameras[0]; - let CameraOutputCapability = cameraManager.getSupportedOutputCapability(cameraDevice); - ``` - -4. CameraManager ä¸æŽ¥å£ createCameraInput(camera: CameraDevice) 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ createCameraInput(camera: CameraDevice, callback: AsyncCallback<CameraInput>): void; ä»¥åŠ createCameraInput(camera: CameraDevice): Promise<CameraInput>; å˜æ›´ä¸º createCameraInput(camera: CameraDevice): CameraInput; - - å‚考代ç 如下: - - ``` - let cameraDevice = cameras[0]; - let cameraInput = cameraManager.createCameraInput(cameraDevice); - ``` - -5. CameraManager ä¸æŽ¥å£ createCameraInput(position: CameraPosition, type: CameraType) 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ createCameraInput(position: CameraPosition, type: CameraType, callback: AsyncCallback<CameraInput>): void; ä»¥åŠ createCameraInput(position: CameraPosition, type: CameraType): Promise<CameraInput>; å˜æ›´ä¸º createCameraInput(position: CameraPosition, type: CameraType): CameraInput; - - å‚考代ç 如下: - - ``` - let cameraDevice = cameras[0]; - let position = cameraDevice.cameraPosition; - let type = cameraDevice.cameraType; - let cameraInput = cameraManager.createCameraInput(position, type); - ``` - -6. CameraManager ä¸æŽ¥å£ createPreviewOutput 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<PreviewOutput>): void; ä»¥åŠ createPreviewOutput(profile: Profile, surfaceId: string): Promise<PreviewOutput>; å˜æ›´ä¸º createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput; - - å‚考代ç 如下: - - ``` - let profile = cameraoutputcapability.previewProfiles[0]; - let previewOutput = cameraManager.createPreviewOutput(profile, surfaceId); - ``` - -7. CameraManager ä¸æŽ¥å£ createPhotoOutput 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback<PhotoOutput>): void; ä»¥åŠ createPhotoOutput(profile: Profile, surfaceId: string): Promise<PhotoOutput>; å˜æ›´ä¸º createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput; - - å‚考代ç 如下: - - ``` - let profile = cameraoutputcapability.photoProfiles[0]; - let photoOutput = cameraManager.createPhotoOutput(profile, surfaceId); - ``` - -8. CameraManager ä¸æŽ¥å£ createVideoOutput 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback<VideoOutput>): void; ä»¥åŠ createVideoOutput(profile: VideoProfile, surfaceId: string): Promise<VideoOutput>; å˜æ›´ä¸º createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput; - - å‚考代ç 如下: - - ``` - let profile = cameraoutputcapability.videoProfiles[0]; - let videoOutput = cameraManager.createVideoOutput(profile, surfaceId); - ``` - -9. CameraManager ä¸æŽ¥å£ createMetadataOutput 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>, callback: AsyncCallback<MetadataOutput>): void; ä»¥åŠ createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): Promise<MetadataOutput>; å˜æ›´ä¸º createMetadataOutput(metadataObjectTypes: Array<MetadataObjectType>): MetadataOutput; - - å‚考代ç 如下: - - ``` - let metadataObjectTypes = cameraoutputcapability.supportedMetadataObjectTypes; - let metadataOutput = cameraManager.createMetadataOutput(metadataObjectTypes); - ``` - -10. CameraManager ä¸æŽ¥å£ createCaptureSession 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ createCaptureSession(callback: AsyncCallback<CaptureSession>): void; ä»¥åŠ createCaptureSession(): Promise<CaptureSession>; å˜æ›´ä¸º createCaptureSession(): CaptureSession; - - å‚考代ç 如下: - - ``` - let captureSession = cameraManager.createCaptureSession(); - ``` - -11. 枚举 CameraType ä¸ï¼Œæžšä¸¾å€¼å称 CAMERA_TYPE_UNSPECIFIED å˜æ›´ä¸º CAMERA_TYPE_DEFAULT。 - -12. CameraInput ä¸ï¼Œon 接å£è¿”回值类型由 CameraInputError å˜æ›´ä¸º BusinessErrorï¼Œå› æ¤æ—§æŽ¥å£ on(type: 'error', camera: CameraDevice, callback: ErrorCallback<CameraInputError>): void; å˜æ›´ä¸º on(type: 'error', camera: CameraDevice, callback: ErrorCallback<BusinessError>): void; - - å‚考代ç 如下: - - ``` - let cameraDevice = cameras[0]; - cameraInput.on('error', cameraDevice, (BusinessError) => { - - }) - ``` - -13. CaptureSession ä¸æŽ¥å£ beginConfig 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ beginConfig(callback: AsyncCallback<void>): void; ä»¥åŠ beginConfig(): Promise<void>; å˜æ›´ä¸º beginConfig(): void; - - å‚考代ç 如下: - - ``` - captureSession.beginConfig(); - ``` - -14. CaptureSession ä¸æŽ¥å£ addInput 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ addInput(cameraInput: CameraInput, callback: AsyncCallback<void>): void; ä»¥åŠ addInput(cameraInput: CameraInput): Promise<void>; å˜æ›´ä¸º addInput(cameraInput: CameraInput): void; - - å‚考代ç 如下: - - ``` - captureSession.addInput(cameraInput); - ``` - -15. CaptureSession ä¸æŽ¥å£ removeInput 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ removeInput(cameraInput: CameraInput, callback: AsyncCallback<void>): void; ä»¥åŠ removeInput(cameraInput: CameraInput): Promise<void>; å˜æ›´ä¸º removeInput(cameraInput: CameraInput): void; - - å‚考代ç 如下: - - ``` - captureSession.removeInput(cameraInput); - ``` - -16. CaptureSession ä¸æŽ¥å£ addOutput 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ addOutput(cameraOutput: CameraOutput, callback: AsyncCallback<void>): void; ä»¥åŠ addOutput(cameraOutput: CameraOutput): Promise<void>; å˜æ›´ä¸º addOutput(cameraOutput: CameraOutput): void; - - å‚考代ç 如下: - - ``` - captureSession.addOutput(previewOutput); - ``` - -17. CaptureSession ä¸æŽ¥å£ removeOutput 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback<void>): void; ä»¥åŠ removeOutput(cameraOutput: CameraOutput): Promise<void>; å˜æ›´ä¸º removeOutput(cameraOutput: CameraOutput): void; - - å‚考代ç 如下: - - ``` - captureSession.removeOutput(previewOutput); - ``` - -18. CaptureSession ä¸æŽ¥å£ hasFlash 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ hasFlash(callback: AsyncCallback<boolean>): void; ä»¥åŠ hasFlash(): Promise<boolean>; å˜æ›´ä¸º hasFlash(): boolean; - - å‚考代ç 如下: - - ``` - let status = captureSession.hasFlash(); - ``` - -19. CaptureSession ä¸æŽ¥å£ isFlashModeSupported 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback<boolean>): void; ä»¥åŠ isFlashModeSupported(flashMode: FlashMode): Promise<boolean>; å˜æ›´ä¸º isFlashModeSupported(flashMode: FlashMode): boolean; - - å‚考代ç 如下: - - ``` - let status = captureSession.isFlashModeSupported(camera.FlashMode.FLASH_MODE_AUTO); - ``` - -20. CaptureSession ä¸æŽ¥å£ getFlashMode 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getFlashMode(callback: AsyncCallback<FlashMode>): void; ä»¥åŠ getFlashMode(): Promise<FlashMode>; å˜æ›´ä¸º getFlashMode(): FlashMode; - - å‚考代ç 如下: - - ``` - let flashMode = captureSession.getFlashMode(); - ``` - -21. CaptureSession ä¸æŽ¥å£ isExposureModeSupported 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback<boolean>): void; ä»¥åŠ isExposureModeSupported(aeMode: ExposureMode): Promise<boolean>; å˜æ›´ä¸º isExposureModeSupported(aeMode: ExposureMode): boolean; - - å‚考代ç 如下: - - ``` - let isSupported = captureSession.isExposureModeSupported(camera.ExposureMode.EXPOSURE_MODE_LOCKED); - ``` - -22. CaptureSession ä¸æŽ¥å£ getExposureMode 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getExposureMode(callback: AsyncCallback<ExposureMode>): void; ä»¥åŠ getExposureMode(): Promise<ExposureMode>; å˜æ›´ä¸º getExposureMode(): ExposureMode; - - å‚考代ç 如下: - - ``` - let exposureMode = captureSession.getExposureMode(); - ``` - -23. CaptureSession ä¸æŽ¥å£ setExposureMode 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ setExposureMode(aeMode: ExposureMode, callback: AsyncCallback<void>): void; ä»¥åŠ setExposureMode(aeMode: ExposureMode): Promise<void>; å˜æ›´ä¸º setExposureMode(aeMode: ExposureMode): void; - - å‚考代ç 如下: - - ``` - captureSession.setExposureMode(camera.ExposureMode.EXPOSURE_MODE_LOCKED); - ``` - -24. CaptureSession ä¸æŽ¥å£ getMeteringPoint 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getMeteringPoint(callback: AsyncCallback<Point>): void; ä»¥åŠ getMeteringPoint(): Promise<Point>; å˜æ›´ä¸º getMeteringPoint(): Point; - - å‚考代ç 如下: - - ``` - let exposurePoint = captureSession.getMeteringPoint(); - ``` - -25. CaptureSession ä¸æŽ¥å£ setMeteringPoint 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ setMeteringPoint(point: Point, callback: AsyncCallback<void>): void; ä»¥åŠ setMeteringPoint(point: Point): Promise<void>; å˜æ›´ä¸º setMeteringPoint(point: Point): void; - - å‚考代ç 如下: - - ``` - let Point2 = {x: 2, y: 2}; - captureSession.setMeteringPoint(Point2); - ``` - -26. CaptureSession ä¸æŽ¥å£ getExposureBiasRange 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getExposureBiasRange(callback: AsyncCallback<Array<number>>): void; ä»¥åŠ getExposureBiasRange(): Promise<Array<number>>; å˜æ›´ä¸º getExposureBiasRange(): Array<number>; - - å‚考代ç 如下: - - ``` - let biasRangeArray = captureSession.getExposureBiasRange(); - ``` - -27. CaptureSession ä¸æŽ¥å£ setExposureBias 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ setExposureBias(exposureBias: number, callback: AsyncCallback<void>): void; ä»¥åŠ setExposureBias(exposureBias: number): Promise<void>; å˜æ›´ä¸º setExposureBias(exposureBias: number): void; - - å‚考代ç 如下: - - ``` - let exposureBias = biasRangeArray[0]; - captureSession.setExposureBias(exposureBias); - ``` - -28. CaptureSession ä¸æŽ¥å£ getExposureValue 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getExposureValue(callback: AsyncCallback<number>): void; ä»¥åŠ getExposureValue(): Promise<number>; å˜æ›´ä¸º getExposureValue(): number; - - å‚考代ç 如下: - - ``` - let exposureValue = captureSession.getExposureValue(); - ``` - -29. CaptureSession ä¸æŽ¥å£ isFocusModeSupported 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback<boolean>): void; ä»¥åŠ isFocusModeSupported(afMode: FocusMode): Promise<boolean>; å˜æ›´ä¸º isFocusModeSupported(afMode: FocusMode): boolean; - - å‚考代ç 如下: - - ``` - let status = captureSession.isFocusModeSupported(camera.FocusMode.FOCUS_MODE_AUTO); - ``` - -30. CaptureSession ä¸æŽ¥å£ getFocusMode 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getFocusMode(callback: AsyncCallback<FocusMode>): void; ä»¥åŠ getFocusMode(): Promise<FocusMode>; å˜æ›´ä¸º getFocusMode(): FocusMode; - - å‚考代ç 如下: - - ``` - let afMode = captureSession.getFocusMode(); - ``` - -31. CaptureSession ä¸æŽ¥å£ setFocusMode 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ setFocusMode(afMode: FocusMode, callback: AsyncCallback<void>): void; ä»¥åŠ setFocusMode(afMode: FocusMode): Promise<void>; å˜æ›´ä¸º setFocusMode(afMode: FocusMode): void; - - å‚考代ç 如下: - - ``` - captureSession.setFocusMode(camera.FocusMode.FOCUS_MODE_AUTO); - ``` - -32. CaptureSession ä¸æŽ¥å£ setFocusPoint 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ setFocusPoint(point: Point, callback: AsyncCallback<void>): void; ä»¥åŠ setFocusPoint(point: Point): Promise<void>; å˜æ›´ä¸º setFocusPoint(point: Point): void; - - å‚考代ç 如下: - - ``` - let Point2 = {x: 2, y: 2}; - captureSession.setFocusPoint(Point2); - ``` - -33. CaptureSession ä¸æŽ¥å£ getFocusPoint 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getFocusPoint(callback: AsyncCallback<Point>): void; ä»¥åŠ getFocusPoint(): Promise<Point>; å˜æ›´ä¸º getFocusPoint(): Point; - - å‚考代ç 如下: - - ``` - let point = captureSession.getFocusPoint(); - ``` - -34. CaptureSession ä¸æŽ¥å£ getFocalLength 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getFocalLength(callback: AsyncCallback<number>): void; ä»¥åŠ getFocalLength(): Promise<number>; å˜æ›´ä¸º getFocalLength(): number; - - å‚考代ç 如下: - - ``` - let focalLength = captureSession.getFocalLength(); - ``` - -35. CaptureSession ä¸æŽ¥å£ getZoomRatioRange 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getZoomRatioRange(callback: AsyncCallback<Array<number>>): void; ä»¥åŠ getZoomRatioRange(): Promise<Array<number>>; å˜æ›´ä¸º getZoomRatioRange(): Array<number>; - - å‚考代ç 如下: - - ``` - let zoomRatioRange = captureSession.getZoomRatioRange(); - ``` - -36. CaptureSession ä¸æŽ¥å£ getZoomRatio 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getZoomRatio(callback: AsyncCallback<number>): void; ä»¥åŠ getZoomRatio(): Promise<number>; å˜æ›´ä¸º getZoomRatio(): number; - - å‚考代ç 如下: - - ``` - let zoomRatio = captureSession.getZoomRatio(); - ``` - -37. CaptureSession ä¸æŽ¥å£ setZoomRatio 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ setZoomRatio(zoomRatio: number, callback: AsyncCallback<void>): void; ä»¥åŠ setZoomRatio(zoomRatio: number): Promise<void>; å˜æ›´ä¸º setZoomRatio(zoomRatio: number): void; - - å‚考代ç 如下: - - ``` - let zoomRatio = zoomRatioRange[0]; - captureSession.setZoomRatio(zoomRatio); - ``` - -38. CaptureSession ä¸æŽ¥å£ isVideoStabilizationModeSupported 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback<boolean>): void; ä»¥åŠ isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise<boolean>; å˜æ›´ä¸º isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean; - - å‚考代ç 如下: - - ``` - let isSupported = captureSession.isVideoStabilizationModeSupported(camera.VideoStabilizationMode.OFF); - ``` - -39. CaptureSession ä¸æŽ¥å£ getActiveVideoStabilizationMode 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ getActiveVideoStabilizationMode(callback: AsyncCallback<VideoStabilizationMode>): void; ä»¥åŠ getActiveVideoStabilizationMode(): Promise<VideoStabilizationMode>; å˜æ›´ä¸º getActiveVideoStabilizationMode(): VideoStabilizationMode; - - å‚考代ç 如下: - - ``` - let vsMode = captureSession.getActiveVideoStabilizationMode(); - ``` - -40. CaptureSession ä¸æŽ¥å£ setVideoStabilizationMode 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback<void>): void; ä»¥åŠ setVideoStabilizationMode(mode: VideoStabilizationMode): Promise<void>; å˜æ›´ä¸º setVideoStabilizationMode(mode: VideoStabilizationMode): void; - - å‚考代ç 如下: - - ``` - captureSession.setVideoStabilizationMode(camera.VideoStabilizationMode.OFF); - ``` - -41. CaptureSession ä¸ï¼Œon(type: 'error') callback 类型由 ErrorCallback<CaptureSessionError> å˜æ›´ä¸º ErrorCallback<BusinessError>ï¼Œå› æ¤æ—§æŽ¥å£ on(type: 'error', callback: ErrorCallback<CaptureSessionError>): void; å˜æ›´ä¸º on(type: 'error', callback: ErrorCallback<BusinessError>): void; - - å‚考代ç 如下: - - ``` - captureSession.on('error', (BusinessError) => { - - }) - ``` - -42. PreviewOutput ä¸ï¼Œon(type: 'error') callback 类型由 ErrorCallback<PreviewOutputError> å˜æ›´ä¸º ErrorCallback<BusinessError>ï¼Œå› æ¤æ—§æŽ¥å£ on(type: 'error', callback: ErrorCallback<PreviewOutputError>): void; å˜æ›´ä¸º on(type: 'error', callback: ErrorCallback<BusinessError>): void; - - å‚考代ç 如下: - - ``` - previewOutput.on('error', (BusinessError) => { - - }) - ``` - -43. PhotoOutput ä¸æŽ¥å£ isMirrorSupported 返回方å¼ç”±å¼‚æ¥ callback è·Ÿå¼‚æ¥ promise å˜æ›´ä¸ºåŒæ¥è¿”å›žï¼Œå› æ¤æ—§æŽ¥å£ isMirrorSupported(callback: AsyncCallback<boolean>): void; ä»¥åŠ isMirrorSupported(): Promise<boolean>; å˜æ›´ä¸º isMirrorSupported(): boolean; - - å‚考代ç 如下: - - ``` - let isSupported = photoOutput.isMirrorSupported(); - ``` - -44. PhotoOutput ä¸ï¼Œon(type: 'error') callback 类型由 ErrorCallback<PhotoOutputError> å˜æ›´ä¸º ErrorCallback<BusinessError>ï¼Œå› æ¤æ—§æŽ¥å£ on(type: 'error', callback: ErrorCallback<PhotoOutputError>): void; å˜æ›´ä¸º on(type: 'error', callback: ErrorCallback<BusinessError>): void; - - å‚考代ç 如下: - - ``` - PhotoOutput.on('error', (BusinessError) => { - - }) - ``` - -45. VideoOutput ä¸ï¼Œon(type: 'error') callback 类型由 ErrorCallback<VideoOutputError> å˜æ›´ä¸º ErrorCallback<BusinessError>ï¼Œå› æ¤æ—§æŽ¥å£ on(type: 'error', callback: ErrorCallback<VideoOutputError>): void; å˜æ›´ä¸º on(type: 'error', callback: ErrorCallback<BusinessError>): void; - - å‚考代ç 如下: - - ``` - VideoOutput.on('error', (BusinessError) => { - - }) - ``` - -46. MetadataOutput ä¸ï¼Œon(type: 'error') callback 类型由 ErrorCallback<MetadataOutputError> å˜æ›´ä¸º ErrorCallback<BusinessError>ï¼Œå› æ¤æ—§æŽ¥å£ on(type: 'error', callback: ErrorCallback<MetadataOutputError>): void; å˜æ›´ä¸º on(type: 'error', callback: ErrorCallback<BusinessError>): void; - - å‚考代ç 如下: - - ``` - MetadataOutput.on('error', (BusinessError) => { - - }) - ``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-nfc.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-nfc.md deleted file mode 100644 index 506de8014aa3d4ea26c6a36c63e51eaa133e1499..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-nfc.md +++ /dev/null @@ -1,61 +0,0 @@ -# 公共通信å系统NFC JS APIå˜æ›´Changelog - -OpenHarmony 3.2.10.2(Mr)版本相较于OpenHarmony 3.2.beta4版本,分布å¼æ•°æ®ç®¡ç†å系统的APIå˜æ›´å¦‚下 - -## cl.nfc.1 接å£å˜æ›´ -NFC部分API6到API8部分JS接å£ä¸æ”¯æŒæŠ›å‡ºé”™è¯¯ç ,需è¦åˆ 除废弃,然åŽä½¿ç”¨æ–°çš„API9替æ¢ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“部分API6到API8部分JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| api/@ohos.nfc.cardEmulation.d.ts | cardEmulation | FeatureType | 废弃 | -| api/@ohos.nfc.cardEmulation.d.ts | cardEmulation | isSupported | 废弃 | -| api/@ohos.nfc.cardEmulation.d.ts | cardEmulation | hasHceCapability | 新增 | -| api/@ohos.nfc.controller.d.ts | nfcController | isNfcAvailable | 废弃 | -| api/@ohos.nfc.controller.d.ts | nfcController | openNfc | 废弃 | -| api/@ohos.nfc.controller.d.ts | nfcController | closeNfc | 废弃 | -| api/@ohos.nfc.controller.d.ts | nfcController | enableNfc | 新增 | -| api/@ohos.nfc.controller.d.ts | nfcController | disableNfc | 新增 | -| api/@ohos.nfc.tag.d.ts | tag | getNfcATag | 废弃 | -| api/@ohos.nfc.tag.d.ts | tag | getNfcBTag | 废弃 | -| api/@ohos.nfc.tag.d.ts | tag | getNfcFTag | 废弃 | -| api/@ohos.nfc.tag.d.ts | tag | getNfcVTag | 废弃 | -| api/@ohos.nfc.tag.d.ts | tag | getNfcA | 新增 | -| api/@ohos.nfc.tag.d.ts | tag | getNfcB | 新增 | -| api/@ohos.nfc.tag.d.ts | tag | getNfcF | 新增 | -| api/@ohos.nfc.tag.d.ts | tag | getNfcV | 新增 | -| api/tag/tagSession.d.ts | TagSession | getTagInfo | 废弃 | -| api/tag/tagSession.d.ts | TagSession | connectTag | 废弃 | -| api/tag/tagSession.d.ts | TagSession | reset | 废弃 | -| api/tag/tagSession.d.ts | TagSession | isTagConnected | 废弃 | -| api/tag/tagSession.d.ts | TagSession | setSendDataTimeout | 废弃 | -| api/tag/tagSession.d.ts | TagSession | getSendDataTimeout | 废弃 | -| api/tag/tagSession.d.ts | TagSession | sendData | 废弃 | -| api/tag/tagSession.d.ts | TagSession | getMaxSendLength | 废弃 | -| api/tag/tagSession.d.ts | TagSession | connect | 新增 | -| api/tag/tagSession.d.ts | TagSession | resetConnection | 新增 | -| api/tag/tagSession.d.ts | TagSession | isConnected | 新增 | -| api/tag/tagSession.d.ts | TagSession | setTimeout | 新增 | -| api/tag/tagSession.d.ts | TagSession | getTimeout | 新增 | -| api/tag/tagSession.d.ts | TagSession | transmit | 新增 | -| api/tag/tagSession.d.ts | TagSession | getMaxTransmitSize | 新增 | - -**适é…指导** - -查看APIå¼€å‘指å—: -[cardEmulation-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md) - -[nfcController-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-nfcController.md) - -[tag-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-nfcTag.md) - -[TagSession-APIå‚考](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-tagSession.md) -``` - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelog-resourceschedule.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelog-resourceschedule.md deleted file mode 100644 index 1a0c485de96caf24e85e9d0e3675113a0d700434..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelog-resourceschedule.md +++ /dev/null @@ -1,111 +0,0 @@ -# 资æºè°ƒåº¦å系统ChangeLog - -## cl.resourceschedule.backgroundTaskManager -对资æºè°ƒåº¦å系统backgroundTaskManager仓原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰@ohos.backgroundTaskManager.d.tsä¸çš„API9接å£åˆ 除,需è¦ä½¿ç”¨@ohos.resourceschedule.backgroundTaskManager.d.tsä¸çš„API9新接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.10.5åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ã€‚@ohos.backgroundTaskManager.d.ts文件ä¸çš„接å£ç§»æ¤åˆ°@ohos.resourceschedule.backgroundTaskManager.d.ts文件。 - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | 说明 | -| -- | -- | -- | -- | -| backgroundTaskManager | method | function resetAllEfficiencyResources(): void; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function applyEfficiencyResources(request: EfficiencyResourcesRequest): bool; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts,修改为function applyEfficiencyResources(request: EfficiencyResourcesRequest): void; | -| backgroundTaskManager.ResourceType | enum | export enum ResourceType | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | CPU = 1 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | COMMON_EVENT = 1 << 1 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | TIMER = 1 << 2 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | WORK_SCHEDULER = 1 << 3 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | BLUETOOTH = 1 << 4 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | GPS = 1 << 5 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | AUDIO = 1 << 6 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | interface | export interface EfficiencyResourcesRequest | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | reason: string | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | isProcess?: bool | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | isPersist?: bool | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | timeOut: number | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | isApply: bool | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | resourceTypes: number | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | - - -**适é…指导**<br> - -导入backgroundTaskManager模å—。 -``` -import bundle form '@ohos.resourceschedule.backgroundTaskManager' -``` -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[backgroundTaskManager接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md)。 - -## c2.resourceschedule.workScheduler -对资æºè°ƒåº¦å系统workScheduler仓原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰@ohos.workScheduler.d.tsä¸çš„API9接å£åˆ 除,需è¦ä½¿ç”¨@ohos.resourceschedule.workScheduler.d.tsä¸çš„API9新接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.10.5åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ã€‚åˆ é™¤@ohos.workScheduler.d.ts文件,相关接å£å˜æ›´è‡³@ohos.resourceschedule.workScheduler.d.ts文件ä¸ã€‚ - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| workScheduler | namespace | declare namespace workScheduler | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | interface | export interface WorkInfo | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | parameters?: {[key: string]: any} | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | idleWaitTime?: number | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | isDeepIdle?: boolean | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | repeatCount?: number | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | isRepeat?: boolean | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | repeatCycleTime?: number | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | storageRequest?: StorageRequest | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | batteryStatus?: BatteryStatus | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | batteryLevel?: number | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | chargerType?: ChargingType | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | isCharging?: boolean | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | networkType?: NetworkType | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | isPersisted?: boolean | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | abilityName: string | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | bundleName: string | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | workId: number | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function isLastWorkTimeOut(workId: number): Promise; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function isLastWorkTimeOut(workId: number, callback: AsyncCallback<void>): boolean; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function stopAndClearWorks(): boolean; | 接å£API8å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function stopAndClearWorks(): boolean; | -| workScheduler | method | function obtainAllWorks(): Promise<Array<WorkInfo>>; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function obtainAllWorks(callback: AsyncCallback<void>): Array<WorkInfo>; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function getWorkStatus(workId: number): Promise<WorkInfo>; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function getWorkStatus(workId: number, callback: AsyncCallback<WorkInfo>): void; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function stopWork(work: WorkInfo, needCancel?: boolean): boolean; | 接å£API8å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function stopWork(work: WorkInfo, needCancel?: boolean): void; | -| workScheduler | method | function startWork(work: WorkInfo): boolean; | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function startWork(work: WorkInfo): void; | -| workScheduler.NetworkType | enum | export enum NetworkType | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_ANY = 0 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_MOBILE | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_WIFI | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_BLUETOOTH | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_WIFI_P2P | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_ETHERNET | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | export enum ChargingType | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_ANY = 0 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_AC | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_USB | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_WIRELESS | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | export enum BatteryStatus | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_LOW = 0 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_OKAY | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_LOW_OR_OKAY | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.StorageRequest | enum | export enum StorageRequest | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_LOW = 0 | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_OKAY | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_LOW_OR_OKAY | 接å£API9åˆ é™¤ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | - - -**适é…指导**<br> - -导入workScheduler模å—。 -``` -import bundle form '@ohos.resourceschedule.workScheduler' -``` -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[workScheduler接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md)。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md deleted file mode 100644 index 52c24e47eaedad02b86e5e90ef3e9df8acb3b28c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md +++ /dev/null @@ -1,215 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 状æ€å˜é‡æ•°æ®ç±»åž‹å£°æ˜Žä½¿ç”¨é™åˆ¶ã€‚ - -1. 所有的状æ€è£…饰器å˜é‡éœ€è¦æ˜¾å¼å£°æ˜Žå˜é‡ç±»åž‹ï¼Œä¸å…许声明any,ä¸æ”¯æŒDateæ•°æ®ç±»åž‹ã€‚ - - 示例: - - ```ts - // xxx.ets - @Entry - @Component - struct DatePickerExample { - // 错误写法: @State isLunar: any = false - @State isLunar: boolean = false - // 错误写法: @State selectedDate: Date = new Date('2021-08-08') - private selectedDate: Date = new Date('2021-08-08') - - build() { - Column() { - Button('切æ¢å…¬åŽ†å†œåŽ†') - .margin({ top: 30 }) - .onClick(() => { - this.isLunar = !this.isLunar - }) - DatePicker({ - start: new Date('1970-1-1'), - end: new Date('2100-1-1'), - selected: this.selectedDate - }) - .lunar(this.isLunar) - .onChange((value: DatePickerResult) => { - this.selectedDate.setFullYear(value.year, value.month, value.day) - console.info('select current date is: ' + JSON.stringify(value)) - }) - - }.width('100%') - } - } - ``` - - ![datePicker](../../../application-dev/reference/arkui-ts/figures/datePicker.gif) - -2. @Stateã€@Provide〠@Linkå’Œ@Consumeå››ç§çŠ¶æ€å˜é‡çš„æ•°æ®ç±»åž‹å£°æ˜Žåªèƒ½ç”±ç®€å•æ•°æ®ç±»åž‹æˆ–引用数æ®ç±»åž‹çš„å…¶ä¸ä¸€ç§æž„æˆã€‚ - - 类型定义ä¸çš„Lengthã€ResourceStrã€ResourceColor三个类型是简å•æ•°æ®ç±»åž‹æˆ–引用数æ®ç±»åž‹çš„组åˆï¼Œæ‰€ä»¥ä¸èƒ½è¢«ä»¥ä¸Šå››ç§çŠ¶æ€è£…饰器å˜é‡ä½¿ç”¨ã€‚ - Lengthã€ResourceStrã€ResourceColor的定义请看文档[arkui-ts类型定义](../../../application-dev/reference/arkui-ts/ts-types.md)。 - - 示例: - - ```ts - // xxx.ets - @Entry - @Component - struct IndexPage { - // 错误写法: @State message: string | Resource = 'Hello World' - @State message: string = 'Hello World' - // 错误写法: @State message: ResourceStr = $r('app.string.hello') - @State resourceStr: Resource = $r('app.string.hello') - - build() { - Row() { - Column() { - Text(`${this.message}`) - .fontSize(50) - .fontWeight(FontWeight.Bold) - } - .width('100%') - } - .height('100%') - } - } - ``` - - ![hello](../../../application-dev/quick-start/figures/hello.PNG) - -**å˜æ›´å½±å“** - -1. 如果状æ€è£…饰器å˜é‡æ²¡æœ‰æ˜¾å¼å£°æ˜Žå˜é‡ç±»åž‹ï¼Œå£°æ˜Žany,编译拦截报错; - ```ts - // ArkTS:ERROR Please define an explicit type, not any. - @State isLunar: any = false - ``` -2. 状æ€è£…饰器å˜é‡å£°æ˜Žå˜é‡ç±»åž‹ä¸ºDate,编译拦截报错; - ```ts - // ArkTS:ERROR The @State property 'selectedDate' cannot be a 'Date' object. - @State selectedDate: Date = new Date('2021-08-08') - ``` -3. @Stateã€@Provide〠@Linkå’Œ@Consumeå››ç§çŠ¶æ€å˜é‡ä½¿ç”¨æ¡†æž¶æ供的Lengthã€ResourceStrã€ResourceColor, - 编译拦截报错。 - ```ts - /* ArkTS:ERROR The state variable type here is 'ResourceStr', it contains both a simple type and an object type, - which are not allowed to be defined for state variable of a struct.*/ - @State message: ResourceStr = $r('app.string.hello') - ``` - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -1. 状æ€è£…饰器å˜é‡å£°æ˜Žå…·ä½“çš„å˜é‡ç±»åž‹æ›¿ä»£any; -2. 使用Date对象的状æ€è£…饰器å˜é‡ï¼Œä¿®æ”¹ä¸ºä¸åŠ 状æ€è£…饰器修饰的常规å˜é‡ï¼› -3. å› ä¸ºLength(string|number|Resource), ResourceStr(string|Resource), ResourceColor(string|number|Color|Resource) - 的三个类型是简å•æ•°æ®ç±»åž‹æˆ–引用数æ®ç±»åž‹çš„组åˆï¼Œä½¿ç”¨@Stateã€@Provide〠@Linkå’Œ@Consumeå››ç§çŠ¶æ€å˜é‡åœºæ™¯å‚考以下修改: - ```ts - // 错误写法: - @State message: ResourceStr = $r('app.string.hello') - // ä¿®æ£åŽçš„写法: - @State resourceStr: Resource = $r('app.string.hello') - ``` - -## cl.arkui.2 自定义组件æˆå‘˜å˜é‡åˆå§‹åŒ–的规则与约æŸã€‚ - -é€šè¿‡æž„é€ å‡½æ•°æ–¹æ³•åˆå§‹åŒ–æˆå‘˜å˜é‡ï¼Œéœ€è¦éµå¾ªå¦‚下规则: - -| **从父组件ä¸çš„å˜é‡(å³)到å组件ä¸çš„å˜é‡(下)** | **regular** | **@State** | **@Link** | **@Prop** | **@Provide** | **@Consume** | **@ObjectLink** | -| -------------------------- | ----------- | ---------- | --------- | --------- | ------------ | ------------ | --------------- | -| **regular** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | æ”¯æŒ | -| **@State** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Link** | ä¸æ”¯æŒ | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | -| **@Prop** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Provide** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Consume** | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | -| **@ObjectLink** | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | - -| **从父组件ä¸çš„å˜é‡(å³)到å组件ä¸çš„å˜é‡(下)** | **@StorageLink** | **@StorageProp** | **@LocalStorageLink** | **@LocalStorageProp** | -| -------------------------- | ---------------- | ---------------- | --------------------- | --------------------- | -| **regular** | æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | -| **@State** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Link** | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | -| **@Prop** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Provide** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Consume** | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | -| **@ObjectLink** | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | - -> **说明** -> -> **支æŒ(1)**:必须使用`$`, 例如 `this.$varA`。 -> **regular**ï¼šæœªåŠ ä¿®é¥°çš„å¸¸è§„å˜é‡ã€‚ - -ä¸å…许从父组件åˆå§‹åŒ–`@StorageLink`, `@StorageProp`, `@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ã€‚ - -**å˜æ›´å½±å“** - -1. ä¸å…许从父组件åˆå§‹åŒ–`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ã€‚ - ```ts - @Entry - @Component - struct LocalStorageComponent { - build() { - Column() { - Child({ - /* ArkTS:ERROR Property 'simpleVarName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - simpleVarName: 1, - /* ArkTS:ERROR Property 'objectName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - objectName: new ClassA("x") - }) - } - } - } - @Component - struct Child { - @LocalStorageLink("storageSimpleProp") simpleVarName: number = 0; - @LocalStorageProp("storageObjectProp") objectName: ClassA = new ClassA("x"); - build() {} - } - ``` -2. å组件的@ObjectLinkå˜é‡ä¸æ”¯æŒçˆ¶ç»„件装饰器å˜é‡çš„直接赋值,其父组件的æºå¿…须是数组的项或对象的属性,该数组或对象必现用`@State`ã€`@Link`ã€`@Provide`ã€`@Consume`或`@ObjectLink`装饰器修饰。 - ```ts - let NextID : number = 0; - - @Observed class ClassA { - public id : number; - public c: number; - constructor(c: number) { - this.id = NextID++; - this.c = c; - } - } - - @Component - struct Child { - @ObjectLink varA : ClassA; - build() { - Row() { - Text('ViewA-' + this.varA.id) - } - } - } - - @Component - struct Parent { - @Link linkValue: ClassA - build() { - Column() { - /* ArkTS:ERROR The @Link property 'linkValue' cannot be assigned to - the @ObjectLink property 'varA'.*/ - Child({ varA: this.linkValue }) - } - } - } - ``` - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** -1. æž„é€ å组件时,ä¸å¯¹å组件的`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡è¿›è¡Œã€‚ - 如果需è¦åœ¨çˆ¶ç»„件ä¸ä¿®æ”¹å组件的`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ï¼Œåˆ™ä½¿ç”¨LocalStorageæ供的API接å£æ–¹æ³•(比如set方法)赋值。 -2. @ObjectLink的使用指导请å‚考文档[@ObjectLink使用指导](../../../application-dev/quick-start/arkts-observed-and-objectlink.md)。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md deleted file mode 100644 index 5476037708ccb1c1e50e19a8caa105176797447e..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md +++ /dev/null @@ -1,94 +0,0 @@ -# 包管ç†å系统ChangeLog - -## cl.bundlemanager.1 底层能力å˜æ›´ï¼Œå®‰è£…åº”ç”¨æ—¶å¢žåŠ ç¾åè¯ä¹¦ä¸bundle-nameçš„æ ¡éªŒï¼Œéœ€è¦ä¸Žåº”用的bundleName相åŒï¼Œå¦åˆ™ä¼šå®‰è£…失败。 - -å®‰è£…åº”ç”¨æ—¶å¢žåŠ äº†å¯¹[ç¾åè¯ä¹¦profile文件](../../../application-dev/security/app-provision-structure.md)ä¸bundle-nameå—æ®µçš„æ ¡éªŒï¼Œè¯¥å—段内容需è¦é…置为对应应用的bundleName。 - -如果bundle-name的内容与应用é…置文件ä¸çš„bundleNameä¸ä¸€è‡´ï¼Œä¼šå‡ºçŽ°å®‰è£…失败。具体报错为: -``` -error: verify signature failed. -``` - -**å˜æ›´å½±å“**<br> -对之å‰çš„版本镜åƒæ— å½±å“,对使用3.2.10.5版本åŠä¹‹åŽçš„系统镜åƒï¼Œå¦‚果未修改ç¾åè¯ä¹¦ä¸çš„bundle-nameå—段,会出现应用安装失败问题。 - -**关键的接å£/组件å˜æ›´**<br> -ä¸æ¶‰åŠæŽ¥å£åŠç»„件å˜æ›´ - -**适é…指导**<br> -原有应用在新的系统镜åƒä¸Šå‡ºçŽ°'error: verify signature failed',å¯ä»¥ä¿®æ”¹ç¾åè¯ä¹¦profile文件ä¸çš„bundle-name为对应应用的bundleName,生æˆæ–°çš„ç¾åè¯ä¹¦ï¼ˆåŽç¼€ä¸º.p7b),é‡æ–°ç»™åº”用ç¾åå³å¯ã€‚ -ç¾å工具åŠç¾åè¯ä¹¦çš„生æˆæ–¹å¼å¯ä»¥å‚考:[ç¾å工具指导](../../../application-dev/security/hapsigntool-guidelines.md) - -## cl.bundlemanager.2 底层能力å˜æ›´ï¼Œå¢žåŠ å¯¹æ— å›¾æ ‡åº”ç”¨çš„ç®¡æŽ§ï¼Œå¦‚æžœåº”ç”¨æœªé…置入å£å›¾æ ‡ï¼Œåˆ™ä¼šåœ¨æ¡Œé¢ä¸Šæ˜¾ç¤ºä¸€ä¸ªé»˜è®¤å›¾æ ‡ï¼Œç‚¹å‡»åŽè·³è½¬è‡³åº”用详情页。 - -å¢žåŠ å¯¹æ— å›¾æ ‡åº”ç”¨çš„ç®¡æŽ§ï¼Œå¦‚æžœåº”ç”¨æœªé…置入å£å›¾æ ‡ä¸”未申请éšè—å›¾æ ‡ç‰¹æƒ(AllowHideDesktopIcon),则会在桌é¢ä¸Šæ˜¾ç¤ºä¸€ä¸ªé»˜è®¤å›¾æ ‡ï¼Œç‚¹å‡»åŽè·³è½¬è‡³åº”用详情页。æ¤å¤„的未é…置入å£å›¾æ ‡è§„则如下: -1. 应用ä¸æœªé…ç½®abilitieså—段 -2. 应用ä¸é…置了abilitieså—段,但是没有任何一个page类型的abilityä¸skills如下,å³åŒæ—¶åŒ…å«"ohos.want.action.home"å’Œ"entity.system.home": - ```json - "skills": [ - { - "actions": [ - "ohos.want.action.home" - ], - "entities": [ - "entity.system.home" - ] - } - ] - ``` -对于符åˆä¸Šé¢è§„则的应用,å‡å±žäºŽæ— å›¾æ ‡åº”ç”¨ï¼Œé€šè¿‡hdc_std install 或者 bm installçš„æ–¹å¼å®‰è£…,å‡ä¼šåœ¨æ¡Œé¢ä¸Šæ˜¾ç¤ºä¸€ä¸ªé»˜è®¤å›¾æ ‡ã€‚ - -如果应用ä¸éœ€è¦å†æ¡Œé¢æ˜¾ç¤ºå›¾æ ‡ï¼Œéœ€è¦ç”³è¯·ç›¸åº”çš„éšè—å›¾æ ‡ç‰¹æƒAllowHideDesktopIcon,并在ç¾åè¯ä¹¦æ–‡ä»¶ä¸æˆ–者白åå•(install_list_capability.json)é…置,å¯ä»¥å‚考:[应用特æƒé…置指å—](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。 - -如果应该需è¦åœ¨æ¡Œé¢æ˜¾ç¤ºå›¾æ ‡ï¼Œåˆ™éœ€è¦åœ¨abilitiesä¸é€‰æ‹©ä¸€ä¸ªabilityé…ç½®skills,åŒæ—¶åŒ…å«"ohos.want.action.home"å’Œ"entity.system.home"。 - -**å˜æ›´å½±å“**<br> -对之å‰çš„版本镜åƒæ— å½±å“,对使用3.2.10.5版本åŠä¹‹åŽçš„系统镜åƒï¼Œå¦‚果应用未é…ç½®å›¾æ ‡ï¼Œé€šè¿‡å‘½ä»¤è¡Œçš„å®‰è£…æ–¹å¼ä¼šåœ¨æ¡Œé¢æ˜¾ç¤ºé»˜è®¤å›¾æ ‡ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -ä¸æ¶‰åŠæŽ¥å£åŠç»„件å˜æ›´ - -**适é…指导**<br> -如果应用ä¸éœ€è¦å†æ¡Œé¢æ˜¾ç¤ºå›¾æ ‡ï¼Œéœ€è¦ç”³è¯·ç›¸åº”çš„éšè—å›¾æ ‡ç‰¹æƒAllowHideDesktopIcon,并在ç¾åè¯ä¹¦æ–‡ä»¶ä¸æˆ–者白åå•(install_list_capability.json)é…置,å¯ä»¥å‚考:[应用特æƒé…置指å—](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。 - -如果应该需è¦åœ¨æ¡Œé¢æ˜¾ç¤ºå›¾æ ‡ï¼Œåˆ™éœ€è¦åœ¨abilitiesä¸é€‰æ‹©ä¸€ä¸ªabilityé…ç½®skills,åŒæ—¶åŒ…å«"ohos.want.action.home"å’Œ"entity.system.home"。 - -## cl.bundlemanager.3 底层能力å˜æ›´ï¼Œç‰¹æƒAllowAppUsePrivilegeExtensionã€AllowAppMultiProcesså’ŒAllowFormVisibleNotifyä¸æ”¯æŒé€šè¿‡ç¾åè¯ä¹¦é…置,仅支æŒé€šè¿‡ç™½åå•install_list_capability.json申请这三个特æƒã€‚ - -特æƒAllowAppUsePrivilegeExtensionã€AllowAppMultiProcesså’ŒAllowFormVisibleNotifyä¸æ”¯æŒé€šè¿‡ç¾åè¯ä¹¦é…置,仅支æŒé€šè¿‡ç™½åå•install_list_capability.json申请这三个特æƒã€‚对于在ç¾åè¯ä¹¦ä¸ç”³è¯·ä½¿ç”¨ä¸Šé¢ä¸‰ä¸ªç‰¹æƒçš„应用,在新版本上å¯èƒ½å‡ºçŽ°å®‰è£…失败或者é…置特æƒæ— 效的问题。 - -如果出现了下é¢çš„报错,å¯èƒ½æ˜¯å› 为特æƒæ•´æ”¹å¯¼è‡´çš„,应用需è¦é€‚é…新的规则,å¯ä»¥å‚考:[应用特æƒé…置指å—](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。 -``` -error: install parse profile prop check error. -``` - -对于xts或者本地调试的demoï¼Œæ— æ³•ä¿®æ”¹æ¿å上install_list_capability.json的,å¯ä»¥ä¿®æ”¹åº”用的bundleName,需è¦ä»¥"com.acts."为开头,åŒæ—¶åœ¨ç¾åè¯ä¹¦ä¸ç”³è¯·å¯¹åº”的特æƒã€‚ - -申请特æƒAllowAppUsePrivilegeExtension,通常是在应用的é…置文件ä¸ä½¿ç”¨äº†extensionAbilitieså—段,且其ä¸çš„type属性为dataShare或者service。如果未é…置特æƒï¼Œå°±ä¼šå‡ºçŽ°å®‰è£…失败问题。 - -**å˜æ›´å½±å“**<br> -对之å‰çš„版本镜åƒæ— å½±å“,对使用3.2.10.5版本åŠä¹‹åŽçš„系统镜åƒï¼Œå¦‚果未在白åå•install_list_capability.jsonä¸ç”³è¯·æ‰€éœ€çš„特æƒï¼Œå¯èƒ½ä¼šå‡ºçŽ°åº”用安装失败问题。 - -**关键的接å£/组件å˜æ›´**<br> -ä¸æ¶‰åŠæŽ¥å£åŠç»„件å˜æ›´ - -**适é…指导**<br> -如果出现了下é¢çš„报错,å¯èƒ½æ˜¯å› 为特æƒæ•´æ”¹å¯¼è‡´çš„,应用需è¦é€‚é…新的规则,å¯ä»¥å‚考:[应用特æƒé…置指å—](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。 -``` -error: install parse profile prop check error. -``` - -对于xts或者本地调试的demoï¼Œæ— æ³•ä¿®æ”¹å¼€å‘æ¿ä¸Šinstall_list_capability.json的,å¯ä»¥ä¿®æ”¹åº”用的bundleName,需è¦ä»¥"com.acts."为开头,åŒæ—¶åœ¨ç¾åè¯ä¹¦ä¸ç”³è¯·å¯¹åº”的特æƒã€‚ - -## cl.bundlemanager.4 底层能力å˜æ›´ï¼Œå®‰è£…hap时,hapä¸çš„文件ä¸å†è§£åŽ‹åˆ°å®‰è£…目录。 - -安装hapåŽï¼Œå®‰è£…目录下åªä¼šå˜åœ¨hap文件,应用ä¸èƒ½å†ä½¿ç”¨æ‹¼æŽ¥è·¯å¾„访问解压åŽçš„资æºæ–‡ä»¶ï¼Œåº”用想è¦è®¿é—®èµ„æºæ–‡ä»¶ï¼Œéœ€è¦ä½¿ç”¨æ ‡å‡†çš„资æºç®¡ç†æŽ¥å£ã€‚ - -**å˜æ›´å½±å“**<br> -如果应用使用拼接路径的形å¼è®¿é—®èµ„æºæ–‡ä»¶ï¼Œä¼šè®¿é—®å¤±è´¥ã€‚需è¦ä¿®æ”¹æˆä½¿ç”¨èµ„æºç®¡ç†æŽ¥å£è®¿é—®èµ„æºæ–‡ä»¶ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -ä¸æ¶‰åŠæŽ¥å£åŠç»„件å˜æ›´ - -**适é…指导**<br> -资æºç®¡ç†å系统æä¾›Js接å£è®¿é—®èµ„æºæ–‡ä»¶ã€‚å‚考[访问资æºæ–‡ä»¶](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-resource-manager.md#getrawfilecontent9) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-filemanagement.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-filemanagement.md deleted file mode 100644 index 8f57e2fe8062184618f63d3351754894e07eaa5b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-filemanagement.md +++ /dev/null @@ -1,189 +0,0 @@ -# 文件管ç†å系统ChangeLog - -## cl.filemanagement.1 environment模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。environment模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现environment模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原environment使用的是@ohos.environment,以以下方å¼import: - -```js -import environment from '@ohos.environment'; -``` - -现environment使用的是@ohos.file.environment,以以下方å¼import: - -```js -import environment from '@ohos.file.environment'; -``` - -## cl.filemanagement.2 securityLabel模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。securityLabel模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现securityLabel模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原securityLabel使用的是@ohos.securityLabel,以以下方å¼import: - -```js -import securityLabel from '@ohos.securityLabel'; -``` - -现securityLabel使用的是@ohos.file.securityLabel,以以下方å¼import: - -```js -import securityLabel from '@ohos.file.securityLabel'; -``` - -## cl.filemanagement.3 fs模å—å˜æ›´ - -fs模å—下Stat接å£ino属性类型å˜æ›´ã€‚ - -**å˜æ›´å½±å“** - -fs模å—下Stat接å£ino属性类型å˜æ›´ï¼Œç”±numberå˜æ›´ä¸ºbigint,以适é…文件系统下所有类型文件的inode范围。 - -**关键接å£/组件å˜æ›´** - -原Stat接å£ino属性类型为number,现å˜æ›´ä¸ºbigint。 - -## cl.filemanagement.4 fileAccess模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。fileAccess模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现fileAccess模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原fileAccess使用的是@ohos.data.fileAccess,以以下方å¼import: - -```js -import fileAccess from '@ohos.data.fileAccess'; -``` - -现fileAccess使用的是@ohos.file.fileAccess,以以下方å¼import: - -```js -import fileAccess from '@ohos.file.fileAccess'; -``` - -## cl.filemanagement.5 fileExtensionInfo模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原fileExtensionInfo使用的是@ohos.fileExtensionInfo,以以下方å¼import: - -```js -import fileExtensionInfo from '@ohos.fileExtensionInfo'; -``` - -现fileExtensionInfo使用的是@ohos.file.fileExtensionInfo,以以下方å¼import: - -```js -import fileExtensionInfo from '@ohos.file.fileExtensionInfo'; -``` - -## cl.filemanagement.6 storageStatistics模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现storageStatistics模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原storageStatistics使用的是@ohos.storageStatistics,以以下方å¼import: - -```js -import storageStatistics from '@ohos.storageStatistics'; -``` - -现storageStatistics使用的是@ohos.file.storageStatistics,以以下方å¼import: - -```js -import storageStatistics from '@ohos.file.storageStatistics'; -``` - -## cl.filemanagement.7 volumeManager模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现volumeManager模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原volumeManager使用的是@ohos.volumeManager,以以下方å¼import: - -```js -import volumeManager from '@ohos.volumeManager'; -``` - -现volumeManager使用的是@ohos.file.volumeManager,以以下方å¼import: - -```js -import volumeManager from '@ohos.file.volumeManager'; -``` - -## cl.filemanagement.8 fileio相关接å£å¼‚常处ç†æ–¹å¼å˜æ›´ - -file_api部件fileio接å£è¿”回值ä¸åŒ…å«é”™è¯¯ç error.code,现进行错误ç 整改,废弃原有相关接å£ï¼Œæ–°å¢žç›¸å…³æŽ¥å£ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„废弃接å£çš„è¿ä»£æ›´æ–°ã€‚新接å£åœ¨æŽ¥å£è§„æ ¼ä¸Šè¿›è¡Œäº†å¾®è°ƒï¼Œéœ€æ³¨æ„新接å£ä½¿ç”¨æ–¹æ³•ã€‚ - -**关键接å£/组件å˜æ›´** - -为适é…统一的API异常处ç†æ–¹å¼ï¼Œå¯¹fileio相关接å£è¿›è¡ŒåºŸå¼ƒï¼Œå¹¶æ–°å¢žå¯¹åº”接å£ï¼ŒåŽŸæŽ¥å£ä½äºŽ@ohos.fileio,新接å£ä½äºŽ@ohos.file.fs。新增接å£æ”¯æŒç»Ÿä¸€çš„错误ç 异常处ç†è§„范,功能上与原接å£ä¿æŒä¸€è‡´ï¼Œå‚æ•°ä¸Šæœ‰å¾®è°ƒï¼Œä»¥ä¸‹ä¸ºè§„æ ¼è°ƒæ•´çš„æŽ¥å£åˆ—表。 -废弃与新增方法åŒå,请在列表ä¸å¯¹åº”查看。 - -| 模å—å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------------------------------------------------ | -------- | -| @ohos.fileio | **function** access(path: string, mode?: number, callback?: AsyncCallback\<void>): void \| Promise\<void> | 废弃 | -| @ohos.fileio | **function** accessSync(path: string, mode?: number): void | 废弃 | -| @ohos.file.fs | **function** access(path: string, callback?: AsyncCallback\<boolean>): void \| Promise\<boolean> | 新增 | -| @ohos.file.fs | **function** accessSync(path: string): boolean | 新增 | -| @ohos.fileio | **function** close(fd: number, callback?: AsyncCallback\<void>): void \| Promise\<void> | 废弃 | -| @ohos.fileio | **function** closeSync(fd: number): void | 废弃 | -| @ohos.file.fs | **function** close(file: File \| number, callback?: AsyncCallback\<void>): void \| Promise\<void> | 新增 | -| @ohos.file.fs | **function** closeSync(file: File \| number): void | 新增 | -| @ohos.fileio | **function** mkdir(path: string, mode?: number, callback?: AsyncCallback\<void>): void \| Promise\<void> | 废弃 | -| @ohos.fileio | **function** mkdirSync(path: string, mode?: number): void | 废弃 | -| @ohos.file.fs | **function** mkdir(path: string, callback?: AsyncCallback\<void>): void \| Promise\<void> | 新增 | -| @ohos.file.fs | **function** mkdirSync(path: string): void | 新增 | -| @ohos.fileio | **function** readText(filePath: string, options?: { position?: number; length?: number; encoding?: string; }, callback?: AsyncCallback\<string>): void \| Promise\<string> | 废弃 | -| @ohos.fileio | **function** readTextSync(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): string | 废弃 | -| @ohos.file.fs | **function** readText(filePath: string, options?: { offset?: number; length?: number; encoding?: string; }, callback?: AsyncCallback\<string>): void \| Promise\<string> | 新增 | -| @ohos.file.fs | **function** readTextSync(filePath: string, options?: { offset?: number; length?: number; encoding?: string; }): string | 新增 | -| @ohos.fileio | **function** Stream.read(buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }, callback?: AsyncCallback\<ReadOut>): void \| Promise\<ReadOut> | 废弃 | -| @ohos.fileio | **function** Stream.readSync(buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): number | 废弃 | -| @ohos.file.fs | **function** Stream.read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }, callback?: AsyncCallback\<number>): void \| Promise\<number> | 新增 | -| @ohos.file.fs | **function** Stream.readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): number | 新增 | -| @ohos.fileio | **function** Stream.write(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }, callback?: AsyncCallback\<number>): void \| Promise\<void> | 废弃 | -| @ohos.fileio | **function** Stream.writeSync(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): number | 废弃 | -| @ohos.file.fs | **function** Stream.write(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; encoding?: string; }, callback?: AsyncCallback\<number>): void \| Promise\<void> | 新增 | -| @ohos.file.fs | **function** Stream.writeSync(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; encoding?: string; }): number | 新增 | - -**适é…指导** - -@ohos.file.fs新增统一的API异常处ç†æ–¹å¼ï¼Œå…·ä½“示例代ç 请å‚考[接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-file-fs.md)。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-inputmethod-framworks.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-inputmethod-framworks.md deleted file mode 100644 index ba3fbf1df4e369ec72a031df204a0cb6cbb7ff47..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-inputmethod-framworks.md +++ /dev/null @@ -1,30 +0,0 @@ -# 输入法框架changeLog - -## cl.inputmethod_frameworks.1 API文件åå˜æ›´ - -下列模å—ä¸ç¬¦åˆOpenHarmony接å£æ–‡ä»¶å命å规范。在API9进行å˜æ›´ã€‚ - - **å˜æ›´å½±å“** - - 修改åŽçš„SDK与先å‰å·²å‘布版本ä¸å…¼å®¹ï¼Œå½±å“在æ¤å‰ç‰ˆæœ¬å·²å¼€å‘的应用,应用需è¦è¿›è¡Œé€‚é…改动æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - - **关键的接å£/组件å˜æ›´** - -| æ¨¡å— | å˜æ›´å‰æ–‡ä»¶å | å˜æ›´åŽæ–‡ä»¶å | -|------|--------------|--------------| -| è¾“å…¥æ³•æ¡†æž¶æ¨¡å— | @ohos.inputmethod.d.ts |@ohos.inputMethod.d.ts | -| 输入法æœåŠ¡æ¨¡å— |@ohos.inputmethodengine.d.ts | @ohos.inputMethodEngine.d.ts | -| 输入法ExtentionAbilityæ¨¡å— | @ohos.inputmethodextensionability.d.ts | @ohos.InputMethodExtensionAbility.d.ts | -| 输入法ExtentionContextæ¨¡å— |@ohos.inputmethodextensioncontext.d.ts | @ohos.InputMethodExtensionContext.d.ts | -| 输入法åç±»åž‹æ¨¡å— | @ohos.inputMethodSubtype.d.ts | @ohos.InputMethodSubtype.d.ts | - - **适é…指导** - - 应用ä¸å¯¹è¾“入法框架d.ts文件的importåŽçš„文件åè¦å†™ä¸ºå˜æ›´åŽæ–‡ä»¶å,å³å°é©¼å³°/大驼峰命åæ ¼å¼ã€‚ - 如: - -```js -import inputMethodEngine from '@ohos.inputMethodEngine'; -``` - - \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geoLocationManager.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geoLocationManager.md deleted file mode 100644 index a509d856204ff61c962b99fef71642eafaab930b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geoLocationManager.md +++ /dev/null @@ -1,107 +0,0 @@ -# ä½ç½®æœåŠ¡å系统ChangeLog - -## cl.location.1 @ohos.geolocation.d.ts接å£è¿ç§»åˆ°æ–°å¢žçš„@ohos.geoLocationManager.d.ts - -@ohos.geolocation.d.ts接å£ä¸æ”¯æŒæŠ›å‡ºé”™è¯¯ç ,为了支æŒé”™è¯¯ç 功能,把@ohos.geolocation.d.tsä¸æ‰€æœ‰æŽ¥å£ï¼Œè¿ç§»åˆ°æ–°å¢žçš„@ohos.geoLocationManager.d.tsä¸ï¼Œå¹¶å¢žåŠ 错误ç æ述。 - -åŽç»éœ€è¦import @ohos.geoLocationManageræ‰èƒ½ä½¿ç”¨ä½ç½®æœåŠ¡çš„接å£ï¼š - -import geoLocationManager from '@ohos.geoLocationManager'; - - -**å˜æ›´å½±å“** - -对ä½ç½®æœåŠ¡æ‰€æœ‰æŽ¥å£çš„使用有影å“,需è¦import @ohos.geoLocationManageræ‰èƒ½ä½¿ç”¨ä½ç½®æœåŠ¡æŽ¥å£ï¼š - -import geoLocationManager from '@ohos.geoLocationManager'; - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|geolocation| method | function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function off(type: 'locationChange', callback?: Callback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function on(type: 'locationServiceState', callback: Callback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'locationServiceState'更改为type: 'locationEnabledChange' | -|geolocation| method | function off(type: 'locationServiceState', callback?: Callback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'locationServiceState'更改为type: 'locationEnabledChange' | -|geolocation| method | function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'cachedGnssLocationsReporting'更改为type: 'cachedGnssLocationsChange' | -|geolocation| method | function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'cachedGnssLocationsReporting'更改为type: 'cachedGnssLocationsChange' | -|geolocation| method | function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'gnssStatusChange'更改为type: 'satelliteStatusChange' | -|geolocation| method | function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'gnssStatusChange'更改为type: 'satelliteStatusChange' | -|geolocation| method | function on(type: 'nmeaMessageChange', callback: Callback<string>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'nmeaMessageChange'更改为type: 'nmeaMessage' | -|geolocation| method | function off(type: 'nmeaMessageChange', callback?: Callback<string>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'nmeaMessageChange'更改为type: 'nmeaMessage' | -|geolocation| method | function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'fenceStatusChange'更改为type: 'gnssFenceStatusChange' | -|geolocation| method | function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,type: 'fenceStatusChange'更改为type: 'gnssFenceStatusChange' | -|geolocation| method | function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getCurrentLocation(callback: AsyncCallback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getLastLocation(callback: AsyncCallback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function getLastLocation(): Location; | -|geolocation| method | function getLastLocation(): Promise<Location>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function getLastLocation(): Location; | -|geolocation| method | function isLocationEnabled(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function isLocationEnabled(): boolean; | -|geolocation| method | function isLocationEnabled(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function isLocationEnabled(): boolean; | -|geolocation| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | 接å£åˆ 除 | -|geolocation| method | function requestEnableLocation(): Promise<boolean>; | 接å£åˆ 除 | -|geolocation| method | function enableLocation(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function enableLocation(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function disableLocation(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function disableLocation(): void; | -|geolocation| method | function disableLocation(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function disableLocation(): void; | -|geolocation| method | function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function isGeocoderAvailable(): boolean; | -|geolocation| method | function isGeoServiceAvailable(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function isGeocoderAvailable(): boolean; | -|geolocation| method | function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getCachedGnssLocationsSize(): Promise<number>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function flushCachedGnssLocations(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function sendCommand(command: LocationCommand): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function enableLocationMock(callback: AsyncCallback<void>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function enableLocationMock(): void; | -|geolocation| method | function enableLocationMock(): Promise<void>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function enableLocationMock(): void; | -|geolocation| method | function disableLocationMock(callback: AsyncCallback<void>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function disableLocationMock(): void; | -|geolocation| method | function disableLocationMock(): Promise<void>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function disableLocationMock(): void; | -|geolocation| method | function setMockedLocations(config: LocationMockConfig, callback: AsyncCallback<void>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function setMockedLocations(config: LocationMockConfig): void; | -|geolocation| method | function setMockedLocations(config: LocationMockConfig): Promise<void>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function setMockedLocations(config: LocationMockConfig): void; | -|geolocation| method | function enableReverseGeocodingMock(callback: AsyncCallback<void>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function enableReverseGeocodingMock(): void; | -|geolocation| method | function enableReverseGeocodingMock(): Promise<void>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function enableReverseGeocodingMock(): void; | -|geolocation| method | function disableReverseGeocodingMock(callback: AsyncCallback<void>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function disableReverseGeocodingMock(): void; | -|geolocation| method | function disableReverseGeocodingMock(): Promise<void>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function disableReverseGeocodingMock(): void; | -|geolocation| method | function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>, callback: AsyncCallback<void>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>): void; | -|geolocation| method | function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>): Promise<void>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>): void; | -|geolocation| method | function isLocationPrivacyConfirmed(type: LocationPrivacyType, callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean; | -|geolocation| method | function isLocationPrivacyConfirmed(type: LocationPrivacyType,): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean; | -|geolocation| method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean, callback: AsyncCallback<void>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void; | -|geolocation| method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): Promise<void>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,更改为function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void; | -|geolocation| interface | SatelliteStatusInfo | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | CachedGnssLocationsRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | GeofenceRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | Geofence | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | ReverseGeoCodeRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | GeoCodeRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | GeoAddress | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | LocationRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | CurrentLocationRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | Location | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| enum | LocationRequestPriority | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| enum | LocationRequestScenario | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| enum | GeoLocationErrorCode | 接å£åºŸå¼ƒ | -|geolocation| enum | LocationPrivacyType | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| enum | LocationCommand | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | - - -**适é…指导(å¯é€‰ï¼Œä¸æ¶‰åŠåˆ™å¯ä»¥åˆ 除)** - -以enableLocation为例,在新版本上需è¦ä½¿ç”¨å¦‚下方å¼è¿›è¡Œè°ƒç”¨ï¼š - - ```ts - import geoLocationManager from '@ohos.geoLocationManager'; - try { - geoLocationManager.enableLocation((err, data) => { - if (err) { - console.log('enableLocation: err=' + JSON.stringify(err)); - } - }); - } catch (err) { - console.error("errCode:" + err.code + ",errMessage:" + err.message); - } - ``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geolocation.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geolocation.md deleted file mode 100644 index 5d127ca0d13961d29741afdbd713275a3f6c8033..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geolocation.md +++ /dev/null @@ -1,92 +0,0 @@ -# ä½ç½®æœåŠ¡å系统ChangeLog - -## cl.location.1 @ohos.geolocation.d.ts接å£è¿ç§»åˆ°æ–°å¢žçš„@ohos.geoLocationManager.d.ts - -@ohos.geolocation.d.ts接å£ä¸æ”¯æŒæŠ›å‡ºé”™è¯¯ç ,为了支æŒé”™è¯¯ç 功能,把@ohos.geolocation.d.tsä¸æ‰€æœ‰æŽ¥å£ï¼Œè¿ç§»åˆ°æ–°å¢žçš„@ohos.geoLocationManager.d.tsä¸ï¼Œå¹¶å¢žåŠ 错误ç æ述。 - -åŽç»éœ€è¦import @ohos.geoLocationManageræ‰èƒ½ä½¿ç”¨ä½ç½®æœåŠ¡çš„接å£ï¼š - -import geoLocationManager from '@ohos.geoLocationManager'; - - -**å˜æ›´å½±å“** - -对ä½ç½®æœåŠ¡æ‰€æœ‰æŽ¥å£çš„使用有影å“,需è¦import @ohos.geoLocationManageræ‰èƒ½ä½¿ç”¨ä½ç½®æœåŠ¡æŽ¥å£ï¼š - -import geoLocationManager from '@ohos.geoLocationManager'; - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|geolocation| namespace | declare namespace geolocation| è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,使用namespace geoLocationManager代替 | -|geolocation| method | function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function off(type: 'locationChange', callback?: Callback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function on(type: 'locationServiceState', callback: Callback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function off(type: 'locationServiceState', callback?: Callback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function on(type: 'nmeaMessageChange', callback: Callback<string>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function off(type: 'nmeaMessageChange', callback?: Callback<string>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getCurrentLocation(callback: AsyncCallback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getLastLocation(callback: AsyncCallback<Location>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getLastLocation(): Promise<Location>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function isLocationEnabled(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function isLocationEnabled(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | 接å£åˆ 除 | -|geolocation| method | function requestEnableLocation(): Promise<boolean>; | 接å£åˆ 除 | -|geolocation| method | function enableLocation(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function enableLocation(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function disableLocation(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function disableLocation(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function isGeoServiceAvailable(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function isGeoServiceAvailable(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getCachedGnssLocationsSize(callback: AsyncCallback<number>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function getCachedGnssLocationsSize(): Promise<number>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function flushCachedGnssLocations(callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function flushCachedGnssLocations(): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| method | function sendCommand(command: LocationCommand): Promise<boolean>; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | SatelliteStatusInfo | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | CachedGnssLocationsRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | GeofenceRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | Geofence | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | ReverseGeoCodeRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | GeoCodeRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | GeoAddress | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | LocationRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | CurrentLocationRequest | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| interface | Location | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| enum | LocationRequestPriority | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| enum | LocationRequestScenario | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| enum | GeoLocationErrorCode | 接å£åºŸå¼ƒ | -|geolocation| enum | LocationPrivacyType | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | -|geolocation| enum | LocationCommand | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts | - - -**适é…指导(å¯é€‰ï¼Œä¸æ¶‰åŠåˆ™å¯ä»¥åˆ 除)** - -以enableLocation为例,在新版本上需è¦ä½¿ç”¨å¦‚下方å¼è¿›è¡Œè°ƒç”¨ï¼š - - ```ts - import geoLocationManager from '@ohos.geoLocationManager'; - try { - geoLocationManager.enableLocation((err, data) => { - if (err) { - console.log('enableLocation: err=' + JSON.stringify(err)); - } - }); - } catch (err) { - console.error("errCode:" + err.code + ",errMessage:" + err.message); - } - ``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-system-geolocation.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-system-geolocation.md deleted file mode 100644 index 4494940d23cfa519f2c7b0e3ac7f3c1a3b1cfa8c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-system-geolocation.md +++ /dev/null @@ -1,50 +0,0 @@ -# ä½ç½®æœåŠ¡å系统ChangeLog - -## cl.location.1 @system.geolocation.d.ts接å£è¿ç§»åˆ°æ–°å¢žçš„@ohos.geoLocationManager.d.ts - -@system.geolocation.d.ts接å£ä¸æ”¯æŒæŠ›å‡ºé”™è¯¯ç ,为了支æŒé”™è¯¯ç 功能,把@system.geolocation.d.tsä¸æ‰€æœ‰æŽ¥å£ï¼Œè¿ç§»åˆ°æ–°å¢žçš„@ohos.geoLocationManager.d.tsä¸ï¼Œå¹¶å¢žåŠ 错误ç æ述。 - -åŽç»éœ€è¦import @ohos.geoLocationManageræ‰èƒ½ä½¿ç”¨ä½ç½®æœåŠ¡çš„接å£ï¼š - -import geoLocationManager from '@ohos.geoLocationManager'; - - -**å˜æ›´å½±å“** - -对ä½ç½®æœåŠ¡æ‰€æœ‰æŽ¥å£çš„使用有影å“,需è¦import @ohos.geoLocationManageræ‰èƒ½ä½¿ç”¨ä½ç½®æœåŠ¡æŽ¥å£ï¼š - -import geoLocationManager from '@ohos.geoLocationManager'; - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|Geolocation| class | Geolocation | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,使用ohos.geoLocationManager/geoLocationManager代替 | -|Geolocation| interface | static getLocation(options?: GetLocationOption): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,使用ohos.geoLocationManager/geoLocationManager.getCurrentLocation代替 | -|Geolocation| interface | static getLocationType(options?: GetLocationTypeOption): void; | 接å£åºŸå¼ƒ | -|Geolocation| interface | static subscribe(options: SubscribeLocationOption): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,使用ohos.geoLocationManager/geoLocationManager.on#event:locationChange代替 | -|Geolocation| interface | static unsubscribe(): void; | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,使用ohos.geoLocationManager/geoLocationManager.off#event:locationChange代替 | -|Geolocation| interface | static getSupportedCoordTypes(): Array<string>; | 接å£åºŸå¼ƒ | -|| interface | GeolocationResponse| è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,使用ohos.geoLocationManager/geoLocationManager.Location代替 | -|| interface | GetLocationOption | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,使用ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest代替 | -|| interface | GetLocationTypeResponse | 接å£åºŸå¼ƒ | -|| interface | GetLocationTypeOption | 接å£åºŸå¼ƒ | -|| interface | SubscribeLocationOption | 接å£è¿ç§»åˆ°@ohos.geoLocationManager.d.ts,使用ohos.geoLocationManager/geoLocationManager.LocationRequest代替 | - - -**适é…指导(å¯é€‰ï¼Œä¸æ¶‰åŠåˆ™å¯ä»¥åˆ 除)** - -以enableLocation为例,在新版本上需è¦ä½¿ç”¨å¦‚下方å¼è¿›è¡Œè°ƒç”¨ï¼š - - ```ts - import geoLocationManager from '@ohos.geoLocationManager'; - try { - geoLocationManager.enableLocation((err, data) => { - if (err) { - console.log('enableLocation: err=' + JSON.stringify(err)); - } - }); - } catch (err) { - console.error("errCode:" + err.code + ",errMessage:" + err.message); - } - ``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md deleted file mode 100644 index 0444bab5234087b1f865eda378e680c95fc1abb4..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md +++ /dev/null @@ -1,17 +0,0 @@ -# 用户IAMå系统Changelog - -## cl.useriam.1 API9返回值命åå˜æ›´ - -用户IAM API9的返回值枚举类类åå‘生å˜æ›´ï¼Œä»Ž ResultCodeV9 æ›´å为 UserAuthResultCode - -**å˜æ›´å½±å“** - -基于æ¤ç‰ˆæœ¬ä»¥å‰å¼€å‘的应用ä¸å—å½±å“,以åŽçš„需适é…错误ç çš„ç±»å,å¦åˆ™ä¼šå½±å“业务逻辑。 - -**关键接å£/组件å˜æ›´** - -æ— æŽ¥å£/组件å˜æ›´ - -**适é…指导** - -需è¦ä¿®æ”¹è¿”回值调用类å从 ResultCodeV9 改为 UserAuthResultCode \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md deleted file mode 100644 index 697060fe9cf6a50e0958bc566bd495e9220fa1c4..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md +++ /dev/null @@ -1,63 +0,0 @@ -# 窗å£å系统ChangeLog - -## cl.window.1 WindowStage生命周期监å¬ç±»åž‹å称å˜æ›´ - -WindowStage生命周期的监å¬ç±»åž‹æžšä¸¾å®šä¹‰è‡ª3.2.10.5版本起进行了å˜æ›´ã€‚ - -**å˜æ›´å½±å“** - -3.2.10.5版本之å‰ä½¿ç”¨FOREGROUND/BACKGROUND类型开å‘的应用生命周期监å¬ï¼Œåœ¨3.2.10.5版本之åŽå¤±æ•ˆã€‚ - -**关键接å£/组件å˜æ›´** - -## WindowStageEventType<sup>9+</sup> - -å˜æ›´å‰ï¼š - -| å称 | 值 | 说明 | -| ---------- | ---- | ---------- | -| FOREGROUND | 1 | 切到å‰å°ã€‚ | -| BACKGROUND | 4 | 切到åŽå°ã€‚ | - -å˜æ›´åŽï¼š -| å称 | 值 | 说明 | -| ------ | ---- | ---------- | -| SHOWN | 1 | 切到å‰å°ã€‚ | -| HIDDEN | 4 | 切到åŽå°ã€‚ | - -**适é…指导** - -在注册生命周期监å¬å›žè°ƒæ—¶ï¼Œå°†å‰åŽå°äº‹ä»¶ç±»åž‹æ”¹ä¸ºSHOWN/HIDDEN: - -``` -import Ability from '@ohos.application.Ability'; - -class myAbility extends Ability { - onWindowStageCreate(windowStage) { - console.log('onWindowStageCreate'); - try { - windowStage.on('windowStageEvent', (stageEventType) => { - switch (stageEventType) { - case window.WindowStageEventType.SHOWN: - console.log("windowStage shown"); - break; - case window.WindowStageEventType.ACTIVE: - console.log("windowStage active"); - break; - case window.WindowStageEventType.INACTIVE: - console.log("windowStage inActive"); - break; - case window.WindowStageEventType.HIDDEN: - console.log("windowStage hidden"); - break; - default: - break; - } - } ) - } catch (exception) { - console.error('Failed to enable the listener for window stage event changes. Cause:' + - JSON.stringify(exception)); - }; - } -}; -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-ability.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-ability.md deleted file mode 100644 index 903fbad8c70147006c457bca8c4a7e6548a8b808..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-ability.md +++ /dev/null @@ -1,36 +0,0 @@ -# 元能力å系统ChangeLog - -## cl.ability.1 appRecovery接å£ä¸RestartFlag属性å称å˜æ›´ï¼Œåˆ 除了未支æŒçš„属性 - -appRecovery接å£ä¸RestartFlag枚举命å从特定故障å‘生åŽ**ä¸é‡å¯**改æˆäº†ç‰¹å®šæ•…éšœå‘生åŽ**é‡å¯**。 -åˆ é™¤äº†CPP_CRASH_NO_RESTART。 - -**å˜æ›´å½±å“** - -3.2.10.6版本之å‰ä½¿ç”¨CPP_CRASH_NO_RESTART/JS_CRASH_NO_RESTART/APP_FREEZE_NO_RESTART类型开å‘的应用,在3.2.10.6版本之åŽè¡Œä¸ºä¼šå‘生å˜åŒ–。 - -**关键接å£/组件å˜æ›´** - -**RestartFlag** <sup>9+</sup> - -å˜æ›´å‰ï¼š -| å称 | 值 | 说明 | -| ----------------------------- | ---- | ------------------------------------------------------------ | -| ALWAYS_RESTART | 0 | 总是é‡å¯åº”用。 | -| CPP_CRASH_NO_RESTART | 0x0001 | å‘生CPP_CRASHæ—¶**ä¸é‡å¯**应用。 | -| JS_CRASH_NO_RESTART | 0x0002 | å‘生JS_CRASHæ—¶**ä¸é‡å¯**应用。 | -| APP_FREEZE_NO_RESTART | 0x0004 | å‘生APP_FREEZEæ—¶**ä¸é‡å¯**应用。 | -| NO_RESTART | 0xFFFF | 总是ä¸é‡å¯åº”用。 | - -å˜æ›´åŽï¼š -| å称 | 值 | 说明 | -| ---------- | ---- | ---------- | -| ALWAYS_RESTART | 0 | 总是é‡å¯åº”用。 | -| CPP_CRASH_NO_RESTART | NA | **åˆ é™¤**,ä¸æ”¯æŒè¯¥åœºæ™¯çš„é‡å¯ã€‚ | -| RESTART_WHEN_JS_CRASH | 0x0001 | å‘生JS_CRASHæ—¶**é‡å¯**应用。 | -| RESTART_WHEN_APP_FREEZE | 0x0002 | å‘生APP_FREEZEæ—¶**é‡å¯**应用。 | -| NO_RESTART | 0xFFFF | 总是ä¸é‡å¯åº”用。 | - -**适é…指导** - -按新的è¯ä¹‰è¿›è¡Œé€‚é…。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-mediaLibrary.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-mediaLibrary.md deleted file mode 100644 index 92e005e1e13d2a37cbc9a13362b3149b8e717a7c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-mediaLibrary.md +++ /dev/null @@ -1,272 +0,0 @@ -# 文件å系统ChangeLog - -## cl.file.1 mediaLibrary相关接å£å˜æ›´ - -multimedia 部件 mediaLibrary所有接å£åºŸå¼ƒã€‚ - -**å˜æ›´å½±å“** - -[mediaLibrary](../../../application-dev/reference/apis/js-apis-medialibrary.md)所有接å£åºŸå¼ƒã€‚系统åªå¯¹ä¸‰æ–¹åº”用开放公共目录下文件资æºé€‰æ‹©å’Œä¿å˜åŠŸèƒ½ï¼Œç”±[FilePicker](../../../application-dev/reference/apis/js-apis-file-picker.md)æ供能力。 -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„废弃接å£çš„è¿ä»£æ›´æ–°ã€‚ - -**关键接å£/组件å˜æ›´** - -以下为å¯ä»¥ä½¿ç”¨FilePicker替代的接å£ã€‚ - -| 模å—å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------------------------------------------------ | -------- | -| medialibrary | **function** getMediaLibrary(context: Context): MediaLibrary; | 废弃 | -| medialibrary | **function** getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\<FetchFileResult\>): void | 废弃 | -| medialibrary | **function** getFileAssets(options: MediaFetchOptions): Promise\<FetchFileResult\> | 废弃 | -| medialibrary | **function** createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback\<FileAsset\>): void | 废弃 | -| medialibrary | **function** createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise\<FileAsset\> | 废弃 | -| medialibrary | **function** getPublicDirectory(type: DirectoryType, callback: AsyncCallback\<string\>): void | 废弃 | -| medialibrary | **function** getPublicDirectory(type: DirectoryType): Promise\<string\> | 废弃 | -| medialibrary | **function** release(callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** release(): Promise\<void\> | 废弃 | -| medialibrary | **function** FileAsset.open(mode: string, callback: AsyncCallback\<number\>): void | 废弃 | -| medialibrary | **function** FileAsset.open(mode: string): Promise\<number\> | 废弃 | -| medialibrary | **function** FileAsset.close(fd: number, callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** FileAsset.close(fd: number): Promise\<void\> | 废弃 | -| medialibrary | **function** FetchFileResult.getCount(): number | 废弃 | -| medialibrary | **function** FetchFileResult.isAfterLast(): boolean | 废弃 | -| medialibrary | **function** FetchFileResult.close(): void | 废弃 | -| medialibrary | **function** FetchFileResult.getFirstObject(callback: AsyncCallback\<FileAsset\>): void | 废弃 | -| medialibrary | **function** FetchFileResult.getFirstObject(): Promise\<FileAsset\> | 废弃 | -| medialibrary | **function** FetchFileResult.getNextObject(callback: AsyncCallback\<FileAsset\>): void | 废弃 | -| medialibrary | **function** FetchFileResult.getNextObject(): Promise\<FileAsset\> | 废弃 | -| medialibrary | **function** FetchFileResult.getLastObject(callback: AsyncCallback\<FileAsset\>): void | 废弃 | -| medialibrary | **function** FetchFileResult.getLastObject(): Promise\<FileAsset\> | 废弃 | -| medialibrary | **function** FetchFileResult.getPositionObject(index: number, callback: AsyncCallback\<FileAsset\>): void | 废弃 | -| medialibrary | **function** FetchFileResult.getPositionObject(index: number): Promise\<FileAsset\> | 废弃 | -| medialibrary | **function** FetchFileResult.getAllObject(callback: AsyncCallback\<Array\<FileAsset\>\>): void | 废弃 | -| medialibrary | **function** FetchFileResult.getAllObject(): Promise\<Array\<FileAsset\>\> | 废弃 | -| medialibrary | **function** Album.getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\<FetchFileResult\>): void | 废弃 | -| medialibrary | **function** Album.getFileAssets(options?: MediaFetchOptions): Promise\<FetchFileResult\> | 废弃 | -| medialibrary | **enum** FileKey | 废弃 | -| medialibrary | **enum** DirectoryType | 废弃 | -| medialibrary | **enum** MediaType | 废弃 | -| medialibrary | **interface** MediaFetchOptions | 废弃 | -| medialibrary | **interface** FileAsset | 废弃 | - -**适é…指导** - -**使用mediaLibrary接å£ç¼–辑公共目录下的文件示例:** - -1. 使用getMediaLibrary接å£èŽ·å–媒体库实例。 -2. 创建MediaFetchOptions检索æ¡ä»¶ä½¿ç”¨mediaLibrary实例调用getFileAssets接å£èŽ·å–公共目录下的文件。 -3. 使用FetchFileResult相应接å£èŽ·å–目的文件的fileAsset。 -4. 使用fileAsset.open接å£æ‰“开这个文件得到fd。 -5. 通过fd使用[fs.writeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#writesync)接å£å¯¹è¿™ä¸ªæ–‡ä»¶è¿›è¡Œç¼–辑修改。 -6. 修改完æˆåŽä½¿ç”¨fileAsset.close接å£å…³é—这个文件的fd。 -7. 使用fetchFileResult.close接å£é‡Šæ”¾getFileAssetsæ—¶å 用的资æºã€‚ -8. 使用release接å£é‡Šæ”¾åª’体库实例。 - -**示例:** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import fs from '@ohos.file.fs'; - -async function example() { - try { - let context = getContext(this); - let media = mediaLibrary.getMediaLibrary(context); - let fileKeyObj = mediaLibrary.FileKey; - let imageType = mediaLibrary.MediaType.IMAGE; - let getImageOp = { - selections: fileKeyObj.MEDIA_TYPE + '= ?', - selectionArgs: [imageType.toString()], - order: fileKeyObj.DATE_ADDED + ' DESC', - }; - const fetchFileResult = await media.getFileAssets(getImageOp); - const fileAsset = await fetchFileResult.getFirstObject(); - console.info('mediaLibrary fileAsset displayName: ' + fileAsset.displayName); - let fd = await fileAsset.open('rw'); - console.info('mediaLibrary fileAsset open fd: ' + fd); - let writeLen = fs.writeSync(fd, 'hello, world'); - console.info('write data to file succeed and size is: ' + writeLen); - fileAsset.close(fd); - fetchFileResult.close(); - media.release(); - } catch (err) { - console.error('mediaLibrary fail, err: ' + err); - } -} -``` - -**使用FilePicker编辑公共目录下的文件示例:** - -1. 获å–DocumentViewPicker文件选择器对象。 -2. 拉起DocumentViewPicker.select接å£é€‰æ‹©ç›®çš„文件。 -3. 用户选择完åŽè¿”回目的文件的uri。 -4. å¾…ç•Œé¢ä»ŽDocumentViewPicker返回åŽåœ¨å…¶ä»–函数ä¸ä½¿ç”¨[fs.openSync](../../../application-dev/reference/apis/js-apis-file-fs.md#fsopensync)接å£é€šè¿‡uri打开这个文件得到fd。 -5. 通过fd使用[fs.writeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#writesync)接å£å¯¹è¿™ä¸ªæ–‡ä»¶è¿›è¡Œç¼–辑修改。 -6. 编辑修改完毕åŽä½¿ç”¨[fs.closeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#closesync)接å£å…³é—这个fd。 - -**示例:** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import picker from '@ohos.file.picker'; -import fs from '@ohos.file.fs'; - -let uri; - -async function example() { - try { - let DocumentSelectOptions = new picker.DocumentSelectOptions(); - let documentPicker = new picker.DocumentViewPicker(); - documentPicker.select(DocumentSelectOptions).then((DocumentSelectResult) => { - console.info('DocumentViewPicker.select successfully, DocumentSelectResult uri: ' + JSON.stringify(DocumentSelectResult)); - uri = DocumentSelectResult[0]; - }).catch((err) => { - console.error('DocumentViewPicker.select failed with err: ' + err); - }); - } catch (err) { - console.error('DocumentViewPicker failed with err: ' + err); - } -} - -async function writeFile() { - try { - let file = fs.openSync(uri, fs.OpenMode.READ_WRITE); - console.info('DocumentViewPicker file fd: ' + file.fd); - let writeLen = fs.writeSync(file.fd, 'hello, world'); - console.info('write data to file succeed and size is: ' + writeLen); - fs.closeSync(file); - } catch (err) { - console.error('DocumentViewPicker fail, err: ' + err); - } -} -``` - -**使用mediaLibrary接å£åœ¨å…¬å…±ç›®å½•ä¸‹åˆ›å»ºæ–‡ä»¶ç¤ºä¾‹ï¼š** - -1. 使用getMediaLibrary接å£èŽ·å–媒体库实例。 -2. 使用getPublicDirectory接å£èŽ·å–公共目录路径。 -3. 使用createAsset接å£åˆ›å»ºæ–‡ä»¶å¾—到这个文件的fileAsset。 -4. 使用fileAsset.open接å£æ‰“开这个文件得到fd。 -5. 通过fd使用fs.write接å£å¯¹è¿™ä¸ªæ–‡ä»¶è¿›è¡Œç¼–辑修改。 -6. 修改完æˆåŽä½¿ç”¨fileAsset.close接å£å…³é—这个文件的fd。 -7. 使用release接å£é‡Šæ”¾åª’体库实例。 - -**示例:** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import fs from '@ohos.file.fs'; - -async function example() { - try { - let context = getContext(this); - let media = mediaLibrary.getMediaLibrary(context); - let mediaType = mediaLibrary.MediaType.FILE; - let DIR_DOWNLOAD = mediaLibrary.DirectoryType.DIR_DOWNLOAD; - const path = await media.getPublicDirectory(DIR_DOWNLOAD); - const fileAsset = await media.createAsset(mediaType, 'test.txt', path); - console.info('mediaLibrary fileAsset displayName: ' + fileAsset.displayName); - let fd = await fileAsset.open('rw'); - console.info('mediaLibrary fileAsset open fd: ' + fd); - let writeLen = fs.writeSync(fd, 'hello, world'); - console.info('write data to file succeed and size is: ' + writeLen); - fileAsset.close(fd); - media.release(); - } catch (err) { - console.error('mediaLibrary fail, err: ' + err); - } -} -``` - -**使用FilePicker在公共目录下创建文件示例:** - -1. 获å–DocumentViewPicker文件选择器对象。 -2. 拉起DocumentViewPicker.save接å£åˆ›å»ºä¿å˜ä¸€ä¸ªç©ºçš„文件。 -3. 用户ä¿å˜å®ŒåŽè¿”回目的文件的uri。 -4. å¾…ç•Œé¢ä»ŽDocumentViewPicker返回åŽåœ¨å…¶ä»–函数ä¸ä½¿ç”¨[fs.openSync](../../../application-dev/reference/apis/js-apis-file-fs.md#fsopensync)接å£é€šè¿‡uri打开这个文件得到fd。 -5. 通过fd使用[fs.writeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#writesync)接å£å¯¹è¿™ä¸ªæ–‡ä»¶è¿›è¡Œç¼–辑修改。 -6. 编辑修改完毕åŽä½¿ç”¨[fs.closeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#closesync)接å£å…³é—这个fd。 - -**示例:** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import picker from '@ohos.file.picker'; -import fs from '@ohos.file.fs'; - -let uri; - -async function example() { - try { - let DocumentSaveOptions = new picker.DocumentSaveOptions(); - DocumentSaveOptions.newFileNames = ['DocumentViewPicker01.txt']; - let documentPicker = new picker.DocumentViewPicker(); - documentPicker.save(DocumentSaveOptions).then((DocumentSaveResult) => { - console.info('DocumentViewPicker.save successfully, DocumentSaveResult uri: ' + JSON.stringify(DocumentSaveResult)); - uri = DocumentSaveResult[0]; - }).catch((err) => { - console.error('DocumentViewPicker.save failed with err: ' + err); - }); - } catch (err) { - console.error('DocumentViewPicker failed with err: ' + err); - } -} - -async function writeFile() { - try { - let file = fs.openSync(uri, fs.OpenMode.READ_WRITE); - console.info('DocumentViewPicker file fd: ' + file.fd); - let writeLen = fs.writeSync(file.fd, 'hello, world'); - console.info('write data to file succeed and size is: ' + writeLen); - fs.closeSync(file); - } catch (err) { - console.error('DocumentViewPicker fail, err: ' + err); - } -} -``` - -**关键接å£/组件å˜æ›´** - -medialibrary以下废弃接å£ç”±äºŽåŠŸèƒ½ç®¡æŽ§ï¼Œä¸å¯¹ä¸‰æ–¹åº”ç”¨å¼€æ”¾ï¼Œæ— æ›¿ä»£æŽ¥å£ã€‚ - -| 模å—å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------------------------------------------------ | -------- | -| medialibrary | **function** getMediaLibrary(): MediaLibrary; | 废弃 | -| medialibrary | **function** on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void\>): void | 废弃 | -| medialibrary | **function** off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void\>): void | 废弃 | -| medialibrary | **function** deleteAsset(uri: string): Promise\<void\> | 废弃 | -| medialibrary | **function** deleteAsset(uri: string, callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** storeMediaAsset(option: MediaAssetOption, callback: AsyncCallback\<string\>): void | 废弃 | -| medialibrary | **function** storeMediaAsset(option: MediaAssetOption): Promise\<string\> | 废弃 | -| medialibrary | **function** startImagePreview(images: Array\<string\>, index: number, callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** startImagePreview(images: Array\<string\>, callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** startImagePreview(images: Array\<string\>, index?: number): Promise\<void\> | 废弃 | -| medialibrary | **function** startMediaSelect(option: MediaSelectOption, callback: AsyncCallback\<Array\<string\>\>): void | 废弃 | -| medialibrary | **function** startMediaSelect(option: MediaSelectOption): Promise\<Array\<string\>\> | 废弃 | -| medialibrary | **function** getActivePeers(): Promise\<Array\<PeerInfo\>\>; | 废弃 | -| medialibrary | **function** getActivePeers(callback: AsyncCallback\<Array\<PeerInfo\>\>): void; | 废弃 | -| medialibrary | **function** getAllPeers(): Promise\<Array\<PeerInfo\>\>; | 废弃 | -| medialibrary | **function** FileAsset.isDirectory(callback: AsyncCallback\<boolean\>): void | 废弃 | -| medialibrary | **function** FileAsset.isDirectory():Promise\<boolean\> | 废弃 | -| medialibrary | **function** FileAsset.commitModify(callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** FileAsset.commitModify(): Promise\<void\> | 废弃 | -| medialibrary | **function** FileAsset.getThumbnail(callback: AsyncCallback\<image.PixelMap\>): void | 废弃 | -| medialibrary | **function** FileAsset.getThumbnail(size: Size, callback: AsyncCallback\<image.PixelMap\>): void | 废弃 | -| medialibrary | **function** FileAsset.getThumbnail(size?: Size): Promise\<image.PixelMap\> | 废弃 | -| medialibrary | **function** FileAsset.favorite(isFavorite: boolean, callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** FileAsset.favorite(isFavorite: boolean): Promise\<void\> | 废弃 | -| medialibrary | **function** FileAsset.isFavorite(callback: AsyncCallback\<boolean\>): void | 废弃 | -| medialibrary | **function** FileAsset.isFavorite():Promise\<boolean\> | 废弃 | -| medialibrary | **function** FileAsset.trash(isTrash: boolean, callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** FileAsset.trash(isTrash: boolean): Promise\<void\> | 废弃 | -| medialibrary | **function** FileAsset.isTrash(callback: AsyncCallback\<boolean\>): void | 废弃 | -| medialibrary | **function** FileAsset.isTrash():Promise\<boolean\> | 废弃 | -| medialibrary | **function** getAlbums(options: MediaFetchOptions, callback: AsyncCallback\<Array\<Album\>\>): void | 废弃 | -| medialibrary | **function** getAlbums(options: MediaFetchOptions): Promise\<Array\<Album\>\> | 废弃 | -| medialibrary | **function** Album.commitModify(callback: AsyncCallback\<void\>): void | 废弃 | -| medialibrary | **function** Album.commitModify(): Promise\<void\> | 废弃 | -| medialibrary | **enum** DeviceType | 废弃 | -| medialibrary | **interface** PeerInfo | 废弃 | -| medialibrary | **interface** Size | 废弃 | -| medialibrary | **interface** MediaAssetOption | 废弃 | -| medialibrary | **interface** MediaSelectOption | 废弃 | \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md deleted file mode 100644 index 6d7bc0e05cd183ff46328bbbbbe8722287961c70..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md +++ /dev/null @@ -1,42 +0,0 @@ -# ä¸Šä¼ ä¸‹è½½å系统ChangeLog - - -## cl.request.2 requestä¸Šä¼ ä¸‹è½½æŽ¥å£å˜æ›´ - -- åˆ é™¤API9-beta接å£ï¼š -1. function download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void; -2. function download(context: BaseContext, config: DownloadConfig): Promise<DownloadTask>; -3. function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void; -4. function upload(context: BaseContext, config: UploadConfig): Promise<UploadTask>; - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬ä½¿ç”¨Stage模å¼å¼€å‘的应用,需适é…å˜æ›´åŽçš„接å£ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -|--------------|--------------|-------------------------------------------------------------------------------------------------------------------|------| -| ohos.request | request | function download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void; | åˆ é™¤ | -| ohos.request | request | function download(context: BaseContext, config: DownloadConfig): Promise<DownloadTask>; | åˆ é™¤ | -| ohos.request | request | function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void; | åˆ é™¤ | -| ohos.request | request | function upload(context: BaseContext, config: UploadConfig): Promise<UploadTask>; | åˆ é™¤ | - - -**适é…指导** - -以download为例,在新版本上需è¦ä½¿ç”¨downloadFile, 如下方å¼è¿›è¡Œè°ƒç”¨ï¼š - -```ts -try { - request.downloadFile(globalThis.abilityContext, { url: 'https://xxxx/xxxxx.hap', - filePath: 'xxx/xxxxx.hap'}, (err, data) => { - if (err) { - console.error('Failed to request the download. Cause: ' + JSON.stringify(err)); - return; - } - }); -} catch (err) { - console.log("downloadFile callback fail." + "errCode:" + err.code + ",errMessage:" + err.message); -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md deleted file mode 100644 index e4a4c1fc70e264c2a3a4d0e2fb24242c221ceb88..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md +++ /dev/null @@ -1,59 +0,0 @@ -# 电è¯å系统ChangeLog - - - -## cl.telephony.1 radio模å—接å£å˜æ›´ - - -### 电è¯å系统radioæ¨¡å— `isNrSupported` 接å£å˜åœ¨å˜æ›´ï¼š - -NR是专有åè¯ï¼Œéœ€è¦å…¨éƒ¨å¤§å†™ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´çš„js接å£ï¼Œå˜æ›´å‰çš„接å£å·²ç»ä¸èƒ½æ£å¸¸ä½¿ç”¨äº†ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - - - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - isNrSupported(): boolean; - isNrSupported(slotId: number): boolean; - -- å˜æ›´å‰ï¼š - -```js -function isNrSupported(): boolean; -function isNrSupported(slotId: number): boolean; -``` - -- å˜æ›´åŽï¼š - -```js -function isNRSupported(): boolean; -function isNRSupported(slotId: number): boolean; -``` - - - -**适é…指导** - -使用å˜æ›´åŽçš„接å£ï¼Œç¤ºä¾‹ä»£ç 如下: - -```js -let result = radio.isNrSupported(); -console.log("Result: "+ result); -``` - - -```js -let slotId = 0; -let result = radio.isNRSupported(slotId); -console.log("Result: "+ result); -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-resourceschedule.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-resourceschedule.md deleted file mode 100644 index b7cc6777807f3b0a63fa9a867df0993fe1306619..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-resourceschedule.md +++ /dev/null @@ -1,21 +0,0 @@ -# 资æºè°ƒåº¦å系统ChangeLog - -## cl.resourceschedule.workScheduler -修改parameters属性值的数æ®ç±»åž‹ï¼Œä¸å…许使用any类型,支æŒnumberã€stringã€boolean三ç§ç±»åž‹ã€‚ - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.10.7åŠä¹‹åŽçš„SDK版本开å‘的应用,parameters属性值的数æ®ç±»åž‹ä¸å…许使用any类型,仅支æŒnumberã€stringã€boolean三ç§ç±»åž‹ï¼Œå¦åˆ™å°†ç¼–译报错。 - -**关键接å£/组件å˜æ›´** - -@ohos.resourceschedule.workScheduler.d.tsä¸çš„parameters属性å˜æ›´ã€‚ - -| ç±»å | 接å£ç±»åž‹ | å˜æ›´å‰å£°æ˜Ž | å˜æ›´åŽå£°æ˜Ž | -| -- | -- | -- | -- | -| workScheduler.WorkInfo | field | parameters?: {[key: string]: any} | parameters?: {[key: string]: number | string | boolean} | - - -**适é…指导**<br> - -parameters属性使用{[key: string]: number | string | boolean}æ•°æ®ç±»åž‹ã€‚ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md deleted file mode 100644 index cd74291d37afa9e4aee941a0e813824ede5af546..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md +++ /dev/null @@ -1,223 +0,0 @@ -# 电è¯å系统ChangeLog - - - -## cl.telephony.1 call模å—reject接å£å˜æ›´ -从API9开始,废弃æ¤æŽ¥å£ï¼Œæ”¹ä¸ºä½¿ç”¨rejectCall接å£ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£rejectCall替æ¢ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function reject(callId: number, callback: AsyncCallback<void>): void; - function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void; - function reject(callId?: number, options?: RejectMessageOptions): Promise<void>; - function reject(callback: AsyncCallback<void>): void; - function reject(options: RejectMessageOptions, callback: AsyncCallback<void>): void; -``` - -- å˜æ›´å‰ï¼š - -```js - function reject(callId: number, callback: AsyncCallback<void>): void; - function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void; - function reject(callId?: number, options?: RejectMessageOptions): Promise<void>; - function reject(callback: AsyncCallback<void>): void; - function reject(options: RejectMessageOptions, callback: AsyncCallback<void>): void; -``` - -- å˜æ›´åŽï¼š - -```js - function rejectCall(callId: number, callback: AsyncCallback<void>): void; - function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void; - function rejectCall(callId?: number, options?: RejectMessageOptions): Promise<void>; - function rejectCall(callback: AsyncCallback<void>): void; - function rejectCall(options: RejectMessageOptions, callback: AsyncCallback<void>): void; -``` - - -**适é…指导** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£rejectCall替æ¢ã€‚ -使用å˜æ›´åŽçš„接å£ï¼Œç¤ºä¾‹ä»£ç 如下: - -```js -call.rejectCall("138xxxxxxxx", (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -let rejectMessageOptions={ - messageContent: "拦截陌生å·ç " -} -let promise = call.rejectCall(1, rejectMessageOptions); -promise.then(data => { - console.log(`rejectCall success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`rejectCall fail, promise: err->${JSON.stringify(err)}`); -}); -``` - - -```js -let rejectMessageOptions={ - messageContent: "拦截陌生å·ç " -} -let promise = call.rejectCall(1, rejectMessageOptions); -promise.then(data => { - console.log(`rejectCall success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`rejectCall fail, promise: err->${JSON.stringify(err)}`); -}); -``` - - -```js -call.rejectCall((err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -let rejectMessageOptions={ - messageContent: "拦截陌生å·ç " -} -call.rejectCall(rejectMessageOptions, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -## cl.telephony.2 call模å—answer接å£å˜æ›´ -从API9开始,废弃æ¤æŽ¥å£ï¼Œæ”¹ä¸ºä½¿answerCall接å£ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£answerCall替æ¢ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function answer(callId: number, callback: AsyncCallback<void>): void; - function answer(callId?: number): Promise<void>; - function answer(callback: AsyncCallback<void>): void; -``` - -- å˜æ›´å‰ï¼š - -```js - function answer(callId: number, callback: AsyncCallback<void>): void; - function answer(callId?: number): Promise<void>; - function answer(callback: AsyncCallback<void>): void; -``` - -- å˜æ›´åŽï¼š - -```js - function answerCall(callId: number, callback: AsyncCallback<void>): void; - function answerCall(callId?: number): Promise<void>; - function answerCall(callback: AsyncCallback<void>): void; -``` - - -**适é…指导** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£answerCall替æ¢ã€‚ -使用å˜æ›´åŽçš„接å£ï¼Œç¤ºä¾‹ä»£ç 如下: - -```js -call.answerCall(1, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -let promise = call.answerCall(1); -promise.then(data => { - console.log(`answerCall success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`answerCall fail, promise: err->${JSON.stringify(err)}`); -}); -``` - - -```js -call.answerCall((err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -## cl.telephony.1 call模å—hangup接å£å˜æ›´ -从API9开始,废弃æ¤æŽ¥å£ï¼Œæ”¹ä¸ºä½¿ç”¨hangUpCall接å£ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£hangUpCall替æ¢ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function hangup(callId: number, callback: AsyncCallback<void>): void; - function hangup(callId?: number): Promise<void>; - function hangup(callback: AsyncCallback<void>): void; -``` - -- å˜æ›´å‰ï¼š - -```js - function hangup(callId: number, callback: AsyncCallback<void>): void; - function hangup(callId?: number): Promise<void>; - function hangup(callback: AsyncCallback<void>): void; -``` - -- å˜æ›´åŽï¼š - -```js - function hangUpCall(callId: number, callback: AsyncCallback<void>): void; - function hangUpCall(callId?: number): Promise<void>; - function hangUpCall(callback: AsyncCallback<void>): void; -``` - - -**适é…指导** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£hangUpCall替æ¢ã€‚ -使用å˜æ›´åŽçš„接å£ï¼Œç¤ºä¾‹ä»£ç 如下: - -```js -call.hangUpCall(1, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -let promise = call.hangUpCall(1); -promise.then(data => { - console.log(`hangUpCall success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`hangUpCall fail, promise: err->${JSON.stringify(err)}`); -}); -``` - - -```js -call.hangUpCall((err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md deleted file mode 100644 index 19090618feb38326495954f7301d8fec887c54b9..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md +++ /dev/null @@ -1,528 +0,0 @@ -# webå系统ChangeLog - -OpenHarmony 3.2.10.7 版本相较于OpenHarmony 之å‰çš„版本,webçš„APIå˜æ›´å¦‚下。 - -## cl.web.1 HitTestTypeV9命åå˜æ›´ - -枚举类HitTestTypeV9由于命å规范问题,å称å˜æ›´ä¸ºWebHitTestType。 - -**å˜æ›´å½±å“** - -枚举类HitTestTypeV9,以åŠä½¿ç”¨HitTestTypeV9作为å‚数或返回值的接å£ï¼Œåœ¨3.2.10.7版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - enum HitTestTypeV9 - -- å˜æ›´å‰ï¼š - - ```ts - enum HitTestTypeV9 - ``` - -- å˜æ›´åŽï¼š - - ```ts - enum WebHitTestType - ``` - -**适é…指导** - -请使用WebHitTestType替æ¢HitTestTypeV9。 - -## cl.web.2 HeaderV9命åå˜æ›´ - -结构体HeaderV9由于命å规范问题,å称å˜æ›´ä¸ºWebHeader。 - -**å˜æ›´å½±å“** - -结构体HeaderV9,以åŠä½¿ç”¨HeaderV9作为å‚数或返回值的接å£ï¼Œåœ¨3.2.10.7版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - interface HeaderV9 - -- å˜æ›´å‰ï¼š - - ```ts - interface HeaderV9 - ``` - -- å˜æ›´åŽï¼š - - ```ts - interface WebHeader - ``` - -**适é…指导** - -请使用WebHeader替æ¢HeaderV9。 - -## cl.web.3 HitTestValue结构体æˆå‘˜ç±»åž‹å˜æ›´ - -结构体HitTestValueä¸çš„æˆå‘˜å˜é‡HitTestTypeV9由于命å规范问题,å称å˜æ›´ä¸ºWebHitTestType。 - -**å˜æ›´å½±å“** - -结构体HitTestValue,以åŠä½¿ç”¨HitTestValue作为å‚数或返回值的接å£ï¼Œåœ¨3.2.10.7版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - interface HitTestValue - -- å˜æ›´å‰ï¼š - - ```ts - interface HitTestValue { - - /** - * Get the hit test type. - * - * @since 9 - */ - type: HitTestTypeV9; - - /** - * Get the hit test extra data. - * - * @since 9 - */ - extra: string; - } - ``` - -- å˜æ›´åŽï¼š - - ```ts - interface HitTestValue { - - /** - * Get the hit test type. - * - * @since 9 - */ - type: WebHitTestType; - - /** - * Get the hit test extra data. - * - * @since 9 - */ - extra: string; - } - ``` - -**适é…指导** - -请使用WebHitTestType替æ¢HitTestTypeV9。 - -## cl.web.4 loadUrlå‚数类型å˜æ›´ - -loadUrl接å£ä¸çš„å‚æ•°headers,由于其类型的命å规范问题,类型å˜æ›´ä¸ºWebHeader。 - -**å˜æ›´å½±å“** - -loadUrl接å£è‹¥ä½¿ç”¨äº†headerså‚数,则在3.2.10.7版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - loadUrl(url: string | Resource, headers?: Array<HeaderV9>): void - -- å˜æ›´å‰ï¼š - - ```ts - loadUrl(url: string | Resource, headers?: Array<HeaderV9>): void - ``` - -- å˜æ›´åŽï¼š - - ```ts - loadUrl(url: string | Resource, headers?: Array<WebHeader>): void - ``` - -**适é…指导** - -在loadUrlä¸è®¾ç½®headerså‚数时,请使用WebHeader类型替æ¢HeaderV9类型。 - -## cl.web.5 getHitTest返回值类型å˜æ›´ - -getHitTest接å£ä¸çš„返回值,由于其类型的命å规范问题,å˜æ›´ä¸ºWebHitTest。 - -**å˜æ›´å½±å“** - -getHitTest接å£ï¼Œåœ¨3.2.10.7版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - getHitTest(): HitTestTypeV9 - -- å˜æ›´å‰ï¼š - - ```ts - getHitTest(): HitTestTypeV9 - ``` - -- å˜æ›´åŽï¼š - - ```ts - getHitTest(): WebHitTestType - ``` - -**适é…指导** - -在使用getHitTest接å£çš„返回值时,请使用WebHitTestType类型替æ¢HitTestTypeV9类型。 - -## cl.web.6 WebMessagePortç±»è¿ç§» - -WebMessagePortç±»è¿ç§»è‡³@ohos.web.webview.d.ts,并新增错误ç 抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现该类下接å£æ”¯æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - postMessageEvent(message: WebMessageEvent): void; - onMessageEvent(callback: (result: string) => void): void; - -- å˜æ›´å‰ï¼š - - ```ts - postMessageEvent(message: WebMessageEvent): void; - onMessageEvent(callback: (result: string) => void): void; - ``` - -- å˜æ›´åŽï¼š - - ```ts - postMessageEvent(message: WebMessage): void; - onMessageEvent(callback: (result: WebMessage) => void): void; - ``` - -**适é…指导** - -原WebMessagePortç±»ä¸éœ€è¦import,现WebMessagePort类使用的是@ohos.web.webview,以下方å¼import: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.7 HitTestValueç±»è¿ç§» - -HitTestValueç±»è¿ç§»è‡³@ohos.web.webview.d.ts,HitTestValueç±»å˜æ›´ä¸ºæŽ¥å£ï¼ŒgetType,getExtraå˜æ›´ä¸ºå±žæ€§ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - getType(): HitTestType; - getExtra(): string; - -- å˜æ›´å‰ï¼š - - ```ts - getType(): HitTestType; - getExtra(): string; - ``` - -- å˜æ›´åŽï¼š - - ```ts - type: WebHitTestType; - extra: string; - ``` - -**适é…指导** - -原HitTestValueç±»ä¸éœ€è¦import,现HitTestValue类使用的是@ohos.web.webview,以下方å¼import: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.8 WebCookie类下api9接å£è¿ç§» - -WebCookie类下api9接å£è¿ç§»ï¼ŒWebCookie类下api9接å£è¿ç§»åˆ°web.webview.webview.WebCookieManager。 -并新增接å£é”™è¯¯ç 抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现该类下接å£æ”¯æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 -该类方法å˜ä¸ºé™æ€æ–¹æ³•ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - isCookieAllowed(): boolean; - isThirdPartyCookieAllowed(): boolean; - putAcceptCookieEnabled(accept: boolean): void; - putAcceptThirdPartyCookieEnabled(accept: boolean): void; - setCookie(url: string, value: string): boolean; - saveCookieSync(): boolean; - getCookie(url: string): string; - existCookie(): boolean; - deleteEntireCookie(): void; - deleteSessionCookie(): void; - -- å˜æ›´å‰ï¼š - - ```ts - isCookieAllowed(): boolean; - isThirdPartyCookieAllowed(): boolean; - putAcceptCookieEnabled(accept: boolean): void; - putAcceptThirdPartyCookieEnabled(accept: boolean): void; - setCookie(url: string, value: string): boolean; - saveCookieSync(): boolean; - getCookie(url: string): string; - existCookie(): boolean; - deleteEntireCookie(): void; - deleteSessionCookie(): void; - ``` - -- å˜æ›´åŽï¼š - - ```ts - static isCookieAllowed(): boolean; - static isThirdPartyCookieAllowed(): boolean; - static putAcceptCookieEnabled(accept: boolean): void; - static putAcceptThirdPartyCookieEnabled(accept: boolean): void; - static setCookie(url: string, value: string): void; - static saveCookieAsync(): Promise<void>; - static saveCookieAsync(callback: AsyncCallback<void>): void; - static getCookie(url: string): string; - static existCookie(): boolean; - static deleteEntireCookie(): void; - static deleteSessionCookie(): void; - ``` - -**适é…指导** - -原WebCookieç±»ä¸éœ€è¦import,现WebCookieManager使用的是@ohos.web.webview,以下方å¼import: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.9 WebController类下api9接å£è¿ç§» - -WebController类下api9接å£è¿ç§»è‡³web.webview.webview.WebviewController,并新增接å£é”™è¯¯ç 抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现该类下接å£æ”¯æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 -getDefaultUserAgent接å£æ›´å为getUserAgent。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - zoomIn(): boolean; - zoomOut(): boolean; - createWebMessagePorts(): Array<WebMessagePort>; - postMessage(options: { message: WebMessageEvent, uri: string}): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getDefaultUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - -- å˜æ›´å‰ï¼š - - ```ts - zoomIn(): boolean; - zoomOut(): boolean; - createWebMessagePorts(): Array<WebMessagePort>; - postMessage(options: { message: WebMessageEvent, uri: string}): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getDefaultUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - ``` - -- å˜æ›´åŽï¼š - - ```ts - zoomIn(): void; - zoomOut(): void; - createWebMessagePorts(): Array<WebMessagePort>; - postMessage(name: string, ports: Array<WebMessagePort>, uri: string): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - ``` - -**适é…指导** - -原WebControllerç±»ä¸éœ€è¦import,现WebviewController类使用的是@ohos.web.webview,以下方å¼import: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.10 WebAsyncControllerç±»è¿ç§» - -WebAsyncController类下接å£è¿ç§»è‡³web.webview.webview.WebviewController,并新增接å£é”™è¯¯ç 抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„错误ç 处ç†çš„使用。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - storeWebArchive(baseName: string, autoName: boolean): Promise<string>; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void; - -- å˜æ›´å‰ï¼š - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise<string>; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void; - ``` - -- å˜æ›´åŽï¼š - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise<string>; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void; - ``` - -**适é…指导** - -使用示例: - - ```ts - // xxx.ets - import web_webview from '@ohos.web.webview' - - @Entry - @Component - struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController(); - - build() { - Column() { - Button('saveWebArchive') - .onClick(() => { - try { - this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => { - if (error) { - console.info(`save web archive error: ` + JSON.stringify(error)) - return; - } - if (filename != null) { - console.info(`save web archive success: ${filename}`) - } - }); - } catch (error) { - console.error(`ErrorCode: ${error.code}, Message: ${error.message}`); - } - }) - Web({ src: 'www.example.com', controller: this.controller }) - } - } - } - ``` - -## cl.web.11 åˆ é™¤webDebuggingAccessæŽ¥å£ - -该接å£å®šä¹‰ä¸åˆç†,该属性对所有web实例生效的,属于全局é…置。用本次新增的接å£setWebDebuggingAccess替æ¢ã€‚ - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£setWebDebuggingAccess替æ¢ã€‚ - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|WebAttribute | method | webDebugggingAccess(webDebugggingAccess: boolean): WebAttribute| åˆ é™¤ | - -**适é…指导** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£setWebDebuggingAccess替æ¢ã€‚ - -## cl.web.12 新增setWebDebuggingAccessæŽ¥å£ - -WebviewControlleræä¾›é™æ€æ–¹æ³•æ¥è®¾ç½®è°ƒè¯•æ¨¡å¼å¼€å…³ï¼Œè¯¥è®¾ç½®å¯¹æ‰€æœ‰web实例生效。 - -**å˜æ›´å½±å“** - -原有webDebugggingAccess属性定义ä¸åˆç†ï¼Œå› æ¤æ–°å¢žè¯¥é™æ€æŽ¥å£æ¥è®¾ç½®è°ƒè¯•æ¨¡å¼å¼€å…³ã€‚应用侧需è¦ä½¿ç”¨è¯¥æŽ¥å£æ¥æ‰“开调试模å¼å¼€å…³ã€‚ - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|webview.WebviewController | method | static setWebDebugggingAccess(webDebugggingAccess: boolean): void| 新增 | - -**适é…指导** - -以打开调试开关为例,示例代ç 如下: - -```ts -// xxx.ets -import web_webview from '@ohos.web.webview'; - -@Entry -@Component -struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController(); - - aboutToAppear():void { - try { - web_webview.WebviewController.setWebDebuggingAccess(true); - } catch(error) { - console.error(`ErrorCode: ${error.code}, Message: ${error.message}`); - } - } - - build() { - Column() { - Web({ src: 'www.example.com', controller: this.controller }) - } - } -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-ability.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-ability.md deleted file mode 100644 index b5289610acebcfd24695f527efc2ae51f2198da1..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-ability.md +++ /dev/null @@ -1,291 +0,0 @@ -# 元能力å系统JS APIå˜æ›´Changelog - -## cl.ability.1 AreaMode接å£å˜æ›´ -AreaMode接å£æœ‰å¤šä¸ªé‡å¤ï¼Œåˆ 除掉é‡å¤çš„AreaMode。 - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.app.ability.common.d.ts | common.AreaMode | | åˆ é™¤ | -| application/Context.d.ts | AreaMode | | åˆ é™¤ | - - -**适é…指导** - -使用@ohos.app.ability.contextConstant.d.tsä¸çš„AreaMode - -```ts -import contextConstant from '@ohos.app.ability.contextConstant'; -let area: contextConstant.AreaMode = contextConstant.AreaMode.EL1; -``` - - - -## cl.ability.2 killProcessesBySelf接å£å˜æ›´ - -killProcessesBySelf接å£å‘½åä¸åˆç†ï¼Œä¿®æ”¹ä¸ºkillAllProcesses。 - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------------ | ------------------ | ----------------------------------------------------- | -------- | -| application/ApplicationContext | ApplicationContext | killProcessesBySelf(): Promise\<void\>; | åˆ é™¤ | -| application/ApplicationContext | ApplicationContext | killProcessesBySelf(callback: AsyncCallback\<void\>); | åˆ é™¤ | -| application/ApplicationContext | ApplicationContext | killAllProcesses(): Promise\<void\>; | 新增 | -| application/ApplicationContext | ApplicationContext | killAllProcesses(callback: AsyncCallback\<void\>); | 新增 | - - -**适é…指导** - -应用ä¸è°ƒç”¨killProcessesBySelfå¯å‚考下列代ç - -å˜æ›´å‰ä»£ç : - -```ts -let context: common.UIAbilityContext = globalThis.abilityContext; -let appContext = context.getApplicationContext(); -appContext.killProcessesBySelf() -``` - -å˜æ›´åŽä»£ç : - -```ts -let context: common.UIAbilityContext = globalThis.abilityContext; -let appContext = context.getApplicationContext(); -appContext.killAllProcesses() -``` - - - -## cl.ability.3 getProcessRunningInformation接å£å˜æ›´ - -getProcessRunningInformation接å£å‘½åä¸åˆç†ï¼Œä¿®æ”¹ä¸ºgetRunningProcessInformation。 - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ----------------------------------- | ------------------ | ------------------------------------------------------------ | -------- | -| @ohos.app.ability.appManager.d.ts | appManager | function getProcessRunningInformation(): Promise\<Array\<ProcessRunningInformation\>\>; | åˆ é™¤ | -| @ohos.app.ability.appManager.d.ts | appManager | function getProcessRunningInformation(callback: AsyncCallback\<Array\<ProcessRunningInformation\>\>): void; | åˆ é™¤ | -| @ohos.app.ability.appManager.d.ts | appManager | function getRunningProcessInformation(): Promise\<Array\<ProcessInformation\>\>; | 新增 | -| @ohos.app.ability.appManager.d.ts | appManager | function getRunningProcessInformation(callback: AsyncCallback\<Array\<ProcessInformation\>\>): void; | 新增 | -| application/ApplicationContext.d.ts | ApplicationContext | getProcessRunningInformation(): Promise\<Array\<ProcessRunningInformation\>\>; | åˆ é™¤ | -| application/ApplicationContext.d.ts | ApplicationContext | getProcessRunningInformation(callback: AsyncCallback\<Array\<ProcessRunningInformation\>\>): void; | åˆ é™¤ | -| application/ApplicationContext.d.ts | ApplicationContext | getRunningProcessInformation(): Promise\<Array\<ProcessInformation\>\>; | 新增 | -| application/ApplicationContext.d.ts | ApplicationContext | getRunningProcessInformation(callback: AsyncCallback\<Array\<ProcessInformation\>\>): void; | 新增 | - -**适é…指导** - -应用ä¸è°ƒç”¨getProcessRunningInformationå¯å‚考下列代ç - -å˜æ›´å‰ä»£ç : - -```ts -let context: common.UIAbilityContext = globalThis.abilityContext; -let appContext = context.getApplicationContext(); -appContext.getProcessRunningInformation() -``` - -å˜æ›´åŽä»£ç : - -```ts -let context: common.UIAbilityContext = globalThis.abilityContext; -let appContext = context.getApplicationContext(); -appContext.getRunningProcessInformation() -``` - - - -## cl.ability.4 WantConstant.Flags接å£å˜æ›´ -WantConstant.Flags接å£æœ‰å¤šä¸ªæ— 效Flagå®šä¹‰ï¼Œåˆ é™¤æŽ‰æ— æ•ˆçš„Flag。 - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_FORWARD_RESULT | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_CONTINUATION | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_NOT_OHOS_COMPONENT | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_FORM_ENABLED | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_AUTH_PERSISTABLE_URI_PERMISSION | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_AUTH_PREFIX_URI_PERMISSION | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITYSLICE_MULTI_DEVICE | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_START_FOREGROUND_ABILITY | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_CONTINUATION_REVERSIBLE | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_INSTALL_WITH_BACKGROUND_MODE | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_CLEAR_MISSION | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_NEW_MISSION | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_MISSION_TOP | åˆ é™¤ | - - - -## cl.ability.5 WantConstant.Action接å£å˜æ›´ -WantConstant.Action接å£æœ‰å¤šä¸ªæ— 效Actionå®šä¹‰ï¼Œåˆ é™¤æŽ‰æ— æ•ˆçš„Action。 - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | ACTION_APP_ACCOUNT_AUTH | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | ACTION_MARKET_DOWNLOAD | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | ACTION_MARKET_CROWDTEST | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | DLP_PARAMS_SANDBOX | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | DLP_PARAMS_BUNDLE_NAME | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | DLP_PARAMS_MODULE_NAME | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | DLP_PARAMS_ABILITY_NAME | åˆ é™¤ | - - - -## cl.ability.6 Caller相关接å£å˜æ›´ -Caller相关接å£ä½¿ç”¨RPC废弃的Sequenceableå’ŒMessageParcel对象,使用RPC在API9æ供的Parcelableå’ŒMessageSequence对象替代。 - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| api/@ohos.app.ability.UIAbility.d.ts | CalleeCallback | (indata: rpc.MessageParcel): rpc.Sequenceable; | å˜æ›´ï¼Œä¿®æ”¹ä¸º (indata: rpc.MessageSequence): rpc.Parcelable; | -| api/@ohos.app.ability.UIAbility.d.ts | Caller | call(method: string, data: rpc.Sequenceable): Promise<void>; | å˜æ›´ï¼Œä¿®æ”¹ä¸º call(method: string, data: rpc.Parcelable): Promise<void>; | -| api/@ohos.app.ability.UIAbility.d.ts | Caller | callWithResult(method: string, data: rpc.Sequenceable): Promise<rpc.MessageParcel>; | å˜æ›´ï¼Œä¿®æ”¹ä¸º callWithResult(method: string, data: rpc.Parcelable): Promise<rpc.MessageSequence>; | - -**适é…指导** - -应用ä¸è°ƒç”¨Caller相关接å£å¯å‚考下列代ç - -å˜æ›´å‰ä»£ç : - -```ts - class MyMessageAble{ - name:"" - str:"" - num: 1 - constructor(name, str) { - this.name = name; - this.str = str; - } - marshalling(messageParcel) { - messageParcel.writeInt(this.num); - messageParcel.writeString(this.str); - console.log('MyMessageAble marshalling num[' + this.num + '] str[' + this.str + ']'); - return true; - } - unmarshalling(messageParcel) { - this.num = messageParcel.readInt(); - this.str = messageParcel.readString(); - console.log('MyMessageAble unmarshalling num[' + this.num + '] str[' + this.str + ']'); - return true; - } - }; - let method = 'call_Function'; - function funcCallBack(pdata) { - console.log('Callee funcCallBack is called ' + pdata); - let msg = new MyMessageAble("test", ""); - pdata.readSequenceable(msg); - return new MyMessageAble("test1", "Callee test"); - } - export default class MainUIAbility extends UIAbility { - onCreate(want, launchParam) { - console.log('Callee onCreate is called'); - try { - this.callee.on(method, funcCallBack); - } catch (error) { - console.log('Callee.on catch error, error.code: ' + error.code + - ' error.message: ' + error.message); - } - } - } -``` - -å˜æ›´åŽä»£ç : - -```ts - class MyMessageAble{ - name:"" - str:"" - num: 1 - constructor(name, str) { - this.name = name; - this.str = str; - } - marshalling(messageSequence) { - messageSequence.writeInt(this.num); - messageSequence.writeString(this.str); - console.log('MyMessageAble marshalling num[' + this.num + '] str[' + this.str + ']'); - return true; - } - unmarshalling(messageSequence) { - this.num = messageSequence.readInt(); - this.str = messageSequence.readString(); - console.log('MyMessageAble unmarshalling num[' + this.num + '] str[' + this.str + ']'); - return true; - } - }; - let method = 'call_Function'; - function funcCallBack(pdata) { - console.log('Callee funcCallBack is called ' + pdata); - let msg = new MyMessageAble("test", ""); - pdata.readParcelable(msg); - return new MyMessageAble("test1", "Callee test"); - } - export default class MainUIAbility extends UIAbility { - onCreate(want, launchParam) { - console.log('Callee onCreate is called'); - try { - this.callee.on(method, funcCallBack); - } catch (error) { - console.log('Callee.on catch error, error.code: ' + error.code + - ' error.message: ' + error.message); - } - } - } -``` - - - -## cl.ability.7 WantConstant.Flags接å£å˜æ›´ - -wantConstant接å£æœ‰ä¸¤ä¸ªç±»ä¼¼çš„枚举,åˆå¹¶æˆä¸€ä¸ªã€‚ - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ----------------------------------- | ---------------------- | ----------------------------------- | -------- | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Parameter | ABILITY_BACK_TO_OTHER_MISSION_STACK | åˆ é™¤ | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Params | ABILITY_BACK_TO_OTHER_MISSION_STACK | 新增 | - -**适é…指导** - -使用@ohos.app.ability.wantConstant.d.tsä¸çš„ABILITY_BACK_TO_OTHER_MISSION_STACK - -```ts -import wantConstant from '@ohos.app.ability.wantConstant'; -let backToOtherMissionStack: wantConstant.Params = wantParam.Params.ABILITY_BACK_TO_OTHER_MISSION_STACK; -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-arkui.md deleted file mode 100644 index 2b4e4e962d2c7a877c35db4ff04dad7f9b3f2ccc..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-arkui.md +++ /dev/null @@ -1,306 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 getInspectorTree接å£è¿”回值从string修改为Object。 - -**å˜æ›´å½±å“** - -3.2.10.7之å‰ä½¿ç”¨getInspectorTree接å£çš„代ç 需è¦é€‚é… - -**关键的接å£/组件å˜æ›´** - -getInspectorTree接å£è¿”回值从string修改为Object - -**适é…指导** - -å°†getInspectorTree返回值作为string使用的代ç 需è¦ä¿®æ”¹ï¼Œæ¯”如以下示例代ç : - -```typescript -console.info(getInspectorTree()) -``` - -需è¦ä¿®æ”¹æˆ - -```typescript -console.info(JSON.stringify(getInspectorTree())) -``` - -## cl.arkui.2 废弃GridItemçš„forceRebuild属性 - -**å˜æ›´å½±å“** - -æ— ï¼Œè¯¥å±žæ€§æ— ä½œç”¨ - -**关键的接å£/组件å˜æ›´** - -GridItemçš„forceRebuild属性废弃 - -**适é…指导** - -如有使用å¯ä»¥ç›´æŽ¥åˆ 除,ä¸å½±å“GridItem功能 - -## cl.arkui.3 Plugin模å—接å£å˜æ›´ - - -### 1. arkuiå系统Pluginæ¨¡å— `PluginComponentTemplate` 接å£å˜åœ¨å˜æ›´ï¼š - -ability命åæ— æ³•å‡†ç¡®è¡¨è¾¾å¯¹åº”å‚æ•°çš„è¯ä¹‰ï¼Œä¿®æ”¹ä¸ºbundleName。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´æŽ¥å£ï¼Œå˜æ›´å‰çš„接å£å·²ç»ä¸èƒ½æ£å¸¸ä½¿ç”¨ï¼Œä¼šåœ¨ç¼–译过程ä¸æŠ¥é”™ã€‚ - - - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - interface PluginComponentTemplate { - source: string; - bundleName: string; - } - - interface PluginComponentInterface { - (value: { template: PluginComponentTemplate; data: any }): PluginComponentAttribute; -} - -- å˜æ›´å‰ï¼š - -```js - interface PluginComponentTemplate { source: string; ability: string; } - interface PluginComponentInterface { - (value: { template: PluginComponentTemplate; data: any }): PluginComponentAttribute; - } -``` - -- å˜æ›´åŽï¼š - -```js - interface PluginComponentTemplate { source: string; bundleName: string; } - interface PluginComponentInterface { - (value: { template: PluginComponentTemplate; data: any }): PluginComponentAttribute; - } -``` - -**适é…指导** - -使用å˜æ›´åŽçš„接å£ï¼Œç¤ºä¾‹ä»£ç 如下: - -- å˜æ›´å‰ï¼š -```js -PluginComponent({ - template: { source: 'plugincomponent1', ability: 'com.example.plugin' }, - data: { 'countDownStartValue': 'new countDownStartValue' } -}).size({ width: 500, height: 100 }) -``` - -- å˜æ›´åŽï¼š -```js -PluginComponent({ - template: { source: 'plugincomponent1', bundleName: 'com.example.plugin' }, - data: { 'countDownStartValue': 'new countDownStartValue' } -}).size({ width: 500, height: 100 }) -``` - -### 2. arkuiå系统Pluginæ¨¡å— `pluginComponentManager` 接å£å˜åœ¨å˜æ›´ï¼š - -want命åæ— æ³•å‡†ç¡®è¡¨è¾¾å¯¹åº”å‚æ•°çš„è¯ä¹‰ï¼Œä¿®æ”¹ä¸ºtarget。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´æŽ¥å£ã€‚å˜æ›´å‰çš„接å£ä¼šå‡ºçŽ°å‘Šè¦ï¼Œè™½ç„¶å¯ä»¥é€šè¿‡ç¼–译,但是已ç»ä¸èƒ½æ£å¸¸ä½¿ç”¨å…¶åŠŸèƒ½ã€‚ - - - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - interface PushParameterForStage { - owner: Want; - target: Want; - name: string; - data: KVObject; - extraData: KVObject; - jsonPath?: string; - } - - function push(param: PushParameterForStage, callback: AsyncCallback<void>): void; - - interface RequestParameterForStage { - owner: Want; - target: Want; - name: string; - data: KVObject; - jsonPath?: string; - } - - function request(param: RequestParameterForStage, callback: AsyncCallback<RequestCallbackParameters>): void; - -- å˜æ›´å‰ï¼š - -```js - interface PushParameterForStage { - owner: Want; - want: Want; - name: string; - data: KVObject; - extraData: KVObject; - jsonPath?: string; - } - - function push(param: PushParameterForStage, callback: AsyncCallback<void>): void; - - interface RequestParameterForStage { - owner: Want; - want: Want; - name: string; - data: KVObject; - jsonPath?: string; - } - - function request(param: RequestParameterForStage, callback: AsyncCallback<RequestCallbackParameters>): void; -``` - -- å˜æ›´åŽï¼š - -```js - interface PushParameterForStage { - owner: Want; - target: Want; - name: string; - data: KVObject; - extraData: KVObject; - jsonPath?: string; - } - - function push(param: PushParameterForStage, callback: AsyncCallback<void>): void; - - interface RequestParameterForStage { - owner: Want; - target: Want; - name: string; - data: KVObject; - jsonPath?: string; - } - - function request(param: RequestParameterForStage, callback: AsyncCallback<RequestCallbackParameters>): void; -``` - -**适é…指导** - -使用å˜æ›´åŽçš„接å£ï¼Œç¤ºä¾‹ä»£ç 如下: - -- å˜æ›´å‰ï¼š -```js -import pluginComponentManager from '@ohos.pluginComponent' - -pluginComponentManager.push({ - owner:{ - bundleName:"com.example.provider", - abilityName:"com.example.provider.MainAbility" - }, - want: { - bundleName: "com.example.provider", - abilityName: "com.example.provider.MainAbility", - }, - name: "ets/pages/plugin2.js", - data: { - "js": "ets/pages/plugin.js", - "key_1": 1111, - }, - extraData: { - "extra_str": "this is push event" - }, - jsonPath: "", - }, - (err, data) => { - console.log("push_callback:err: " ,JSON.stringify(err)); - console.log("push_callback:data: " , JSON.stringify(data)); - console.log("push_callback: push ok!"); - } -) - -pluginComponentManager.request({ - owner:{ - bundleName:"com.example.provider", - abilityName:"com.example.provider.MainAbility" - }, - want: { - bundleName: "com.example.provider", - abilityName: "ets/pages/plugin2.js", - }, - name: "plugintemplate", - data: { - "key_1": " myapplication plugin component test", - "key_2": 123456 - }, - jsonPath: "", -}, - (err, data) => { - console.log("request_callback: componentTemplate.ability=" + data.componentTemplate.ability) - console.log("request_callback: componentTemplate.source=" + data.componentTemplate.source) - } -) -``` - -- å˜æ›´åŽï¼š -```js -import pluginComponentManager from '@ohos.pluginComponent' - -pluginComponentManager.push({ - owner:{ - bundleName:"com.example.provider", - abilityName:"com.example.provider.MainAbility" - }, - target: { - bundleName: "com.example.provider", - abilityName: "com.example.provider.MainAbility", - }, - name: "ets/pages/plugin2.js", - data: { - "js": "ets/pages/plugin.js", - "key_1": 1111, - }, - extraData: { - "extra_str": "this is push event" - }, - jsonPath: "", - }, - (err, data) => { - console.log("push_callback:err: " ,JSON.stringify(err)); - console.log("push_callback:data: " , JSON.stringify(data)); - console.log("push_callback: push ok!"); - } -) - -pluginComponentManager.request({ - owner:{ - bundleName:"com.example.provider", - abilityName:"com.example.provider.MainAbility" - }, - target: { - bundleName: "com.example.provider", - abilityName: "ets/pages/plugin2.js", - }, - name: "plugintemplate", - data: { - "key_1": " myapplication plugin component test", - "key_2": 123456 - }, - jsonPath: "", -}, - (err, data) => { - console.log("request_callback: componentTemplate.ability=" + data.componentTemplate.ability) - console.log("request_callback: componentTemplate.source=" + data.componentTemplate.source) - } -) -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-bundlemanager.md deleted file mode 100644 index 15accb04095bb7f3fb478b01b702d4e58c6e46ad..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-bundlemanager.md +++ /dev/null @@ -1,245 +0,0 @@ -# 包管ç†å系统ChangeLog - -## cl.bundlemanager.1 包管ç†åˆ 除@ohos.bundle.bundleManager.d.tsä¸çš„getAbilityIcon接å£ï¼Œå¯ä»¥ä½¿ç”¨@ohos.resourceManager.d.tsä¸çš„getMediaContent替æ¢ã€‚ - -包管ç†åˆ 除[@ohos.bundle.bundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts)ä¸çš„getAbilityIcon接å£ï¼Œå¯ä»¥ä½¿ç”¨[@ohos.resourceManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.resourceManager.d.ts)ä¸çš„getMediaContent替æ¢ã€‚ - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了getAbilityIcon接å£çš„,需è¦æ”¹ä¸ºä½¿ç”¨getMediaContent接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -åˆ é™¤@ohos.bundle.bundleManager.d.tsä¸çš„getAbilityIcon接å£ã€‚ - -**适é…指导**<br> -使用@ohos.bundle.bundleManager.d.ts下é¢çš„getAbilityIcon,需è¦ä¿®æ”¹ä¸º@ohos.resourceManager.d.tsä¸çš„getMediaContent。需è¦æå‰èŽ·å–åˆ°å›¾æ ‡çš„èµ„æºID值,å¯å‚考该接å£çš„[使用指导](../../../application-dev/reference/apis/js-apis-resource-manager.md#getmediacontent9)。 - -## cl.bundlemanager.2 包管ç†åº•å±‚能力å˜æ›´ï¼Œä»…支æŒç³»ç»Ÿèµ„æºHAP自定义æƒé™ï¼Œå…¶å®ƒHAPå‡ä¸æ”¯æŒè‡ªå®šä¹‰æƒé™ã€‚ - -仅支æŒç³»ç»Ÿèµ„æºHAP自定义æƒé™ï¼Œå…¶å®ƒHAPå‡ä¸æ”¯æŒè‡ªå®šä¹‰æƒé™ã€‚包管ç†åœ¨è§£æžHAP时,仅支æŒè§£æžèµ„æºHAP(包å为:ohos.global.systemres)çš„é…置文件ä¸çš„definePermissionså—段,该å—段用æ¥å®šä¹‰æƒé™ã€‚其它HAPä¸é…置的definePermissionså—段将ä¸ä¼šè§£æžã€‚ -如果有应用需è¦è‡ªå®šä¹‰æƒé™ï¼Œå¯ä»¥åœ¨èµ„æºHAPçš„[é…置文件](https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json)ä¸definePermissionså—段下é¢æ–°å¢žå®šä¹‰æƒé™ã€‚æ ¼å¼å¯å‚考[定义æƒé™](../../../application-dev/quick-start/module-structure.md#definepermissions对象内部结构)。 - - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬é•œåƒåŽï¼Œåº”用自定义的æƒé™å°†ä¸ä¼šç”Ÿæ•ˆï¼Œä½¿ç”¨æ–¹åœ¨ç”³è¯·è¯¥æƒé™æ—¶ï¼Œä¼šæŽˆæƒå¤±è´¥ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -包管ç†åº•å±‚能力å˜æ›´ï¼Œä»…支æŒç³»ç»Ÿèµ„æºHAP自定义æƒé™ï¼Œå…¶å®ƒHAPå‡ä¸æ”¯æŒè‡ªå®šä¹‰æƒé™ã€‚ - -**适é…指导**<br> -如果有应用需è¦è‡ªå®šä¹‰æƒé™ï¼Œå¯ä»¥åœ¨èµ„æºHAPçš„[é…置文件](https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json)ä¸definePermissionså—段下é¢æ–°å¢žå®šä¹‰æƒé™ã€‚æ ¼å¼å¯å‚考[定义æƒé™](../../../application-dev/quick-start/module-structure.md#definepermissions对象内部结构)。 - -## cl.bundlemanager.3 包管ç†äºŒçº§æ¨¡å—文件å称å˜æ›´ï¼Œä¿®æ”¹ä¸ºæ–‡ä»¶å†…对应的接å£å称 - -包管ç†äºŒçº§æ¨¡å—文件å称å˜æ›´ï¼Œä¿®æ”¹ä¸ºæ–‡ä»¶å†…对应的接å£å称,å˜æ›´æ–‡ä»¶å¦‚下: - -| 原文件å称 |å˜æ›´åŽæ–‡ä»¶å称 | -|----|----| -| bundleManager/abilityInfo.d.ts | bundleManager/AbilityInfo.d.ts | -| bundleManager/applicationInfo.d.ts | bundleManager/ApplicationInfo.d.ts | -| bundleManager/bundleInfo.d.ts | bundleManager/BundleInfo.d.ts | -| bundleManager/dispatchInfo.d.ts | bundleManager/DispatchInfo.d.ts | -| bundleManager/elementName.d.ts | bundleManager/ElementName.d.ts | -| bundleManager/extensionAbilityInfo.d.ts | bundleManager/ExtensionAbilityInfo.d.ts | -| bundleManager/hapModuleInfo.d.ts | bundleManager/HapModuleInfo.d.ts | -| bundleManager/launcherAbilityInfo.d.ts | bundleManager/LauncherAbilityInfo.d.ts | -| bundleManager/metadata.d.ts | bundleManager/Metadata.d.ts | -| bundleManager/packInfo.d.ts | bundleManager/BundlePackInfo.d.ts | -| bundleManager/permissionDef.d.ts | bundleManager/PermissionDef.d.ts | -| bundleManager/remoteAbilityInfo.d.ts | bundleManager/RemoteAbilityInfo.d.ts | -| bundleManager/shortcutInfo.d.ts | bundleManager/ShortcutInfo.d.ts | - -除了å…安装相关的BundlePackInfo文件åç§°å¢žåŠ äº†Bundle,其余文件å称å‡æ˜¯ä¿®æ”¹ä¸ºå¤§å†™å¼€å¤´ã€‚ - -**å˜æ›´å½±å“**<br> -仅修改二级模å—文件å称,ä¸ä¼šå½±å“一级模å—的使用。在使用之å‰å·²å‘布的API 9å„beta版本时,如果在ts文件ä¸ç›´æŽ¥å¯¼å…¥äº†bundleManager下é¢äºŒçº§æ¨¡å—接å£çš„,IDEä¸ç¼–译报错的è¯ï¼Œéœ€è¦ä¿®æ”¹å¯¼å…¥çš„文件å称。 - -**关键的接å£/组件å˜æ›´**<br> -å˜æ›´bundleManager文件夹下é¢çš„d.tså称,修改为文件ä¸çš„接å£å称。 - -**适é…指导**<br> -使用新的sdkåŽï¼Œæ£å¸¸æƒ…å†µä¸‹åº”ç”¨æ— éœ€é€‚é…该å˜æ›´ã€‚如果在应用ä¸ç›´æŽ¥å¯¼å…¥äº†bundleManager文件夹下é¢çš„文件,则需è¦ä¿®æ”¹å¯¼å…¥çš„文件å称。å¯ä»¥æŒ‰ç…§å¦‚下的修改方å¼ï¼š - -**修改å‰ï¼š** -```ts -import {AbilityInfo} from 'bundleManger/abilityInfo'; -import {ExtensionAbilityInfo} from 'bundleManger/extensionAbilityInfo'; -import {BundlePackInfo} from 'bundleManger/packInfo'; -``` -**修改åŽï¼š** -```ts -import {AbilityInfo} from 'bundleManger/AbilityInfo'; -import {ExtensionAbilityInfo} from 'bundleManger/ExtensionAbilityInfo'; -import {BundlePackInfo} from 'bundleManger/BundlePackInfo'; -``` - -## cl.bundlemanager.4 包管ç†LaunchType枚举类型å称å˜æ›´ï¼Œç”±STANDARD修改为MULTITON,枚举值ä¸å˜ã€‚ - -包管ç†[LaunchType](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts)枚举类型å˜æ›´ï¼Œç”±STANDARD修改为MULTITON,枚举值ä¸å˜ï¼Œè¡¨ç¤ºå¤šå®žä¾‹ç±»åž‹ã€‚ - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了LaunchType.STANDARD的,需è¦æ”¹ä¸ºä½¿ç”¨LaunchType.MULTITON接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -LaunchType枚举类型å称å˜æ›´ï¼Œç”±LaunchType.STANDARD修改为LaunchType.MULTITON。 - -**适é…指导**<br> -ç”±LaunchType.STANDARD修改为LaunchType.MULTITON。 - -## cl.bundlemanager.5 包管ç†AbilityInfo结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ã€‚ - -包管ç†[AbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts)结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ï¼Œè¡¨ç¤ºå½“å‰ability是å¦æ”¯æŒå¯¼å‡ºï¼Œè¢«å…¶ä»–çš„ability使用。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了isVisible的,需è¦æ”¹ä¸ºä½¿ç”¨exported。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[AbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts)结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ã€‚ - -**适é…指导**<br> -ç”±isVisible修改为exported。 - -## cl.bundlemanager.6 包管ç†ExtensionAbilityInfo结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ã€‚ - -包管ç†[ExtensionAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts)结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ï¼Œè¡¨ç¤ºå½“å‰ability是å¦æ”¯æŒå¯¼å‡ºï¼Œè¢«å…¶ä»–çš„ability使用。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了isVisible的,需è¦æ”¹ä¸ºä½¿ç”¨exported。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[ExtensionAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts)结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ã€‚ - -**适é…指导**<br> -ç”±isVisible修改为exported。 - -## cl.bundlemanager.7 包管ç†ModuleAbilityInfo结构体ä¸visibleå—段修改为exported,类型ä¸å˜ã€‚ - -包管ç†[ModuleAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundlePackInfo.d.ts)结构体ä¸visibleå—段修改为exported,类型ä¸å˜ï¼Œè¡¨ç¤ºå½“å‰ability是å¦æ”¯æŒå¯¼å‡ºï¼Œè¢«å…¶ä»–çš„ability使用。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了visible的,需è¦æ”¹ä¸ºä½¿ç”¨exported。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[ModuleAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundlePackInfo.d.ts)结构体ä¸visibleå—段修改为exported,类型ä¸å˜ã€‚ - -**适é…指导**<br> -ç”±visible修改为exported。 - -## cl.bundlemanager.8 app.jsoné…ç½®æ–‡ä»¶åˆ é™¤distributedNotificationEnabledæ ‡ç¾ -åˆ é™¤é…置文件app.jsonä¸[distributedNotificationEnabled](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件app.jsonä¸[distributedNotificationEnabled](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤[distributedNotificationEnabled](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.9 app.jsoné…ç½®æ–‡ä»¶åˆ é™¤entityTypeæ ‡ç¾ -åˆ é™¤é…置文件app.jsonä¸[entityType](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件app.jsonä¸[entityType](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤[entityType](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.10 app.jsoné…ç½®æ–‡ä»¶åˆ é™¤keepAliveæ ‡ç¾ -åˆ é™¤é…置文件app.jsonä¸[keepAlive](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件app.jsonä¸[keepAlive](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤[keepAlive](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.11 app.jsoné…ç½®æ–‡ä»¶åˆ é™¤removableæ ‡ç¾ -åˆ é™¤é…置文件app.jsonä¸[removable](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件app.jsonä¸[removable](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤[removable](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.12 app.jsoné…ç½®æ–‡ä»¶åˆ é™¤singletonæ ‡ç¾ -åˆ é™¤é…置文件app.jsonä¸[singleton](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件app.jsonä¸[singleton](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤[singleton](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.13 app.jsoné…ç½®æ–‡ä»¶åˆ é™¤userDataClearableæ ‡ç¾ -åˆ é™¤é…置文件app.jsonä¸[userDataClearable](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件app.jsonä¸[userDataClearable](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤[userDataClearable](../../../application-dev/quick-start/app-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.14 module.jsoné…置文件ä¸moduleçš„nameæ ‡ç¾ä¸å†æ”¯æŒé…ç½®ä¸æ–‡ -module.jsoné…置文件ä¸çš„moduleçš„[name](../../../application-dev/quick-start/module-configuration-file.md)ä¸å†æ”¯æŒé…ç½®ä¸æ–‡ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件module.jsonä¸moduleçš„[name](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ä¸å†æ”¯æŒé…ç½®ä¸æ–‡ï¼ŒIDEä¸é…ç½®è¯¥æ ‡ç¾ä¸ºä¸æ–‡ï¼Œä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -使用英文è¯è¨€é…ç½®module.jsonä¸moduleçš„[name](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.15 module.jsoné…置文件ä¸abilityçš„nameæ ‡ç¾ä¸å†æ”¯æŒé…ç½®ä¸æ–‡ -module.jsoné…置文件ä¸çš„abilityçš„[name](../../../application-dev/quick-start/module-configuration-file.md)ä¸å†æ”¯æŒé…ç½®ä¸æ–‡ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件module.jsonä¸abilityçš„[name](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ä¸å†æ”¯æŒé…ç½®ä¸æ–‡ï¼ŒIDEä¸é…ç½®è¯¥æ ‡ç¾ä¸ºä¸æ–‡ï¼Œä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -使用英文è¯è¨€é…ç½®module.jsonä¸abilityçš„[name](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.16 module.jsoné…ç½®æ–‡ä»¶åˆ é™¤uiSyntaxæ ‡ç¾ -åˆ é™¤é…置文件module.jsonä¸[uiSyntax](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件module.jsonä¸[uiSyntax](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤module.jsonä¸[uiSyntax](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ - -## cl.bundlemanager.17 module.jsoné…置文件ä¸moduleåŠabilityä¸çš„srcEntranceæ ‡ç¾ä¿®æ”¹ä¸ºsrcEntry -é…置文件module.jsonä¸[srcEntrance](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ä¿®æ”¹ä¸ºsrcEntry - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件module.jsonä¸[srcEntrance](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤module.jsonä¸[srcEntrance](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ï¼Œä½¿ç”¨srcEntry替代 - -## cl.bundlemanager.18 åˆ é™¤module.jsoné…置文件ä¸distroFilterçš„apiVersionæ ‡ç¾ -åˆ é™¤é…置文件module.jsonä¸[distroFilter](../../../application-dev/quick-start/module-configuration-file.md)çš„apiVersionæ ‡ç¾ - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件module.json[distroFilter](../../../application-dev/quick-start/module-configuration-file.md)çš„apiVersionæ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤module.jsonä¸[distroFilter](../../../application-dev/quick-start/module-configuration-file.md)çš„apiVersionæ ‡ç¾ - -## cl.bundlemanager.19 module.jsoné…置文件ä¸distroFilter修改为distributionFilter -é…置文件module.jsonä¸[distroFilter](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ä¿®æ”¹ä¸ºdistributionFilter - -**å˜æ›´å½±å“**<br> -åˆ é™¤é…置文件module.json[distroFilter](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ï¼ŒIDEä¸ä¸å†æ”¯æŒé…ç½®è¯¥æ ‡ç¾ï¼Œä½¿ç”¨è¯¥æ ‡ç¾ä¼šå¯¼è‡´IDE编译报错 - -**适é…指导**<br> -åˆ é™¤module.jsonä¸[distroFilter](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾ï¼Œä½¿ç”¨distributionFilter替代 - -## cl.bundlemanager.20 module.jsoné…置文件ä¸launchTypeçš„æ ‡ç¾standard模å¼ä¿®æ”¹ä¸ºmultiton -åˆ é™¤module.jsonä¸[launchType](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾çš„standard模å¼ä¿®æ”¹ä¸ºmultiton - -**适é…指导**<br> -åˆ é™¤module.jsonä¸[launchType](../../../application-dev/quick-start/module-configuration-file.md)æ ‡ç¾çš„standard模å¼ï¼Œä½¿ç”¨multiton替代 - -## cl.bundlemanager.21 module.jsoné…置文件ä¸abilitiesçš„æ ‡ç¾visible修改为exported -module.jsonä¸[abilities](../../../application-dev/quick-start/module-configuration-file.md)çš„æ ‡ç¾visible修改为exported,表示当å‰ability是å¦æ”¯æŒå¯¼å‡ºï¼Œè¢«å…¶ä»–çš„ability使用。 - -**适é…指导**<br> -åˆ é™¤module.jsonä¸[abilities](../../../application-dev/quick-start/module-configuration-file.md)çš„visibleæ ‡ç¾ï¼Œä½¿ç”¨exportedæ ‡ç¾æ›¿ä»£ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-util.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-util.md deleted file mode 100644 index 4b3e484809c30b26853c544a61c5376dfc70bd9b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-util.md +++ /dev/null @@ -1,99 +0,0 @@ -# util系统JS APIå˜æ›´Changelog - -OpenHarmony 3.2.10.7(Mr)版本相较于OpenHarmony 3.2.beta4版本,utilå系统的APIå˜æ›´å¦‚下 - -## cl.util.1.randomUUID接å£åå˜æ›´ -utilå系统randomUUID函数åå˜åœ¨å˜æ›´ï¼š - -function randomUUID(entropyCache?: boolean): string 改为 function generateRandomUUID(entropyCache?: boolean): string 函数å由原æ¥çš„randomUUID改为generateRandomUUID。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| :---------- | ------------------- | ------- | -| @ohos.util | function randomUUID(entropyCache?: boolean): string | åˆ é™¤ | -| @ohos.util | function generateRandomUUID(entropyCache?: boolean): string| å˜æ›´ | - -**适é…指导** - -应用ä¸ä½¿ç”¨generateRandomUUIDå¯å‚考下列代ç - -示例: - -```ts -import util from '@ohos.util' -let uuid = util.generateRandomUUID(true); -console.log("RFC 4122 Version 4 UUID:" + uuid); -// 输出: -// RFC 4122 Version 4 UUID:88368f2a-d5db-47d8-a05f-534fab0a0045 -``` - -## cl.util.2.randomBinaryUUID接å£åå˜æ›´ -utilå系统randomBinaryUUID函数åå˜åœ¨å˜æ›´ï¼š - -function randomBinaryUUID(entropyCache?: boolean): Uint8Array 改为 function generateRandomBinaryUUID(entropyCache?: boolean): Uint8Array 函数å由原æ¥çš„randomBinaryUUID改为generateRandomBinaryUUID。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| :---------- | ------------------- | ------- | -| @ohos.util | function randomBinaryUUID(entropyCache?: boolean): Uint8Array; | åˆ é™¤ | -| @ohos.util | function generateRandomBinaryUUID(entropyCache?: boolean): Uint8Array| å˜æ›´ | - -**适é…指导** - -应用ä¸ä½¿ç”¨generateRandomBinaryUUIDå¯å‚考下列代ç - -示例: - -```ts -import util from '@ohos.util' -let uuid = util.generateRandomBinaryUUID(true); -console.log(JSON.stringify(uuid)); -// 输出: -// 138,188,43,243,62,254,70,119,130,20,235,222,199,164,140,150 -``` - -## cl.util.3.LRUCacheç±»contains接å£å‚数类型å˜æ›´ -utilå系统LRUCacheç±»contains接å£å‚数类型å˜æ›´ï¼š - -contains(key: object): boolean 改为 contains(key: K): boolean å‚数类型由原æ¥çš„object改为K。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| :-------- | ---------| -------------------------------- | -------- | -| @ohos.util | LRUCache | contains(key: object): boolean | åˆ é™¤ | -| @ohos.util | LRUCache | contains(key: K): boolean | å˜æ›´ | - -**适é…指导** - -应用ä¸ä½¿ç”¨contains函数å¯å‚考下列代ç - -示例: - -```ts -import util from '@ohos.util' -let pro = new util.LRUCache(); -pro.put(2,10); -let obj = {1:"key"}; -let result = pro.contains(obj); -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-ability.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-ability.md deleted file mode 100644 index d1494fd160c8952d912509c9528c1b83850dbbb3..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-ability.md +++ /dev/null @@ -1,35 +0,0 @@ -# 元能力å系统ChangeLog - -OpenHarmony 3.2.12.2版本相较于OpenHarmony3.2release版本,元能力å系统的API新增了更为详细的返回错误ç ä¿¡æ¯ï¼Œä¾¿äºŽå¼€å‘è€…æ›´åŠ æœ‰æ•ˆåœ°ä½¿ç”¨ç›¸å…³API接å£ã€‚ - -## cl.ability.1 API错误ç 新增åŠä¼˜åŒ–æè¿° - -相较之å‰ç‰ˆæœ¬ï¼Œå¯¹äºŽæŽ¥å£çš„错误ç æè¿°åŠæŽ¥å£å¯èƒ½è¿”回的所有错误ç å‡è¿›è¡Œäº†æ³¨é‡Šè¯´æ˜Žï¼Œå¼€å‘者å¯ä»¥é€šè¿‡ç›¸å…³é”™è¯¯ç 进行更为准确的错误æµç¨‹æŽ§åˆ¶ã€‚ - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£å¯¹å¤–å£°æ˜Žï¼Œå¯¹å®žé™…åŠŸèƒ½æ— å½±å“,开å‘者å¯é€‰æ‹©æ˜¯å¦é€‚é…。 - -**关键的接å£/组件å˜æ›´** - -本次å˜æ›´ä¸»è¦æ¶‰åŠå¦‚下模å—的注释更新,详细请å‚考对应的对外接å£å£°æ˜ŽåŠAPIå¼€å‘指导文档: - -| æ¨¡å— | 主è¦å˜æ›´ç‚¹è¯´æ˜Ž | -| ----------------------------------- | ------------------------------------------------------------ | -| @ohos.app.ability.UIAbility | å¢žåŠ 16200001ã€16200002ã€16200004ã€16200005ã€16000050ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.ability.abilityManager | å¢žåŠ 201ã€202ã€16000050ç‰é”™è¯¯ç 返回说明,调整401ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.ability.appManager | å¢žåŠ 201ã€202ã€16000050ç‰é”™è¯¯ç 返回说明,调整401ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.ability.dataUriUtils | å¢žåŠ 401ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.ability.errorManager | å¢žåŠ 16000003ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.ability.missionManager | å¢žåŠ 201ã€202ã€16300001ã€16300002ã€16000009ç‰é”™è¯¯ç 返回说明,调整401ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.ability.quickFixManager | å¢žåŠ 201ã€202ã€18500001ã€18500002ã€18500008ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.ability.wantAgent | å¢žåŠ 16000007ã€16000015ã€16000151ç‰é”™è¯¯ç 返回说明 | -| application/AbilityDelegator | å¢žåŠ 16000001ã€16000002ã€16000004ã€16000005ã€16000006ã€16000008ã€16000009ã€16000010ã€16000011ã€16000050ã€16000053ã€16000055ã€16200001ã€16000100ç‰é”™è¯¯ç 返回说明 | -| application/ApplicationContext | å¢žåŠ 16000011ã€16000050ç‰é”™è¯¯ç 返回说明 | -| application/Context | å¢žåŠ 201ã€202ã€401ç‰é”™è¯¯ç 返回说明 | -| application/ServiceExtensionContext | å¢žåŠ 201ã€202ã€16000001ã€16000002ã€16000004ã€16000005ã€16000006ã€16000008ã€16000009ã€16000010ã€16000011ã€16000050ã€16000053ã€16000055ã€16200001ç‰é”™è¯¯ç 返回说明 | -| application/UIAbilityContext | å¢žåŠ 201ã€16000001ã€16000002ã€16000004ã€16000005ã€16000006ã€16000008ã€16000009ã€16000010ã€16000011ã€16000050ã€16000053ã€16000055ã€16200001ã€16000100ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.form.formHost | å¢žåŠ 201ã€202ã€16500050ã€16500060ã€16501000ã€16501001ã€16501003ç‰é”™è¯¯ç 返回说明,调整401ç‰é”™è¯¯ç 返回说明 | -| @ohos.app.form.formProvider | å¢žåŠ 202ã€16500050ã€16500060ã€16500100ã€16501000ã€16501001ã€16501002ã€16501003,调整401ç‰é”™è¯¯ç 返回说明 | -| application/FormExtensionContext | å¢žåŠ 202ã€401ã€16500050ã€16500100ã€16500101ã€16501000ç‰é”™è¯¯ç 返回说明 | - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-notification.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-notification.md deleted file mode 100644 index 2530aad05178689ac19797832919e7285ae88b7c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-notification.md +++ /dev/null @@ -1,22 +0,0 @@ -# 时间通知å系统ChangeLog - -OpenHarmony 3.2.12.2版本相较于OpenHarmony3.2release版本,事件通知å系统的API新增了更为详细的返回错误ç ä¿¡æ¯ï¼Œä¾¿äºŽå¼€å‘è€…æ›´åŠ æœ‰æ•ˆåœ°ä½¿ç”¨ç›¸å…³API接å£ã€‚ - -## cl.notification.1 API错误ç 新增åŠä¼˜åŒ–æè¿° - -相较之å‰ç‰ˆæœ¬ï¼Œå¯¹äºŽæŽ¥å£çš„错误ç æè¿°åŠæŽ¥å£å¯èƒ½è¿”回的所有错误ç å‡è¿›è¡Œäº†æ³¨é‡Šè¯´æ˜Žï¼Œå¼€å‘者å¯ä»¥é€šè¿‡ç›¸å…³é”™è¯¯ç 进行更为准确的错误æµç¨‹æŽ§åˆ¶ã€‚ - -**å˜æ›´å½±å“** - -å½±å“API9版本的JS接å£å¯¹å¤–å£°æ˜Žï¼Œå¯¹å®žé™…åŠŸèƒ½æ— å½±å“,开å‘者å¯é€‰æ‹©æ˜¯å¦é€‚é…。 - -**关键的接å£/组件å˜æ›´** - -本次å˜æ›´ä¸»è¦æ¶‰åŠå¦‚下模å—的注释更新,详细请å‚考对应的对外接å£å£°æ˜ŽåŠAPIå¼€å‘指导文档: - -| æ¨¡å— | 主è¦å˜æ›´ç‚¹è¯´æ˜Ž | -| --------------------------- | ------------------------------------------------------------ | -| @ohos.commonEventManager | å¢žåŠ 801ã€1500007ã€1500008ç‰é”™è¯¯ç 返回说明 | -| @ohos.notificationManager | å¢žåŠ 201ã€202ã€1600001ã€1600002ã€1600003ã€1600004ã€1600005ã€1600007ã€1600008ã€1600009ã€1600010ã€17700001ç‰é”™è¯¯ç 返回说明,调整401ç‰é”™è¯¯ç 返回说明 | -| @ohos.notificationSubscribe | å¢žåŠ 201ã€202ã€1600001ã€1600002ã€1600003ã€1600007ã€1600008ã€17700001ç‰é”™è¯¯ç 返回说明,调整401ç‰é”™è¯¯ç 返回说明 | - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-bundlemanager.md deleted file mode 100644 index 277221beff721cadf9e7e02d223a65d6afca87b0..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-bundlemanager.md +++ /dev/null @@ -1,686 +0,0 @@ -# 包管ç†å系统ChangeLog - -## cl.bundlemanager.1 包管ç†API异常处ç†æ–¹å¼å˜æ›´ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„接å£å…¨éƒ¨åºŸå¼ƒï¼Œéœ€è¦ä½¿ç”¨æ–°çš„API9æŽ¥å£ -包管ç†æŽ¥å£ä½¿ç”¨ä¸šåŠ¡é€»è¾‘返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯ç 规范。对原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„接å£å…¨éƒ¨åºŸå¼ƒï¼Œéœ€è¦ä½¿ç”¨æ–°çš„API9接å£ã€‚ - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -新增接å£æŒ‰ç…§æ¨¡å—进行了划分,将原有的的d.ts分æˆå¤šä¸ªd.ts,å¯ä»¥æ ¹æ®ä¸šåŠ¡éœ€è¦å¯¼å…¥ä¸åŒçš„d.ts。新增接å£æ”¯æŒç»Ÿä¸€çš„错误ç 异常处ç†è§„范,功能上与原接å£ä¿æŒä¸€è‡´ã€‚部分功能有å˜æ›´æˆ–者新增的接å£ä¼šå•ç‹¬åˆ—出。 - -为适é…统一的API异常处ç†æ–¹å¼ï¼Œå¯¹åŒ…管ç†API8åŠä¹‹å‰çš„接å£è¿›è¡ŒåºŸå¼ƒï¼ˆä¸‹è¡¨ä¸**原接å£**列内容),并新增对应API9接å£ï¼ˆä¸‹è¡¨ä¸**新接å£**列内容)。 - -| 原接å£ï¼ˆåºŸå¼ƒï¼‰ | 新接å£ï¼ˆæ–°å¢žï¼‰ | -| ------ | ------ | -| @ohos.bundle.d.ts | [@ohos.bundle.bundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts) | -| @ohos.bundle.d.ts | [@ohos.bundle.freeInstall.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.freeInstall.d.ts) | -| @ohos.bundle.d.ts | [@ohos.bundle.installer.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.installer.d.ts) | -| @ohos.bundle.innerBundleManager.d.ts | [@ohos.bundle.launcherBundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.launcherBundleManager.d.ts) | -| @ohos.bundle.innerBundleManager.d.ts | [@ohos.bundle.bundleMonitor.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleMonitor.d.ts) | -| @ohos.bundle.defaultAppManager.d.ts | [@ohos.bundle.defaultAppManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.defaultAppManager.d.ts) | -| @ohos.distributedBundle.d.ts | [@ohos.bundle.distributedBundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.distributedBundleManager.d.ts) | -| æ— | [@ohos.bundle.appControl.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.appControl.d.ts) | -| @system.package.d.ts | æ— | - -**适é…指导**<br> -1. 调用包管ç†æŸ¥è¯¢ç›¸å…³æŽ¥å£ã€‚ -``` -import bundle form '@ohos.bundle.bundleManager' -``` -2. 调用包管ç†å®‰è£…å¸è½½ç›¸å…³æŽ¥å£ -``` -import installer form '@ohos.bundle.installer' -``` -3. 调用包管ç†å…å®‰è£…ç›¸å…³æŽ¥å£ -``` -import freeInstall form '@ohos.bundle.freeInstall' -``` -4. 调用包管ç†launcherç›¸å…³æŽ¥å£ -``` -import launcherBundleManager form '@ohos.bundle.launcherBundleManager' -import bundleMonitor form '@ohos.bundle.bundleMonitor' -``` -6. 调用包管ç†é»˜è®¤åº”ç”¨ç›¸å…³æŽ¥å£ -``` -import defaultAppManager form '@ohos.bundle.defaultAppManager' -``` -7. 调用包管ç†åˆ†å¸ƒå¼ç›¸å…³æŽ¥å£ -``` -import distributedBundle form '@ohos.bundle.distributedBundle' -``` -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考新接å£çš„接å£æ–‡æ¡£ã€‚ - -## cl.bundlemanager.2 包管ç†API结构体å˜æ›´ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„结构体全部废弃,需è¦ä½¿ç”¨æ–°çš„API9结构体 -包管ç†æŽ¥å£ä½¿ç”¨ä¸šåŠ¡é€»è¾‘返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯ç 规范。原有API8åŠä¹‹å‰çš„结构体全部废弃,需è¦ä½¿ç”¨æ–°çš„API9结构体。 - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…å˜æ›´ç»“构体,å¦åˆ™ä¼šå½±å“原有业务逻辑。原有二级模å—的导出功能也会废弃,需è¦ä½¿ç”¨æ–°æŽ¥å£çš„二级模å—到处能力,需è¦å¯¼å…¥æ–°çš„一级d.ts模å—。 - -**关键接å£/组件å˜æ›´** - -新增结构体对原有的API8åŠä¹‹å‰çš„结构体进行梳ç†ï¼Œå°†åŽŸæœ‰API8åŠä¹‹å‰çš„结构体全部废弃,新增新的API9结构体,å˜æ›´å‰åŽçš„对比如下表所示,部分结构体进行了åˆå¹¶ï¼Œä¾‹å¦‚moduleInfo.d.ts替æ¢ä¸ºhapModuleInfo.d.ts,customizeData.d.ts替æ¢ä¸ºmetadata.d.ts。结构体功能上与原结构体ä¿æŒä¸€è‡´ã€‚部分功能有å˜æ›´æˆ–者新增的结构体属性会å•ç‹¬åˆ—出。 -| 原结构体(废弃) | 新结构体(新增) | -| ------ | ------ | -| bundle/abilityInfo.d.ts | [bundleManager/abilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts) | -| bundle/applicationInfo.d.ts | [bundleManager/applicationInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts) | -| bundle/bundleInfo.d.ts | [bundleManager/bundleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundleInfo.d.ts) | -| bundle/bundleInstaller.d.ts | [@ohos.bundle.installer.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.installer.d.ts) | -| bundle/bundleStatusCallback.d.ts | [@ohos.bundle.bundleMonitor.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleMonitor.d.ts) | -| bundle/customizeData.d.ts | [bundleManager/metadata.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/Metadata.d.ts) | -| bundle/dispatchInfo.d.ts | [bundleManager/dispatchInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/DispatchInfo.d.ts) | -| bundle/elementName.d.ts | [bundleManager/elementName.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ElementName.d.ts) | -| bundle/extensionAbilityInfo.d.ts | [bundleManager/extensionAbilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts) | -| bundle/hapModuleInfo.d.ts | [bundleManager/hapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) | -| bundle/launcherAbilityInfo.d.ts | [bundleManager/launcherAbilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/LauncherAbilityInfo.d.ts) | -| bundle/metadata.d.ts | [bundleManager/metadata.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/Metadata.d.ts) | -| bundle/moduleInfo.d.ts | [bundleManager/hapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) | -| bundle/PermissionDef.d.ts | [bundleManager/permissionDef.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/PermissionDef.d.ts) | -| bundle/remoteAbilityInfo.d.ts | [bundleManager/remoteAbilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/RemoteAbilityInfo.d.ts) | -| bundle/shortcutInfo.d.ts | [bundleManager/shortcutInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ShortcutInfo.d.ts) | - -**适é…指导**<br> -1. 使用原有结构体的代ç 需è¦ä¿®æ”¹ä¸ºæ–°ç»“构体。 -2. 原有二级模å—的导出功能也会废弃,å¯ä»¥ä½¿ç”¨æ–°æŽ¥å£çš„二级模å—到处能力,需è¦å¯¼å…¥æ–°çš„一级d.ts模å—。 - -## cl.bundlemanager.3 包管ç†æŸ¥è¯¢æ¨¡å—接å£å˜æ›´ï¼Œ@ohos.bundle.d.tsä¸æŽ¥å£å…¨éƒ¨åºŸå¼ƒï¼Œæ–°å¢ž@ohos.bundle.bundleManager.d.tsã€@ohos.bundle.freeInstall.d.tså’Œ@ohos.bundle.installer.d.ts模å—,将原有接å£æ–°å¢žæˆ–者å˜æ›´è‡³æ–°d.tsä¸ - -包管ç†æ¨¡å—查询接å£å˜æ›´ï¼ŒåºŸå¼ƒäº†@ohos.bundleä¸API8åŠä¹‹å‰çš„全部接å£ï¼Œå…¶ä¸çš„API9接å£å˜æ›´è‡³@ohos.bundle.bundleManagerã€@ohos.bundle.freeInstallå’Œ@ohos.bundle.installerä¸ï¼Œ@ohos.bundle.bundleManagerä¸æ–°å¢žäº†ä¹‹å‰åºŸå¼ƒçš„大部分接å£ï¼Œä¿®æ”¹ä¸ºsystemapiï¼Œå¹¶å¢žåŠ äº†å¼‚å¸¸å¤„ç†èƒ½åŠ›ã€‚ - -使用方å¼çš„å˜åŒ–:由原æ¥çš„@ohos.bundle修改为@ohos.bundle.bundleManagerã€@ohos.bundle.freeInstallå’Œ@ohos.bundle.installer模å—æ¥ä½¿ç”¨ç›¸å…³çš„接å£ã€‚ - -@ohos.bundle.bundleManagerå’Œ@ohos.bundle.installer模å—系统能力为SystemCapability.BundleManager.BundleFramework.Core,@ohos.bundle.freeInstall模å—系统能力为SystemCapability.BundleManager.BundleFramework.FreeInstall。 - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—和新接å£ã€‚在@ohos.bundle原有的API9接å£ï¼Œå˜æ›´åˆ°æ–°çš„@ohos.bundle.bundleManager.d.tsã€@ohos.bundle.freeInstallå’Œ@ohos.bundle.installer文件ä¸ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -@ohos.bundle.d.tsä¸æ¶‰åŠåˆ°çš„废弃和å˜æ›´æŽ¥å£å¦‚ä¸‹è¡¨æ‰€ç¤ºã€‚æœªåœ¨è¡¨æ ¼ä¸åˆ—å‡ºçš„è¡¨æ˜Žé™¤äº†å¢žåŠ å¼‚å¸¸å¤„ç†å’Œå˜æ›´å¯¼å…¥æ¨¡å—外,接å£å称和入å‚å‡æœªå‘生å˜åŒ–,直接导入新的@ohos.bundle.bundleManager.d.tsã€@ohos.bundle.freeInstallå’Œ@ohos.bundle.installerå°±å¯ä½¿ç”¨ã€‚åœ¨è¡¨æ ¼ä¸åˆ—出的å‡è¡¨ç¤ºåœ¨API9接å£ä¸Šå‘生å˜æ›´ï¼Œæ ‡è®°ä¸ºæ— 的表示在API9上已废弃。 - -| 原接å£ï¼ˆåºŸå¼ƒï¼‰ | 新接å£ï¼ˆå˜æ›´æˆ–新增)| systemapi|新文件å| -| ---| ---| --- | --| -| BundleFlag | BundleFlag | å¦ | @ohos.bundle.bundleManager.d.ts | -| æ— | ApplicationFlag | 是 | @ohos.bundle.bundleManager.d.ts | -| æ— | AbilityFlag | 是 | @ohos.bundle.bundleManager.d.ts | -| ExtensionFlag | ExtensionAbilityFlag | 是 | @ohos.bundle.bundleManager.d.ts | -| ColorMode | æ— | å¦ | æ— | -| GrantStatus | PermissionGrantState | å¦ | @ohos.bundle.bundleManager.d.ts | -| AbilityType | AbilityType | å¦ | @ohos.bundle.bundleManager.d.ts | -| AbilitySubType | æ— | å¦ | æ— | -| DisplayOrientation | DisplayOrientation | å¦ | @ohos.bundle.bundleManager.d.ts | -| LaunchMode | LaunchType | å¦ | @ohos.bundle.bundleManager.d.ts | -| ExtensionAbilityType | ExtensionAbilityType | 是 | @ohos.bundle.bundleManager.d.ts | -| BundleOptions | æ— | å¦ | æ— | -| InstallErrorCode | æ— | å¦ | æ— | -| UpgradeFlag | UpgradeFlag | 是 | @ohos.bundle.freeInstall.d.ts | -| SupportWindowMode | SupportWindowMode | å¦ | @ohos.bundle.bundleManager.d.ts | -| getBundleInfo | getBundleInfo | 是 | @ohos.bundle.bundleManager.d.ts | -| getBundleInstaller | getBundleInstaller | 是 | @ohos.bundle.installer.d.ts | -| getAbilityInfo | queryAbilityInfo | 是 | @ohos.bundle.bundleManager.d.ts | -| getApplicationInfo | getApplicationInfo | 是 | @ohos.bundle.bundleManager.d.ts | -| queryAbilityByWant | queryAbilityInfo | 是 | @ohos.bundle.bundleManager.d.ts | -| getAllBundleInfo | getAllBundleInfo | 是 | @ohos.bundle.bundleManager.d.ts | -| getAllApplicationInfo | getAllApplicationInfo | 是 | @ohos.bundle.bundleManager.d.ts | -| getNameForUid | getBundleNameByUid | 是 | @ohos.bundle.bundleManager.d.ts | -| getBundleArchiveInfo |getBundleArchiveInfo | 是 | @ohos.bundle.bundleManager.d.ts | -| getLaunchWantForBundle | getLaunchWantForBundle | 是 | @ohos.bundle.bundleManager.d.ts | -| cleanBundleCacheFiles | cleanBundleCacheFiles | 是 | @ohos.bundle.bundleManager.d.ts | -| setApplicationEnabled | setApplicationEnabled | 是 | @ohos.bundle.bundleManager.d.ts | -| setAbilityEnabled | setAbilityEnabled | 是 | @ohos.bundle.bundleManager.d.ts | -| queryExtensionAbilityInfos | queryExtensionAbilityInfo | 是 | @ohos.bundle.bundleManager.d.ts | -| getPermissionDef | getPermissionDef | 是 | @ohos.bundle.bundleManager.d.ts | -| getAbilityLabel | getAbilityLabel | 是 | @ohos.bundle.bundleManager.d.ts | -| getAbilityIcon | getAbilityIcon | 是 | @ohos.bundle.bundleManager.d.ts | -| isAbilityEnabled | isAbilityEnabled | 是 | @ohos.bundle.bundleManager.d.ts | -| isApplicationEnabled | isApplicationEnabled | 是 | @ohos.bundle.bundleManager.d.ts | -| setModuleUpgradeFlag | setHapModuleUpgradeFlag | 是 | @ohos.bundle.freeInstall.d.ts | -| isModuleRemovable | isHapModuleRemovable | 是 | @ohos.bundle.freeInstall.d.ts | -| getBundlePackInfo | getBundlePackInfo | 是 | @ohos.bundle.freeInstall.d.ts | -| getDispatcherVersion | getDispatchInfo | 是 | @ohos.bundle.freeInstall.d.ts | -| getProfileByAbility | getProfileByAbility | å¦ | @ohos.bundle.bundleManager.d.ts | -| getProfileByExtensionAbility | getProfileByExtensionAbility | å¦ | @ohos.bundle.bundleManager.d.ts | -| setDisposedStatus | setDisposedStatus | 是 | @ohos.bundle.appControl.d.ts | -| getDisposedStatus | getDisposedStatus | 是 | @ohos.bundle.appControl.d.ts | -| æ— | deleteDisposedStatus | 是 | @ohos.bundle.appControl.d.ts | -| getBundleInfoSync | getBundleInfoSync | 是 | @ohos.bundle.bundleManager.d.ts | -| getApplicationInfoSync | getApplicationInfoSync | 是 | @ohos.bundle.bundleManager.d.ts | -|æ— | getBundleInfoForSelf | å¦ | @ohos.bundle.bundleManager.d.ts | - - -**适é…指导**<br> -将原接å£æ›¿æ¢ä¸ºAPI9新增的接å£ï¼Œå¯¼å…¥ç›¸å…³çš„模å—。 - -旧的导入模å—: -``` -import bundle form '@ohos.bundle' -``` -新的导入模å—: -``` -import bundle form '@ohos.bundle.bundleManager' -import freeInstall form '@ohos.bundle.freeInstall' -import installer form '@ohos.bundle.installer' -import appControl form '@ohos.bundle.appControl' -``` - -## cl.bundlemanager.4 BundleInfo结构体å˜æ›´ï¼ŒåŒ…管ç†åŽŸæœ‰bundle/bundleInfo.d.tså—段全部废弃å˜æ›´ä¸ºbundleManager/bundleInfo.d.ts,涉åŠå—段属性å˜åŒ–。 - -包管ç†åŽŸæœ‰bundle/bundleInfo.d.tså—段全部废弃。由è€çš„[bundle/bundleInfo.d.ts]((https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundle/bundleInfo.d.ts))å˜æ›´ä¸º[bundleManager/bundleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundleInfo.d.ts),涉åŠå—段属性å˜åŒ–。 - - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—和新接å£ã€‚使用二级模å—导出BundleInfo时,需è¦å¯¼å…¥@ohos.bundle.bundleManager模å—。 - -**关键的接å£/组件å˜æ›´**<br> - -BundleInfo结构体å‘生å˜åŒ–çš„å—段内容如下表所示。其余å—段在bundle/bundleInfo.d.tsä¸åºŸå¼ƒåŽï¼Œåœ¨æ–°çš„[bundleManager/bundleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundleInfo.d.ts)ä¸å‡æœ‰å¯¹åº”值。没有对应å—段,则表明该å—段已ç»åœ¨API9上废弃。 - -| 已废弃 | API9新增或å˜æ›´ | 类型 | -| --- | --- | --- | -| type | æ— | string | -| appId | æ— | string | -| æ— |signatureInfo | SignatureInfo | -| uid | æ— | number | æ— | -| abilityInfos | æ— | Array\<AbilityInfo> | -| reqPermissions | æ— | Array<string> | -| compatibleVersion | æ— | number | -| isCompressNativeLibs | æ— | boolean | -| entryModuleName | æ— | string | -| cpuAbi | æ— | string | -| isSilentInstallation | æ— | string | -| entryInstallationFree | æ— | boolean | -| reqPermissionStates | permissionGrantStates | Array\<bundleManager.PermissionGrantState> | -| extensionAbilityInfo | æ— |Array\<ExtensionAbilityInfo>| -| hapModuleInfos | hapModulesInfo | Array\<HapModuleInfo> | - -API9ä¸æ–°å¢žSignatureInfo结构体,该结构体如下: - -| 属性å | 类型 | -| ----------- | ------ | -| appId | string | -| fingerprint | string | - - -**适é…指导**<br> -导入包管ç†æŸ¥è¯¢çš„模å—,使用API9 versionçš„BundleInfo结构体,使用二级模å—导出时也需è¦å¼•å…¥ä¸‹é¢æ¨¡å—。 -``` -import bundle form '@ohos.bundle.bundleManager' -``` - -## cl.bundlemanager.5 ApplicationInfo结构体å˜æ›´ï¼ŒåŒ…管ç†åŽŸæœ‰bundle/applicationInfo.d.tså—段全部废弃,å˜æ›´ä¸ºbundleManager/applicationInfo.d.ts,涉åŠå—段属性å˜åŒ–。 -ApplicationInfo结构体å˜æ›´ï¼ŒåŒ…管ç†åŽŸæœ‰bundle/applicationInfo.d.tså—段全部废弃,å˜æ›´ä¸ºbundleManager/applicationInfo.d.ts,涉åŠå—段属性å˜åŒ–。 - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—和新接å£ã€‚使用二级模å—导出ApplicationInfo时,需è¦å¯¼å…¥@ohos.bundle.bundleManager模å—。 - -**关键的接å£/组件å˜æ›´**<br> -ApplicationInfo结构体å‘生å˜åŒ–çš„å—段内容如下表所示。其余å—段在bundle/applicationInfo.d.tsä¸åºŸå¼ƒåŽï¼Œåœ¨æ–°çš„[bundleManager/applicationInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts)ä¸å‡æœ‰å¯¹åº”值。没有对应å—段,则表明该å—段已ç»åœ¨API9上废弃。 - -| 废弃 | API9新增或å˜æ›´ | 类型 | -| --- | --- | --- | -| systemApp | æ— | boolean | -| labelId | æ— | string | -| labelIndex | labelId | number | -| iconId | æ— | string | -| iconIndex | iconId | number | -| supportedModes | æ— | number | -| moduleSourceDirs | æ— | Array\<string> | -| moduleInfos | æ— | Array\<ModuleInfo> | -| metaData | æ— | Map\<string,Array\<CustomizeData>> | -| entityType | æ— | string | -| fingerprint | æ— | string | - - -**适é…指导**<br> -导入包管ç†æŸ¥è¯¢çš„模å—,使用API9 versionçš„ApplicationInfo结构体。 - - -## cl.bundlemanager.6 HapModuleInfo结构体å—段å˜æ›´ï¼ŒåŒ…管ç†åŽŸæœ‰bundle/hapModuleInfo.d.ts å’Œ moduleInfo.d.tså—段全部废弃,å˜æ›´ä¸ºbundleManager/hapModuleInfo.d.ts,涉åŠå—段属性å˜åŒ–。 - -HapModuleInfo结构体å—段å˜æ›´ï¼ŒåŒ…管ç†åŽŸæœ‰bundle/hapModuleInfo.d.ts å’Œ moduleInfo.d.tså—段全部废弃,å˜æ›´ä¸º[bundleManager/hapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts),涉åŠå—段属性å˜åŒ–。 - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—和新接å£ã€‚使用二级模å—导出HapModuleInfo时,需è¦å¯¼å…¥@ohos.bundle.bundleManager模å—。 - -**关键的接å£/组件å˜æ›´**<br> -HapModuleInfo结构体å‘生å˜åŒ–çš„å—段内容如下表所示。其余å—段在bundle/hapModuleInfo.d.tsä¸åºŸå¼ƒåŽï¼Œåœ¨æ–°çš„bundleManager/hapModuleInfo.d.tsä¸å‡æœ‰å¯¹åº”值。 -| 废弃 | API9新增或å˜æ›´ | 类型 | -| --- | --- | --- | -| abilityInfo | abilitiesInfo | Array<AbilityInfo> | -| æ— | moduleSourceDir | string | -| backgroundImg | æ— | string | -| supportedModes | æ— | string | -| reqCapabilities | æ— | Array\<string> | -| moduleName | æ— | string | -| mainAbilityName | æ— | string | -| extensionAbilityInfo | extensionAbilitiesInfo | Array\<ExtensionAbilityInfo> | - -**适é…指导**<br> -导入包管ç†æŸ¥è¯¢çš„模å—,使用API9 versionçš„HapModuleInfo结构体。 - -## cl.bundlemanager.7 ModuleInfo结构体废弃,使用bundleManager/hapModuleInfo.d.tsä¸çš„HapModuleInfo代替。 - -包管ç†åŽŸæœ‰bundle/hapModuleInfo.d.ts å’Œ moduleInfo.d.tså—段全部废弃,å˜æ›´ä¸º[bundleManager/hapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts),涉åŠå—段属性å˜åŒ–。 -ModuleInfo结构体废弃,使用[bundleManager/hapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts)ä¸çš„HapModuleInfo代替。 - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—和新接å£ã€‚ModuleInfo被废弃,使用HapModuleInfo代替。 - -**关键的接å£/组件å˜æ›´**<br> - -ModuleInfo结构体被废弃,使用HapModuleInfo代替。 - -**适é…指导**<br> -使用API9 versionçš„HapModuleInfo结构体。 - -## cl.bundlemanager.8 AbilityInfo结构体å—段å˜æ›´ï¼ŒåŽŸbundle/abilityInfo.d.ts全部废弃,å˜æ›´ä¸ºbundleManager/abilityInfo.d.ts,涉åŠåˆ°å—段属性å˜åŒ– - -AbilityInfo结构体å—段å˜æ›´ï¼ŒåŽŸbundle/abilityInfo.d.ts全部废弃,å˜æ›´ä¸ºbundleManager/abilityInfo.d.ts,涉åŠåˆ°å—段属性å˜åŒ– - -**å˜æ›´å½±å“**<br> -对原有使用API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API version 9的应用需è¦é€‚é…新模å—和新接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> - -包管ç†AbilityInfo结构体å—段å˜æ›´å¦‚ä¸‹è¡¨æ‰€ç¤ºï¼Œæœªåœ¨è¡¨æ ¼ä¸åˆ—出的表明废弃åŽå‡åœ¨æ–°çš„AbilityInfoä¸å˜åœ¨ï¼Œæ ‡è®°ä¸ºæ— 的表明该å—段已在API9废弃,在新的AbilityInfoä¸ä¸å˜åœ¨ã€‚ - -|废弃 | API9新增或å˜æ›´ | 类型| -|----| --| --| -| launchMode | launchType | number | -| supportWindowMode | supportWindowModes | Array\<number> | -| targetAbility | æ— | string | -| backgroundModes | æ— | number | -| formEnabled | æ— | boolean | -| subType | æ— | AbilitySubType | -|deviceCapabilities |æ— | Array\<string>| -| metaData | æ— | Array\<CustomizeData>| -| maxWindowRatio | æ— | number | -| minWindowRatio | æ— | number | -| maxWindowWidth | æ— | number | -| minWindowWidth | æ— | number | -| maxWindowHeight | æ— | number | -| minWindowHeight | æ— | number | -| æ— | windowSize | WindowSize | - -å…¶ä¸API9新增结构体WindowSize属性如下: - -| 属性å | 类型 | -| :-------------: | :----: | -| maxWindowRatio | number | -| minWindowRatio | number | -| maxWindowWidth | number | -| minWindowWidth | number | -| maxWindowHeight | number | -| minWindowHeight | number | - -**适é…指导**<br> -使用API9 versionçš„AbilityInfo结构体。 - -## cl.bundlemanager.9 BundleFlagå˜æ›´ï¼Œå˜æ›´ä¸º@ohos.bundle.bundleManagerä¸çš„BundleFlagã€ApplicationFlagå’ŒAbilityFlag,涉åŠåˆ°æŽ¥å£å…¥å‚修改。 - -BundleFlagå˜æ›´ï¼Œå˜æ›´ä¸º@ohos.bundle.bundleManagerä¸çš„BundleFlagã€ApplicationFlagå’ŒAbilityFlagï¼Œæ ¹æ®æ–°æŽ¥å£çš„å…¥å‚ï¼Œä¼ å…¥ä¸åŒç±»åž‹çš„flag。 - -**å˜æ›´å½±å“**<br> - -BundleFlagå˜æ›´ï¼Œå˜æ›´ä¸º@ohos.bundle.bundleManagerä¸çš„BundleFlagã€ApplicationFlagå’ŒAbilityFlagï¼Œæ ¹æ®æ–°æŽ¥å£çš„å…¥å‚æè¿°ï¼Œä¼ å…¥ä¸åŒç±»åž‹çš„flag。直接使用API Version 9之å‰çš„BundleFlag,å¯èƒ½æŸ¥è¯¢å¤±è´¥ã€‚ - - -**关键的接å£/组件å˜æ›´**<br> -原@ohos.bundleä¸çš„BundleFlag全部废弃,使用新的@ohos.bundle.bundleManagerä¸çš„BundleFlagã€ApplicationFlagå’ŒAbilityFlag代替。 - -API9çš„BundleFlag 如下表所示: - -| BundleFlag |值 |æè¿°| -|---|---| --| -|GET_BUNDLE_INFO_DEFAULT|0x00000000|获å–默认BundleInfo,获å–到的BundleInfoä¸åŒ…å«signatureInfo, hapModuleInfo, appInfo, reqPermissionDetailså’ŒpermissionGrantStates| -|GET_BUNDLE_INFO_WITH_APPLICATION| 0x00000001|é¢å¤–获å–appInfos| -|GET_BUNDLE_INFO_WITH_HAP_MODULE|0x00000002|é¢å¤–获å–hapModulesInfo| -|GET_BUNDLE_INFO_WITH_ABILITY|0x00000004|指定在获å–hapModulesInfoçš„ä¿¡æ¯ä¸æ˜¯å¦åŒ…å«abilitiesInfo,需è¦å’ŒGET_BUNDLE_INFO_WITH_HAP_MODULE一起使用,ä¸èƒ½å•ç‹¬ä½¿ç”¨ã€‚| -|GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY|0x00000008|指定在获å–hapModulesInfoçš„ä¿¡æ¯ä¸æ˜¯å¦åŒ…å«extensionAbilitiesInfo,需è¦å’ŒGET_BUNDLE_INFO_WITH_HAP_MODULE一起使用,ä¸èƒ½å•ç‹¬ä½¿ç”¨ã€‚| -|GET_BUNDLE_INFO_WITH_REQUESTED_PERMISSION|0x00000010|é¢å¤–获å–reqPermissionDetailså’ŒpermissionGrantStates| -|GET_BUNDLE_INFO_WITH_METADATA|0x00000020|控制返回的ApplicationInfo, AbilityInfoå’ŒExtensionAbilityInfoä¸æ˜¯å¦åŒ…å«metadataä¿¡æ¯ï¼Œä¸èƒ½å•ç‹¬ä½¿ç”¨| -|GET_BUNDLE_INFO_WITH_DISABLE|0x00000040|å¯èŽ·å–被ç¦ç”¨applicationçš„BundleInfo和获å–abilitiesInfoä¸disabled abilityä¿¡æ¯| -|GET_BUNDLE_INFO_WITH_SIGNATURE_INFO|0x00000080|é¢å¤–获å–signatureInfo| - -API9çš„ ApplicationFlag 如下表所示 -: -| ApplicationFlag |值 |æè¿°| -|---|---| --| -|GET_APPLICATION_INFO_DEFAULT|0x00000000|获å–默认ApplicationInfo,获å–çš„ApplicationInfoä¸åŒ…å«permissionså’Œmatedata| -|GET_APPLICATION_INFO_WITH_PERMISSION|0x00000001|é¢å¤–获å–permissions| -|GET_APPLICATION_INFO_WITH_METADATA|0x00000002|é¢å¤–获å–metadata| -|GET_APPLICATION_INFO_WITH_DISABLE|0x00000004|获å–disabledçš„applicationä¿¡æ¯| - - -API9çš„ AbilityFlag 如下表所示: -| AbilityFlag |值 |æè¿°| -|---|---|---| -|GET_ABILITY_INFO_DEFAULT| 0x00000000|用于获å–默认的AbilityInfoä¿¡æ¯ï¼Œä¸åŒ…å«permissionã€metadataå’Œ disabled çš„ AbilityInfo| -|GET_ABILITY_INFO_WITH_PERMISSION | 0x00000001|用于获å–带有permissionä¿¡æ¯çš„AbilityInfo| -|GET_ABILITY_INFO_WITH_APPLICATION | 0x00000002|用于获å–带有ApplicationInfo结构体信æ¯çš„AbilityInfo| -| GET_ABILITY_INFO_WITH_METADATA | 0x00000004|用于获å–带有metadataä¿¡æ¯çš„AbilityInfo| -|GET_ABILITY_INFO_WITH_DISABLE | 0x00000008|用于获å–所有的AbilityInfo,包å«è¢«ç¦ç”¨çš„Ability| -|GET_ABILITY_INFO_ONLY_SYSTEM_APP | 0x00000010| 用于系统应用获å–AbilityInfo| - -**适é…指导**<br> -æ ¹æ®è°ƒç”¨çš„@ohos.bundle.bundleManager.d.tsä¸çš„接å£ï¼Œä½¿ç”¨ä¸åŒçš„flag类型。 - -## cl.bundlemanager.10 默认应用模å—ApplicationType枚举值å˜æ›´ -@ohos.bundle.defaultApp模å—,相关接å£åŠŸèƒ½æœªå‘生å˜åŒ–,使用方å¼æœªå‘生å˜åŒ–。åªæœ‰ApplicationType的枚举值有å˜åŒ–。 - -**å˜æ›´å½±å“**<br> -相关接å£ç‰ˆæœ¬ä¸ºAPI version 9,对API9之å‰çš„åº”ç”¨æ— å½±å“。API9应用需è¦é€‚é…新枚举值。 - -**关键的接å£/组件å˜æ›´**<br> -ApplicationType的枚举值å˜åŒ–如下: -| ApplicationType | API9新增或å˜æ›´ | API8åŠä»¥å‰ | -| :-----: | :-------------: | :--------: | -| BROWSER | "Web Browser" | "BROWSER" | -| IMAGE | "Image Gallery" | "IMAGE" | -| AUDIO | "Audio Player" | "AUDIO" | -| VIDEO | "Video Player" | "VIDEO" | -| PDF | "PDF Viewer" | "PDF" | -| WORD | "Word Viewer" | "WORD" | -| EXCEL | "Excel Viewer" | "EXCEL" | -| PPT | "PPT Viewer" | "PPT" | - -**适é…指导**<br> -导入默认应用的模å—,调用相关的接å£ã€‚ -``` -import defaultApp form '@ohos.bundle.defaultAppManager' -``` - -## cl.bundlemanager.11 分布å¼åŒ…管ç†æ¨¡å—å˜æ›´ï¼ŒåŽŸ@ohos.distributedBundle.d.ts接å£å…¨éƒ¨åºŸå¼ƒï¼Œå˜æ›´ä¸º@ohos.bundle.distributedBundle.d.ts,涉åŠæŽ¥å£å˜æ›´ã€‚ -API异常错误整改,分布å¼åŒ…管ç†æ¨¡å—å˜æ›´ï¼ŒåŽŸ@ohos.distributedBundle.d.ts接å£å…¨éƒ¨åºŸå¼ƒï¼Œå˜æ›´ä¸º[@ohos.bundle.distributedBundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.distributedBundleManager.d.ts)。涉åŠæŽ¥å£getRemoteAbilityInfos,å˜æ›´ä¸ºgetRemoteAbilityInfo。相关结构体RemoteAbilityInfo的二级模å—导出功能也需è¦å¯¼å…¥æ–°æ¨¡å—æ‰å¯ä»¥ç»§ç»ä½¿ç”¨ã€‚ - -**å˜æ›´å½±å“**<br> -对API version 9之å‰çš„åº”ç”¨æ— å½±å“。分布å¼æ¨¡å—å’ŒgetRemoteAbilityInfoså称å˜æ›´ï¼Œä¼šå¯¼è‡´åŽŸæœ‰API version 9应用使用新的sdk编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -@ohos.distributedBundle.d.tsä¸æŽ¥å£å…¨éƒ¨åºŸå¼ƒï¼Œæ–°å¢ž@ohos.bundle.distributedBundle.d.ts,其ä¸éƒ¨åˆ†æŽ¥å£ä¿æŒä¸ŽåŽŸæŽ¥å£åŠŸèƒ½ä¸€è‡´ã€‚新接å£å…¨éƒ¨æ”¯æŒå¼‚常处ç†ã€‚接å£å˜æ›´å¦‚下: -| 废弃 | API9新增或å˜æ›´ | systemapi | -|----| ----| -- | -| getRemoteAbilityInfos | getRemoteAbilityInfo | 是| - -**适é…指导**<br> -需è¦å¯¼å…¥æ–°çš„分布å¼æ¨¡å—: -``` -import distributedBundle form '@ohos.bundle.distributedBundle' -``` - -## cl.bundlemanager.12 å…安装模å—和接å£å˜æ›´ï¼Œä»Ž@ohos.bundle.d.ts移到@ohos.bundle.freeInstall.d.ts,涉åŠæ¨¡å—和接å£å˜æ›´ -API支æŒå¼‚常处ç†æ•´æ”¹ï¼Œå…安装模å—å˜æ›´ï¼Œä»Ž@ohos.bundle.d.ts移到@ohos.bundle.freeInstall.d.ts,涉åŠæ¨¡å—和接å£å˜æ›´ï¼Œç³»ç»Ÿèƒ½åŠ›ä¸ºSystemCapability.BundleManager.BundleFramework.FreeInstall。 -1. 原导入的@ohos.bundle模å—需è¦å˜æ›´ä¸º@ohos.bundle.freeInstall。 -2. setModuleUpgradeFlagå˜æ›´ä¸ºsetHapModuleUpgradeFlag。 -3. isModuleRemovableå˜æ›´ä¸ºisHapModuleRemovable。 -4. getDispatcherå˜æ›´ä¸ºgetDispatchInfo - -**å˜æ›´å½±å“**<br> -对API version 9之å‰çš„åº”ç”¨æ— å½±å“,使用API9接å£çš„应用会编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -å…安装相关接å£å˜æ›´å¦‚下表所示。未在表ä¸åˆ—出的表示接å£å称和使用方法未å‘生å˜æ›´ï¼Œä»…修改了模å—å称。 -|废弃 | API9新增或å˜æ›´ | systemapi | -|----|----|----| -|setModuleUpgradeFlag|setHapModuleUpgradeFlag| 是 | -|isModuleRemovable|isHapModuleRemovable| 是 | -|getDispatcher|getDispatchInfo| 是 | - -**适é…指导**<br> -使用å…安装相关接å£ï¼Œéœ€è¦å¯¼å…¥æ–°çš„模å—,按照接å£å‰åŽå¯¹åº”关系进行修改。 -``` -import freeInstall from '@ohos.bundle.freeInstall' -``` - -## cl.bundlemanager.13 å…安装相关结构体DisPatchInfoã€AbilityFormInfoã€ModuleDistroInfoå’ŒModuleConfigInfoå‘生å—段å˜æ›´ -å…安装相关结构体DisPatchInfoã€AbilityFormInfoã€ModuleDistroInfoå’ŒModuleConfigInfoå‘生å—段å˜æ›´ï¼š -1. DispatchInfoä¸å—段dispatchAPIå称修改为[dispatchAPIVersion](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/DispatchInfo.d.ts),属性ä¸å˜ï¼Œä¸ºstring。表示å…安装接å£çš„版本信æ¯ï¼Œå«ä¹‰ä¸å˜ã€‚ -2. AbilityFormInfo结构体å—段属性å˜æ›´ï¼ŒåŽŸæœ‰å—段supportDimensions属性由Array\<number>修改为Array\<string>; -3. AbilityFormInfo结构体å—段属性å˜æ›´ï¼ŒåŽŸæœ‰å—段defaultDimension属性由number修改为string。 -4. ModuleDistroInfo结构体废弃mainAbilityå—段,移至ModuleConfigInfo结构体ä¸ã€‚ -5. ModuleConfigInfo结构体新增mainAbilityå—段。 - -**å˜æ›´å½±å“**<br> -对API version 9之å‰çš„åº”ç”¨æ— å½±å“。结构体å称å—段属性å˜æ›´ï¼Œä¼šå¯¼è‡´åŽŸæœ‰API9应用使用新的sdk编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -1. DispatchInfo - -| 废弃 | API9新增或å˜æ›´ | 属性| -|---|----|---| -| dispatchAPI | dispatchAPIVersion | string | - -2. AbilityFormInfo - -| å—段 | API9属性 | 原属性 | -|---|----|---| -| supportDimensions | Array\<string> | Array\<number> | -| defaultDimension | string| number | - -3. ModuleDistroInfo - -| å—段 | API9新增或å˜æ›´ | 属性 | -|---|----|---| -| mainAbility | æ— | string | - -4. MooduleConfigInfo - -| å—段 | API9新增或å˜æ›´ | 属性 | -|---|----|---| -| æ— | mainAbility| string | - - -**适é…指导**<br> -使用å…安装相关接å£ï¼Œéœ€è¦å¯¼å…¥æ–°çš„模å—,按照结构体å‰åŽå¯¹åº”关系进行修改。 -``` -import freeInstall from '@ohos.bundle.freeInstall' -``` - -## cl.bundlemanager.14 结构体GrantStatuså˜æ›´ä¸ºPermissionGrantState -结构体GrantStatuså˜æ›´ä¸ºPermissionGrantState,枚举类型和值ä¸å˜ã€‚ - -**å˜æ›´å½±å“**<br> -对API version 9之å‰çš„åº”ç”¨æ— å½±å“。结构体å称å—å˜æ›´ï¼Œä¼šå¯¼è‡´åŽŸæœ‰API9应用使用新的sdk编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -表示授æƒçŠ¶æ€çš„GrantStatus结构体å˜æ›´ä¸º@ohos.bundle.bundleManager.d.tsä¸çš„PermissionGrantState。 -| 枚举å | 枚举值 | -| ---| ---| -| PERMISSION_DENIED | -1 | -| PERMISSION_GRANTED | 0 | - -**适é…指导**<br> -需è¦å¯¼å…¥æ–°çš„模å—,修改结构体å称为PermissionGrantState。 -``` -import bundle form '@ohos.bundle.bundleManager' -``` -## cl.bundlemanager.15 包管ç†ShortcutInfo结构体å—段å˜æ›´ -包管ç†ShortcutInfo结构体å—段å˜æ›´ï¼ŒåŽŸæœ‰bundle/shortcutInfo.d.tså—段全部废弃,å˜æ›´ä¸º[bundleManager/shortcutInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ShortcutInfo.d.ts)。ShortcutInfoå’ŒShortWant结构体全部为systemapi。 - -**å˜æ›´å½±å“**<br> -对API version 9之å‰çš„åº”ç”¨æ— å½±å“。结构体å称å—段属性å˜æ›´ï¼Œä¼šå¯¼è‡´åŽŸæœ‰API9应用使用新的sdk编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -涉åŠåˆ°ShortcutInfoå’ŒShortcutWant结构体。如果需è¦ä½¿ç”¨äºŒçº§æ¨¡å—导出功能,需è¦å¯¼å…¥æ–°æ¨¡å—@ohos.bundle.launcherBundleManager。 -ShortcutInfo结构体å˜åŒ–å¦‚ä¸‹è¡¨ï¼Œæœªåœ¨è¡¨æ ¼ä¸åˆ—出的表明å—段在API9上还å˜åœ¨ã€‚ -| 废弃 | API9新增或å˜æ›´ | 属性 | -| ---| ---| ---| -| disableMessage | æ— | string | -| isStatic | æ— | boolean | -| isHomeShortcut | æ— | boolean | -| isEnabled | æ— | boolean | -| disableMessage | æ— | boolean | - -ShortcutWantç»“æž„ä½“å¦‚ä¸‹è¡¨ï¼Œæœªåœ¨è¡¨æ ¼ä¸åˆ—出的表明å—段在API9上还å˜åœ¨ã€‚ -| 废弃 | API9新增或å˜æ›´ | 属性 | -| ---| ---| ---| -| targetClass | targetAbility | string | - -**适é…指导**<br> -使用å…安装相关接å£ï¼Œéœ€è¦å¯¼å…¥æ–°çš„模å—,按照结构体å‰åŽå¯¹åº”关系进行修改。 -``` -import launcherBundleManager form '@ohos.bundle.launcherBundleManager' -``` - -## cl.bundlemanager.16 包管ç†getBundleInstaller接å£å˜æ›´ï¼Œä»Ž@ohos.bundle.d.ts移至@ohos.bundle.installer.d.ts -包管ç†getBundleInstaller接å£å˜æ›´ï¼Œä»Ž@ohos.bundle.d.ts移至[@ohos.bundle.installer.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.installer.d.ts) -.,系统能力为SystemCapability.BundleManager.BundleFramework.Core。 - -**å˜æ›´å½±å“**<br> -对API version 9之å‰çš„åº”ç”¨æ— å½±å“。使用API9的应用需è¦é€‚é…新模å—和新接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -1. getBundleInstaller,导入模å—ç”±@ohos.bundleå˜æ›´ä¸º@ohos.bundle.installer。 - -**适é…指导**<br> -导入新的包管ç†å®‰è£…模å—,调用getBundleInstaller -``` -import installer form '@ohos.bundle.installer' -``` - -## cl.bundlemanager.17 包管ç†å®‰è£…接å£å˜æ›´ï¼Œä»Žbundle/bundleInstaller.d.ts移至@ohos.bundle.installer.d.ts -包管ç†å®‰è£…接å£å˜æ›´ï¼Œä»Žbundle/bundleInstaller.d.ts移至[@ohos.bundle.installer.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.installer.d.ts),系统能力为SystemCapability.BundleManager.BundleFramework.Core。 - -**å˜æ›´å½±å“**<br> -对API version 9之å‰çš„åº”ç”¨æ— å½±å“。使用API9的应用需è¦é€‚é…新模å—和新接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -1. install/uninstall/recover接å£å¢žåŠ 了异常处ç†èƒ½åŠ›ï¼ŒæŽ¥å£å称和入å‚å‡æœªå‘生å˜åŒ–,仅修改了模å—å称。 -2. HashParam结构体新增å—段 - -| API9新增 | 属性 | -|---|---| -| moduleName | string | -| hashValue | string | - -3. InstallParam结构体å˜æ›´å¦‚下: - -| API9新增 | 属性 | -|---|--| -| userId | number | -| installFlag | number | -| isKeepData | boolean | -| hashParams | Array\<HashParam> | -| crowdtestDeadline | number | - -4. InstallStatus,结构体已废弃。 - -**适é…指导**<br> -导入新的包管ç†å®‰è£…模å—,调用getBundleInstaller -``` -import installer form '@ohos.bundle.installer' -``` - -## cl.bundlemanager.18 包管ç†å®‰è£…功能å˜æ›´ -包管ç†å®‰è£…è§„æ ¼å˜æ›´ï¼Œå¢žåŠ 了对应用deviceTypeé…置和设备类型的匹é…æ ¡éªŒï¼Œå¦‚æžœä¸¤è€…åŒ¹é…失败,则安装失败。 - -**å˜æ›´å½±å“**<br> -å½±å“在æ¤å‰ç‰ˆæœ¬å·²å¼€å‘的应用,应用需è¦é€‚é…æ‰èƒ½åœ¨æ–°ç‰ˆæœ¬é•œåƒå®‰è£…æˆåŠŸã€‚ - -**关键的接å£/组件å˜æ›´**<br> -ä¸æ¶‰åŠ - -**适é…指导**<br> -æ供指导,在应用é…置文件config.json或者module.jsonçš„deviceTypeé…置对应的设备类型。 -``` -{ - "module": { - "name": "entry", - "type": "entry", - // ... - "deviceTypes":[ - // 该示例é…置了defaultå’Œtablet,则支æŒåœ¨defaultå’Œtablet上进行安装。 - "default", - "tablet" - ], - // ... - } -``` -## cl.bundlemanager.19 包管ç†innerBundleManger模å—接å£å˜æ›´ï¼Œ@ohos.bundle.innerBundleManger.d.ts接å£å…¨éƒ¨åºŸå¼ƒï¼Œç§»è‡³@ohos.bundle.launcherBundleManager.d.ts。 -innerBundleManager相关接å£åŠŸèƒ½æœªå‘生å˜åŒ–,使用方å¼æœ‰å˜åŒ–。需è¦å¯¼å…¥[@ohos.bundle.launcherBundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.launcherBundleManager.d.ts)模å—æ¥ä½¿ç”¨innerBundleManager相关的接å£ï¼Œç³»ç»Ÿèƒ½åŠ›ä¸ºSystemCapability.BundleManager.BundleFramework.Core。 - -**å˜æ›´å½±å“**<br> -相关接å£ç‰ˆæœ¬ä¸ºAPI version 9,对api9之å‰çš„åº”ç”¨æ— å½±å“。使用了innerBundleManager接å£èƒ½åŠ›çš„应用需è¦é€‚é…新的模å—和接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -以下接å£åŠŸèƒ½å’Œå…¥å‚未å‘生å˜åŒ–ï¼Œå¢žåŠ äº†API异常处ç†ã€‚使用二级模å—导出ShortcutInfoå’ŒShortcutWant时,需è¦å¯¼å…¥æ–°æ¨¡å—@ohos.bundle.launcherBundleManager。on/off接å£ä»Ž@ohos.bundle.innerBundleManger.d.tsä¸åºŸå¼ƒï¼Œç§»è‡³@ohos.bundle.bundleMonitor.d.tsä¸ã€‚ -1. getLauncherAbilityInfos<br> -2. getAllLauncherAbilityInfos<br> -3. getShortcutInfos - -**适é…指导**<br> -需è¦å¯¼å…¥æ–°æ¨¡å—@ohos.bundle.launcherBundleManage -``` -import launcherBundleManager form '@ohos.bundle.launcherBundleManage' -``` - -## cl.bundlemanager.20 innerBundleManagr模å—å˜æ›´ï¼Œon, off接å£ä»Ž@ohos.bundle.innerBundleManager模å—移到@ohos.bundle.bundleMonitor.d.tsæ¨¡å— -innerBundleManager相关接å£åŠŸèƒ½æœªå‘生å˜åŒ–,使用方å¼æœ‰å˜åŒ–。需è¦å¯¼å…¥[@ohos.bundle.bundleMonitor.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleMonitor.d.ts)模å—æ¥ä½¿ç”¨innerBundleManager相关的接å£ï¼Œå‡ä¸ºsystemapi。系统能力为SystemCapability.BundleManager.BundleFramework.Core。 - -**å˜æ›´å½±å“**<br> -相关接å£ç‰ˆæœ¬ä¸ºAPI version 9,对API9之å‰çš„åº”ç”¨æ— å½±å“。使用了innerBundleManager接å£èƒ½åŠ›çš„应用需è¦é€‚é…新的模å—和接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -on/offå˜æ›´è‡³@ohos.bundle.bundleMonitor.d.ts,使用接å£å…¥å‚与è€æŽ¥å£ä¸åŒã€‚API9函数原型为: -``` -function on(type: BundleChangedEvent, callback: Callback<BundleChangedInfo>): void; -function off(type: BundleChangedEvent, callback?: Callback<BundleChangedInfo>): void; -``` -å…¶ä¸BundleChangedEvent为: -``` -type BundleChangedEvent = 'add' | 'update' | 'remove'; -``` -回调函数BundleChangedInfo为: -``` - interface BundleChangedInfo { - readonly bundleName: string; - readonly userId: number; - } -``` -由调用方获å–到BundleChangedInfoåŽï¼Œç»§ç»æ‰§è¡Œç›¸å…³æ“作(å³è€æŽ¥å£ä¸BundleStatusCallbackä¸çš„addã€updateå’Œremoveç‰å‡½æ•°)。 - -**适é…指导**<br> -导入bundleMonitor的模å—,调用相关接å£ã€‚ -``` -import bundleMonitor form '@ohos.bundle.bundleMonitor' -``` - -## cl.bundlemanager.21 包管ç†bundleStatusCallback.d.ts接å£å…¨éƒ¨åºŸå¼ƒï¼Œç§»è‡³@ohos.bundle.bundleMonitor.d.tsä¸ã€‚ -包管ç†bundleStatusCallback.d.ts接å£å…¨éƒ¨åºŸå¼ƒï¼Œç§»è‡³[@ohos.bundle.bundleMonitor.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleMonitor.d.ts)ä¸ã€‚原有BundleStatusCallbackä¸çš„addã€updateå’Œremove全部废弃,å˜æ›´ä¸ºBundleChangedEvent,为systemapi。系统能力为SystemCapability.BundleManager.BundleFramework.Core。 - -**å˜æ›´å½±å“**<br> -相关接å£ç‰ˆæœ¬ä¸ºAPI version 9,对API9之å‰çš„åº”ç”¨æ— å½±å“。使用了BundleStatusCallback接å£èƒ½åŠ›çš„应用需è¦é€‚é…新的模å—和接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br>. -以下接å£å…¨éƒ¨åºŸå¼ƒï¼Œåœ¨@ohos.bundle.bundleMonitor.d.tsä¸æ–°å¢žBundleChangedEvent。 -1. add -2. update -3. remove - -**适é…指导**<br> -导入bundleMonitor的模å—,调用相关接å£ã€‚与之å‰çš„BundleStatusCallbackæ–¹å¼ä¸åŒï¼ŒBundleStatusCallback是将addã€updateå’Œremoveæ–¹æ³•ä¼ å…¥on/off接å£ï¼ŒAPI9çš„BundleMonitor接å£æ˜¯é€šè¿‡on/off接å£å°†BundleChangedInfo通过回调函数返回出æ¥ç»™è°ƒç”¨æ–¹ä½¿ç”¨ã€‚ -``` -import bundleMonitor form '@ohos.bundle.bundleMonitor' -``` - -## cl.bundlemanager.22 包管ç†Zlib模å—接å£å˜æ›´ï¼Œ@ohos.zlib.d.tsä¸æŽ¥å£æ¶‰åŠåºŸå¼ƒå’Œå˜æ›´ã€‚ -包管ç†Zlib模å—接å£å˜æ›´ï¼Œ[@ohos.zlib.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.zlib.d.ts)ä¸æŽ¥å£æ¶‰åŠåºŸå¼ƒå’Œå˜æ›´ã€‚系统能力为SystemCapability.BundleManager.Zlib。 - -**å˜æ›´å½±å“**<br> -相关接å£ç‰ˆæœ¬ä¸ºAPI version 9,对API9之å‰çš„åº”ç”¨æ— å½±å“。使用了API9的应用需è¦é€‚é…新的模å—和接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -@ohos.zlib.d.tsä¸æ¶‰åŠåˆ°å˜æ›´çš„接å£å¦‚下表所示,新增API9接å£ä½¿ç”¨æ–¹æ³•ä¸Žä¹‹å‰ç›¸åŒï¼Œæ”¯æŒAPI异常处ç†ã€‚ -| 废弃 | API9新增或å˜æ›´ | systemapi| -|---|----|---| -| zipFile | compressFile | 是 | -| unzipFile | decompressFile | 是 | -| ErrorCode | æ— | 是 | - -**适é…指导**<br> -导入模å—未å‘生å˜åŒ–,直接使用新接å£ï¼Œé€‚é…异常处ç†ã€‚ -``` -import zlib form '@ohos.zlib' -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md deleted file mode 100644 index 216a2b4f3e158dd8246200a2a039b25f09027b7f..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md +++ /dev/null @@ -1,124 +0,0 @@ -# å¸å·å系统ChangeLog - -## cl.account_os_account.1 å¸å·SystemAPI错误信æ¯è¿”回方å¼å˜æ›´ - -å·²å‘布的部分å¸å·SystemAPI使用业务逻辑返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯ç 规范。从API9开始作以下å˜æ›´ï¼š - -异æ¥æŽ¥å£ï¼šé€šè¿‡AsyncCallback或Promiseçš„error对象返回错误信æ¯ã€‚ - -åŒæ¥æŽ¥å£ï¼šé€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回错误信æ¯ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´æŽ¥å£çš„错误信æ¯è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -å˜æ›´å‰ï¼š - - class UserAuth - - setProperty(request: SetPropertyRequest, callback: AsyncCallback<number>): void; - - setProperty(request: SetPropertyRequest): Promise<number>; - - cancelAuth(contextID: Uint8Array): number; - - class PINAuth - - registerInputer(inputer: Inputer): boolean; - - UserIdentityManager - - cancel(challenge: Uint8Array): number; - -å˜æ›´åŽï¼š - - class UserAuth - - setProperty(request: SetPropertyRequest, callback: AsyncCallback<void>): void; - - setProperty(request: SetPropertyRequest): Promise<void>; - - cancelAuth(contextID: Uint8Array): void; - - class PINAuth - - registerInputer(inputer: Inputer): void; - - UserIdentityManager - - cancel(challenge: Uint8Array): void; - -**适é…指导** - -异æ¥æŽ¥å£ä»¥setProperty为例,示例代ç 如下: - -``` -import account_osAccount from "@ohos.account.osAccount" -userAuth.setProperty({ - authType: account_osAccount.AuthType.PIN, - key: account_osAccount.SetPropertyType.INIT_ALGORITHM, - setInfo: new Uint8Array([0]) -}, (err) => { - if (err) { - console.log("setProperty failed, error: " + JSON.stringify(err)); - } else { - console.log("setProperty successfully"); - } -}); - -userAuth.setProperty({ - authType: account_osAccount.AuthType.PIN, - key: account_osAccount.SetPropertyType.INIT_ALGORITHM, - setInfo: new Uint8Array([0]) -}).catch((err) => { - if (err) { - console.log("setProperty failed, error: " + JSON.stringify(err)); - } else { - console.log("setProperty successfully"); - } -}); -``` - -åŒæ¥æŽ¥å£ä»¥registerInputer为例,示例代ç 如下: - -``` -import account_osAccount from "@ohos.account.osAccount" -let pinAuth = new account_osAccount.PINAuth() -let inputer = { - onGetData: (authType, passwordRecipient) => { - let password = new Uint8Array([0]); - passwordRecipient.onSetData(authType, password); - } -} -try { - pinAuth.registerInputer(inputer); -} catch (err) { - console.log("registerInputer failed, error: " + JSON.stringify(err)); -} -``` - -## cl.account_os_account.2 应用å¸å·é‰´æƒæœåŠ¡ACTION定义å˜æ›´ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…修改应用é…置文件(FA模型为config.json或Stage模型为module.json5)ä¸çš„ACTIONæ‰èƒ½æ£å¸¸å¯¹å¤–æ供应用鉴æƒæœåŠ¡ã€‚ - -**关键接å£/组件å˜æ›´** - -涉åŠçš„常é‡ï¼š - -@ohos.ability.wantConstant.ACTION_APP_ACCOUNT_AUTH - -å˜æ›´å‰ï¼š - -ACTION_APP_ACCOUNT_AUTH = "account.appAccount.action.auth" - -å˜æ›´åŽï¼š - -ACTION_APP_ACCOUNT_AUTH = "ohos.appAccount.action.auth" - -**适é…指导** - -æ供应用å¸å·é‰´æƒæœåŠ¡çš„三方应用,需è¦åœ¨ç›¸å…³ServiceAbilityçš„é…置文件(FA模型为config.json或Stage模型为module.json5)ä¸é€‚é…å˜æ›´åŽçš„应用å¸å·è®¤è¯ACTION,示例如下: -``` -"abilities": [ - { - "name": "ServiceAbility", - "srcEntrance": "./ets/ServiceAbility/ServiceAbility.ts", - ... - "visible": true, - "skills": { - { - "actions": [ - "ohos.appAccount.action.auth" - ] - } - } - }] -} diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-dmsfwk.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-dmsfwk.md deleted file mode 100644 index a32202a9ea2243181a94703529dbb5107b3d5a3c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-dmsfwk.md +++ /dev/null @@ -1,21 +0,0 @@ -# 分布å¼è°ƒåº¦å系统ChangeLog - -## cl.DistributedManagerService.1 continuationManager接å£æ–°å¢žDATASYNCæƒé™æ ¡éªŒ - -æ¤å‰ç‰ˆæœ¬continuationManager接å£æœªå¯¹è°ƒç”¨æ–¹è¿›è¡Œæ ¡éªŒï¼Œä¸ç¬¦åˆOpenHarmonyçš„API接å£è§„范。 -å·²åšå‡ºä»¥ä¸‹å˜æ›´ï¼šè°ƒç”¨æ–¹ä½¿ç”¨continuationManagerå‰éœ€æå‰ç”³è¯·"ohos.permission.DISTRIBUTED_DATASYNC"æƒé™ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需æå‰ç”³è¯·"ohos.permission.DISTRIBUTED_DATASYNC"æƒé™ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键的接å£/组件å˜æ›´** - -涉åŠæŽ¥å£ - - - continuationManager.registerContinuation; - - continuationManager.on; - - continuationManager.off; - - continuationManager.unregisterContinuation; - - continuationManager.updateContinuationState; - - continuationManager.startContinuationDeviceManager; diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.2/changelog-x-x.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.2/changelog-x-x.md deleted file mode 100644 index b20dbfc1fc13ba0dc94a8044119ac0ae2473cfb7..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.2/changelog-x-x.md +++ /dev/null @@ -1,31 +0,0 @@ -# xxxå系统ChangeLog - -相比最近一个å‘布版本(包括ä¸é™äºŽLTSã€Releaseã€Betaã€monthly版本)å‘生了影å“契约兼容性(契约兼容:也称è¯ä¹‰å…¼å®¹ï¼ŒæŒ‡ç‰ˆæœ¬æ¼”è¿›åŽï¼Œå¼€å‘者原有程åºè¡Œä¸ºä¸å‘生å˜åŒ–)的å˜æ›´ï¼ˆåŒ…括ä¸é™äºŽæŽ¥å£åã€å‚æ•°ã€è¿”回值ã€æ‰€éœ€è¦çš„æƒé™ã€è°ƒç”¨é¡ºåºã€æžšä¸¾å€¼ã€é…ç½®å‚æ•°ã€è·¯å¾„ç‰ï¼‰ï¼Œåˆ™éœ€è¦åœ¨ChangeLogä¸å¯¹å˜æ›´è¿›è¡Œé˜è¿°ã€‚ - -## cl.subsystemname.x xxx功能å˜æ›´ï¼Œ 例:DeviceType属性å˜æ›´ã€ç›¸æœºæƒé™å˜æ›´ï¼ˆå°½é‡æ¦‚括,ä¸è¦è¶…过15个å—) - -æ¯ä¸ªå˜æ›´æ ‡é¢˜å‰éœ€è¦é™„åŠ ç¼–å·ï¼šcl.subsystemname.x。cl为ChangeLog首å—æ¯ç¼©å†™ï¼Œsubsystemname请填写åç³»ç»Ÿè‹±æ–‡æ ‡å‡†å称,x表示å˜æ›´åºå·ï¼ˆä»Žä½Žåˆ°é«˜é€ä½å¢žåŠ ,起始为1)。 -以功能维度对å˜æ›´ç‚¹è¿›è¡Œæ¦‚括æ述。例如:xxx功能的xxxã€xxxç‰å‘生了xxxå˜åŒ–,开å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 -如果有æ¤å˜æ›´æœ‰å¯¹åº”的需求或设计文档,å¯ä»¥åœ¨æè¿°ä¸é™„上对应的设计文档编å·ã€‚ - -**å˜æ›´å½±å“** - -是å¦å½±å“å·²å‘布的接å£æˆ–者接å£è¡Œä¸ºå‘生å˜æ›´ï¼Œå½±å“的是JS接å£è¿˜æ˜¯Native接å£ã€‚ -是å¦å½±å“在æ¤å‰ç‰ˆæœ¬å·²å¼€å‘的应用,å³åº”用是å¦éœ€è¦è¿›è¡Œé€‚é…动æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** - -列举æ¤åŠŸèƒ½å˜æ›´æ¶‰åŠçš„接å£/组件å˜æ›´ã€‚ - -**适é…指导(å¯é€‰ï¼Œä¸æ¶‰åŠåˆ™å¯ä»¥åˆ 除)** - -æ供指导,帮助开å‘者针对相关å˜æ›´è¿›è¡Œé€‚é…,使应用å¯ä»¥ä¸Žæ–°ç‰ˆæœ¬å…¼å®¹ã€‚ -例: -在xxx文件ä¸å°†xxxå‚数修改为xxx。 - -``` -sample code -``` - - - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md deleted file mode 100644 index b20dbfc1fc13ba0dc94a8044119ac0ae2473cfb7..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md +++ /dev/null @@ -1,31 +0,0 @@ -# xxxå系统ChangeLog - -相比最近一个å‘布版本(包括ä¸é™äºŽLTSã€Releaseã€Betaã€monthly版本)å‘生了影å“契约兼容性(契约兼容:也称è¯ä¹‰å…¼å®¹ï¼ŒæŒ‡ç‰ˆæœ¬æ¼”è¿›åŽï¼Œå¼€å‘者原有程åºè¡Œä¸ºä¸å‘生å˜åŒ–)的å˜æ›´ï¼ˆåŒ…括ä¸é™äºŽæŽ¥å£åã€å‚æ•°ã€è¿”回值ã€æ‰€éœ€è¦çš„æƒé™ã€è°ƒç”¨é¡ºåºã€æžšä¸¾å€¼ã€é…ç½®å‚æ•°ã€è·¯å¾„ç‰ï¼‰ï¼Œåˆ™éœ€è¦åœ¨ChangeLogä¸å¯¹å˜æ›´è¿›è¡Œé˜è¿°ã€‚ - -## cl.subsystemname.x xxx功能å˜æ›´ï¼Œ 例:DeviceType属性å˜æ›´ã€ç›¸æœºæƒé™å˜æ›´ï¼ˆå°½é‡æ¦‚括,ä¸è¦è¶…过15个å—) - -æ¯ä¸ªå˜æ›´æ ‡é¢˜å‰éœ€è¦é™„åŠ ç¼–å·ï¼šcl.subsystemname.x。cl为ChangeLog首å—æ¯ç¼©å†™ï¼Œsubsystemname请填写åç³»ç»Ÿè‹±æ–‡æ ‡å‡†å称,x表示å˜æ›´åºå·ï¼ˆä»Žä½Žåˆ°é«˜é€ä½å¢žåŠ ,起始为1)。 -以功能维度对å˜æ›´ç‚¹è¿›è¡Œæ¦‚括æ述。例如:xxx功能的xxxã€xxxç‰å‘生了xxxå˜åŒ–,开å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 -如果有æ¤å˜æ›´æœ‰å¯¹åº”的需求或设计文档,å¯ä»¥åœ¨æè¿°ä¸é™„上对应的设计文档编å·ã€‚ - -**å˜æ›´å½±å“** - -是å¦å½±å“å·²å‘布的接å£æˆ–者接å£è¡Œä¸ºå‘生å˜æ›´ï¼Œå½±å“的是JS接å£è¿˜æ˜¯Native接å£ã€‚ -是å¦å½±å“在æ¤å‰ç‰ˆæœ¬å·²å¼€å‘的应用,å³åº”用是å¦éœ€è¦è¿›è¡Œé€‚é…动æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** - -列举æ¤åŠŸèƒ½å˜æ›´æ¶‰åŠçš„接å£/组件å˜æ›´ã€‚ - -**适é…指导(å¯é€‰ï¼Œä¸æ¶‰åŠåˆ™å¯ä»¥åˆ 除)** - -æ供指导,帮助开å‘者针对相关å˜æ›´è¿›è¡Œé€‚é…,使应用å¯ä»¥ä¸Žæ–°ç‰ˆæœ¬å…¼å®¹ã€‚ -例: -在xxx文件ä¸å°†xxxå‚数修改为xxx。 - -``` -sample code -``` - - - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.3/changelogs-useriam.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.3/changelogs-useriam.md deleted file mode 100644 index e781172a332f8bc19c89d43cfa72c29eb8df44d3..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.3/changelogs-useriam.md +++ /dev/null @@ -1,39 +0,0 @@ -# 用户IAMå系统Changelog - -## cl.useriam.1 API9 GetVesion接å£åˆ 除 - -为优化用户IAM接å£ï¼Œä»Žå½“å‰ç‰ˆæœ¬å¼€å§‹åšå¦‚下å˜æ›´ï¼š - -用户IAMåˆ é™¤GetVersion(API 9)接å£ã€‚ - -**å˜æ›´å½±å“** - -对用户IAM GetVersion(API 9)接å£çš„使用有影å“ï¼Œéœ€åˆ é™¤å¯¹æ¤æŽ¥å£çš„调用,å¦åˆ™ä¼šè°ƒç”¨å¤±è´¥ã€‚ - -**关键接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ---------------------- | ------------------- | ------------------------- | ------------------------ | -| ohos.userIAM.userAuth | function | getVersion() : number | åˆ é™¤ | - -**适é…指导** - -éœ€åˆ é™¤å¯¹ç”¨æˆ·IAM GetVersion(API 9)接å£çš„调用。 - -## cl.useriam.2 API8 GetVesion接å£è¿”回值å˜æ›´ - -为统一用户IAM GetVersion(API 8)接å£çš„返回值。从当å‰ç‰ˆæœ¬å¼€å§‹åšå¦‚下å˜æ›´ï¼š - -用户IAM GetVersion(API 8)接å£çš„返回值由0å˜æ›´ä¸º1。 - -**å˜æ›´å½±å“** - -对用户IAM GetVersion(API 8)接å£çš„使用有影å“ï¼Œå¦‚åº”ç”¨æ ¡éªŒäº†æ¤æŽ¥å£çš„返回值,修改åŽæ ¡éªŒä¸é€šè¿‡ã€‚ - -**关键接å£/组件å˜æ›´** - -用户IAM GetVersion(API 8)接å£çš„返回值由0å˜æ›´ä¸º1。 - -**适é…指导** - -æ¤æŽ¥å£å·²åºŸå¼ƒï¼Œéœ€åˆ 除对用户IAM GetVersion(API 8)接å£çš„使用。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md deleted file mode 100644 index bf26a15f894d6fd568f51a3fcaf6a269d33ad999..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md +++ /dev/null @@ -1,20 +0,0 @@ -# å¸å·å系统ChangeLog - -## cl.account_os_account.1 分布å¼å¸å·æ˜µç§°å’Œå¤´åƒè§„æ ¼æ‰©å¤§ - -已有分布å¼å¸å·çš„昵称长度和头åƒå¤§å°çš„è§„æ ¼è¿‡å°ï¼Œæ— 法满足其他昵称较长ã€å¤´åƒè¾ƒå¤§çš„使用场景。 - -å› æ¤ï¼Œå°†åˆ†å¸ƒå¼å¸å·æ˜µç§°é•¿åº¦å’Œå¤´åƒå¤§å°çš„è§„æ ¼æ‰©å¤§ã€‚ - -**å˜æ›´å½±å“** - -该接å£å˜æ›´å‰å‘兼容,基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用å¯æŒ‰ç…§æœ€æ–°è§„æ ¼ä½¿ç”¨è¯¥æŽ¥å£ï¼ŒåŽŸæœ‰é€»è¾‘ä¸å—å½±å“。 - -**关键接å£/组件å˜æ›´** - -å˜æ›´å‰ï¼š - - 昵称长度é™åˆ¶ä¸º20个å—符,头åƒå¤§å°é™åˆ¶ä¸º3M - -å˜æ›´åŽï¼š - - 昵称长度é™åˆ¶ä¸º1024个å—符,头åƒå¤§å°é™åˆ¶ä¸º10M - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md deleted file mode 100644 index f1e652c43fe7e78d6642b34871cadccd7c2ca85d..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md +++ /dev/null @@ -1,18 +0,0 @@ -# ä½ç½®æœåŠ¡å系统ChangeLog - -## cl.location.1 åˆ é™¤API9接å£geoLocationManager.requestEnableLocation - -在ä½ç½®å¼€å…³å…³é—的场景下,应用å¯ä»¥è°ƒç”¨geoLocationManager.requestEnableLocation接å£ï¼Œä»¥è¯·æ±‚用户开å¯ä½ç½®å¼€å…³ï¼›å®žé™…该接å£ä½¿ç”¨è¾ƒå°‘,并且该接å£ç”¨æˆ·ä½“验ä¸å¤ªå¥½ï¼Œå¹¶æ²¡æœ‰å‘Šè¯‰ç”¨æˆ·è¯¥åº”用在什么场景下使用ä½ç½®ä¿¡æ¯ã€‚ - -å› æ¤å˜æ›´ä¸ºç”±åº”用本身弹框请求用户跳转到settingså¼€å¯ä½ç½®å¼€å…³ï¼Œå¹¶ä¸”在弹框上写清楚会在什么场景下使用ä½ç½®ä¿¡æ¯ï¼Œè¿™æ ·ç”¨æˆ·ä½“验更好。 - -**å˜æ›´å½±å“** - -在API9ä¸Šåº”ç”¨æ— æ³•ä½¿ç”¨geoLocationManager.requestEnableLocation请求用户开å¯ä½ç½®å¼€å…³ï¼Œéœ€è¦åº”用自己实现弹框,请求用户开å¯ä½ç½®å¼€å…³ã€‚ - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|geoLocationManager| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | 该接å£ä»ŽAPI9ä¸åˆ 除 | -|geoLocationManager| method | function requestEnableLocation(): Promise<boolean>; | 该接å£ä»ŽAPI9ä¸åˆ 除 | diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md deleted file mode 100644 index e24ff589dd249e8593c17b5fddaf3f217a655743..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md +++ /dev/null @@ -1,62 +0,0 @@ -# 基础通信å系统WiFi ChangeLog - -## cl.location.1 ä½ç½®æœåŠ¡æƒé™å˜æ›´ - -从API9å¼€å§‹ï¼Œå¢žåŠ ohos.permission.APPROXIMATELY_LOCATION,表示模糊ä½ç½®æƒé™ã€‚ - -如果应用开å‘者使用的API版本大于ç‰äºŽ9,则需è¦åŒæ—¶ç”³è¯·ohos.permission.LOCATIONå’Œohos.permission.APPROXIMATELY_LOCATION,å•ç‹¬ç”³è¯·ohos.permission.LOCATION会失败。 - -**å˜æ›´å½±å“** - -如果是å˜é‡åº”用(使用的API版本å°äºŽ9ï¼‰ï¼Œåˆ™æ— å½±å“。如果使用的API版本大于ç‰äºŽ9,ä½ç½®æœåŠ¡æƒé™ç”³è¯·æ–¹å¼æœ‰å˜æ›´ï¼Œè¯¦æƒ…如下: - -应用在使用系统能力å‰ï¼Œéœ€è¦æ£€æŸ¥æ˜¯å¦å·²ç»èŽ·å–用户授æƒè®¿é—®è®¾å¤‡ä½ç½®ä¿¡æ¯ã€‚如未获得授æƒï¼Œå¯ä»¥å‘用户申请需è¦çš„ä½ç½®æƒé™ï¼Œç”³è¯·æ–¹å¼è¯·å‚考下文。 - -系统æ供的定ä½æƒé™æœ‰ï¼š - -- ohos.permission.LOCATION - -- ohos.permission.APPROXIMATELY_LOCATION - -- ohos.permission.LOCATION_IN_BACKGROUND - -访问设备的ä½ç½®ä¿¡æ¯ï¼Œå¿…须申请æƒé™ï¼Œå¹¶ä¸”获得用户授æƒã€‚ - -API9之å‰çš„版本,申请ohos.permission.LOCATIONå³å¯ã€‚ - -API9åŠä¹‹åŽçš„版本,需è¦ç”³è¯·ohos.permission.APPROXIMATELY_LOCATION或者åŒæ—¶ç”³è¯·ohos.permission.APPROXIMATELY_LOCATIONå’Œohos.permission.LOCATIONï¼›æ— æ³•å•ç‹¬ç”³è¯·ohos.permission.LOCATION。 - -| 使用的API版本 | 申请ä½ç½®æƒé™ | 申请结果 | ä½ç½®çš„精确度 | -| -------- | -------- | -------- | -------- | -| å°äºŽ9 | ohos.permission.LOCATION | æˆåŠŸ | 获å–到精准ä½ç½®ï¼Œç²¾å‡†åº¦åœ¨ç±³çº§åˆ«ã€‚ | -| 大于ç‰äºŽ9 | ohos.permission.LOCATION | 失败 | æ— æ³•èŽ·å–ä½ç½®ã€‚ | -| 大于ç‰äºŽ9 | ohos.permission.APPROXIMATELY_LOCATION | æˆåŠŸ | 获å–到模糊ä½ç½®ï¼Œç²¾ç¡®åº¦ä¸º5公里。 | -| 大于ç‰äºŽ9 | ohos.permission.APPROXIMATELY_LOCATIONå’Œohos.permission.LOCATION | æˆåŠŸ | 获å–到精准ä½ç½®ï¼Œç²¾å‡†åº¦åœ¨ç±³çº§åˆ«ã€‚ | - -如果应用在åŽå°è¿è¡Œæ—¶ä¹Ÿéœ€è¦è®¿é—®è®¾å¤‡ä½ç½®ï¼Œé™¤éœ€è¦å°†åº”用声明为å…许åŽå°è¿è¡Œå¤–,还必须申请ohos.permission.LOCATION_IN_BACKGROUNDæƒé™ï¼Œè¿™æ ·åº”用在切入åŽå°ä¹‹åŽï¼Œç³»ç»Ÿå¯ä»¥ç»§ç»ä¸ŠæŠ¥ä½ç½®ä¿¡æ¯ã€‚ - -å¼€å‘者å¯ä»¥åœ¨åº”用é…置文件ä¸å£°æ˜Žæ‰€éœ€è¦çš„æƒé™ï¼Œå…·ä½“å¯å‚考[授æƒç”³è¯·æŒ‡å¯¼](../../../application-dev/security/accesstoken-guidelines.md)。 - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|wifiManager| method | function scan(): void; | æƒé™å˜æ›´ä¸ºohos.permission.SET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function getScanResults(): Promise<Array<WifiScanInfo>>; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and (ohos.permission.GET_WIFI_PEERS_MAC or (ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION)) | -|wifiManager| method | function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and (ohos.permission.GET_WIFI_PEERS_MAC or (ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION)) | -|wifiManager| method | function getScanResultsSync(): Array<WifiScanInfo>; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and (ohos.permission.GET_WIFI_PEERS_MAC or (ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION)) | -|wifiManager| method | function getCandidateConfigs(): Array<WifiDeviceConfig>; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function getDeviceConfigs(): Array<WifiDeviceConfig>; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.GET_WIFI_CONFIG | -|wifiManager| method | function getStations(): Array<StationInfo>; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.MANAGE_WIFI_HOTSPOT | -|wifiManager| method | function getCurrentGroup(): Promise<WifiP2pGroupInfo>; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function getP2pPeerDevices(): Promise<WifiP2pDevice[]>; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function p2pConnect(config: WifiP2PConfig): void; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function startDiscoverDevices(): void; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function getP2pGroups(): Promise<Array<WifiP2pGroupInfo>>; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function on(type: "p2pDeviceChange", callback: Callback<WifiP2pDevice>): void; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function off(type: "p2pDeviceChange", callback?: Callback<WifiP2pDevice>): void; | æƒé™å˜æ›´ä¸ºohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function on(type: "p2pPeerDeviceChange", callback: Callback<WifiP2pDevice[]>): void; | æƒé™å˜æ›´ä¸ºohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | -|wifiManager| method | function off(type: "p2pPeerDeviceChange", callback?: Callback<WifiP2pDevice[]>): void; | æƒé™å˜æ›´ä¸ºohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelog-web.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelog-web.md deleted file mode 100644 index fa3e63f30cd4f4f82ff0766ffb2ee6c8f4c9dd1a..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelog-web.md +++ /dev/null @@ -1,65 +0,0 @@ -# webå系统ChangeLog - -OpenHarmony 4.0.2.1 版本相较于OpenHarmony 之å‰çš„版本,webçš„APIå˜æ›´å¦‚下。 - -## cl.web.1 postMessageEventå‚数类型å˜æ›´ - -该接å£postMessageEvent原先仅支æŒstring类型,从4.0.2.1版本开始新增支æŒArrayBuffer类型。 - -**å˜æ›´å½±å“** - -该接å£å˜æ›´å‰å‘兼容,基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用å¯ç»§ç»ä½¿ç”¨æŽ¥å£ï¼ŒåŽŸæœ‰åŠŸèƒ½ä¸å—å½±å“。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - postMessageEvent(message: string): void - -- å˜æ›´å‰ï¼š - - ```ts - postMessageEvent(message: string): void - ``` - -- å˜æ›´åŽï¼š - - ```ts - type WebMessage = ArrayBuffer | string - postMessageEvent(message: WebMessage): void - ``` - -**适é…指导** - -该接å£å˜æ›´å‰å‘兼容,基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用å¯ç»§ç»ä½¿ç”¨æŽ¥å£ï¼ŒåŽŸæœ‰åŠŸèƒ½ä¸å—å½±å“。 - -## cl.web.2 onMessageEventå‚数类型å˜æ›´ - -该接å£onMessageEvent原先仅支æŒstring类型,从4.0.2.1版本开始新增支æŒArrayBuffer类型。 - -**å˜æ›´å½±å“** - -该接å£å˜æ›´å‰å‘兼容,基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用å¯ç»§ç»ä½¿ç”¨æŽ¥å£ï¼Œå¢žåŠ 相应的逻辑处ç†ï¼ŒåŽŸæœ‰åŠŸèƒ½ä¸å—å½±å“。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - onMessageEvent(callback: (result: string) => void): void - -- å˜æ›´å‰ï¼š - - ```ts - onMessageEvent(callback: (result: string) => void): void - ``` - -- å˜æ›´åŽï¼š - - ```ts - type WebMessage = ArrayBuffer | string - onMessageEvent(callback: (result: WebMessage) => void): void - ``` - -**适é…指导** - -该接å£å˜æ›´å‰å‘兼容,基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用å¯ç»§ç»ä½¿ç”¨æŽ¥å£ï¼Œå¢žåŠ 相应的逻辑处ç†ï¼ŒåŽŸæœ‰åŠŸèƒ½ä¸å—å½±å“。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-ability.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-ability.md deleted file mode 100644 index 5dba4b6de3a95f4aa5a6b8c9d72f9ca6aa25a686..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-ability.md +++ /dev/null @@ -1,140 +0,0 @@ -# 元能力å系统ChangeLog - -## cl.ability.1 SystemAPI使用规则å˜æ›´ - -ç›®å‰å…ƒèƒ½åŠ›æ供的system-api在调用时未åšç³»ç»Ÿåº”ç”¨æ ¡éªŒï¼Œä¸‰æ–¹åº”ç”¨ä½¿ç”¨Full版本的SDKå°±å¯ä»¥ä½¿ç”¨è¿™äº›system-api,å˜åœ¨å®‰å…¨éšæ‚£ï¼Œå› æ¤åœ¨OpenHarmony 4.0.2.1ç‰ˆæœ¬å¼€å§‹å¢žåŠ åº”ç”¨èº«ä»½æ ¡éªŒã€‚ - -**å˜æ›´å½±å“** - -åªæœ‰ç³»ç»Ÿåº”用å…许使用system-api,三方应用使用system-api将返回202错误,返回202错误的方å¼æœ‰ä¸¤ç§ï¼š1.抛异常;2.异æ¥å›žè°ƒ - -**关键接å£/组件å˜æ›´** - -system-api列表如下所示。 - -| 模å—å | 方法 | 返回错误ç æ–¹å¼ | -| ------------------------------------------ | --------------------------------------------------------------------------------- | -------------- | -| @ohos.app.ability.abilityManager.d.ts | updateConfiguration(config: Configuration, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.abilityManager.d.ts | updateConfiguration(config: Configuration): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.abilityManager.d.ts | getAbilityRunningInfos(): Promise<Array<AbilityRunningInfo>> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.abilityManager.d.ts | getAbilityRunningInfos(callback: AsyncCallback<Array<AbilityRunningInfo>>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.abilityManager.d.ts | getExtensionRunningInfos(upperLimit: number): Promise<Array<ExtensionRunningInfo>> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.abilityManager.d.ts | getExtensionRunningInfos(upperLimit: number, callback: AsyncCallback<Array<ExtensionRunningInfo>>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.abilityManager.d.ts | getTopAbility(): Promise<ElementName> | 抛异常 | -| @ohos.app.ability.abilityManager.d.ts | getTopAbility(callback: AsyncCallback<ElementName>): void | 抛异常 | -| @ohos.app.ability.appManager.d.ts | on(type: "applicationState", observer: ApplicationStateObserver): number | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | on(type: "applicationState", observer: ApplicationStateObserver, bundleNameList: Array<string>): number | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | off(type: "applicationState", observerId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | off(type: "applicationState", observerId: number): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | getForegroundApplications(callback: AsyncCallback<Array<AppStateData>>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | getForegroundApplications(): Promise<Array<AppStateData>> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | killProcessWithAccount(bundleName: string, accountId: number): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | killProcessesByBundleName(bundleName: string): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | killProcessesByBundleName(bundleName: string, callback: AsyncCallback<void>) | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | clearUpApplicationData(bundleName: string): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.appManager.d.ts | clearUpApplicationData(bundleName: string, callback: AsyncCallback<void>) | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | on(type: "mission", listener: MissionListener): number | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | off(type: "mission", listenerId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | off(type: "mission", listenerId: number): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback<MissionInfo>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | getMissionInfo(deviceId: string, missionId: number): Promise<MissionInfo> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback<Array<MissionInfo>>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | getMissionInfos(deviceId: string, numMax: number): Promise<Array<MissionInfo>> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback<MissionSnapshot>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | getMissionSnapShot(deviceId: string, missionId: number): Promise<MissionSnapshot> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback<MissionSnapshot>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise<MissionSnapshot> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | lockMission(missionId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | lockMission(missionId: number): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | unlockMission(missionId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | unlockMission(missionId: number): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | clearMission(missionId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | clearMission(missionId: number): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | clearAllMissions(callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | clearAllMissions(): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | moveMissionToFront(missionId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.missionManager.d.ts | moveMissionToFront(missionId: number, options?: StartOptions): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.quickFixManager.d.ts | applyQuickFix(hapModuleQuickFixFiles: Array<string>, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.quickFixManager.d.ts | applyQuickFix(hapModuleQuickFixFiles: Array<string>): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.quickFixManager.d.ts | getApplicationQuickFixInfo(bundleName: string, callback: AsyncCallback<ApplicationQuickFixInfo>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.quickFixManager.d.ts | getApplicationQuickFixInfo(bundleName: string): Promise<ApplicationQuickFixInfo> | 异æ¥å›žè°ƒ | -| @ohos.app.ability.wantAgent.d.ts | getWant(agent: WantAgent, callback: AsyncCallback<Want>): void | 异æ¥å›žè°ƒ | -| @ohos.app.ability.wantAgent.d.ts | getWant(agent: WantAgent): Promise<Want> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | deleteForm(formId: string, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | deleteForm(formId: string): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | releaseForm(formId: string, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | releaseForm(formId: string, isReleaseCache?: boolean): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | requestForm(formId: string, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | requestForm(formId: string): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | castToNormalForm(formId: string, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | castToNormalForm(formId: string): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyVisibleForms(formIds: Array<string>, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyVisibleForms(formIds: Array<string>): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyInvisibleForms(formIds: Array<string>, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyInvisibleForms(formIds: Array<string>): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | enableFormsUpdate(formIds: Array<string>, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | enableFormsUpdate(formIds: Array<string>): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | disableFormsUpdate(formIds: Array<string>, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | disableFormsUpdate(formIds: Array<string>): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | isSystemReady(callback: AsyncCallback<void>): void | 抛异常 | -| @ohos.app.form.formHost.d.ts | isSystemReady(): Promise<void> | 抛异常 | -| @ohos.app.form.formHost.d.ts | getAllFormsInfo(callback: AsyncCallback<Array<formInfo.FormInfo>>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | getAllFormsInfo(): Promise<Array<formInfo.FormInfo>> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | getFormsInfo(bundleName: string, callback: AsyncCallback<Array<formInfo.FormInfo>>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | getFormsInfo(bundleName: string, moduleName: string, callback: AsyncCallback<Array<formInfo.FormInfo>>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | getFormsInfo(bundleName: string, moduleName?: string): Promise<Array<formInfo.FormInfo>> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | deleteInvalidForms(formIds: Array<string>, callback: AsyncCallback<number>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | deleteInvalidForms(formIds: Array<string>): Promise<number> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | acquireFormState(want: Want, callback: AsyncCallback<formInfo.FormStateInfo>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | acquireFormState(want: Want): Promise<formInfo.FormStateInfo> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | on(type: "formUninstall", callback: Callback<string>): void | 抛异常 | -| @ohos.app.form.formHost.d.ts | off(type: "formUninstall", callback?: Callback<string>): void | 抛异常 | -| @ohos.app.form.formHost.d.ts | notifyFormsVisible(formIds: Array<string>, isVisible: boolean, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyFormsVisible(formIds: Array<string>, isVisible: boolean): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyFormsEnableUpdate(formIds: Array<string>, isEnableUpdate: boolean, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyFormsEnableUpdate(formIds: Array<string>, isEnableUpdate: boolean): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | shareForm(formId: string, deviceId: string, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | shareForm(formId: string, deviceId: string): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyFormsPrivacyProtected(formIds: Array<string>, isProtected: boolean, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formHost.d.ts | notifyFormsPrivacyProtected(formIds: Array<string>, isProtected: boolean): Promise<void> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formProvider.d.ts | requestPublishForm(want: Want, formBindingData: formBindingData.FormBindingData, callback: AsyncCallback<string>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formProvider.d.ts | requestPublishForm(want: Want, callback: AsyncCallback<string>): void | 异æ¥å›žè°ƒ | -| @ohos.app.form.formProvider.d.ts | requestPublishForm(want: Want, formBindingData?: formBindingData.FormBindingData): Promise<string> | 异æ¥å›žè°ƒ | -| @ohos.app.form.formProvider.d.ts | isRequestPublishFormSupported(callback: AsyncCallback<boolean>): void | 抛异常 | -| @ohos.app.form.formProvider.d.ts | isRequestPublishFormSupported(): Promise<boolean> | 抛异常 | -| UIAbilityContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<void> | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback<AbilityResult>): void | 抛异常 | -| UIAbilityContext.d.ts | startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<AbilityResult>): void | 抛异常 | -| UIAbilityContext.d.ts | startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<AbilityResult> | 抛异常 | -| UIAbilityContext.d.ts | startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | startServiceExtensionAbility(want: Want): Promise<void> | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void> | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | stopServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | stopServiceExtensionAbility(want: Want): Promise<void> | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void> | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | setMissionIcon(icon: image.PixelMap, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| UIAbilityContext.d.ts | setMissionIcon(icon: image.PixelMap): Promise<void> | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise<void> | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | startServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | startServiceExtensionAbility(want: Want): Promise<void> | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void> | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | stopServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | stopServiceExtensionAbility(want: Want): Promise<void> | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise<void> | 异æ¥å›žè°ƒ | -| ServiceExtensionContext.d.ts | connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number | 异æ¥å›žè°ƒ | -| Context.d.ts | createBundleContext(bundleName: string): Context | 抛异常 | -| Context.d.ts | createModuleContext(bundleName: string, moduleName: string): Context | 抛异常 | -| FormExtensionContext.d.ts | startAbility(want: Want, callback: AsyncCallback<void>): void | 异æ¥å›žè°ƒ | -| FormExtensionContext.d.ts | startAbility(want: Want): Promise<void> | 异æ¥å›žè°ƒ | diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-bluetooth.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-bluetooth.md deleted file mode 100644 index d90c795ae5ea074f17f119f09357484352d537b4..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-bluetooth.md +++ /dev/null @@ -1,173 +0,0 @@ -# è“牙æœåŠ¡å系统ChangeLog - -## cl.bluetooth.1 接å£è¿ç§»åˆ°æ–°å¢žçš„@ohos.bluetoothManager.d.ts - -@ohos.bluetooth.d.ts接å£ä¸æ”¯æŒæŠ›å‡ºé”™è¯¯ç ,而API9以åŠSystemAPI都需è¦æ”¯æŒé”™è¯¯ç 抛出,为了支æŒè¯¥åŠŸèƒ½ï¼ŒæŠŠ@ohos.bluetooth.d.tsä¸æ‰€æœ‰æŽ¥å£ï¼Œè¿ç§»åˆ°æ–°å¢žçš„@ohos.bluetoothManager.d.tsä¸ï¼Œå¹¶å¢žåŠ 错误ç æ述。 - -åŽç»éœ€è¦import @ohos.bluetoothManageræ‰èƒ½ä½¿ç”¨è“牙æœåŠ¡çš„接å£ï¼š - - ```ts - import bluetoothManager from '@ohos.bluetoothManager'; - ``` - - -**å˜æ›´å½±å“** - -对API9以åŠSystemAPI接å£çš„使用有影å“,需è¦import @ohos.bluetoothManageræ¥ä½¿ç”¨æŠ›é”™è¯¯ç 的接å£ï¼š - - ```ts - import bluetoothManager from '@ohos.bluetoothManager'; - ``` - -**关键的接å£/组件å˜æ›´** - -| ç±»å | æ—§æŽ¥å£ | æ–°æŽ¥å£ | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| bluetooth | function getState(): BluetoothState | function getState(): BluetoothState | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | method | function getBtConnectionState(): ProfileConnectionState; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function pairDevice(deviceId: string): boolean | function pairDevice(deviceId: string): void | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function cancelPairedDevice(deviceId: string): boolean | function cancelPairedDevice(deviceId: string): void | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function getRemoteDeviceName(deviceId: string): string | function getRemoteDeviceName(deviceId: string): string| API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function getRemoteDeviceClass(deviceId: string): DeviceClass | function getRemoteDeviceClass(deviceId: string): DeviceClass | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function enableBluetooth(): boolean | function enableBluetooth(): void | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function disableBluetooth(): boolean | function disableBluetooth(): void | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function getLocalName(): string | function getLocalName(): string | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function getPairedDevices(): Array<string>; | function getPairedDevices(): Array<string>; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function getProfileConnState(profileId: ProfileId): ProfileConnectionState | function getProfileConnectionState(profileId: ProfileId): ProfileConnectionState | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£å修改为getProfileConnectionState | -| bluetooth | function setDevicePairingConfirmation(device: string, accept: boolean): boolean | function setDevicePairingConfirmation(device: string, accept: boolean): void | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function setLocalName(name: string): boolean; | function setLocalName(name: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function setBluetoothScanMode(mode: ScanMode, duration: number): boolean | function setBluetoothScanMode(mode: ScanMode, duration: number): void | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function getBluetoothScanMode(): ScanMod | function getBluetoothScanMode(): ScanMode | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function startBluetoothDiscovery(): boolean | function startBluetoothDiscovery(): void | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.tsï¼Œæ–°åŠ æƒé™ohos.permission.APPROXIMATELY_LOCATION,接å£è¿”回值改为void | -| bluetooth | function stopBluetoothDiscovery(): boolean; | function stopBluetoothDiscovery(): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function on(type: "bluetoothDeviceFind", callback: Callback<Array<string>>): void; | function on(type: "bluetoothDeviceFind", callback: Callback<Array<string>>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function off(type: "bluetoothDeviceFind", callback?: Callback<Array<string>>): void; | function off(type: "bluetoothDeviceFind", callback?: Callback<Array<string>>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function on(type: "bondStateChange", callback: Callback<BondStateParam>): void; | function on(type: "bondStateChange", callback: Callbackk<BondStateParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function off(type: "bondStateChange", callback?: Callback<BondStateParam>): void; | function off(type: "bondStateChange", callback?: Callback<BondStateParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function on(type: "pinRequired", callback: Callback<PinRequiredParam>): void; | function on(type: "pinRequired", callback: Callback<PinRequiredParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function off(type: "pinRequired", callback?: Callback<PinRequiredParam>): void; | function off(type: "pinRequired", callback?: Callback<PinRequiredParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function on(type: "stateChange", callback: Callback<BluetoothState>): void; | function on(type: "stateChange", callback: Callback<BluetoothState>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function off(type: "stateChange", callback?: Callback<BluetoothState>): void; | function off(type: "stateChange", callback?: Callback<BluetoothState>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void; | function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void; | function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void; | function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function sppCloseServerSocket(socket: number): void; | function sppCloseServerSocket(socket: number): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function sppCloseClientSocket(socket: number): void; | function sppCloseClientSocket(socket: number): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function sppWrite(clientSocket: number, data: ArrayBuffer): boolean; | function sppWrite(clientSocket: number, data: ArrayBuffer): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| bluetooth | function on(type: "sppRead", clientSocket: number, callback: Callback<ArrayBuffer>): void; | function on(type: "sppRead", clientSocket: number, callback: Callback<ArrayBuffer>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts。 | -| bluetooth | function off(type: "sppRead", clientSocket: number, callback?: Callback<ArrayBuffer>): void; | function off(type: "sppRead", clientSocket: number, callback?: Callback<ArrayBuffer>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | function getProfile(profileId: ProfileId): A2dpSourceProfile | HandsFreeAudioGatewayProfile; | function getProfileInstance(profileId: ProfileId): A2dpSourceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | PanProfile; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£å修改为getProfileInstance | -| bluetooth | function getProfileInst(profileId: ProfileId): A2dpSourceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | PanProfile; | function getProfileInstance(profileId: ProfileId): A2dpSourceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | PanProfile; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£å修改为getProfileInstance | -| BaseProfile | getConnectionDevices(): Array<string>; | getConnectionDevices(): Array<string>; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| BaseProfile | getDeviceState(device: string): ProfileConnectionState; | getDeviceState(device: string): ProfileConnectionState; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| A2dpSourceProfile | connect(device: string): boolean; | connect(device: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| A2dpSourceProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| A2dpSourceProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| A2dpSourceProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| A2dpSourceProfile | getPlayingState(device: string): PlayingState; | getPlayingState(device: string): PlayingState; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| HandsFreeAudioGatewayProfile | connect(device: string): boolean; | connect(device: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| HandsFreeAudioGatewayProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts ,接å£è¿”回值改为void | -| HandsFreeAudioGatewayProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| HandsFreeAudioGatewayProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| HidHostProfile | connect(device: string): boolean; | connect(device: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| HidHostProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| HidHostProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| HidHostProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| PanProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| PanProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| PanProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| PanProfile | setTethering(enable: boolean): void; | setTethering(enable: boolean): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| PanProfile | isTetheringOn(): boolean; | isTetheringOn(): boolean; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| BLE | function createGattServer(): GattServer; | function createGattServer(): GattServer; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| BLE | function createGattClientDevice(deviceId: string): GattClientDevice; | function createGattClientDevice(deviceId: string): GattClientDevice; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| BLE | function getConnectedBLEDevices(): Array<string>; | function getConnectedBLEDevices(): Array<string>; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| BLE | function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void; | function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.tsï¼Œæ–°åŠ æƒé™ohos.permission.APPROXIMATELY_LOCATION | -| BLE | function stopBLEScan(): void; | function stopBLEScan(): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| BLE | mefunction on(type: "BLEDeviceFind", callback: Callback<Array<ScanResult>>): void;thod | function on(type: "BLEDeviceFind", callback: Callback<Array<ScanResult>>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| BLE | function off(type: "BLEDeviceFind", callback?: Callback<Array<ScanResult>>): void; | function off(type: "BLEDeviceFind", callback?: Callback<Array<ScanResult>>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void; | startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | stopAdvertising(): void; | stopAdvertising(): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | addService(service: GattService): boolean; | addService(service: GattService): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattServer | removeService(serviceUuid: string): boolean; | removeService(serviceUuid: string): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattServer | close(): void; | close(): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts -| GattServer | notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): boolean; | notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattServer | sendResponse(serverResponse: ServerResponse): boolean; | sendResponse(serverResponse: ServerResponse): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattServer | on(type: "characteristicRead", callback: Callback<CharacteristicReadReq>): void; | on(type: "characteristicRead", callback: Callback<CharacteristicReadRequest>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | off(type: "characteristicRead", callback?: Callback<CharacteristicReadReq>): void; | off(type: "characteristicRead", callback?: Callback<CharacteristicReadRequest>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | on(type: "characteristicWrite", callback: Callback<CharacteristicWriteReq>): void; | on(type: "characteristicWrite", callback: Callback<CharacteristicWriteRequest>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | off(type: "characteristicWrite", callback?: Callback<CharacteristicWriteReq>): void; | off(type: "characteristicWrite", callback?: Callback<CharacteristicWriteRequest>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | on(type: "descriptorRead", callback: Callback<DescriptorReadReq>): void; | on(type: "descriptorRead", callback: Callback<DescriptorReadRequest>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | off(type: "descriptorRead", callback?: Callback<DescriptorReadReq>): void; | off(type: "descriptorRead", callback?: Callback<DescriptorReadRequest>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | on(type: "descriptorWrite", callback: Callback<DescriptorWriteReq>): void; | on(type: "descriptorWrite", callback: Callback<DescriptorWriteRequest>): void;| API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | off(type: "descriptorWrite", callback?: Callback<DescriptorWriteReq>): void; | off(type: "descriptorWrite", callback?: Callback<DescriptorWriteRequest>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | on(type: "connectStateChange", callback: Callback<BLEConnectChangedState>): void; | on(type: "connectStateChange", callback: Callback<BLEConnectChangedState>): void;| API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattServer | off(type: "connectStateChange", callback?: Callback<BLEConnectChangedState>): void; | off(type: "connectStateChange", callback?: Callback<BLEConnectChangedState>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | connect(): boolean; | connect(): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattClientDevice | disconnect(): boolean; | disconnect(): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattClientDevice | close(): boolean; | close(): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattClientDevice | getDeviceName(callback: AsyncCallback<string>): void; | getDeviceName(callback: AsyncCallback<string>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | getDeviceName(): Promise<string>; | getDeviceName(): Promise<string>; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | getServices(callback: AsyncCallback<Array<GattService>>): void; | getServices(callback: AsyncCallback<Array<GattService>>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | getServices(): Promise<Array<GattService>>; | getServices(): Promise<Array<GattService>>; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void; | readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>; | readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void; | readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>; | readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | writeCharacteristicValue(characteristic: BLECharacteristic): boolean; | writeCharacteristicValue(characteristic: BLECharacteristic): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattClientDevice | writeDescriptorValue(descriptor: BLEDescriptor): boolean; | writeDescriptorValue(descriptor: BLEDescriptor): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattClientDevice | getRssiValue(callback: AsyncCallback<number>): void; | getRssiValue(callback: AsyncCallback<number>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | getRssiValue(): Promise<number>; | getRssiValue(): Promise<number>; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | setBLEMtuSize(mtu: number): boolean; | setBLEMtuSize(mtu: number): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattClientDevice | setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): boolean; | setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts,接å£è¿”回值改为void | -| GattClientDevice | on(type: "BLECharacteristicChange", callback: Callback<BLECharacteristic>): void; | on(type: "BLECharacteristicChange", callback: Callback<BLECharacteristic>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | off(type: "BLECharacteristicChange", callback?: Callback<BLECharacteristic>): void; | off(type: "BLECharacteristicChange", callback?: Callback<BLECharacteristic>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | on(type: "BLEConnectionStateChange", callback: Callback<BLEConnectChangedState>): void; | on(type: "BLEConnectionStateChange", callback: Callback<BLEConnectChangedState>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| GattClientDevice | off(type: "BLEConnectionStateChange", callback?: Callback<BLEConnectChangedState>): void; | off(type: "BLEConnectionStateChange", callback?: Callback<BLEConnectChangedState>): void; | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | GattService | GattService | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | BLECharacteristic | BLECharacteristic | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | BLEDescriptor | BLEDescriptor | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | NotifyCharacteristic | NotifyCharacteristic | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | CharacteristicReadReq | CharacteristicReadRequest | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | CharacteristicWriteReq | CharacteristicWriteRequest | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | DescriptorReadRe | DescriptorReadRequest | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | DescriptorWriteReq | DescriptorWriteRequest | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ServerResponse | ServerResponse | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | BLEConnectChangedState | BLEConnectChangedState | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ScanResult | ScanResult | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | AdvertiseSetting | AdvertiseSetting | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | AdvertiseData | AdvertiseData | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ManufactureData | ManufactureData | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ServiceData | ServiceData | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ScanFilter | ScanFilter | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ScanOptions | ScanOptions | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | SppOption | SppOption | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | PinRequiredParam | PinRequiredParam | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | DeviceClass | DeviceClass | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | BondStateParam | BondStateParam | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | StateChangeParam | StateChangeParam | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ScanDuty | ScanDuty | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | MatchMode | MatchMode | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ProfileConnectionState | ProfileConnectionState | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | BluetoothState | BluetoothState | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | SppType | SppType | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ScanMode | ScanMode | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | BondState | BondState | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | MajorClass | MajorClass | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | MajorMinorClass | MajorMinorClass | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | PlayingState | PlayingState | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | -| bluetooth | ProfileId | ProfileId | API9接å£å˜æ›´ï¼Œè¿ç§»åˆ°@ohos.bluetoothManager.d.ts | - - - -**适é…指导(å¯é€‰ï¼Œä¸æ¶‰åŠåˆ™å¯ä»¥åˆ 除)** - -以enableLocation为例,在新版本上需è¦ä½¿ç”¨å¦‚下方å¼è¿›è¡Œè°ƒç”¨ï¼š - - ```ts - import bluetoothManager from '@ohos.bluetoothManager'; - try { - var state = bluetoothManager.getState(); - } catch (err) { - console.error("errCode:" + err.code + ",errMessage:" + err.message); - } - ``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-distributeddatamgr.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-distributeddatamgr.md deleted file mode 100644 index cea1a4047360d76a40fe1c715909a8709b83a375..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-distributeddatamgr.md +++ /dev/null @@ -1,48 +0,0 @@ -# 分布å¼æ•°æ®ç®¡ç†å系统JS APIå˜æ›´Changelog - -## cl.distributeddatamgr.1 接å£å˜æ›´ -distributeddatamgrå系统relationalStore组件接å£å˜åœ¨å˜æ›´ï¼š - -å˜æ›´å‰ï¼š -应用调用getRdbStore接å£åŽï¼Œé€šè¿‡è¿”回对象rdbStoreçš„openStatus属性(openStatus == ON_CREATE)判æ–æ•°æ®åº“是å¦ä¸ºæ–°åˆ›å»ºã€‚ -å˜æ›´åŽï¼š -应用调用getRdbStore接å£åŽï¼Œé€šè¿‡è¿”回对象rdbStoreçš„version属性(version == 0)判æ–æ•°æ®åº“是å¦ä¸ºæ–°åˆ›å»ºã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - **å˜æ›´å½±å“** - -å½±å“API10版本的JS接å£ï¼Œåº”用需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸å®žçŽ°åŠŸèƒ½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------------ | --------------- | ---------------- | ------- | -| @ohos.data.relationalStore | RdbStore | openStatus: number; 改为 version: number; | å˜æ›´ | - - -**适é…指导** - -应用ä¸è®¾ç½®å’ŒèŽ·å–æ•°æ®åº“版本å¯å‚考下列代ç : - -```ts -const STORE_CONFIG = { - name: "rdbstore.db", - securityLevel: data_rdb.SecurityLevel.S1 -} -data_rdb.getRdbStore(this.context, STORE_CONFIG, function (err, rdbStore) { - // å˜æ›´å‰ï¼š - // if (rdbStore.openStatus == ON_CREATE) { - // rdbStore.executeSql("CREATE TABLE IF NOT EXISTS student (id INTEGER PRIMARY KEY AUTOINCREMENT, score REAL);", null) // create table xxx - // } - - // å˜æ›´åŽï¼š - if (rdbStore.version == 0) { - rdbStore.executeSql("CREATE TABLE IF NOT EXISTS student (id INTEGER PRIMARY KEY AUTOINCREMENT, score REAL);", null) // create table xxx - // 设置数æ®åº“版本,值为大于0çš„æ£æ•´æ•° - rdbStore.version == 3 - } - // 获å–æ•°æ®åº“版本 - console.info("Get RdbStore version is " + rdbStore.version) -}) -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-filemanagement.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-filemanagement.md deleted file mode 100644 index 6d04fd1b5c9263d0e91ba8d83ccc3bc536acf640..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-filemanagement.md +++ /dev/null @@ -1,145 +0,0 @@ -# 文件管ç†å系统ChangeLog - -## cl.filemanagement.1 environment模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。environment模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现environment模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原environment使用的是@ohos.environment,以以下方å¼import: - -```js -import environment from '@ohos.environment'; -``` - -现environment使用的是@ohos.file.environment,以以下方å¼import: - -```js -import environment from '@ohos.file.environment'; -``` - -## cl.filemanagement.2 securityLabel模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。securityLabel模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现securityLabel模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原securityLabel使用的是@ohos.securityLabel,以以下方å¼import: - -```js -import securityLabel from '@ohos.securityLabel'; -``` - -现securityLabel使用的是@ohos.file.securityLabel,以以下方å¼import: - -```js -import securityLabel from '@ohos.file.securityLabel'; -``` - -## cl.filemanagement.3 fs模å—å˜æ›´ - -fs模å—下Stat接å£ino属性类型å˜æ›´ã€‚ - -**å˜æ›´å½±å“** - -fs模å—下Stat接å£ino属性类型å˜æ›´ï¼Œç”±numberå˜æ›´ä¸ºbigint,以适é…文件系统下所有类型文件的inode范围。 - -**关键接å£/组件å˜æ›´** - -原Stat接å£ino属性类型为number,现å˜æ›´ä¸ºbigint。 - -## cl.filemanagement.4 fileAccess模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。fileAccess模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现fileAccess模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原fileAccess使用的是@ohos.data.fileAccess,以以下方å¼import: - -```js -import fileAccess from '@ohos.data.fileAccess'; -``` - -现fileAccess使用的是@ohos.file.fileAccess,以以下方å¼import: - -```js -import fileAccess from '@ohos.file.fileAccess'; -``` - -## cl.filemanagement.5 fileExtensionInfo模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原fileExtensionInfo使用的是@ohos.fileExtensionInfo,以以下方å¼import: - -```js -import fileExtensionInfo from '@ohos.fileExtensionInfo'; -``` - -现fileExtensionInfo使用的是@ohos.file.fileExtensionInfo,以以下方å¼import: - -```js -import fileExtensionInfo from '@ohos.file.fileExtensionInfo'; -``` - -## cl.filemanagement.6 storageStatistics模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现storageStatistics模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原storageStatistics使用的是@ohos.storageStatistics,以以下方å¼import: - -```js -import storageStatistics from '@ohos.storageStatistics'; -``` - -现storageStatistics使用的是@ohos.file.storageStatistics,以以下方å¼import: - -```js -import storageStatistics from '@ohos.file.storageStatistics'; -``` - -## cl.filemanagement.7 volumeManager模å—å˜æ›´ - -文件管ç†å系统d.ts归档整改,现统一整改到file一层目录下。fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现volumeManager模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) - -**关键接å£/组件å˜æ›´** - -原volumeManager使用的是@ohos.volumeManager,以以下方å¼import: - -```js -import volumeManager from '@ohos.volumeManager'; -``` - -现volumeManager使用的是@ohos.file.volumeManager,以以下方å¼import: - -```js -import volumeManager from '@ohos.file.volumeManager'; -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md deleted file mode 100644 index 383b48481c098317e210132d70e9e65e56dfd159..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md +++ /dev/null @@ -1,41 +0,0 @@ -# å…¨çƒåŒ–å系统ChangeLog - -## cl.global.1 国际化模å—系统接å£æ·»åŠ è¿è¡Œæ—¶é‰´æƒ - -å…¨çƒåŒ–å系统国际化组件在如下场景ä¸æ供的系统接å£æ·»åŠ è¿è¡Œæ—¶é‰´æƒã€‚从API9开始作以下å˜æ›´ï¼š - - 设置系统è¯è¨€ã€ç³»ç»Ÿå›½å®¶æˆ–地区ã€ç³»ç»ŸåŒºåŸŸ - - 设置系统24å°æ—¶åˆ¶ - - æ·»åŠ ã€ç§»é™¤ç³»ç»Ÿå好è¯è¨€ - - è®¾ç½®æœ¬åœ°åŒ–æ•°å— - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -上述场景涉åŠçš„国际化系统接å£æ·»åŠ è¿è¡Œæ—¶é‰´æƒï¼Œåªæœ‰å…·æœ‰UPDATE_CONFIGURATIONæƒé™çš„系统应用å¯ä»¥æ£å¸¸è°ƒç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - - - 涉åŠæŽ¥å£ - - setSystemLanguage(language: string): void; - - setSystemRegion(region: string): void; - - setSystemLocale(locale: string): void; - - set24HourClock(option: boolean): void; - - addPreferredLanguage(language: string, index?: number): void; - - removePreferredLanguage(index: number): void; - - setUsingLocalDigit(flag: boolean): void; - -**适é…指导** - -ç¡®ä¿åº”用为系统应用,éžç³»ç»Ÿåº”用ç¦æ¢è°ƒç”¨ä¸Šè¿°æŽ¥å£ã€‚ -当å‰æƒé™ä¸è¶³æˆ–éžç³»ç»Ÿåº”用调用该接å£æ—¶ä¼šæŠ›å‡ºå¼‚常,å¯ä»¥é€šè¿‡try-catchæ¥æ•èŽ·å¼‚常。 - -```js -import I18n from '@ohos.i18n' - -try { - I18n.System.setSystemLanguage('zh'); -} catch(error) { - console.error(`call System.setSystemLanguage failed, error code: ${error.code}, message: ${error.message}.`) -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-media.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-media.md deleted file mode 100644 index 1d1fadf9dbee56c3538e4462ee7936a364ec4445..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-media.md +++ /dev/null @@ -1,312 +0,0 @@ -# 媒体å系统ChangeLog - -## cl.media.1 æ’放功能接å£å˜æ›´ - -新增音视频æ’放接å£[AVPlayer](../../../application-dev/reference/apis/js-apis-media.md#avplayer9)<sup>9+</sup>, å‡çº§äº†çŠ¶æ€æœºå’Œé”™è¯¯ç ,推è用户使用。旧版音频æ’放接å£[AudioPlayer](../../../application-dev/reference/apis/js-apis-media.md#audioplayer)<sup>6+</sup>和视频æ’放接å£[VideoPlayer](../../../application-dev/reference/apis/js-apis-media.md#videoplayer)<sup>8+</sup>åœæ¢ç»´æŠ¤ã€‚ - -**å˜æ›´å½±å“** - -原有的接å£æš‚æ—¶å¯ç»§ç»ä½¿ç”¨ï¼Œä½†æ˜¯åœæ¢ç»´æŠ¤ï¼Œå»ºè®®ä½¿ç”¨æ–°æŽ¥å£è¿›è¡Œå¼€å‘。 - -**关键的接å£/组件å˜æ›´** - -新增接å£å¦‚下: - -| ç±»å | 新增接å£å£°æ˜Ž | -| -------------- | ------------------------------------------------------------ | -| media | createAVPlayer(callback: AsyncCallback\<AVPlayer>): void | -| media | createAVPlayer() : Promise\<AVPlayer> | -| media.AVPlayer | interface AVPlayer | -| media.AVPlayer | videoScaleType ?: VideoScaleType | -| media.AVPlayer | url ?: string | -| media.AVPlayer | surfaceId ?: string | -| media.AVPlayer | stop(callback: AsyncCallback\<void>): void | -| media.AVPlayer | stop(): Promise\<void> | -| media.AVPlayer | setVolume(volume: number): void | -| media.AVPlayer | setSpeed(speed: PlaybackSpeed): void | -| media.AVPlayer | setBitrate(bitrate: number): void | -| media.AVPlayer | seek(timeMs: number, mode?:SeekMode): void | -| media.AVPlayer | reset(callback: AsyncCallback\<void>): void | -| media.AVPlayer | reset(): Promise\<void> | -| media.AVPlayer | release(callback: AsyncCallback\<void>): void | -| media.AVPlayer | release(): Promise\<void> | -| media.AVPlayer | readonly width: number | -| media.AVPlayer | readonly state: AVPlayerState | -| media.AVPlayer | readonly height: number | -| media.AVPlayer | readonly duration: number | -| media.AVPlayer | readonly currentTime: number | -| media.AVPlayer | prepare(callback: AsyncCallback\<void>): void | -| media.AVPlayer | prepare(): Promise\<void> | -| media.AVPlayer | play(callback: AsyncCallback\<void>): void | -| media.AVPlayer | play(): Promise\<void> | -| media.AVPlayer | pause(callback: AsyncCallback\<void>): void | -| media.AVPlayer | pause(): Promise\<void> | -| media.AVPlayer | on(type: 'volumeChange', callback: Callback\<number>): void | -| media.AVPlayer | on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void | -| media.AVPlayer | on(type: 'timeUpdate', callback: Callback\<number>): void | -| media.AVPlayer | on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void | -| media.AVPlayer | on(type: 'startRenderFrame', callback: Callback\<void>): void | -| media.AVPlayer | on(type: 'speedDone', callback: Callback\<number>): void | -| media.AVPlayer | on(type: 'seekDone', callback: Callback\<number>): void | -| media.AVPlayer | on(type: 'error', callback: ErrorCallback): void | -| media.AVPlayer | on(type: 'endOfStream', callback: Callback\<void>): void | -| media.AVPlayer | on(type: 'durationUpdate', callback: Callback\<number>): void | -| media.AVPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void | -| media.AVPlayer | on(type: 'bitrateDone', callback: Callback\<number>): void | -| media.AVPlayer | on(type: 'availableBitrates', callback: (bitrates: Array\<number>) => void): void | -| media.AVPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void | -| media.AVPlayer | off(type: 'volumeChange'): void | -| media.AVPlayer | off(type: 'videoSizeChange'): void | -| media.AVPlayer | off(type: 'timeUpdate'): void | -| media.AVPlayer | off(type: 'stateChange'): void | -| media.AVPlayer | off(type: 'startRenderFrame'): void | -| media.AVPlayer | off(type: 'speedDone'): void | -| media.AVPlayer | off(type: 'seekDone'): void | -| media.AVPlayer | off(type: 'error'): void | -| media.AVPlayer | off(type: 'endOfStream'): void | -| media.AVPlayer | off(type: 'durationUpdate'): void | -| media.AVPlayer | off(type: 'bufferingUpdate'): void | -| media.AVPlayer | off(type: 'bitrateDone'): void | -| media.AVPlayer | off(type: 'availableBitrates'): void | -| media.AVPlayer | off(type: 'audioInterrupt'): void | -| media.AVPlayer | loop: boolean | -| media.AVPlayer | getTrackDescription(callback: AsyncCallback\<Array\<MediaDescription>>): void | -| media.AVPlayer | getTrackDescription() : Promise\<Array\<MediaDescription>> | -| media.AVPlayer | fdSrc ?: AVFileDescriptor | -| media.AVPlayer | audioInterruptMode ?: audio.InterruptMode | -| unnamed | type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error' | - -åœæ¢ç»´æŠ¤æŽ¥å£å¦‚下: - -| ç±»å | åœæ¢ç»´æŠ¤æŽ¥å£å£°æ˜Ž | -| ----------------- | ------------------------------------------------------------ | -| media | createVideoPlayer(callback: AsyncCallback\<VideoPlayer>): void | -| media | createVideoPlayer() : Promise\<VideoPlayer> | -| media | createAudioPlayer(): AudioPlayer | -| media.AudioPlayer | interface AudioPlayer | -| media.AudioPlayer | play(): void | -| media.AudioPlayer | release(): void | -| media.AudioPlayer | audioInterruptMode ?: audio.InterruptMode | -| media.AudioPlayer | fdSrc: AVFileDescriptor | -| media.AudioPlayer | seek(timeMs: number): void | -| media.AudioPlayer | readonly duration: number | -| media.AudioPlayer | loop: boolean | -| media.AudioPlayer | readonly state: AudioState | -| media.AudioPlayer | getTrackDescription(callback: AsyncCallback\<Array\<MediaDescription>>): void | -| media.AudioPlayer | getTrackDescription() : Promise\<Array\<MediaDescription>> | -| media.AudioPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void | -| media.AudioPlayer | on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void | -| media.AudioPlayer | on(type: 'timeUpdate', callback: Callback\<number>): void | -| media.AudioPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void | -| media.AudioPlayer | on(type: 'error', callback: ErrorCallback): void | -| media.AudioPlayer | setVolume(vol: number): void | -| media.AudioPlayer | pause(): void | -| media.AudioPlayer | readonly currentTime: number | -| media.AudioPlayer | stop(): void | -| media.AudioPlayer | reset(): void | -| media.AudioPlayer | src: string | -| media.VideoPlayer | interface VideoPlayer | -| media.VideoPlayer | play(callback: AsyncCallback\<void>): void | -| media.VideoPlayer | play(): Promise\<void> | -| media.VideoPlayer | prepare(callback: AsyncCallback\<void>): void | -| media.VideoPlayer | prepare(): Promise\<void> | -| media.VideoPlayer | release(callback: AsyncCallback\<void>): void | -| media.VideoPlayer | release(): Promise\<void> | -| media.VideoPlayer | audioInterruptMode ?: audio.InterruptMode | -| media.VideoPlayer | fdSrc: AVFileDescriptor | -| media.VideoPlayer | seek(timeMs: number, callback: AsyncCallback\<number>): void | -| media.VideoPlayer | seek(timeMs: number, mode:SeekMode, callback: AsyncCallback\<number>): void | -| media.VideoPlayer | seek(timeMs: number, mode?:SeekMode): Promise\<number> | -| media.VideoPlayer | readonly duration: number | -| media.VideoPlayer | loop: boolean | -| media.VideoPlayer | videoScaleType ?: VideoScaleType | -| media.VideoPlayer | readonly state: VideoPlayState | -| media.VideoPlayer | getTrackDescription(callback: AsyncCallback\<Array\<MediaDescription>>): void | -| media.VideoPlayer | getTrackDescription() : Promise\<Array\<MediaDescription>> | -| media.VideoPlayer | readonly height: number | -| media.VideoPlayer | on(type: 'playbackCompleted', callback: Callback\<void>): void | -| media.VideoPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void | -| media.VideoPlayer | on(type: 'startRenderFrame', callback: Callback\<void>): void | -| media.VideoPlayer | on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void | -| media.VideoPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void | -| media.VideoPlayer | on(type: 'error', callback: ErrorCallback): void | -| media.VideoPlayer | setDisplaySurface(surfaceId: string, callback: AsyncCallback\<void>): void | -| media.VideoPlayer | setDisplaySurface(surfaceId: string): Promise\<void> | -| media.VideoPlayer | setVolume(vol: number, callback: AsyncCallback\<void>): void | -| media.VideoPlayer | setVolume(vol: number): Promise\<void> | -| media.VideoPlayer | url: string | -| media.VideoPlayer | pause(callback: AsyncCallback\<void>): void | -| media.VideoPlayer | pause(): Promise\<void> | -| media.VideoPlayer | readonly currentTime: number | -| media.VideoPlayer | setSpeed(speed:number, callback: AsyncCallback\<number>): void | -| media.VideoPlayer | setSpeed(speed:number): Promise\<number> | -| media.VideoPlayer | stop(callback: AsyncCallback\<void>): void | -| media.VideoPlayer | stop(): Promise\<void> | -| media.VideoPlayer | readonly width: number | -| media.VideoPlayer | reset(callback: AsyncCallback\<void>): void | -| media.VideoPlayer | reset(): Promise\<void> | -| unnamed | type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error' | -| unnamed | type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error' | - -**适é…指导** - -请å‚考å„接å£çš„[APIå‚考](../../../application-dev/reference/apis/js-apis-media.md) - -## cl.media.2 录制功能接å£å˜æ›´ - -新增音视频录制接å£[AVRecorder](../../../application-dev/reference/apis/js-apis-media.md#avrecorder9)<sup>9+</sup>, å‡çº§äº†çŠ¶æ€æœºå’Œé”™è¯¯ç ,推è用户使用。旧版音频录制接å£[AudioRecorder](../../../application-dev/reference/apis/js-apis-media.md#audiorecorder)<sup>6+</sup>和视频录制接å£[VideoRecorder](../../../application-dev/reference/apis/js-apis-media.md#videorecorder9)<sup>9+</sup>åœæ¢ç»´æŠ¤ã€‚ - -新旧录制接å£å…±ç”¨çš„[AudioSourceType](../../../application-dev/reference/apis/js-apis-media.md#audiosourcetype9)å’Œ[VideoSourceType](../../../application-dev/reference/apis/js-apis-media.md#videosourcetype9)接å£ï¼Œå˜æ›´ä¸ºéžç³»ç»ŸæŽ¥å£ã€‚ - -**å˜æ›´å½±å“** - -原有的接å£[AudioRecorder](../../../application-dev/reference/apis/js-apis-media.md#audiorecorder)<sup>6+</sup>å’Œ[VideoRecorder](../../../application-dev/reference/apis/js-apis-media.md#videorecorder9)<sup>9+</sup>æš‚æ—¶å¯ç»§ç»ä½¿ç”¨ï¼Œä½†æ˜¯åœæ¢ç»´æŠ¤ï¼Œå»ºè®®ä½¿ç”¨æ–°æŽ¥å£è¿›è¡Œå¼€å‘[AVRecorder](../../../application-dev/reference/apis/js-apis-media.md#avrecorder9)<sup>9+</sup>。 - -**关键的接å£/组件å˜æ›´** - -新增接å£å¦‚下: - -| ç±»å | 新增接å£å£°æ˜Ž | -| ----------------------- | ------------------------------------------------------------ | -| media | createAVRecorder(callback: AsyncCallback\<AVRecorder>): void | -| media | createAVRecorder() : Promise\<AVRecorder> | -| media.AVRecorder | interface AVRecorder | -| media.AVRecorder | prepare(config: AVRecorderConfig, callback: AsyncCallback\<void>): void | -| media.AVRecorder | prepare(config: AVRecorderConfig): Promise\<void> | -| media.AVRecorder | release(callback: AsyncCallback\<void>): void | -| media.AVRecorder | release(): Promise\<void> | -| media.AVRecorder | readonly state: AVRecorderState | -| media.AVRecorder | on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): void | -| media.AVRecorder | on(type: 'error', callback: ErrorCallback): void | -| media.AVRecorder | resume(callback: AsyncCallback\<void>): void | -| media.AVRecorder | resume(): Promise\<void> | -| media.AVRecorder | start(callback: AsyncCallback\<void>): void | -| media.AVRecorder | start(): Promise\<void> | -| media.AVRecorder | off(type: 'stateChange'): void | -| media.AVRecorder | off(type: 'error'): void | -| media.AVRecorder | pause(callback: AsyncCallback\<void>): void | -| media.AVRecorder | pause(): Promise\<void> | -| media.AVRecorder | stop(callback: AsyncCallback\<void>): void | -| media.AVRecorder | stop(): Promise\<void> | -| media.AVRecorder | reset(callback: AsyncCallback\<void>): void | -| media.AVRecorder | reset(): Promise\<void> | -| media.AVRecorder | getInputSurface(callback: AsyncCallback\<string>): void | -| media.AVRecorder | getInputSurface(): Promise\<string> | -| media.AVRecorderConfig | videoSourceType?: VideoSourceType | -| media.AVRecorderConfig | audioSourceType?: AudioSourceType | -| media.AVRecorderConfig | profile: AVRecorderProfile | -| media.AVRecorderConfig | rotation?: number | -| media.AVRecorderConfig | url: string | -| media.AVRecorderConfig | location?: Location | -| media.AVRecorderConfig | interface AVRecorderConfig | -| media.AVRecorderProfile | videoBitrate?: number | -| media.AVRecorderProfile | videoCodec?: CodecMimeType | -| media.AVRecorderProfile | audioCodec?: CodecMimeType | -| media.AVRecorderProfile | videoFrameRate?: number | -| media.AVRecorderProfile | videoFrameHeight?: number | -| media.AVRecorderProfile | audioSampleRate?: number | -| media.AVRecorderProfile | audioBitrate?: number | -| media.AVRecorderProfile | videoFrameWidth?: number | -| media.AVRecorderProfile | audioChannels?: number | -| media.AVRecorderProfile | fileFormat: ContainerFormatType | -| media.AVRecorderProfile | interface AVRecorderProfile | -| unnamed | type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error' | - -åœæ¢ç»´æŠ¤æŽ¥å£å¦‚下: - -| ç±»å | åœæ¢ç»´æŠ¤æŽ¥å£å£°æ˜Ž | -| -------------------------- | ------------------------------------------------------------ | -| media | createVideoRecorder(callback: AsyncCallback\<VideoRecorder>): void | -| media | createVideoRecorder(): Promise\<VideoRecorder> | -| media | createAudioRecorder(): AudioRecorder | -| media.AudioRecorder | interface AudioRecorder | -| media.AudioRecorder | prepare(config: AudioRecorderConfig): void | -| media.AudioRecorder | release(): void | -| media.AudioRecorder | on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void | -| media.AudioRecorder | on(type: 'error', callback: ErrorCallback): void | -| media.AudioRecorder | resume(): void | -| media.AudioRecorder | start(): void | -| media.AudioRecorder | pause(): void | -| media.AudioRecorder | stop(): void | -| media.AudioRecorder | reset(): void | -| media.AudioRecorderConfig | audioSampleRate?: number | -| media.AudioRecorderConfig | location?: Location | -| media.AudioRecorderConfig | fileFormat?: ContainerFormatType | -| media.AudioRecorderConfig | interface AudioRecorderConfig | -| media.AudioRecorderConfig | audioEncoder?: AudioEncoder | -| media.AudioRecorderConfig | audioEncodeBitRate?: number | -| media.AudioRecorderConfig | numberOfChannels?: number | -| media.AudioRecorderConfig | format?: AudioOutputFormat | -| media.AudioRecorderConfig | uri: string | -| media.AudioRecorderConfig | audioEncoderMime?: CodecMimeType | -| media.VideoRecorder | interface VideoRecorder | -| media.VideoRecorder | prepare(config: VideoRecorderConfig, callback: AsyncCallback\<void>): void | -| media.VideoRecorder | prepare(config: VideoRecorderConfig): Promise\<void> | -| media.VideoRecorder | release(callback: AsyncCallback\<void>): void | -| media.VideoRecorder | release(): Promise\<void> | -| media.VideoRecorder | readonly state: VideoRecordState | -| media.VideoRecorder | on(type: 'error', callback: ErrorCallback): void | -| media.VideoRecorder | resume(callback: AsyncCallback\<void>): void | -| media.VideoRecorder | resume(): Promise\<void> | -| media.VideoRecorder | start(callback: AsyncCallback\<void>): void | -| media.VideoRecorder | start(): Promise\<void> | -| media.VideoRecorder | pause(callback: AsyncCallback\<void>): void | -| media.VideoRecorder | pause(): Promise\<void> | -| media.VideoRecorder | stop(callback: AsyncCallback\<void>): void | -| media.VideoRecorder | stop(): Promise\<void> | -| media.VideoRecorder | reset(callback: AsyncCallback\<void>): void | -| media.VideoRecorder | reset(): Promise\<void> | -| media.VideoRecorder | getInputSurface(callback: AsyncCallback\<string>): void | -| media.VideoRecorder | getInputSurface(): Promise\<string> | -| media.VideoRecorderConfig | videoSourceType: VideoSourceType | -| media.VideoRecorderConfig | audioSourceType?: AudioSourceType | -| media.VideoRecorderConfig | profile: VideoRecorderProfile | -| media.VideoRecorderConfig | rotation?: number | -| media.VideoRecorderConfig | url: string | -| media.VideoRecorderConfig | location?: Location | -| media.VideoRecorderConfig | interface VideoRecorderConfig | -| media.VideoRecorderProfile | readonly videoBitrate: number | -| media.VideoRecorderProfile | readonly videoCodec: CodecMimeType | -| media.VideoRecorderProfile | readonly audioCodec: CodecMimeType | -| media.VideoRecorderProfile | readonly videoFrameRate: number | -| media.VideoRecorderProfile | readonly videoFrameHeight: number | -| media.VideoRecorderProfile | readonly audioSampleRate: number | -| media.VideoRecorderProfile | readonly audioBitrate: number | -| media.VideoRecorderProfile | readonly videoFrameWidth: number | -| media.VideoRecorderProfile | readonly audioChannels: number | -| media.VideoRecorderProfile | readonly fileFormat: ContainerFormatType | -| media.VideoRecorderProfile | interface VideoRecorderProfile | -| unnamed | type VideoRecordState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error' | - -å˜æ›´æŽ¥å£å¦‚下: - -| ç±»å | 接å£å£°æ˜Ž | å˜æ›´å‰èƒ½åŠ› | å˜æ›´åŽèƒ½åŠ› | å˜æ›´å‰æ˜¯å¦ä¸ºç³»ç»ŸæŽ¥å£ | å˜æ›´åŽæ˜¯å¦ä¸ºç³»ç»ŸæŽ¥å£ | -| --------------------- | ------------------------------------------------------------ | ----------------------------------------------- | -------------------------------------------- | -------------------- | -------------------- | -| media.AudioSourceType | enum AudioSourceType { /** * default audio source type. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ AUDIO_SOURCE_TYPE_DEFAULT = 0, /** * source type mic. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ AUDIO_SOURCE_TYPE_MIC = 1, } | SystemCapability.Multimedia.Media.VideoRecorder | SystemCapability.Multimedia.Media.AVRecorder | 是 | å¦ | -| media.VideoSourceType | enum VideoSourceType { /** * surface raw data. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ VIDEO_SOURCE_TYPE_SURFACE_YUV = 0, /** * surface ES data. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ VIDEO_SOURCE_TYPE_SURFACE_ES = 1, } | SystemCapability.Multimedia.Media.VideoRecorder | SystemCapability.Multimedia.Media.AVRecorder | 是 | å¦ | - -**适é…指导** - -请å‚考å„接å£çš„[APIå‚考](../../../application-dev/reference/apis/js-apis-media.md) - -## cl.media.3 错误ç å˜æ›´ - -æ–°å¢žæ ‡å‡†çš„é”™è¯¯æžšä¸¾ç±»åž‹[AVErrorCode9](../../../application-dev/reference/apis/js-apis-media.md#averrorcode)<sup>9+</sup>替代原有错误枚举类型[MediaErrorCode](../../../application-dev/reference/apis/js-apis-media.md#mediaerrorcode)<sup>8+</sup>。 - -**å˜æ›´å½±å“** - -以往接å£è¿”回错误ç 枚举类型为[MediaErrorCode](../../../application-dev/reference/apis/js-apis-media.md#mediaerrorcode)<sup>8+</sup>ä¸å˜ã€‚新增接å£é”™è¯¯ç 类型å‡é‡‡ç”¨[AVErrorCode9](../../../application-dev/reference/apis/js-apis-media.md#averrorcode)<sup>9+</sup>。 - -**关键的接å£/组件å˜æ›´** - -新增接å£å¦‚下: - -| ç±»å | 新增错误ç 声明 | -| ----------------- | ------------------------------------------------------------ | -| media.AVErrorCode | enum AVErrorCode { /** * operation success. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_OK = 0, /** * permission denied. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_NO_PERMISSION = 201, /** * invalid parameter. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_INVALID_PARAMETER = 401, /** * the api is not supported in the current version * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_UNSUPPORT_CAPABILITY = 801, /** * the system memory is insufficient or the number of services reaches the upper limit * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_NO_MEMORY = 5400101, /** * current status does not allow or do not have permission to perform this operation * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_OPERATE_NOT_PERMIT = 5400102, /** * data flow exception information * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_IO = 5400103, /** * system or network response timeout. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_TIMEOUT = 5400104, /** * service process died. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_SERVICE_DIED = 5400105, /** * unsupported media format * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_UNSUPPORT_FORMAT = 5400106, } | - -åœæ¢ç»´æŠ¤æŽ¥å£å¦‚下: - -| ç±»å | åœæ¢ç»´æŠ¤é”™è¯¯ç 声明 | -| -------------------- | ------------------------------------------------------------ | -| media.MediaErrorCode | enum MediaErrorCode { /** * operation success. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_OK = 0, /** * malloc or new memory failed. maybe system have no memory. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_NO_MEMORY = 1, /** * no permission for the operation. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_OPERATION_NOT_PERMIT = 2, /** * invalid argument. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_INVALID_VAL = 3, /** * an I/O error occurred. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_IO = 4, /** * operation time out. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_TIMEOUT = 5, /** * unknown error. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_UNKNOWN = 6, /** * media service died. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_SERVICE_DIED = 7, /** * operation is not permit in current state. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_INVALID_STATE = 8, /** * operation is not supported in current version. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_UNSUPPORTED = 9, } | \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md deleted file mode 100644 index d508e473d7d48695a059508de789b84730b4f13e..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md +++ /dev/null @@ -1,42 +0,0 @@ -# 测试å系统ChangeLog - -## cl.testfwk_arkxtest.1 Rect控件边框信æ¯ç±»æŽ¥å£å称å˜æ›´ - -表示控件边框信æ¯çš„枚举类型Rect定义自4.0.2.1版本起进行了å˜æ›´ã€‚ - -## å˜æ›´å½±å“ - -æ¤å˜æ›´å½±å“@ohos.uitestæ供的Rect接å£ã€‚用户æ¤å‰åœ¨æµ‹è¯•ç”¨ä¾‹å¼€å‘ä¸ä½¿ç”¨äº†@ohos.uitest-api9 ä¸Rect接å£çš„,需è¦è¿›è¡Œé€‚é…æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -## 关键的接å£/组件å˜æ›´ - -### Rect<sup>9+</sup> - -å˜æ›´å‰ï¼š - -| å称 | 值 | 说明 | -| ------- | ---- | ------------------------- | -| leftX | 1 | 控件边框的左上角的Xåæ ‡ã€‚ | -| topY | 2 | 控件边框的左上角的Yåæ ‡ã€‚ | -| rightX | 3 | 控件边框的å³ä¸‹è§’çš„Xåæ ‡ã€‚ | -| bottomY | 4 | 控件边框的å³ä¸‹è§’çš„Yåæ ‡ã€‚ | - -å˜æ›´åŽï¼š - -| å称 | 值 | 说明 | -| ------ | ---- | ------------------------- | -| left | 1 | 控件边框的左上角的Xåæ ‡ã€‚ | -| top | 2 | 控件边框的左上角的Yåæ ‡ã€‚ | -| right | 3 | 控件边框的å³ä¸‹è§’çš„Xåæ ‡ã€‚ | -| bottom | 4 | 控件边框的å³ä¸‹è§’çš„Yåæ ‡ã€‚ | - -## 适é…指导 - -### 适é…接å£å称å˜æ›´ - -å¯æŒ‰ç…§å¦‚下规则åšç±»å替æ¢ï¼š - -- `leftX-->left` -- `topY-->top` -- `rightX-->right` -- `bottomY-->bottom` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md deleted file mode 100755 index a491f5b1cdd1578c3616e80733f3e84be5553c30..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md +++ /dev/null @@ -1,28 +0,0 @@ -# USBæœåŠ¡å系统ChangeLog - -## cl.usb_manager.1 系统接å£å˜æ›´ - -USB系统APIè¿è¡Œæ—¶é‰´æƒï¼Œå¼‚æ¥æŽ¥å£ä»¥Promise rejectå½¢å¼æŠ›å‡ºé”™è¯¯ç 。 - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需修改函数的返回值,å¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -| 包å | æ—§æŽ¥å£ | æ–°æŽ¥å£ | -| --------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| ohos.usbV9.d.ts | function setCurrentFunctions(funcs: FunctionType): Promise<boolean>; | function setCurrentFunctions(funcs: FunctionType): Promise<void>; | -| ohos.usbV9.d.ts | function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise<boolean>; | function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise<void>; | - -## cl.usb_manager.2 sdk接å£åˆ 除 - -继OpenHarmony 4.0.5.5版本3.30之åŽï¼Œ@ohos.usbV9.d.tsæ–‡ä»¶å·²åˆ é™¤ã€‚ - -åŽç»éœ€è¦import @ohos.usbManageræ‰èƒ½ä½¿ç”¨USBæœåŠ¡çš„接å£ï¼š - - ```ts - import usbManager from '@ohos.usbManager'; - ``` - -**适é…指导** - -请å‚考å„接å£çš„[API文档](../../../application-dev/reference/apis/js-apis-usbManager.md) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelog-web.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelog-web.md deleted file mode 100644 index 1aa1233f4c8a9b86b3eb6567cdd1bdcde641d94f..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelog-web.md +++ /dev/null @@ -1,63 +0,0 @@ -# webå系统ChangeLog - -OpenHarmony 4.0.2.2 版本相较于OpenHarmony 之å‰çš„版本,webçš„APIå˜æ›´å¦‚下。 - -## cl.web.1 åˆ é™¤webDebuggingAccessæŽ¥å£ - -该接å£å®šä¹‰ä¸åˆç†,该属性对所有web实例生效的,属于全局é…置。用本次新增的接å£setWebDebuggingAccess替æ¢ã€‚ - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£setWebDebuggingAccess替æ¢ã€‚ - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|WebAttribute | method | webDebugggingAccess(webDebugggingAccess: boolean): WebAttribute| åˆ é™¤ | - -**适é…指导** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£setWebDebuggingAccess替æ¢ã€‚ - -## cl.web.2 新增setWebDebuggingAccessæŽ¥å£ - -WebviewControlleræä¾›é™æ€æ–¹æ³•æ¥è®¾ç½®è°ƒè¯•æ¨¡å¼å¼€å…³ï¼Œè¯¥è®¾ç½®å¯¹æ‰€æœ‰web实例生效。 - -**å˜æ›´å½±å“** - -原有webDebugggingAccess属性定义ä¸åˆç†ï¼Œå› æ¤æ–°å¢žè¯¥é™æ€æŽ¥å£æ¥è®¾ç½®è°ƒè¯•æ¨¡å¼å¼€å…³ã€‚应用侧需è¦ä½¿ç”¨è¯¥æŽ¥å£æ¥æ‰“开调试模å¼å¼€å…³ã€‚ - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|webview.WebviewController | method | static setWebDebugggingAccess(webDebugggingAccess: boolean): void| 新增 | - -**适é…指导** - -以打开调试开关为例,示例代ç 如下: - -```ts -// xxx.ets -import web_webview from '@ohos.web.webview'; - -@Entry -@Component -struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController(); - - aboutToAppear():void { - try { - web_webview.WebviewController.setWebDebuggingAccess(true); - } catch(error) { - console.error(`ErrorCode: ${error.code}, Message: ${error.message}`); - } - } - - build() { - Column() { - Web({ src: 'www.example.com', controller: this.controller }) - } - } -} \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-bundlemanager.md deleted file mode 100644 index 6d889323ad4b874c1c799eca066f51fc89b76248..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-bundlemanager.md +++ /dev/null @@ -1,14 +0,0 @@ -# 包管ç†å系统ChangeLog - -## cl.bundlemanager.1 底层能力å˜æ›´ï¼Œå®‰è£…hap时,hapä¸çš„文件ä¸å†è§£åŽ‹åˆ°å®‰è£…目录。 - -安装hapåŽï¼Œå®‰è£…目录下åªä¼šå˜åœ¨hap文件,应用ä¸èƒ½å†ä½¿ç”¨æ‹¼æŽ¥è·¯å¾„访问解压åŽçš„资æºæ–‡ä»¶ï¼Œåº”用想è¦è®¿é—®èµ„æºæ–‡ä»¶ï¼Œéœ€è¦ä½¿ç”¨æ ‡å‡†çš„资æºç®¡ç†æŽ¥å£ã€‚ - -**å˜æ›´å½±å“**<br> -如果应用使用拼接路径的形å¼è®¿é—®èµ„æºæ–‡ä»¶ï¼Œä¼šè®¿é—®å¤±è´¥ã€‚需è¦ä¿®æ”¹æˆä½¿ç”¨èµ„æºç®¡ç†æŽ¥å£è®¿é—®èµ„æºæ–‡ä»¶ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -ä¸æ¶‰åŠæŽ¥å£åŠç»„件å˜æ›´ - -**适é…指导**<br> -资æºç®¡ç†å系统æä¾›Js接å£è®¿é—®èµ„æºæ–‡ä»¶ã€‚å‚考[访问资æºæ–‡ä»¶](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-resource-manager.md#getrawfilecontent9) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-global.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-global.md deleted file mode 100644 index c6d75fb165991783297225c5cb67d0bddfec0cb3..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-global.md +++ /dev/null @@ -1,57 +0,0 @@ -# å…¨çƒåŒ–å系统ChangeLog - -## cl.resourceManager.1 资æºèŽ·å–rawfile文件æ述符接å£å«ä¹‰å˜æ›´ - -相较于之å‰çš„版本,在4.0.2.2 版本ä¸ï¼Œæ–°å¢žä¸è§£åŽ‹ç‰¹æ€§ï¼Œrawfile文件æ述符接å£è¿”回值的å«ä¹‰å‘生了å˜åŒ–。接å£ç”¨äºŽè¿”回获å–çš„rawfile文件的descriptor:RawFileDescriptor {fd,offset, length},由于ä¸è§£åŽ‹ç‰¹æ€§å˜æ›´ï¼Œè¿”回值没å‘生å˜åŒ–,但返回值的å«ä¹‰å‘生了å˜åŒ–, å˜åŒ–如下: - -**新增ä¸è§£åŽ‹ç‰¹æ€§å‰**: - -fd: 访问rawfile文件的文件æ述符; - -offset: 访问rawfile文件的å移é‡ï¼Œæ¤æ—¶ä¸º0ï¼› - -length: 访问rawfile文件的大å°ã€‚ - -**新增ä¸è§£åŽ‹ç‰¹æ€§åŽ**: - -fd: 访问rawfile文件所在hap的文件æ述符; - -offset: 访问rawfile文件相对于hapçš„å移é‡ï¼› - -length: 访问rawfile文件的大å°ã€‚ - -**å˜æ›´å½±å“** - -之å‰åªé€šè¿‡fdå¯ä»¥è®¿é—®åˆ°rawfile文件,在4.0.2.2 åŠä»¥ä¸Šç‰ˆæœ¬éœ€è¦é€šè¿‡{fd, offset, length}三个å‚æ•°æ‰èƒ½è®¿é—®åˆ°ã€‚ - -**关键接å£/组件å˜æ›´** - -| **涉åŠæŽ¥å£** | -| ---------------- | -| getRawFd(path: string, callback: AsyncCallback\<RawFileDescriptor>): void | -| getRawFd(path: string): Promise\<RawFileDescriptor> | -| getRawFileDescriptor(path: string, callback: AsyncCallback\<RawFileDescriptor>): void| -| getRawFileDescriptor(path: string): Promise\<RawFileDescriptor>| -|| - -**示例代ç ** - -以调用接å£getRawFd为例: -``` -try { - this.context.resourceManager.getRawFd("test.ogg", (error, value) => { - if (error != null) { - console.log(`callback getRawFd failed error code: ${error.code}, message: ${error.message}.`); - } else { - let fileDescriptor = { - fd = value.fd, - offset = value.offset, - length = value.length - } - this.avPlayer.fdSrc(fileDescriptor); // 以音频æ’放为例,调用fdSrc时需è¦ä¼ fileDescriptor,ä¸èƒ½ä»…ä¼ fd。 - } - }); - } catch (error) { - console.error(`callback getRawFd failed, error code: ${error.code}, message: ${error.message}.`) - }; -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ability.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ability.md deleted file mode 100644 index 7637a2a27873eaf7ea59c642640efc994306c8a3..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ability.md +++ /dev/null @@ -1,36 +0,0 @@ -# 元能力å系统ChangeLog - -## cl.ability.1 appRecovery接å£ä¸RestartFlag属性å称å˜æ›´ï¼Œåˆ 除了未支æŒçš„属性 - -appRecovery接å£ä¸RestartFlag枚举命å从特定故障å‘生åŽ**ä¸é‡å¯**改æˆäº†ç‰¹å®šæ•…éšœå‘生åŽ**é‡å¯**。 -åˆ é™¤äº†CPP_CRASH_NO_RESTART。 - -**å˜æ›´å½±å“** - -4.0.2.3版本之å‰ä½¿ç”¨CPP_CRASH_NO_RESTART/JS_CRASH_NO_RESTART/APP_FREEZE_NO_RESTART类型开å‘的应用,在4.0.2.3版本之åŽè¡Œä¸ºä¼šå‘生å˜åŒ–。 - -**关键接å£/组件å˜æ›´** - -**RestartFlag** <sup>9+</sup> - -å˜æ›´å‰ï¼š -| å称 | 值 | 说明 | -| ----------------------------- | ---- | ------------------------------------------------------------ | -| ALWAYS_RESTART | 0 | 总是é‡å¯åº”用。 | -| CPP_CRASH_NO_RESTART | 0x0001 | å‘生CPP_CRASHæ—¶**ä¸é‡å¯**应用。 | -| JS_CRASH_NO_RESTART | 0x0002 | å‘生JS_CRASHæ—¶**ä¸é‡å¯**应用。 | -| APP_FREEZE_NO_RESTART | 0x0004 | å‘生APP_FREEZEæ—¶**ä¸é‡å¯**应用。 | -| NO_RESTART | 0xFFFF | 总是ä¸é‡å¯åº”用。 | - -å˜æ›´åŽï¼š -| å称 | 值 | 说明 | -| ---------- | ---- | ---------- | -| ALWAYS_RESTART | 0 | 总是é‡å¯åº”用。 | -| CPP_CRASH_NO_RESTART | NA | **åˆ é™¤**,ä¸æ”¯æŒè¯¥åœºæ™¯çš„é‡å¯ã€‚ | -| RESTART_WHEN_JS_CRASH | 0x0001 | å‘生JS_CRASHæ—¶**é‡å¯**应用。 | -| RESTART_WHEN_APP_FREEZE | 0x0002 | å‘生APP_FREEZEæ—¶**é‡å¯**应用。 | -| NO_RESTART | 0xFFFF | 总是ä¸é‡å¯åº”用。 | - -**适é…指导** - -按新的è¯ä¹‰è¿›è¡Œé€‚é…。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ans.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ans.md deleted file mode 100644 index 4053bb4f9bab409b673f1f8675382c0fd1710f7b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ans.md +++ /dev/null @@ -1,21 +0,0 @@ -# ANS通知å系统ChangeLog - -## cl.notificationManager.1 接å£åå˜æ›´ - -基于æ¤å‰æŽ¥å£å定义ä¸å¤Ÿè§„范,与其他功能类型的接å£å‘½åä¸ä¸€è‡´ï¼Œå¯¹æ¤æŽ¥å£å进行å˜æ›´ã€‚ - -**å˜æ›´å½±å“** - -底层ä»æ”¯æŒåŽŸæŽ¥å£åŠŸèƒ½ï¼Œä¸å½±å“4.0.2.3版本调用该接å£çš„应用。 - -**关键接å£/组件å˜æ›´** - -| 包å | æ—§æŽ¥å£ | æ–°æŽ¥å£ | -| --------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| ohos.notificationManager.d.ts | **function** supportDoNotDisturbMode(callback: AsyncCallback<boolean>): **void**; | **function** isSupportDoNotDisturbMode(callback: AsyncCallback<boolean>): **void**; | -| ohos.notificationManager.d.ts | **function** supportDoNotDisturbMode(): Promise<boolean>; | **function** isSupportDoNotDisturbMode(): Promise<boolean>; | - -**适é…指导** - -按新的接å£isSupportDoNotDisturbMode调用。 - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-arkui.md deleted file mode 100644 index f4d9c738365e587cad0e130bcb35517fd9199928..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-arkui.md +++ /dev/null @@ -1,328 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 状æ€å˜é‡æ•°æ®ç±»åž‹å£°æ˜Žä½¿ç”¨é™åˆ¶ã€‚ - -1. 所有的状æ€è£…饰器å˜é‡éœ€è¦æ˜¾å¼å£°æ˜Žå˜é‡ç±»åž‹ï¼Œä¸å…许声明any。 - - 示例: - - ```ts - // xxx.ets - @Entry - @Component - struct DatePickerExample { - // 错误写法: @State isLunar: any = false - @State isLunar: boolean = false - - build() { - ... - } - } - ``` - -2. @Stateã€@Provide〠@Linkå’Œ@Consumeå››ç§çŠ¶æ€å˜é‡çš„æ•°æ®ç±»åž‹å£°æ˜Žåªèƒ½ç”±ç®€å•æ•°æ®ç±»åž‹æˆ–引用数æ®ç±»åž‹çš„å…¶ä¸ä¸€ç§æž„æˆã€‚ - - 类型定义ä¸çš„Lengthã€ResourceStrã€ResourceColor三个类型是简å•æ•°æ®ç±»åž‹æˆ–引用数æ®ç±»åž‹çš„组åˆï¼Œæ‰€ä»¥ä¸èƒ½è¢«ä»¥ä¸Šå››ç§çŠ¶æ€è£…饰器å˜é‡ä½¿ç”¨ã€‚ - Lengthã€ResourceStrã€ResourceColor的定义请看文档[arkui-ts类型定义](../../../application-dev/reference/arkui-ts/ts-types.md)。 - - 示例: - - ```ts - // xxx.ets - @Entry - @Component - struct IndexPage { - // 错误写法: @State message: string | Resource = 'Hello World' - @State message: string = 'Hello World' - // 错误写法: @State message: ResourceStr = $r('app.string.hello') - @State resourceStr: Resource = $r('app.string.hello') - - build() { - Row() { - Column() { - Text(`${this.message}`) - .fontSize(50) - .fontWeight(FontWeight.Bold) - } - .width('100%') - } - .height('100%') - } - } - ``` - - ![hello](../../../application-dev/quick-start/figures/hello.PNG) - -**å˜æ›´å½±å“** - -1. 如果状æ€è£…饰器å˜é‡æ²¡æœ‰æ˜¾å¼å£°æ˜Žå˜é‡ç±»åž‹ï¼Œå£°æ˜Žany,编译拦截会出现è¦å‘Šï¼› - ```ts - // ArkTS:WARN Please define an explicit type, not any. - @State isLunar: any = false - ``` -3. @Stateã€@Provide〠@Linkå’Œ@Consumeå››ç§çŠ¶æ€å˜é‡ä½¿ç”¨æ¡†æž¶æ供的Lengthã€ResourceStrã€ResourceColor, - 编译拦截报错。 - - ```ts - /* ArkTS:ERROR The state variable type here is 'ResourceStr', it contains both a simple type and an object type, - which are not allowed to be defined for state variable of a struct.*/ - @State message: ResourceStr = $r('app.string.hello') - ``` - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -1. 状æ€è£…饰器å˜é‡å£°æ˜Žå…·ä½“çš„å˜é‡ç±»åž‹æ›¿ä»£any; -3. å› ä¸ºLength(string|number|Resource), ResourceStr(string|Resource), ResourceColor(string|number|Color|Resource) - 的三个类型是简å•æ•°æ®ç±»åž‹æˆ–引用数æ®ç±»åž‹çš„组åˆï¼Œä½¿ç”¨@Stateã€@Provide〠@Linkå’Œ@Consumeå››ç§çŠ¶æ€å˜é‡åœºæ™¯å‚考以下修改: - ```ts - // 错误写法: - @State message: ResourceStr = $r('app.string.hello') - // ä¿®æ£åŽçš„写法: - @State resourceStr: Resource = $r('app.string.hello') - ``` - -## cl.arkui.2 自定义组件æˆå‘˜å˜é‡åˆå§‹åŒ–的规则与约æŸã€‚ - -é€šè¿‡æž„é€ å‡½æ•°æ–¹æ³•åˆå§‹åŒ–æˆå‘˜å˜é‡ï¼Œéœ€è¦éµå¾ªå¦‚下规则: - -| **从父组件ä¸çš„å˜é‡(å³)到å组件ä¸çš„å˜é‡(下)** | **regular** | **@State** | **@Link** | **@Prop** | **@Provide** | **@Consume** | **@ObjectLink** | -| -------------------------- | ----------- | ---------- | --------- | --------- | ------------ | ------------ | --------------- | -| **regular** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | æ”¯æŒ | -| **@State** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Link** | ä¸æ”¯æŒ | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | -| **@Prop** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Provide** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Consume** | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | -| **@ObjectLink** | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | - -| **从父组件ä¸çš„å˜é‡(å³)到å组件ä¸çš„å˜é‡(下)** | **@StorageLink** | **@StorageProp** | **@LocalStorageLink** | **@LocalStorageProp** | -| -------------------------- | ---------------- | ---------------- | --------------------- | --------------------- | -| **regular** | æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | -| **@State** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Link** | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | 支æŒ(1) | -| **@Prop** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Provide** | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | æ”¯æŒ | -| **@Consume** | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | -| **@ObjectLink** | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | ä¸æ”¯æŒ | - -> **说明** -> -> **支æŒ(1)**:必须使用`$`, 例如 `this.$varA`。 -> **regular**ï¼šæœªåŠ ä¿®é¥°çš„å¸¸è§„å˜é‡ã€‚ - -ä¸å…许从父组件åˆå§‹åŒ–`@StorageLink`, `@StorageProp`, `@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ã€‚ - -**å˜æ›´å½±å“** - -1. ä¸å…许从父组件åˆå§‹åŒ–`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ï¼Œç¼–译出现è¦å‘Šã€‚ - ```ts - @Entry - @Component - struct LocalStorageComponent { - build() { - Column() { - Child({ - /* ArkTS:WARN Property 'simpleVarName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - simpleVarName: 1, - /* ArkTS:WARN Property 'objectName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - objectName: new ClassA("x") - }) - } - } - } - @Component - struct Child { - @LocalStorageLink("storageSimpleProp") simpleVarName: number = 0; - @LocalStorageProp("storageObjectProp") objectName: ClassA = new ClassA("x"); - build() {} - } - ``` -2. å组件的@ObjectLinkå˜é‡ä¸æ”¯æŒçˆ¶ç»„件装饰器å˜é‡çš„直接赋值,其父组件的æºå¿…须是数组的项或对象的属性,该数组或对象必现用`@State`ã€`@Link`ã€`@Provide`ã€`@Consume`或`@ObjectLink`装饰器修饰。 - ```ts - let NextID : number = 0; - - @Observed class ClassA { - public id : number; - public c: number; - constructor(c: number) { - this.id = NextID++; - this.c = c; - } - } - - @Component - struct Child { - @ObjectLink varA : ClassA; - build() { - Row() { - Text('ViewA-' + this.varA.id) - } - } - } - - @Component - struct Parent { - @Link linkValue: ClassA - build() { - Column() { - /* ArkTS:ERROR The @Link property 'linkValue' cannot be assigned to - the @ObjectLink property 'varA'.*/ - Child({ varA: this.linkValue }) - } - } - } - ``` - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** -1. æž„é€ å组件时,ä¸å¯¹å组件的`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡è¿›è¡Œã€‚ - 如果需è¦åœ¨çˆ¶ç»„件ä¸ä¿®æ”¹å组件的`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ï¼Œåˆ™ä½¿ç”¨LocalStorageæ供的API接å£æ–¹æ³•(比如set方法)赋值。 -2. @ObjectLink的使用指导请å‚考文档[@ObjectLink使用指导](../../../application-dev/quick-start/arkts-observed-and-objectlink.md)。 - -## cl.arkui.3 List组件和Scroll组件onScrollBegin事件å˜æ›´ - -List组件和Scroll组件onScrollBegin事件更å为onScrollFrameBegin事件,onScrollBegin事件ä¸dxå’Œdyå‚数分别表示Xè½´å’ŒYè½´æ–¹å‘滚动å移é‡ï¼Œæ›´å˜ä¸ºonScrollFrameBegin事件åŽä½¿ç”¨offsetå‚数表示滚动å移é‡ã€‚onScrollFrameBegin事件新增ScrollStateå‚数,用于表示当å‰æ—¶æ‰‹æŒ‡æ‹–动滑动状æ€è¿˜æ˜¯æƒ¯æ€§æ»‘动状æ€ã€‚ - -**å˜æ›´å½±å“** - -onScrollBegin事件ä¸èƒ½å†ä½¿ç”¨ï¼Œéœ€è¦ä½¿ç”¨onScrollFrameBegin事件。 - -**关键接å£/组件å˜æ›´** - -| 旧事件定义 | 新事件定义 | -| ---------------------------------------- | ---------------------------------------- | -| onScrollBegin(event: (dx: number, dy: number) => { dxRemain: number, dyRemain: number }) | onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number }) | - -onScrollFrameBegin事件说明å‚考API接å£æ–‡æ¡£ï¼š -- [Scroll组件事件](../../../application-dev/reference/arkui-ts/ts-container-scroll.md#事件) -- [List组件事件](../../../application-dev/reference/arkui-ts/ts-container-list.md#事件) - -**适é…指导** - -onScrollBegin改æˆä½¿ç”¨onScrollFrameBegin事件,onScrollBegin事件的dx/dyå‚数改æˆonScrollFrameBegin事件的offsetå‚数。原本需è¦æ›´æ»šåŠ¨ç»„件的滚动轴æ¥ç¡®å®šæ˜¯ä½¿ç”¨dx还dyå‚数,使用onScrollFrameBegin事件åŽï¼Œåªéœ€è¦ç›´æŽ¥ä½¿ç”¨offsetå‚数。 - -onScrollBegin事件典型使用示例: -```ts -@Entry -@Component -struct NestedScroll { - @State listPosition: number = 0; // 0代表滚动到List顶部,1代表ä¸é—´å€¼ï¼Œ2代表滚动到List底部。 - private arr: number[] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - private scrollerForScroll: Scroller = new Scroller() - private scrollerForList: Scroller = new Scroller() - - build() { - Flex() { - Scroll(this.scrollerForScroll) { - Column() { - Text("Scroll Area") - .width("100%").height("40%").backgroundColor(0X330000FF) - .fontSize(16).textAlign(TextAlign.Center) - .onClick(() => { - this.scrollerForList.scrollToIndex(5) - }) - - List({ space: 20, scroller: this.scrollerForList }) { - ForEach(this.arr, (item) => { - ListItem() { - Text("ListItem" + item) - .width("100%").height("100%").borderRadius(15) - .fontSize(16).textAlign(TextAlign.Center).backgroundColor(Color.White) - }.width("100%").height(100) - }, item => item) - } - .width("100%") - .height("50%") - .edgeEffect(EdgeEffect.None) - .onReachStart(() => { - this.listPosition = 0 - }) - .onReachEnd(() => { - this.listPosition = 2 - }) - .onScrollBegin((dx: number, dy: number) => { - if ((this.listPosition == 0 && dy >= 0) || (this.listPosition == 2 && dy <= 0)) { - this.scrollerForScroll.scrollBy(0, -dy) - return { dxRemain: dx, dyRemain: 0 } - } - this.listPosition = 1 - return { dxRemain: dx, dyRemain: dy }; - }) - - Text("Scroll Area") - .width("100%").height("40%").backgroundColor(0X330000FF) - .fontSize(16).textAlign(TextAlign.Center) - } - } - .width("100%").height("100%") - }.width('100%').height('100%').backgroundColor(0xDCDCDC).padding(20) - } -} -``` -改æˆonScrollFrameBegin事件å‚考代ç 如下: -```ts -@Entry -@Component -struct NestedScroll { - @State listPosition: number = 0; // 0代表滚动到List顶部,1代表ä¸é—´å€¼ï¼Œ2代表滚动到List底部。 - private arr: number[] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - private scrollerForScroll: Scroller = new Scroller() - private scrollerForList: Scroller = new Scroller() - - build() { - Flex() { - Scroll(this.scrollerForScroll) { - Column() { - Text("Scroll Area") - .width("100%").height("40%").backgroundColor(0X330000FF) - .fontSize(16).textAlign(TextAlign.Center) - .onClick(() => { - this.scrollerForList.scrollToIndex(5) - }) - - List({ space: 20, scroller: this.scrollerForList }) { - ForEach(this.arr, (item) => { - ListItem() { - Text("ListItem" + item) - .width("100%").height("100%").borderRadius(15) - .fontSize(16).textAlign(TextAlign.Center).backgroundColor(Color.White) - }.width("100%").height(100) - }, item => item) - } - .width("100%") - .height("50%") - .edgeEffect(EdgeEffect.None) - .onReachStart(() => { - this.listPosition = 0 - }) - .onReachEnd(() => { - this.listPosition = 2 - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - if ((this.listPosition == 0 && offset >= 0) || (this.listPosition == 2 && offset <= 0)) { - this.scrollerForScroll.scrollBy(0, -offset) - return { offsetRemain: 0 } - } - this.listPosition = 1 - return { offsetRemain: offset }; - }) - - Text("Scroll Area") - .width("100%").height("40%").backgroundColor(0X330000FF) - .fontSize(16).textAlign(TextAlign.Center) - } - } - .width("100%").height("100%") - }.width('100%').height('100%').backgroundColor(0xDCDCDC).padding(20) - } -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md deleted file mode 100644 index 3870a5bc4d9bbbeffab9a6a1c76263557a44c4dd..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md +++ /dev/null @@ -1,37 +0,0 @@ -# USBæœåŠ¡å系统ChangeLog - -## cl.usb_manager.1 包åå˜æ›´ - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需修改导入的包å,å¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -| 旧包å | 新包å | -|------------------ | ------------------- | -| ohos.usbV9.d.ts | ohos.usbManager.d.ts | - -**适é…指导** - -å¼€å‘者导入时将@ohos.usbV9æ›´æ¢ä¸º@ohos.usbManagerå³å¯ã€‚ - -## cl.usb_manager.2 接å£å‚数类型å˜æ›´ - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需修改å‚数类型,å¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -| 旧类å | æ–°ç±»å | -|---------------| ------------- | -| interface USBConfig | interface USBConfiguration | - -| 旧命å空间 | 新命å空间 | -|---------------| ------------- | -| @namespace usbV9 | @namespace usbManager | - -| 包å | æ—§æŽ¥å£ | æ–°æŽ¥å£ | -| --------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| ohos.usbManager.d.ts | function setConfiguration(pipe: USBDevicePipe, config: USBConfig): number; | function setConfiguration(pipe: USBDevicePipe, config: USBConfiguration): number; | - -**适é…指导** - -调用setConfiguration接å£æ—¶å‚数类型USBConfig修改为USBConfigurationå³å¯ã€‚ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.5/changelogs-telephony.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.5/changelogs-telephony.md deleted file mode 100644 index 4af67bf47de693c4678408d588be693b9c698a1a..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.5/changelogs-telephony.md +++ /dev/null @@ -1,130 +0,0 @@ -# 电è¯å系统ChangeLog - - - -## cl.telephony.radio.1 isNrSupported接å£å˜æ›´ - - -NR是专有åè¯ï¼Œéœ€è¦å…¨éƒ¨å¤§å†™ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´çš„js接å£ï¼Œå˜æ›´å‰çš„接å£å·²ç»ä¸èƒ½æ£å¸¸ä½¿ç”¨äº†ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - - - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - isNrSupported(): boolean; - isNrSupported(slotId: number): boolean; - -- å˜æ›´å‰ï¼š - -```js -function isNrSupported(): boolean; -function isNrSupported(slotId: number): boolean; -``` - -- å˜æ›´åŽï¼š - -```js -function isNRSupported(): boolean; -function isNRSupported(slotId: number): boolean; -``` - - - -**适é…指导** - -使用å˜æ›´åŽçš„接å£ï¼Œç¤ºä¾‹ä»£ç 如下: - -```js -let result = radio.isNrSupported(); -console.log("Result: "+ result); -``` - - -```js -let slotId = 0; -let result = radio.isNRSupported(slotId); -console.log("Result: "+ result); -``` - - -## cl.telephony.call.2 dial接å£å˜æ›´ - -从API9开始,废弃æ¤æŽ¥å£ï¼Œæ”¹ä¸ºä½¿ç”¨dialCall接å£ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£dialCall替æ¢ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - dial(phoneNumber: string, callback: AsyncCallback<boolean>): void; - dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void; - dial(phoneNumber: string, options?: DialOptions): Promise<boolean>; - -- å˜æ›´å‰ï¼š - -```js -function dial(phoneNumber: string, callback: AsyncCallback<boolean>): void; -function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void; -function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>; -``` - -- å˜æ›´åŽï¼š - -```js -function dialCall(phoneNumber: string, callback: AsyncCallback<void>): void; -function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback<void>): void; -function dialCall(phoneNumber: string, options?: DialCallOptions): Promise<void>; -``` - - - -**适é…指导** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žçš„接å£dialCall替æ¢ã€‚ -使用å˜æ›´åŽçš„接å£ï¼Œç¤ºä¾‹ä»£ç 如下: - -```js -call.dialCall("138xxxxxxxx", (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -call.dialCall("138xxxxxxxx", { - accountId: 0, - videoState: 0, - dialScene: 0, - dialType: 0, -}, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -try { - call.dialCall('138xxxxxxxx'); - console.log(`dialCall success, promise: data->${JSON.stringify(data)}`); -} catch (error) { - console.log(`dialCall fail, promise: err->${JSON.stringify(error)}`); -} -``` - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-accesstoken.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-accesstoken.md deleted file mode 100644 index 1a8369c1e143394448444df7a4f70b78322e1625..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-accesstoken.md +++ /dev/null @@ -1,33 +0,0 @@ -# 程åºè®¿é—®æŽ§åˆ¶å系统ChangeLog - -OpenHarmony 4.0.3.2 版本相较于OpenHarmony 之å‰çš„版本,程åºè®¿é—®æŽ§åˆ¶å系统的APIå˜æ›´å¦‚下。 - -## cl.access_token.1 getPermissionUsedRecords命åå˜æ›´ - -接å£getPermissionUsedRecords由于命å规范问题,å称å˜æ›´ä¸ºgetPermissionUsedRecord。 - -**å˜æ›´å½±å“** - -接å£getPermissionUsedRecords,在4.0.3.3版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - function getPermissionUsedRecords - -- å˜æ›´å‰ï¼š - - ```ts - function getPermissionUsedRecords - ``` - -- å˜æ›´åŽï¼š - - ```ts - function getPermissionUsedRecord - ``` - -**适é…指导** - -请使用getPermissionUsedRecord替æ¢getPermissionUsedRecords \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md deleted file mode 100644 index af9c4c0d1258cfa03660afaca9754cac09b12101..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md +++ /dev/null @@ -1,87 +0,0 @@ -# securityå系统ChangeLog - -## cl.security.1 ParamsSpec属性åå˜æ›´ä¸ºalgName。 -结构体ParamsSpec的属性algoName由于API命å统一,å称更改为algName。 - -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼Œå¯¹ParamsSpec以åŠå…¶åç±»IvParamsSpec,GcmParamsSpec与CcmParamsSpec,使用这些对象作为å‚数或返回值时,其属性å需è¦æ›´æ”¹ä¸ºalgName。 -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境æ£å¸¸ç¼–译通过。 - -**关键的接å£/组件å˜æ›´** - -修改å‰çš„接å£åŽŸåž‹ï¼š - - ```ts -interface ParamsSpec { - /** - * Indicates the algorithm name. Should be set before initialization of a cipher object. - * @type { string } - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - algoName : string; -} - ``` -修改åŽçš„接å£åŽŸåž‹ï¼š - - ```ts -interface ParamsSpec { - /** - * Indicates the algorithm name. Should be set before initialization of a cipher object. - * @type { string } - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - algName : string; -} - ``` - -**适é…指导** - -对ParamsSpec以åŠå…¶åç±»IvParamsSpec,GcmParamsSpec与CcmParamsSpec,使用这些对象作为å‚数或返回值时,其属性å需è¦ä»ŽalgoName更改为algName。 - ```ts -function genGcmParamsSpec() { - let arr = [0, 0, 0, 0 , 0, 0, 0, 0, 0, 0 , 0, 0]; // 12 bytes - let dataIv = new Uint8Array(arr); - let ivBlob = {data : dataIv}; - - arr = [0, 0, 0, 0 , 0, 0, 0, 0]; // 8 bytes - let dataAad = new Uint8Array(arr); - let aadBlob = {data : dataAad}; - - arr = [0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0]; // 16 bytes - let dataTag = new Uint8Array(arr); - let tagBlob = {data : dataTag}; - let gcmParamsSpec = {iv : ivBlob, aad : aadBlob, authTag : tagBlob, algName : "GcmParamsSpec"}; - return gcmParamsSpec; -} - ``` -详细查看APIå‚考ä¸ParamsSpec对应的接å£é€‚é…指å—: -[åŠ è§£å¯†ç®—æ³•åº“æ¡†æž¶-ParamsSpec-APIå‚考](../../../application-dev/reference/apis/js-apis-cryptoFramework.md#paramsspec) - -## cl.security.2 ECC密ç 算法的å‚æ•°å从ECC512å˜æ›´ä¸ºECC521 - -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ -应用需è¦è¿›è¡Œé€‚é…,æ‰å¯ä»¥åœ¨æ–°ç‰ˆæœ¬SDK环境获å–æ£ç¡®ç»“果。 - -**关键的接å£/组件å˜æ›´** -å‘布的JS接å£ä¸å˜ï¼Œ ä¼ å…¥æŽ¥å£çš„å‚æ•°å‘生å˜åŒ–,由ECC512å˜åŒ–为ECC521,具体å¯è§[åŠ è§£å¯†ç®—æ³•åº“æ¡†æž¶-ECC密ç 算法å‚æ•°å‚考](../../../application-dev/security/cryptoFramework-overview.md#密钥生æˆè§„æ ¼),涉åŠçš„接å£æœ‰ï¼š - -cryptoFramework.createAsyKeyGenerator - -cryptoFramework.createSign - -cryptoFramework.createVerify - -cryptoFramework.createKeyAgreement - -**适é…指导** - -```js -import cryptoFramework from "@ohos.security.cryptoFramework" - -let asyKeyGenerator = cryptoFramework.createAsyKeyGenerator("ECC521"); -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-softbus.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-softbus.md deleted file mode 100644 index 24592f1d4670c682785e7b4abbf7189edfe74f53..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-softbus.md +++ /dev/null @@ -1,27 +0,0 @@ -# 软总线å系统ChangeLog - -## cl.softbus.1 IPC接å£ä¸unregisterDeathRecipient接å£è¿”回值å˜æ›´ï¼Œæ›´æ”¹ä¸ºvoid。 - -unregisterDeathRecipient(recipient: DeathRecipient, flags: number)方法返回值为boolean,更æ£ä¸ºvoid。 - -**å˜æ›´å½±å“** - -该unregisterDeathRecipient接å£å¦‚果需è¦ç»§ç»ä½¿ç”¨ï¼Œå»ºè®®ä¼˜å…ˆä½¿ç”¨removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean方法。 - -**关键的接å£/组件å˜æ›´** - -- å˜æ›´å‰ï¼š - -```js - unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean -``` - -- å˜æ›´åŽï¼š - -```js - unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void -``` - -**适é…指导** - -该unregisterDeathRecipient接å£å¦‚果需è¦ç»§ç»ä½¿ç”¨ï¼Œå»ºè®®ä¼˜å…ˆä½¿ç”¨removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean方法。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md deleted file mode 100644 index da9847a3b5714e651af224b91279012e863f6a24..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md +++ /dev/null @@ -1,467 +0,0 @@ -# webå系统ChangeLog - -OpenHarmony 4.0.3.2 版本相较于OpenHarmony 之å‰çš„版本,webçš„APIå˜æ›´å¦‚下。 - -## cl.web.1 HitTestTypeV9命åå˜æ›´ - -枚举类HitTestTypeV9由于命å规范问题,å称å˜æ›´ä¸ºWebHitTestType。 - -**å˜æ›´å½±å“** - -枚举类HitTestTypeV9,以åŠä½¿ç”¨HitTestTypeV9作为å‚数或返回值的接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - enum HitTestTypeV9 - -- å˜æ›´å‰ï¼š - - ```ts - enum HitTestTypeV9 - ``` - -- å˜æ›´åŽï¼š - - ```ts - enum WebHitTestType - ``` - -**适é…指导** - -请使用WebHitTestType替æ¢HitTestTypeV9。 - -## cl.web.2 HeaderV9命åå˜æ›´ - -结构体HeaderV9由于命å规范问题,å称å˜æ›´ä¸ºWebHeader。 - -**å˜æ›´å½±å“** - -结构体HeaderV9,以åŠä½¿ç”¨HeaderV9作为å‚数或返回值的接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - interface HeaderV9 - -- å˜æ›´å‰ï¼š - - ```ts - interface HeaderV9 - ``` - -- å˜æ›´åŽï¼š - - ```ts - interface WebHeader - ``` - -**适é…指导** - -请使用WebHeader替æ¢HeaderV9。 - -## cl.web.3 HitTestValue结构体æˆå‘˜ç±»åž‹å˜æ›´ - -结构体HitTestValueä¸çš„æˆå‘˜å˜é‡HitTestTypeV9由于命å规范问题,å称å˜æ›´ä¸ºWebHitTestType。 - -**å˜æ›´å½±å“** - -结构体HitTestValue,以åŠä½¿ç”¨HitTestValue作为å‚数或返回值的接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - interface HitTestValue - -- å˜æ›´å‰ï¼š - - ```ts - interface HitTestValue { - - /** - * Get the hit test type. - * - * @since 9 - */ - type: HitTestTypeV9; - - /** - * Get the hit test extra data. - * - * @since 9 - */ - extra: string; - } - ``` - -- å˜æ›´åŽï¼š - - ```ts - interface HitTestValue { - - /** - * Get the hit test type. - * - * @since 9 - */ - type: WebHitTestType; - - /** - * Get the hit test extra data. - * - * @since 9 - */ - extra: string; - } - ``` - -**适é…指导** - -请使用WebHitTestType替æ¢HitTestTypeV9。 - -## cl.web.4 loadUrlå‚数类型å˜æ›´ - -loadUrl接å£ä¸çš„å‚æ•°headers,由于其类型的命å规范问题,类型å˜æ›´ä¸ºWebHeader。 - -**å˜æ›´å½±å“** - -loadUrl接å£è‹¥ä½¿ç”¨äº†headerså‚数,则在4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - loadUrl(url: string | Resource, headers?: Array<HeaderV9>): void - -- å˜æ›´å‰ï¼š - - ```ts - loadUrl(url: string | Resource, headers?: Array<HeaderV9>): void - ``` - -- å˜æ›´åŽï¼š - - ```ts - loadUrl(url: string | Resource, headers?: Array<WebHeader>): void - ``` - -**适é…指导** - -在loadUrlä¸è®¾ç½®headerså‚数时,请使用WebHeader类型替æ¢HeaderV9类型。 - -## cl.web.5 getHitTest返回值类型å˜æ›´ - -getHitTest接å£ä¸çš„返回值,由于其类型的命å规范问题,å˜æ›´ä¸ºWebHitTest。 - -**å˜æ›´å½±å“** - -getHitTest接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - getHitTest(): HitTestTypeV9 - -- å˜æ›´å‰ï¼š - - ```ts - getHitTest(): HitTestTypeV9 - ``` - -- å˜æ›´åŽï¼š - - ```ts - getHitTest(): WebHitTestType - ``` - -**适é…指导** - -在使用getHitTest接å£çš„返回值时,请使用WebHitTestType类型替æ¢HitTestTypeV9类型。 - -## cl.web.6 WebMessagePortç±»è¿ç§» - -WebMessagePortç±»è¿ç§»è‡³@ohos.web.webview.d.ts,并新增错误ç 抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现该类下接å£æ”¯æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - postMessageEvent(message: WebMessageEvent): void; - onMessageEvent(callback: (result: string) => void): void; - -- å˜æ›´å‰ï¼š - - ```ts - postMessageEvent(message: WebMessageEvent): void; - onMessageEvent(callback: (result: string) => void): void; - ``` - -- å˜æ›´åŽï¼š - - ```ts - postMessageEvent(message: WebMessage): void; - onMessageEvent(callback: (result: WebMessage) => void): void; - ``` - -**适é…指导** - -原WebMessagePortç±»ä¸éœ€è¦import,现WebMessagePort类使用的是@ohos.web.webview,以下方å¼import: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.7 HitTestValueç±»è¿ç§» - -HitTestValueç±»è¿ç§»è‡³@ohos.web.webview.d.ts,HitTestValueç±»å˜æ›´ä¸ºæŽ¥å£ï¼ŒgetType,getExtraå˜æ›´ä¸ºå±žæ€§ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - getType(): HitTestType; - getExtra(): string; - -- å˜æ›´å‰ï¼š - - ```ts - getType(): HitTestType; - getExtra(): string; - ``` - -- å˜æ›´åŽï¼š - - ```ts - type: WebHitTestType; - extra: string; - ``` - -**适é…指导** - -原HitTestValueç±»ä¸éœ€è¦import,现HitTestValue类使用的是@ohos.web.webview,以下方å¼import: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.8 WebCookie类下api9接å£è¿ç§» - -WebCookie类下api9接å£è¿ç§»ï¼ŒWebCookie类下api9接å£è¿ç§»åˆ°web.webview.webview.WebCookieManager。 -并新增接å£é”™è¯¯ç 抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现该类下接å£æ”¯æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 -该类方法å˜ä¸ºé™æ€æ–¹æ³•ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - isCookieAllowed(): boolean; - isThirdPartyCookieAllowed(): boolean; - putAcceptCookieEnabled(accept: boolean): void; - putAcceptThirdPartyCookieEnabled(accept: boolean): void; - setCookie(url: string, value: string): boolean; - saveCookieSync(): boolean; - getCookie(url: string): string; - existCookie(): boolean; - deleteEntireCookie(): void; - deleteSessionCookie(): void; - -- å˜æ›´å‰ï¼š - - ```ts - isCookieAllowed(): boolean; - isThirdPartyCookieAllowed(): boolean; - putAcceptCookieEnabled(accept: boolean): void; - putAcceptThirdPartyCookieEnabled(accept: boolean): void; - setCookie(url: string, value: string): boolean; - saveCookieSync(): boolean; - getCookie(url: string): string; - existCookie(): boolean; - deleteEntireCookie(): void; - deleteSessionCookie(): void; - ``` - -- å˜æ›´åŽï¼š - - ```ts - static isCookieAllowed(): boolean; - static isThirdPartyCookieAllowed(): boolean; - static putAcceptCookieEnabled(accept: boolean): void; - static putAcceptThirdPartyCookieEnabled(accept: boolean): void; - static setCookie(url: string, value: string): void; - static saveCookieAsync(): Promise<void>; - static saveCookieAsync(callback: AsyncCallback<void>): void; - static getCookie(url: string): string; - static existCookie(): boolean; - static deleteEntireCookie(): void; - static deleteSessionCookie(): void; - ``` - -**适é…指导** - -原WebCookieç±»ä¸éœ€è¦import,现WebCookieManager使用的是@ohos.web.webview,以下方å¼import: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.9 WebController类下api9接å£è¿ç§» - -WebController类下api9接å£è¿ç§»è‡³web.webview.webview.WebviewController,并新增接å£é”™è¯¯ç 抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现该类下接å£æ”¯æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 -getDefaultUserAgent接å£æ›´å为getUserAgent。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - zoomIn(): boolean; - zoomOut(): boolean; - createWebMessagePorts(): Array<WebMessagePort>; - postMessage(options: { message: WebMessageEvent, uri: string}): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getDefaultUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - -- å˜æ›´å‰ï¼š - - ```ts - zoomIn(): boolean; - zoomOut(): boolean; - createWebMessagePorts(): Array<WebMessagePort>; - postMessage(options: { message: WebMessageEvent, uri: string}): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getDefaultUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - ``` - -- å˜æ›´åŽï¼š - - ```ts - zoomIn(): void; - zoomOut(): void; - createWebMessagePorts(): Array<WebMessagePort>; - postMessage(name: string, ports: Array<WebMessagePort>, uri: string): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - ``` - -**适é…指导** - -原WebControllerç±»ä¸éœ€è¦import,现WebviewController类使用的是@ohos.web.webview,以下方å¼import: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.10 WebAsyncControllerç±»è¿ç§» - -WebAsyncController类下接å£è¿ç§»è‡³web.webview.webview.WebviewController,并新增接å£é”™è¯¯ç 抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„错误ç 处ç†çš„使用。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - storeWebArchive(baseName: string, autoName: boolean): Promise<string>; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void; - -- å˜æ›´å‰ï¼š - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise<string>; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void; - ``` - -- å˜æ›´åŽï¼š - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise<string>; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback<string>): void; - ``` - -**适é…指导** - -使用示例: - - ```ts - // xxx.ets - import web_webview from '@ohos.web.webview' - - @Entry - @Component - struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController(); - - build() { - Column() { - Button('saveWebArchive') - .onClick(() => { - try { - this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => { - if (error) { - console.info(`save web archive error: ` + JSON.stringify(error)) - return; - } - if (filename != null) { - console.info(`save web archive success: ${filename}`) - } - }); - } catch (error) { - console.error(`ErrorCode: ${error.code}, Message: ${error.message}`); - } - }) - Web({ src: 'www.example.com', controller: this.controller }) - } - } - } - ``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-account_os_account.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-account_os_account.md deleted file mode 100644 index ab3394f4e13afe53c829846576a323b719b69dec..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-account_os_account.md +++ /dev/null @@ -1,391 +0,0 @@ -# å¸å·å系统ChangeLog - -OpenHarmony4.0.3.2版本相较于OpenHarmony之å‰çš„版本,å¸å·æ¨¡å—çš„APIå˜æ›´å¦‚下。 - -## cl.account_os_account.1 应用å¸å·isAccountRemovable命åå˜æ›´ - -ç±»Authenticatorä¸çš„æˆå‘˜å‡½æ•°isAccountRemovable由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºcheckAccountRemovable。 - -**å˜æ›´å½±å“** - -ç±»Authenticatorä¸çš„æˆå‘˜å‡½æ•°isAccountRemovable,在4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±checkAccountRemovable代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - ```ts - class Authenticator { - ... - isAccountRemovable - ... - } - ``` -- å˜æ›´å‰ï¼š - - ```ts - class Authenticator { - ... - /** - * Checks whether the specified account can be removed. - * @param name Indicates the account name. - * @param callback Indicates the authenticator callback. - * @returns void. - * @since 9 - */ - isAccountRemovable(name: string, callback: AuthCallback): void; - ... - } - ``` - -- å˜æ›´åŽï¼š - - ```ts - class Authenticator { - ... - /** - * Checks whether the specified account can be removed. - * @param name Indicates the account name. - * @param callback Indicates the authenticator callback. - * @returns void. - * @since 9 - */ - checkAccountRemovable(name: string, callback: AuthCallback): void; - ... - } - ``` - -## cl.account_os_account.2 系统å¸å·checkConstraintEnabled命åå˜æ›´ - -checkConstraintEnabled由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºcheckOsAccountConstraintEnabled。 - -**å˜æ›´å½±å“** - -checkConstraintEnabled接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±checkOsAccountConstraintEnabled代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - checkConstraintEnabled - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - checkConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback<boolean>): void; - checkConstraintEnabled(localId: number, constraint: string): Promise<boolean>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - checkOsAccountConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback<boolean>): void; - checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise<boolean>; - ``` - -## cl.account_os_account.3 系统å¸å·checkOsAccountConstraintEnabledæƒé™åœºæ™¯å˜æ›´ - -checkOsAccountConstraintEnabled接å£çš„æƒé™ç®¡æŽ§æ–°å¢žå¯é€‰æƒé™ï¼šohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS。 - -**å˜æ›´å½±å“** - -在4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸ï¼Œåº”用申请ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTSæƒé™äº¦å¯è°ƒç”¨checkOsAccountConstraintEnabled, -切æ¤å‰ç‰ˆæœ¬ç”³è¯·ohos.permission.MANAGE_LOCAL_ACCOUNTSæƒé™çš„ä¸å½±å“使用 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - checkOsAccountConstraintEnabled - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - ... - * @permission ohos.permission.MANAGE_LOCAL_ACCOUNTS - ... - checkOsAccountConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback<boolean>): void; - checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise<boolean>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - ... - * @permission ohos.permission.MANAGE_LOCAL_ACCOUNTS or ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS - ... - checkOsAccountConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback<boolean>): void; - checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise<boolean>; - ``` - -## cl.account_os_account.4 系统å¸å·queryOsAccountLocalIdFromProcessd命åå˜æ›´ - -queryOsAccountLocalIdFromProcess由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºgetOsAccountLocalId。 - -**å˜æ›´å½±å“** - -queryOsAccountLocalIdFromProcess接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±getOsAccountLocalId代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - queryOsAccountLocalIdFromProcess - ... -} -``` -- å˜æ›´å‰ï¼š - - ```ts - queryOsAccountLocalIdFromProcess(callback: AsyncCallback<number>): void; - queryOsAccountLocalIdFromProcess(): Promise<number>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - getOsAccountLocalId(callback: AsyncCallback<number>): void; - getOsAccountLocalId(): Promise<number>; - ``` - -## cl.account_os_account.5 系统å¸å·queryOsAccountLocalIdFromUid命åå˜æ›´ - -queryOsAccountLocalIdFromUid由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºgetOsAccountLocalIdForUid。 - -**å˜æ›´å½±å“** - -queryOsAccountLocalIdFromUid接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±getOsAccountLocalIdForUid代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - queryOsAccountLocalIdFromUid - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - queryOsAccountLocalIdFromUid(uid: number, callback: AsyncCallback<number>): void; - queryOsAccountLocalIdFromUid(uid: number): Promise<number>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - getOsAccountLocalIdForUid(uid: number, callback: AsyncCallback<number>): void; - getOsAccountLocalIdForUid(uid: number): Promise<number>; - ``` - -## cl.account_os_account.6 系统å¸å·queryOsAccountLocalIdFromDomain命åå˜æ›´ - -queryOsAccountLocalIdFromDomain由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºgetOsAccountLocalIdForDomain。 - -**å˜æ›´å½±å“** - -queryOsAccountLocalIdFromDomain接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±getOsAccountLocalIdForDomain代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - queryOsAccountLocalIdFromDomain - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - queryOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback<number>): void; - queryOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo): Promise<number>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback<number>): void; - getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo): Promise<number>; - ``` - -## cl.account_os_account.7 系统å¸å·getActivatedOsAccountIds命åå˜æ›´ - -getActivatedOsAccountIds由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºgetActivatedOsAccountLocalIds。 - -**å˜æ›´å½±å“** - -getActivatedOsAccountIds接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±getActivatedOsAccountLocalIds代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - getActivatedOsAccountIds - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - getActivatedOsAccountIds(callback: AsyncCallback<Array<number>>): void; - getActivatedOsAccountIds(): Promise<Array<number>>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - getActivatedOsAccountLocalIds(callback: AsyncCallback<Array<number>>): void; - getActivatedOsAccountLocalIds(): Promise<Array<number>>; - ``` - -## cl.account_os_account.8 系统å¸å·queryOsAccountLocalIdBySerialNumber命åå˜æ›´ - -queryOsAccountLocalIdBySerialNumber由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºgetOsAccountLocalIdForSerialNumber。 - -**å˜æ›´å½±å“** - -queryOsAccountLocalIdBySerialNumber接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±getOsAccountLocalIdForSerialNumber代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - queryOsAccountLocalIdBySerialNumber - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - queryOsAccountLocalIdBySerialNumber(serialNumber: number, callback: AsyncCallback<number>): void; - queryOsAccountLocalIdBySerialNumber(serialNumber: number): Promise<number>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - getOsAccountLocalIdForSerialNumber(serialNumber: number, callback: AsyncCallback<number>): void; - getOsAccountLocalIdForSerialNumber(serialNumber: number): Promise<number>; - ``` - -## cl.account_os_account.9 系统å¸å·querySerialNumberByOsAccountLocalId命åå˜æ›´ - -querySerialNumberByOsAccountLocalId由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºgetSerialNumberForOsAccountLocalId。 - -**å˜æ›´å½±å“** - -querySerialNumberByOsAccountLocalId接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±getSerialNumberForOsAccountLocalId代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - querySerialNumberByOsAccountLocalId - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - querySerialNumberByOsAccountLocalId(localId: number, callback: AsyncCallback<number>): void; - querySerialNumberByOsAccountLocalId(localId: number): Promise<number>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - getSerialNumberForOsAccountLocalId(localId: number, callback: AsyncCallback<number>): void; - getSerialNumberForOsAccountLocalId(localId: number): Promise<number>; - ``` - -## cl.account_os_account.10 系统å¸å·getBundleIdFromUid命åå˜æ›´ - -getBundleIdFromUid由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºgetBundleIdForUid。 - -**å˜æ›´å½±å“** - -getBundleIdFromUid接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±getBundleIdForUid代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - getBundleIdFromUid - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - getBundleIdFromUid(uid: number, callback: AsyncCallback<number>): void; - getBundleIdFromUid(uid: number): Promise<number>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - getBundleIdForUid(uid: number, callback: AsyncCallback<number>): void; - getBundleIdForUid(uid: number): Promise<number>; - ``` - -## cl.account_os_account.11 系统å¸å·queryOsAccountConstraintSourceTypes命åå˜æ›´ - -queryOsAccountConstraintSourceTypes由于命åä¸ç»Ÿä¸€é—®é¢˜ï¼Œå称å˜æ›´ä¸ºgetOsAccountConstraintSourceTypes。 - -**å˜æ›´å½±å“** - -queryOsAccountConstraintSourceTypes接å£ï¼Œåœ¨4.0.3.2版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ï¼Œç”±getOsAccountConstraintSourceTypes代替。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ -``` -interface AccountManager { - ... - queryOsAccountConstraintSourceTypes - ... -} -``` - -- å˜æ›´å‰ï¼š - - ```ts - queryOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback<Array<ConstraintSourceTypeInfo>>): void; - queryOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise<Array<ConstraintSourceTypeInfo>>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - getOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback<Array<ConstraintSourceTypeInfo>>): void; - getOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise<Array<ConstraintSourceTypeInfo>>; - ``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-arkui.md deleted file mode 100644 index 69a442464b90303e225c82c2ec05d86fe2eda323..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-arkui.md +++ /dev/null @@ -1,85 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 getInspectorTree接å£è¿”回值从string修改为Object。 - -**å˜æ›´å½±å“** - -4.0.3.2之å‰ä½¿ç”¨getInspectorTree接å£çš„代ç 需è¦é€‚é… - -**关键的接å£/组件å˜æ›´** - -getInspectorTree接å£è¿”回值从string修改为Object - -**适é…指导** - -å°†getInspectorTree返回值作为string使用的代ç 需è¦ä¿®æ”¹ï¼Œæ¯”如以下示例代ç : - -```typescript -console.info(getInspectorTree()) -``` - -需è¦ä¿®æ”¹æˆ - -```typescript -console.info(JSON.stringify(getInspectorTree())) -``` - -## cl.arkui.2 废弃GridItemçš„forceRebuild属性 - -**å˜æ›´å½±å“** - -æ— ï¼Œè¯¥å±žæ€§æ— ä½œç”¨ - -**关键的接å£/组件å˜æ›´** - -GridItemçš„forceRebuild属性废弃 - -**适é…指导** - -如有使用å¯ä»¥ç›´æŽ¥åˆ 除,ä¸å½±å“GridItem功能 - - -## cl.arkui.1 API9 router接å£æ•´æ”¹ã€‚ - -ohos.routerä¸çš„enableAlertBeforeBackPageã€enableBackPageAlertã€disableAlertBeforeBackPage接å£åä¸åˆ©äºŽå¼€å‘者ç†è§£ï¼Œæ›´æ”¹ä¸ºshowAlertBeforeBackPageã€hideAlertBeforeBackPage。 - -**å˜æ›´å½±å“** - -routerçš„enableAlertBeforeBackPageã€enableBackPageAlert接å£éœ€æ›¿æ¢ä¸ºshowAlertBeforeBackPageï¼› - -disableAlertBeforeBackPage接å£éœ€æ›¿æ¢ä¸ºhideAlertBeforeBackPage。 - -**关键的接å£/组件å˜æ›´** - -涉åŠrouter.enableAlertBeforeBackPage, router.enableBackPageAlert, router.disableAlertBeforeBackPage。 - -* å˜æ›´å‰ï¼š - -```ts -router.enableAlertBeforeBackPage(); -router.enableBackPageAlert() -``` - -* å˜æ›´åŽï¼š - -```ts -router.showAlertBeforeBackPage() -``` - -* å˜æ›´å‰ï¼š - -```ts -router.disableAlertBeforeBackPage() -``` - -* å˜æ›´åŽï¼š - -```ts -router.hideAlertBeforeBackPage() -``` - -**适é…指导** - -å°†enableAlertBeforeBackPageã€enableBackPageAlert替æ¢ä¸ºshowAlertBeforeBackPage; - -å°†disableAlertBeforeBackPage替æ¢ä¸ºhideAlertBeforeBackPage。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-bundlemanager.md deleted file mode 100644 index fce3cada2d5907f575c7b33f52c8a347d45647cb..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-bundlemanager.md +++ /dev/null @@ -1,27 +0,0 @@ -# 包管ç†å系统ChangeLog - -## cl.bundlemanager.1 包管ç†åˆ 除@ohos.bundle.bundleManager.d.tsä¸çš„getAbilityIcon接å£ï¼Œå¯ä»¥ä½¿ç”¨@ohos.resourceManager.d.tsä¸çš„getMediaContent替æ¢ã€‚ - -包管ç†åˆ 除[@ohos.bundle.bundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts)ä¸çš„getAbilityIcon接å£ï¼Œå¯ä»¥ä½¿ç”¨[@ohos.resourceManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.resourceManager.d.ts)ä¸çš„getMediaContent替æ¢ã€‚ - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了getAbilityIcon接å£çš„,需è¦æ”¹ä¸ºä½¿ç”¨getMediaContent接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -åˆ é™¤@ohos.bundle.bundleManager.d.tsä¸çš„getAbilityIcon接å£ã€‚ - -**适é…指导**<br> -使用@ohos.bundle.bundleManager.d.ts下é¢çš„getAbilityIcon,需è¦ä¿®æ”¹ä¸º@ohos.resourceManager.d.tsä¸çš„getMediaContent。需è¦æå‰èŽ·å–åˆ°å›¾æ ‡çš„èµ„æºID值,å¯å‚考该接å£çš„[使用指导](../../../application-dev/reference/apis/js-apis-resource-manager.md#getmediacontent9)。 - -## cl.bundlemanager.2 包管ç†æ–°å¢ž202错误ç - -包管ç†ç³»ç»Ÿæ–°å¢ž202错误ç ,éžç³»ç»Ÿåº”用调用api9åŠä¹‹åŽåŒ…管ç†æ供的系统api,将返回错误202。 - -**å˜æ›´å½±å“**<br> -éžç³»ç»Ÿåº”用调用api9åŠä¹‹åŽåŒ…管ç†æ供的系统api,将返回错误202。 - -**关键的接å£/组件å˜æ›´**<br> -所有包管ç†æ供的api9åŠä¹‹åŽçš„系统api,éžç³»ç»Ÿåº”用调用将返回错误202。 - -**适é…指导**<br> -ä¸å½±å“已开å‘的程åºï¼Œæ— 需适é…。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-ces.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-ces.md deleted file mode 100644 index 2b9c3121806c4c7bad7fe5cc3fd755e270dcdde2..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-ces.md +++ /dev/null @@ -1,55 +0,0 @@ -# 公共事件å系统ChangeLog - -## cl.ces.1 ohos.commonEventä¸Support事件枚举值修改。 - -**å˜æ›´å½±å“** - -4.0.3.2之å‰ä½¿ç”¨ohos.commonEvent的下é¢çš„公共事件需è¦ä¿®æ”¹é€‚é…。 - -| 公共事件å | -| ----------------------------------- | -| COMMON_EVENT_PACKAGE_CACHE_CLEARED | -| COMMON_EVENT_USB_STATE | -| COMMON_EVENT_USB_PORT_CHANGED | -| COMMON_EVENT_VOLUME_REMOVED | -| COMMON_EVENT_VOLUME_UNMOUNTED | -| COMMON_EVENT_VOLUME_MOUNTED | -| COMMON_EVENT_VOLUME_BAD_REMOVAL | -| COMMON_EVENT_VOLUME_EJECT | -| COMMON_EVENT_SLOT_CHANGE | -| COMMON_EVENT_SPN_INFO_CHANGED | -| COMMON_EVENT_QUICK_FIX_APPLY_RESULT | - -**关键的接å£/组件å˜æ›´** - -下é¢ä¿®æ”¹çš„ohos.commonEventä¸çš„公共事件替æ¢åˆ°ohos.commonEventManagerä¸ã€‚ - -| æ¨¡å— | ohos.commonEvent | ohos.commonEventManager | -| ---------- | ----------------------------------- | ----------------------------------- | -| | COMMON_EVENT_PACKAGE_CACHE_CLEARED | COMMON_EVENT_PACKAGE_CACHE_CLEARED | -| | COMMON_EVENT_USB_STATE | COMMON_EVENT_USB_STATE | -| | COMMON_EVENT_USB_PORT_CHANGED | COMMON_EVENT_USB_PORT_CHANGED | -| | COMMON_EVENT_VOLUME_REMOVED | COMMON_EVENT_VOLUME_REMOVED | -| | COMMON_EVENT_VOLUME_UNMOUNTED | COMMON_EVENT_VOLUME_UNMOUNTED | -| **事件å** | COMMON_EVENT_VOLUME_MOUNTED | COMMON_EVENT_VOLUME_MOUNTED | -| | COMMON_EVENT_VOLUME_BAD_REMOVAL | COMMON_EVENT_VOLUME_BAD_REMOVAL | -| | COMMON_EVENT_VOLUME_EJECT | COMMON_EVENT_VOLUME_EJECT | -| | COMMON_EVENT_SLOT_CHANGE | COMMON_EVENT_SLOT_CHANGE | -| | COMMON_EVENT_SPN_INFO_CHANGED | COMMON_EVENT_SPN_INFO_CHANGED | -| | COMMON_EVENT_QUICK_FIX_APPLY_RESULT | COMMON_EVENT_QUICK_FIX_APPLY_RESULT | - -**适é…指导** - -将调用ohos.commonEventä¸çš„事件替æ¢æˆè°ƒç”¨@ohos.commonEventManager,比如以下示例代ç : - -```typescript -import commonEvent from '@ohos.commonEvent'; -let event: string = commonEvent.Support.COMMON_EVENT_PACKAGE_CACHE_CLEARED; -``` - -需è¦ä¿®æ”¹æˆ - -```typescript -import commonEventManager from '@ohos.commonEventManager'; -let event: string = commonEventManager.Support.COMMON_EVENT_PACKAGE_CACHE_CLEARED; -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-filemanagement.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-filemanagement.md deleted file mode 100644 index 6aa36f7193fef03a5a022a0572963d7997cbb14a..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-filemanagement.md +++ /dev/null @@ -1,23 +0,0 @@ -# 文件管ç†å系统ChangeLog - -## cl.filemanagement.1 Filter类型模å—å˜æ›´ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现Filter类型å˜æ›´è‡³@ohos.file.fs模å—下。Filter类型具体属性ä¸å˜ã€‚ - -**关键接å£/组件å˜æ›´** - -原Filter类型在模å—@ohos.fileio下,通过以下方å¼import: - -```js -import Filter from '@ohos.fileio'; -``` - -**适é…指导** - -现Filter类型在模å—@ohos.file.fs,通过以下方å¼import: - -```js -import Filter from '@ohos.file.fs'; -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-pasteboard.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-pasteboard.md deleted file mode 100644 index 29f562ed9ceb239771cdc78b59ebbf91959877f0..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-pasteboard.md +++ /dev/null @@ -1,66 +0,0 @@ -# 剪贴æ¿å系统ChangeLog - -OpenHarmony 4.0.3.2 版本相较于OpenHarmony 之å‰çš„版本,剪贴æ¿å系统的APIå˜æ›´å¦‚下。 - -## cl.pasteboard.1 convertToTextV9接å£å˜æ›´ - -接å£convertToTextV9由于命å规范和接å£è¿”回方å¼é—®é¢˜ï¼Œå称å˜æ›´ä¸ºtoPlainText(),返回方å¼æ”¹ä¸ºåŒæ¥æ–¹å¼ã€‚ - -**å˜æ›´å½±å“** - -4.0.3.3版本之å‰ä½¿ç”¨æŽ¥å£convertToTextV9å¼€å‘的应用,在4.0.3.3版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - function convertToTextV9 - -- å˜æ›´å‰ï¼š - - ```ts - convertToTextV9(callback: AsyncCallback<string>): void; - convertToTextV9(): Promise<string>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - toPlainText(): string; - ``` -å˜æ›´å‰ï¼š - -**适é…指导** - -请使用toPlainText替æ¢convertToTextV9,并注æ„接å£è¿”回方å¼ã€‚ - -## cl.pasteboard.2 ShareOption属性å称å˜æ›´ï¼Œåˆ 除了未支æŒçš„属性 - -ShareOption枚举命å从**大驼峰**改æˆäº†**全大写**。 - -**å˜æ›´å½±å“** - -4.0.3.3版本之å‰ä½¿ç”¨InApp/LocalDevice/CrossDevice类型开å‘的应用,在4.0.3.3版本åŠåŽç»ç‰ˆæœ¬ä¸æ— 法继ç»æ£å¸¸ä½¿ç”¨ã€‚ - -**关键接å£/组件å˜æ›´** - -ShareOption<sup>9+</sup> - -å˜æ›´å‰ï¼š -| å称 | 值 | 说明 | -| ---- |---|-------------------| -| InApp | 0 | 表示仅å…许åŒåº”用内粘贴。 | -| LocalDevice | 1 | 表示å…许在æ¤è®¾å¤‡ä¸ä»»ä½•åº”用内粘贴。 | -| CrossDevice | 2 | 表示å…许跨设备在任何应用内粘贴。 | - - -å˜æ›´åŽï¼š -| å称 | 值 | 说明 | -| ---- |---|-------------------| -| INAPP | 0 | 表示仅å…许åŒåº”用内粘贴。 | -| LOCALDEVICE | 1 | 表示å…许在æ¤è®¾å¤‡ä¸ä»»ä½•åº”用内粘贴。 | -| CROSSDEVICE | 2 | 表示å…许跨设备在任何应用内粘贴。 | - -**适é…指导** - -按新的è¯ä¹‰è¿›è¡Œé€‚é…。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md deleted file mode 100644 index adabd439b923924906b465a4122016e401d13e86..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md +++ /dev/null @@ -1,82 +0,0 @@ -# 电æºå系统ChangeLog - -## cl.powermgr.1 CommonEventBatteryChangedCode接å£å˜æ›´ - -[ @ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) (电é‡ä¿¡æ¯)ä¸çš„CommonEventBatteryChangedCode枚举类进行如下å˜æ›´ï¼š - -- ç±»å称å˜æ›´ä¸ºCommonEventBatteryChangedKeyï¼› -- åˆ é™¤EXTRA_MAX_CURRENTã€EXTRA_MAX_VOLTAGEå’ŒEXTRA_CHARGE_COUNTERï¼› -- 枚举值类型从数值å˜æ›´ä¸ºå—符串。 - -#### å˜æ›´å½±å“ - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…接å£çš„å˜æ›´ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -#### 关键的接å£/组件å˜æ›´ - -å˜æ›´å‰ï¼š - -| å称 | 值 | 说明 | -| -------------------- | ---- | -------------------------------------------------- | -| EXTRA_SOC | 0 | è¡¨ç¤ºå‰©ä½™ç”µæ± ç”µé‡ç™¾åˆ†æ¯”的查询键。 | -| EXTRA_VOLTAGE | 1 | 表示当å‰è®¾å¤‡ç”µæ± 电压的查询键。 | -| EXTRA_TEMPERATURE | 2 | 表示当å‰è®¾å¤‡ç”µæ± 温度的查询键。 | -| EXTRA_HEALTH_STATE | 3 | 表示当å‰è®¾å¤‡ç”µæ± å¥åº·çŠ¶æ€çš„查询键。 | -| EXTRA_PLUGGED_TYPE | 4 | 表示当å‰è®¾å¤‡è¿žæŽ¥çš„充电器类型的查询键。 | -| EXTRA_MAX_CURRENT | 5 | 表示当å‰è®¾å¤‡ç”µæ± 最大电æµçš„查询键。 | -| EXTRA_MAX_VOLTAGE | 6 | 表示当å‰è®¾å¤‡ç”µæ± 最大电压的查询键。 | -| EXTRA_CHARGE_STATE | 7 | 表示当å‰è®¾å¤‡ç”µæ± 充电状æ€çš„查询键。 | -| EXTRA_CHARGE_COUNTER | 8 | 表示当å‰è®¾å¤‡ç”µæ± 充电次数的查询键。 | -| EXTRA_PRESENT | 9 | 表示当å‰è®¾å¤‡æ˜¯å¦æ”¯æŒç”µæ± æˆ–è€…ç”µæ± æ˜¯å¦åœ¨ä½çš„查询键。 | -| EXTRA_TECHNOLOGY | 10 | 表示当å‰è®¾å¤‡ç”µæ± 技术型å·çš„查询键。 | -| EXTRA_CAPACITY_LEVEL | 11 | 表示当å‰è®¾å¤‡ç”µæ± 电é‡ç‰çº§çš„查询键。 | - -å˜æ›´åŽï¼š - -| å称 | 值 | 说明 | -| -------------------- | --------------- | -------------------------------------------------- | -| EXTRA_SOC | "soc" | è¡¨ç¤ºå‰©ä½™ç”µæ± ç”µé‡ç™¾åˆ†æ¯”的查询键。 | -| EXTRA_CHARGE_STATE | "chargeState" | 表示当å‰è®¾å¤‡ç”µæ± 充电状æ€çš„查询键。 | -| EXTRA_HEALTH_STATE | "healthState" | 表示当å‰è®¾å¤‡ç”µæ± å¥åº·çŠ¶æ€çš„查询键。 | -| EXTRA_PLUGGED_TYPE | "pluggedType" | 表示当å‰è®¾å¤‡è¿žæŽ¥çš„充电器类型的查询键。 | -| EXTRA_VOLTAGE | "voltage" | 表示当å‰è®¾å¤‡ç”µæ± 电压的查询键。 | -| EXTRA_TECHNOLOGY | "technology" | 表示当å‰è®¾å¤‡ç”µæ± 技术型å·çš„查询键。 | -| EXTRA_TEMPERATURE | "temperature" | 表示当å‰è®¾å¤‡ç”µæ± 温度的查询键。 | -| EXTRA_PRESENT | "present" | 表示当å‰è®¾å¤‡æ˜¯å¦æ”¯æŒç”µæ± æˆ–è€…ç”µæ± æ˜¯å¦åœ¨ä½çš„查询键。 | -| EXTRA_CAPACITY_LEVEL | "capacityLevel" | 表示当å‰è®¾å¤‡ç”µæ± 电é‡ç‰çº§çš„查询键。 | - -#### 适é…指导 - -请å‚考[@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) (电é‡ä¿¡æ¯)接å£çš„APIå‚考。 -## cl.powermgr.2 estimatedRemainingChargeTime系统接å£å˜æ›´ - -[@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) (电é‡ä¿¡æ¯)ä¸çš„estimatedRemainingChargeTime属性å˜æ›´ä¸ºç³»ç»ŸæŽ¥å£ã€‚ - -#### å˜æ›´å½±å“ - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…新的系统æƒé™ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -#### 适é…指导 - -请å‚考[@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) (电é‡ä¿¡æ¯)接å£çš„APIå‚考。 - -## cl.powermgr.3 系统公共事件行为å˜æ›´ - -电é‡ä¿¡æ¯é€šè¿‡[@ohos.commonEventManager (公共事件模å—)](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md)æä¾›äº†å¦‚ä¸‹å‡ ç§ç³»ç»Ÿå…¬å…±äº‹ä»¶: - -- COMMON_EVENT_BATTERY_LOWï¼Œè¡¨ç¤ºç”µæ± ç”µé‡ä½Žçš„的公共事件的动作,包å«å‰©ä½™ç”µæ± 电é‡ç™¾åˆ†æ¯”ä¿¡æ¯ï¼› -- COMMON_EVENT_BATTERY_OKAYï¼Œè¡¨ç¤ºç”µæ± ç”µé‡æ£å¸¸çš„公共事件的动作,包å«å‰©ä½™ç”µæ± 电é‡ç™¾åˆ†æ¯”ä¿¡æ¯ï¼› -- COMMON_EVENT_POWER_CONNECTED,表示设备连接到外部电æºçš„公共事件的动作,包å«è®¾å¤‡è¿žæŽ¥çš„电æºç±»åž‹ä¿¡æ¯ï¼› -- COMMON_EVENT_POWER_DISCONNECTED,表示设备与外部电æºæ–开的公共事件的动作,包å«è®¾å¤‡è¿žæŽ¥çš„电æºç±»åž‹ä¿¡æ¯ï¼› -- COMMON_EVENT_CHARGINGï¼Œè¡¨ç¤ºç³»ç»Ÿå¼€å§‹ä¸ºç”µæ± å……ç”µçš„å…¬å…±äº‹ä»¶çš„åŠ¨ä½œï¼ŒåŒ…å«å……电状æ€ä¿¡æ¯ï¼› -- COMMON_EVENT_DISCHARGING,表示系统åœæ¢ä¸ºç”µæ± 充电的公共事件的动作,包å«å……电状æ€ä¿¡æ¯ã€‚ - -è¿™å‡ ç§å…¬å…±äº‹ä»¶çš„æ•°æ®çš„获å–æ–¹å¼ä»ŽCommonEventData.dataå˜æ›´ä¸ºCommonEventData.code。 - -#### å˜æ›´å½±å“ - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…æ–°çš„æ•°æ®èŽ·å–æ–¹å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -#### 适é…指导 - -请å‚考[ @ohos.commonEventManager (公共事件模å—)](../../../application-dev/reference/apis/js-apis-commonEventManager.md)接å£çš„APIå‚考。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-sensor.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-sensor.md deleted file mode 100644 index 1b38e923b6c4aac5f7a560b1bcd86bd77e6dcb30..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-sensor.md +++ /dev/null @@ -1,49 +0,0 @@ -# æ³›sensorå系统ChangeLog - -## cl.ability.1 Sensor接å£ä¸venderName属性å称å˜æ›´ï¼Œæ›´æ”¹ä¸ºvendorName。 - -venderName为错别å—,更æ£ä¸ºvendorName。 - -**å˜æ›´å½±å“** - -该venderNameå±žæ€§æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žå±žæ€§vendorName替æ¢ã€‚ - -**关键的接å£/组件å˜æ›´** - -- å˜æ›´å‰ï¼š - -```js - interface Sensor { - sensorName:string; /**< Sensor name */ - venderName:string; /**< Sensor vendor version */ - firmwareVersion:string; /**< Sensor firmware version */ - hardwareVersion:string; /**< Sensor hardware version */ - sensorId:number; /**< Sensor type ID, {@code SensorType} */ - maxRange:number; /**< Maximum measurement range of the sensor */ - minSamplePeriod:number; /**< Minimum sample period allowed, in ns */ - maxSamplePeriod:number; /**< maximum sample period allowed, in ns */ - precision:number; /**< Sensor accuracy */ - power:number; /**< Sensor power */ - } -``` - -- å˜æ›´åŽï¼š - -```js - interface Sensor { - sensorName:string; /**< Sensor name */ - vendorName:string; /**< Sensor vendor version */ - firmwareVersion:string; /**< Sensor firmware version */ - hardwareVersion:string; /**< Sensor hardware version */ - sensorId:number; /**< Sensor type ID, {@code SensorType} */ - maxRange:number; /**< Maximum measurement range of the sensor */ - minSamplePeriod:number; /**< Minimum sample period allowed, in ns */ - maxSamplePeriod:number; /**< maximum sample period allowed, in ns */ - precision:number; /**< Sensor accuracy */ - power:number; /**< Sensor power */ - } -``` - -**适é…指导** - -该venderNameå±žæ€§åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨æ–°å¢žå±žæ€§vendorName替æ¢ã€‚ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md deleted file mode 100755 index 99fc2b75b359cd013dc8cbafebca697f5f28324f..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md +++ /dev/null @@ -1,16 +0,0 @@ -# å¯åŠ¨å系统JS APIå˜æ›´ChangeLog - -## cl.startup.1 包åå˜æ›´ - -**å˜æ›´å½±å“** - -原有的@ohos.systemParameterV9包åå°†è¢«åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œéœ€æ›´æ¢ä¸ºæ–°çš„@ohos.systemParameterEnhance包å。 - -**适é…指导** - -原有的@ohos.systemParameterV9需è¦å˜æ›´ä¸º@ohos.systemParameterEnhance,包内接å£éƒ½ä¸å˜ï¼Œç¤ºä¾‹ï¼š - -```js -import @ohos.systemParameterEnhance -``` - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.3/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.3/changelogs-bundlemanager.md deleted file mode 100644 index 2c2c73cc97974613757af60825fdda95fe6661ed..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.3.3/changelogs-bundlemanager.md +++ /dev/null @@ -1,111 +0,0 @@ -# 包管ç†å系统ChangeLog -## cl.bundlemanager.1 包管ç†åº•å±‚能力å˜æ›´ï¼Œä»…支æŒç³»ç»Ÿèµ„æºHAP自定义æƒé™ï¼Œå…¶å®ƒHAPå‡ä¸æ”¯æŒè‡ªå®šä¹‰æƒé™ã€‚ - -仅支æŒç³»ç»Ÿèµ„æºHAP自定义æƒé™ï¼Œå…¶å®ƒHAPå‡ä¸æ”¯æŒè‡ªå®šä¹‰æƒé™ã€‚包管ç†åœ¨è§£æžHAP时,仅支æŒè§£æžèµ„æºHAP(包å为:ohos.global.systemres)çš„é…置文件ä¸çš„definePermissionså—段,该å—段用æ¥å®šä¹‰æƒé™ã€‚其它HAPä¸é…置的definePermissionså—段将ä¸ä¼šè§£æžã€‚ -如果有应用需è¦è‡ªå®šä¹‰æƒé™ï¼Œå¯ä»¥åœ¨èµ„æºHAPçš„[é…置文件](https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json)ä¸definePermissionså—段下é¢æ–°å¢žå®šä¹‰æƒé™ã€‚æ ¼å¼å¯å‚考[定义æƒé™](../../../application-dev/quick-start/module-structure.md#definepermissions对象内部结构)。 - - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬é•œåƒåŽï¼Œåº”用自定义的æƒé™å°†ä¸ä¼šç”Ÿæ•ˆï¼Œä½¿ç”¨æ–¹åœ¨ç”³è¯·è¯¥æƒé™æ—¶ï¼Œä¼šæŽˆæƒå¤±è´¥ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -包管ç†åº•å±‚能力å˜æ›´ï¼Œä»…支æŒç³»ç»Ÿèµ„æºHAP自定义æƒé™ï¼Œå…¶å®ƒHAPå‡ä¸æ”¯æŒè‡ªå®šä¹‰æƒé™ã€‚ - -**适é…指导**<br> -如果有应用需è¦è‡ªå®šä¹‰æƒé™ï¼Œå¯ä»¥åœ¨èµ„æºHAPçš„[é…置文件](https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json)ä¸definePermissionså—段下é¢æ–°å¢žå®šä¹‰æƒé™ã€‚æ ¼å¼å¯å‚考[定义æƒé™](../../../application-dev/quick-start/module-structure.md#definepermissions对象内部结构)。 - -## cl.bundlemanager.2 包管ç†äºŒçº§æ¨¡å—文件å称å˜æ›´ï¼Œä¿®æ”¹ä¸ºæ–‡ä»¶å†…对应的接å£å称 - -包管ç†äºŒçº§æ¨¡å—文件å称å˜æ›´ï¼Œä¿®æ”¹ä¸ºæ–‡ä»¶å†…对应的接å£å称,å˜æ›´æ–‡ä»¶å¦‚下: - -| 原文件å称 |å˜æ›´åŽæ–‡ä»¶å称 | -|----|----| -| bundleManager/abilityInfo.d.ts | bundleManager/AbilityInfo.d.ts | -| bundleManager/applicationInfo.d.ts | bundleManager/ApplicationInfo.d.ts | -| bundleManager/bundleInfo.d.ts | bundleManager/BundleInfo.d.ts | -| bundleManager/dispatchInfo.d.ts | bundleManager/DispatchInfo.d.ts | -| bundleManager/elementName.d.ts | bundleManager/ElementName.d.ts | -| bundleManager/extensionAbilityInfo.d.ts | bundleManager/ExtensionAbilityInfo.d.ts | -| bundleManager/hapModuleInfo.d.ts | bundleManager/HapModuleInfo.d.ts | -| bundleManager/launcherAbilityInfo.d.ts | bundleManager/LauncherAbilityInfo.d.ts | -| bundleManager/metadata.d.ts | bundleManager/Metadata.d.ts | -| bundleManager/packInfo.d.ts | bundleManager/BundlePackInfo.d.ts | -| bundleManager/permissionDef.d.ts | bundleManager/PermissionDef.d.ts | -| bundleManager/remoteAbilityInfo.d.ts | bundleManager/RemoteAbilityInfo.d.ts | -| bundleManager/shortcutInfo.d.ts | bundleManager/ShortcutInfo.d.ts | - -除了å…安装相关的BundlePackInfo文件åç§°å¢žåŠ äº†Bundle,其余文件å称å‡æ˜¯ä¿®æ”¹ä¸ºå¤§å†™å¼€å¤´ã€‚ - -**å˜æ›´å½±å“**<br> -仅修改二级模å—文件å称,ä¸ä¼šå½±å“一级模å—的使用。在使用之å‰å·²å‘布的API 9å„beta版本时,如果在ts文件ä¸ç›´æŽ¥å¯¼å…¥äº†bundleManager下é¢äºŒçº§æ¨¡å—接å£çš„,IDEä¸ç¼–译报错的è¯ï¼Œéœ€è¦ä¿®æ”¹å¯¼å…¥çš„文件å称。 - -**关键的接å£/组件å˜æ›´**<br> -å˜æ›´bundleManager文件夹下é¢çš„d.tså称,修改为文件ä¸çš„接å£å称。 - -**适é…指导**<br> -使用新的sdkåŽï¼Œæ£å¸¸æƒ…å†µä¸‹åº”ç”¨æ— éœ€é€‚é…该å˜æ›´ã€‚如果在应用ä¸ç›´æŽ¥å¯¼å…¥äº†bundleManager文件夹下é¢çš„文件,则需è¦ä¿®æ”¹å¯¼å…¥çš„文件å称。å¯ä»¥æŒ‰ç…§å¦‚下的修改方å¼ï¼š - -**修改å‰ï¼š** -```ts -import {AbilityInfo} from 'bundleManger/abilityInfo'; -import {ExtensionAbilityInfo} from 'bundleManger/extensionAbilityInfo'; -import {BundlePackInfo} from 'bundleManger/packInfo'; -``` -**修改åŽï¼š** -```ts -import {AbilityInfo} from 'bundleManger/AbilityInfo'; -import {ExtensionAbilityInfo} from 'bundleManger/ExtensionAbilityInfo'; -import {BundlePackInfo} from 'bundleManger/BundlePackInfo'; -``` - -## cl.bundlemanager.3 包管ç†LaunchType枚举类型å称å˜æ›´ï¼Œç”±STANDARD修改为MULTITON,枚举值ä¸å˜ã€‚ - -包管ç†[LaunchType](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts)枚举类型å˜æ›´ï¼Œç”±STANDARD修改为MULTITON,枚举值ä¸å˜ï¼Œè¡¨ç¤ºå¤šå®žä¾‹ç±»åž‹ã€‚ - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了LaunchType.STANDARD的,需è¦æ”¹ä¸ºä½¿ç”¨LaunchType.MULTITON接å£ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -LaunchType枚举类型å称å˜æ›´ï¼Œç”±LaunchType.STANDARD修改为LaunchType.MULTITON。 - -**适é…指导**<br> -ç”±LaunchType.STANDARD修改为LaunchType.MULTITON。 - -## cl.bundlemanager.4 包管ç†AbilityInfo结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ã€‚ - -包管ç†[AbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts)结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ï¼Œè¡¨ç¤ºå½“å‰ability是å¦æ”¯æŒå¯¼å‡ºï¼Œè¢«å…¶ä»–çš„ability使用。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了isVisible的,需è¦æ”¹ä¸ºä½¿ç”¨exported。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[AbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts)结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ã€‚ - -**适é…指导**<br> -ç”±isVisible修改为exported。 - -## cl.bundlemanager.5 包管ç†ExtensionAbilityInfo结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ã€‚ - -包管ç†[ExtensionAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts)结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ï¼Œè¡¨ç¤ºå½“å‰ability是å¦æ”¯æŒå¯¼å‡ºï¼Œè¢«å…¶ä»–çš„ability使用。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了isVisible的,需è¦æ”¹ä¸ºä½¿ç”¨exported。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[ExtensionAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts)结构体ä¸isVisibleå—段修改为exported,类型ä¸å˜ã€‚ - -**适é…指导**<br> -ç”±isVisible修改为exported。 - -## cl.bundlemanager.6 包管ç†ModuleAbilityInfo结构体ä¸visibleå—段修改为exported,类型ä¸å˜ã€‚ - -包管ç†[ModuleAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundlePackInfo.d.ts)结构体ä¸visibleå—段修改为exported,类型ä¸å˜ï¼Œè¡¨ç¤ºå½“å‰ability是å¦æ”¯æŒå¯¼å‡ºï¼Œè¢«å…¶ä»–çš„ability使用。 - -**å˜æ›´å½±å“**<br> -使用之å‰å·²å‘布的API 9å„beta版本且使用到了visible的,需è¦æ”¹ä¸ºä½¿ç”¨exported。 - -**关键的接å£/组件å˜æ›´**<br> -包管ç†[ModuleAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundlePackInfo.d.ts)结构体ä¸visibleå—段修改为exported,类型ä¸å˜ã€‚ - -**适é…指导**<br> -ç”±visible修改为exported。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.1/changelog-resourceschedule.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.1/changelog-resourceschedule.md deleted file mode 100644 index 2232abd43be8c46771eb5825869c4977ee391172..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.1/changelog-resourceschedule.md +++ /dev/null @@ -1,32 +0,0 @@ -# 资æºè°ƒåº¦å系统ChangeLog - -## cl.resourceschedule.workScheduler - -WorkSchedulerExtensionAbilityæ供默认的WorkSchedulerExtensionContext。 - -**å˜æ›´å½±å“** - -基于OpenHarmony4.0.5.1åŠä¹‹åŽçš„SDK版本开å‘的应用,å¯ä½¿ç”¨é»˜è®¤çš„context属性作为WorkSchedulerExtension的上下文环境。 - -**关键接å£/组件å˜æ›´** - -@ohos.WorkSchedulerExtensionAbility.d.tsä¸æ–°å¢žcontext属性。新增文件application/WorkSchedulerExtensionContext.d.ts,继承自ExtensionContext。 - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| @ohos.WorkSchedulerExtensionAbility.d.ts | WorkSchedulerExtensionAbility | context: WorkSchedulerExtensionContext; | 新增 | -| application/WorkSchedulerExtensionContext.d.ts | WorkSchedulerExtensionContext | - | 新增 | - -**适é…指导**<br> - -通过WorkSchedulerExtensionAbilityå类实例æ¥èŽ·å–WorkSchedulerExtensionContext。 - -```ts -import WorkSchedulerExtensionAbility from '@ohos.WorkSchedulerExtensionAbility'; - -class MyWorkSchedulerExtensionAbility extends WorkSchedulerExtensionAbility { - onWorkStart(workInfo) { - let WorkSchedulerExtensionContext = this.context; // 获å–WorkSchedulerExtensionContext - } -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-ability.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-ability.md deleted file mode 100644 index ba5ef87f8bb33c7ffb56cba4e92e711f07248c79..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-ability.md +++ /dev/null @@ -1,64 +0,0 @@ -# 元能力å系统ChangeLog - -## cl.ability.appRecovery新增saveAppStateæŽ¥å£ - -新增接å£saveAppState(context?: UIAbilityContext): boolean; - -**å˜æ›´å½±å“** - -基于OpenHarmony4.0.5.2åŠä¹‹åŽçš„SDK版本开å‘的应用,å¯ä»¥ä½¿ç”¨saveAppState接å£ä¼ 入指定Ability Context,实现主动ä¿å˜æŒ‡å®šçš„Ability状æ€ã€‚ - -**关键接å£/组件å˜æ›´** - -@ohos.app.ability.appRecovery.d.tsä¸æ–°å¢žsaveAppState接å£ã€‚ - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| @ohos.app.ability.appRecovery.d.ts | appRecovery | saveAppState(context?: UIAbilityContext): boolean; | 新增 | - -**适é…指导** - -通过调用saveAppStateä¼ å…¥UIAbility Contextå‚数主动ä¿å˜æ¤æŒ‡å®šçš„Ability的状æ€ã€‚ - -```ts -import appRecovery from '@ohos.app.ability.appRecovery'; -onBackground() { - hilog.info(0x0000, '[demo]', '%{public}s', 'EntryAbility onBackground'); - appRecovery.saveAppState(this.context) -} -``` -## cl.ability.appRecovery新增setRestartWantæŽ¥å£ - -新增接å£setRestartWant(want: Want): void; - -**å˜æ›´å½±å“** - -基于OpenHarmony4.0.5.2åŠä¹‹åŽçš„SDK版本开å‘的应用,å¯ä»¥ä½¿ç”¨setRestartWant接å£è®¾ç½®ä¸‹æ¬¡ç”±æ¢å¤ä¸»åŠ¨æ‹‰èµ·åœºæ™¯ä¸‹çš„Ability。 - -**关键接å£/组件å˜æ›´** - -@ohos.app.ability.appRecovery.d.tsä¸æ–°å¢žsetRestartWant接å£ã€‚ - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| @ohos.app.ability.appRecovery.d.ts | appRecovery | setRestartWant(want: Want): void; | 新增 | - -**适é…指导** - -通过调用setRestartWant设置下次æ¢å¤åˆ°çš„指定Ability。 - -```ts -import appRecovery from '@ohos.app.ability.appRecovery'; -Button("å¯åŠ¨åˆ°æ¢å¤Ability") - .fontSize(40) - .fontWeight(FontWeight.Bold) - .onClick(()=> { - // set restart want - let want = { - bundleName: "ohos.samples.recovery", - abilityName: "RecoveryAbility" - }; - - appRecovery.setRestartWant(want); - }) -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md deleted file mode 100755 index 6bd5c3f84284324e179e0afae82b8a87feab1811..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md +++ /dev/null @@ -1,95 +0,0 @@ -# æ³›Sensorå系统Changelog - -## cl.vibrator.isSupportEffect接å£æ–°å¢ž - -新增isSupportEffect接å£ã€‚ - -**å˜æ›´å½±å“** - -基于OpenHarmony4.0.5.2åŠä¹‹åŽçš„SDK版本开å‘的应用,å¯ä½¿ç”¨isSupportEffect接å£æŸ¥è¯¢ä¼ å…¥effectId是å¦æ”¯æŒã€‚ - -**关键接å£/组件å˜æ›´** - -@ohos.vibrator.d.tsä¸æ–°å¢žisSupportEffect接å£ã€‚ - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| @ohos.vibrator.d.ts | vibrator | isSupportEffect(effectId: string, callback: AsyncCallback<boolean>): void | 新增 | -| @ohos.vibrator.d.ts | vibrator | isSupportEffect(effectId: string): Promise<boolean> | 新增 | - -**适é…指导**<br> - -通过调用isSupportEffect接å£æŸ¥è¯¢æ˜¯å¦æ”¯æŒä¼ 入的å‚æ•°effectId。 - -```ts -import vibrator from '@ohos.vibrator'; -try { - // 查询是å¦æ”¯æŒ'haptic.clock.timer' - vibrator.isSupportEffect('haptic.clock.timer', function (err, state) { - if (err) { - console.error('isSupportEffect failed, error:' + JSON.stringify(err)); - return; - } - console.log('The effectId is ' + (state ? 'supported' : 'unsupported')); - if (state) { - try { - vibrator.startVibration({ // 使用startVibration需è¦æ·»åŠ ohos.permission.VIBRATEæƒé™ - type: 'preset', - effectId: 'haptic.clock.timer', - count: 1, - }, { - usage: 'unknown' - }, (error) => { - if(error) { - console.error('haptic.clock.timer vibrator error:' + JSON.stringify(error)); - } else { - console.log('haptic.clock.timer vibrator success'); - } - }); - } catch (error) { - console.error('Exception in, error:' + JSON.stringify(error)); - } - } - }) -} catch (error) { - console.error('Exception in, error:' + JSON.stringify(error)); -} -``` - -## cl.vibrator.stopVibration接å£æ–°å¢ž - -新增stopVibration接å£ã€‚ - -**å˜æ›´å½±å“** - -基于OpenHarmony4.0.5.2åŠä¹‹åŽçš„SDK版本开å‘的应用,å¯ä½¿ç”¨stopVibration接å£åœæ¢æ‰€æœ‰ç±»åž‹çš„振动。 - -**关键接å£/组件å˜æ›´** - -@ohos.vibrator.d.tsä¸æ–°å¢žstopVibration接å£ã€‚ - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------- | -------- | -------------------------------------------------------- | -------- | -| @ohos.vibrator.d.ts | vibrator | stopVibration(callback: AsyncCallback<void>): void | 新增 | -| @ohos.vibrator.d.ts | vibrator | stopVibration(): Promise<void> | 新增 | - -**适é…指导**<br> - -通过调用stopVibration接å£åœæ¢æ‰€æœ‰ç±»åž‹çš„振动。 - -```ts -import vibrator from '@ohos.vibrator'; -try { - // åœæ¢æ‰€æœ‰æ¨¡å¼çš„马达振动 - vibrator.stopVibration(function (error) { - if (error) { - console.log('error.code' + error.code + 'error.message' + error.message); - return; - } - console.log('Callback returned to indicate successful.'); - }) -} catch (error) { - console.info('errCode: ' + error.code + ' ,msg: ' + error.message); -} -``` - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-imf.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-imf.md deleted file mode 100644 index a6cdab6b8d7e7fc6a97698ce9b2e2a84ba32076a..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-imf.md +++ /dev/null @@ -1,21 +0,0 @@ -# 输入法框架å系统-输入法框架æœåŠ¡ChangeLog - - -## @ohos.InputMethodSubtype ä¸è¾“入法å类型ä¸nameã€labelã€id属性值å˜æ›´ -从API9开始,å˜æ›´å¦‚上三个属性值 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -æ¤ä¸‰ä¸ªå±žæ€§çš„å–值å‘生å˜åŒ–,需è¦å¼€å‘者进行适é…æ›´æ–° - -| å称 | å˜æ›´å‰ | å˜æ›´åŽ | -| -------- | -------- | -------- | -| label | (1)å–值:输入法å类型的id。| (1)å–值:输入法åç±»åž‹çš„æ ‡ç¾ã€‚| -| name | (1)说明:输入法å类型的åå—;(2)å–值:输入法åç±»åž‹çš„æ ‡ç¾ã€‚| (1)说明:输入法应用的包å;(2)å–值:输入法应用的包å。| -| id | (1)å–值:输入法应用的包å。| (1)å–值:输入法å类型的id。| - -**适é…指导** - -请按上述å–值å˜æ›´ç»“果适é…更新。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-screenlock.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-screenlock.md deleted file mode 100644 index 8e5a2fab3671eb32db8accb72d764a1194f26ff1..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-screenlock.md +++ /dev/null @@ -1,155 +0,0 @@ -# 主题框架å系统-é”å±ç®¡ç†æœåŠ¡ChangeLog - - -## cl.screenlock.1 isLockedã€unlock接å£ä½¿ç”¨æƒé™å˜æ›´ -从API9开始,å˜æ›´ä¸ºsystemapi,åœæ¢å¯¹ä¸‰æ–¹åº”用开放。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´çš„js接å£ï¼Œå˜æ›´å‰çš„接å£å·²ç»ä¸èƒ½æ£å¸¸ä½¿ç”¨äº†ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function isLocked(): boolean; - function unlock(callback: AsyncCallback<boolean>): void; - function unlock():Promise<boolean>; -``` - -- å˜æ›´å‰ï¼š - -```js - * Checks whether the screen is currently locked. - * - * @returns Returns {@code true} if the screen is currently locked; returns {@code false} otherwise. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function isLocked(): boolean; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function unlock(callback: AsyncCallback<boolean>): void; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function unlock():Promise<boolean>; -``` - -- å˜æ›´åŽï¼š - -```js - * Checks whether the screen is currently locked. - * - * @returns Returns {@code true} if the screen is currently locked; returns {@code false} otherwise. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function isLocked(): boolean; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function unlock(callback: AsyncCallback<boolean>): void; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function unlock():Promise<boolean>; -``` - - -**适é…指导** - -该接å£å˜æ›´ä¸ºç³»ç»Ÿåº”用åŽï¼Œä¸‰æ–¹åº”ç”¨å·²æ— æ³•ä½¿ç”¨ã€‚ -系统应用å¯æ£å¸¸ä½¿ç”¨ã€‚ -示例代ç 如下: - -```js - try { - let ret = screenLock.isLocked(); - console.error(`Obtain whether the screen is locked successfully , ret is: ${ret}`); - } catch (error) { - console.error(`Failed to obtain whether the screen is locked, error is : ${error.code}, ${error.message}`); - } -``` - -```js - screenlock.unlock((err, data) => { - if (err) { - console.error(`Failed to unlock the screen, because: ${err.message}`); - return; - } - console.info(`unlock the screen successfully. result: ${data}`); - }); -``` - -```js - screenlock.unlock().then((data) => { - console.info(`unlock the screen successfully. result: ${data}`); - }).catch((err) => { - console.error(`Failed to unlock the screen, because: ${err.message}`); - }); -``` - - -## cl.screenlock.2 isSecure接å£åºŸå¼ƒå˜æ›´ -从API9开始,废弃æ¤æŽ¥å£ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨è¿›è¡Œæ›´æ–°ä½¿ç”¨ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function isSecure(): boolean; -``` - -- å˜æ›´å‰ï¼š - -```js - function isSecure(): boolean; -``` - -- å˜æ›´åŽï¼šåˆ 除接å£ï¼Œåœæ¢å¯¹å¤–开放。 - - -**适é…指导** - -该接å£åˆ 除åŽæ— 法å†ä½¿ç”¨ï¼Œè¯·é€‚é…更新。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-wallpaper.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-wallpaper.md deleted file mode 100644 index 13baab45851959398ccf4689543f91c5e1aa1d68..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-wallpaper.md +++ /dev/null @@ -1,304 +0,0 @@ -# 主题框架å系统-å£çº¸ç®¡ç†æœåŠ¡ChangeLog - - -## cl.wallpaper.1 getColorsSyncã€getMinHeightSyncã€getMinWidthSyncã€restoreã€setImage接å£ä½¿ç”¨æƒé™å˜æ›´ -从API9开始,å˜æ›´ä¸ºsystemapi,åœæ¢å¯¹ä¸‰æ–¹åº”用开放。 - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´çš„js接å£ï¼Œå˜æ›´å‰çš„接å£å·²ç»ä¸èƒ½æ£å¸¸ä½¿ç”¨äº†ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>; - function getMinHeightSync(): number; - function getMinWidthSync(): number; - function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - function restore(wallpaperType: WallpaperType): Promise<void>; - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; -``` - -- å˜æ›´å‰ï¼š - -```js - /** - * Obtains the wallpaper colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function. - * @param wallpaperType Indicates the wallpaper type. - * @returns { Array<RgbaColor> } the Array<RgbaColor> returned by the function. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>; - - /** - * Obtains the minimum height of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getMinHeightSync(): number; - - /** - * Obtains the minimum width of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getMinWidthSync(): number; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function restore(wallpaperType: WallpaperType): Promise<void>; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; -``` - -- å˜æ›´åŽï¼š - -```js - /** - * Obtains the wallpaper colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function. - * @param wallpaperType Indicates the wallpaper type. - * @returns { Array<RgbaColor> } the Array<RgbaColor> returned by the function. - * @throws {BusinessError} 401 - parameter error. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>; - - /** - * Obtains the minimum height of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getMinHeightSync(): number; - - /** - * Obtains the minimum width of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getMinWidthSync(): number; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function restore(wallpaperType: WallpaperType): Promise<void>; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; -``` - - -**适é…指导** - -该接å£å˜æ›´ä¸ºç³»ç»Ÿåº”用åŽï¼Œä¸‰æ–¹åº”ç”¨å·²æ— æ³•ä½¿ç”¨ã€‚ -系统应用å¯æ£å¸¸ä½¿ç”¨ã€‚ -示例代ç 如下: - -```js - try { - let colors = wallpaper.getColorsSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); - console.log(`success to getColorsSync: ${JSON.stringify(colors)}`); - } catch (error) { - console.error(`failed to getColorsSync because: ${JSON.stringify(error)}`); - } -``` - -```js - let minHeight = wallpaper.getMinHeightSync(); -``` - -```js - let minWidth = wallpaper.getMinWidthSync(); -``` - -```js - wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error) => { - if (error) { - console.error(`failed to restore because: ${JSON.stringify(error)}`); - return; - } - console.log(`success to restore.`); - }); -``` - -```js - wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM).then(() => { - console.log(`success to restore.`); - }).catch((error) => { - console.error(`failed to restore because: ${JSON.stringify(error)}`); - }); -``` - -```js - // source类型为string - let wallpaperPath = "/data/data/ohos.acts.aafwk.plrdtest.form/files/Cup_ic.jpg"; - wallpaper.setImage(wallpaperPath, wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error) => { - if (error) { - console.error(`failed to setImage because: ${JSON.stringify(error)}`); - return; - } - console.log(`success to setImage.`); - }); -``` - -```js - // source类型为string - let wallpaperPath = "/data/data/ohos.acts.aafwk.plrdtest.form/files/Cup_ic.jpg"; - wallpaper.setImage(wallpaperPath, wallpaper.WallpaperType.WALLPAPER_SYSTEM).then(() => { - console.log(`success to setImage.`); - }).catch((error) => { - console.error(`failed to setImage because: ${JSON.stringify(error)}`); - }); -``` - - -## cl.wallpaper.2 getIdSyncã€getFileSyncã€isChangeAllowedã€isUserChangeAllowedã€onã€offã€RgbaColor接å£åºŸå¼ƒå˜æ›´ -从API9开始,废弃æ¤æŽ¥å£ã€‚ - -å¼€å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 - -**å˜æ›´å½±å“** - -该接å£åˆ é™¤æ— æ³•å†ä½¿ç”¨ï¼Œè¯·ä½¿ç”¨è¿›è¡Œæ›´æ–°ä½¿ç”¨ï¼Œå¦åˆ™ä¼šå½±å“原有功能。 - -- 涉åŠæŽ¥å£ - -```js - function getIdSync(wallpaperType: WallpaperType): number; - function getFileSync(wallpaperType: WallpaperType): number; - function isChangeAllowed(): boolean; - function isUserChangeAllowed(): boolean; - function on(type: 'colorChange', callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; - function off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; - interface RgbaColor { - red: number; - green: number; - blue: number; - alpha: number; - } -``` - -- å˜æ›´å‰ï¼š - -```js - function getIdSync(wallpaperType: WallpaperType): number; - function getFileSync(wallpaperType: WallpaperType): number; - function isChangeAllowed(): boolean; - function isUserChangeAllowed(): boolean; - function on(type: 'colorChange', callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; - function off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void; - interface RgbaColor { - red: number; - green: number; - blue: number; - alpha: number; - } -``` - -- å˜æ›´åŽï¼šåˆ 除接å£ï¼Œåœæ¢å¯¹å¤–开放。 - - -**适é…指导** - -该接å£åˆ 除åŽæ— 法å†ä½¿ç”¨ï¼Œè¯·é€‚é…更新。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.5/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.5/changelogs-arkui.md deleted file mode 100644 index 27a0d1d3c6db7d64517658601436163b32cd9c66..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.5/changelogs-arkui.md +++ /dev/null @@ -1,45 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 List组件和Gird组件滚动æ¡é»˜è®¤çŠ¶æ€å˜æ›´ - -List组件和Gird组件滚动æ¡é»˜è®¤çŠ¶æ€ä»ŽBarState.Offå˜æ›´ä¸ºBarState.Auto。 - -**å˜æ›´å½±å“** - -List组件和Gird组件,如果没有设置滚动æ¡çŠ¶æ€ï¼Œå˜æ›´å‰ä¸ä¼šæ˜¾ç¤ºæ»šåŠ¨æ¡ï¼Œå˜æ›´ä»¥åŽæ»šåŠ¨æ—¶ä¼šæ˜¾ç¤ºæ»šåŠ¨æ¡ï¼Œæ»šåŠ¨åœæ¢ä¸¤ç§’åŽæ»šåŠ¨æ¡éšè—。 - -**关键接å£/组件å˜æ›´** - -List组件和Gird组件滚动æ¡API接å£æ–‡æ¡£ï¼š -- [List组件属性](../../../application-dev/reference/arkui-ts/ts-container-list.md#属性) -- [Grid组件属性](../../../application-dev/reference/arkui-ts/ts-container-grid.md#属性) - -**适é…指导** - -对于ä¸éœ€è¦æ»šåŠ¨æ¡çš„场景,需è¦å°†List组件或Grid组件的scrollBar属性设置为BarState.Off。 - -å‚考代ç 如下: -```ts -// xxx.ets -@Entry -@Component -struct ListItemExample { - private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - - build() { - Column() { - List({ space: 20, initialIndex: 0 }) { - ForEach(this.arr, (item) => { - ListItem() { - Text('' + item) - .width('100%').height(100).fontSize(16) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, item => item) - } - .width('90%') - .scrollBar(BarState.Off) - }.width('100%').height('100%').backgroundColor(0xDCDCDC).padding({ top: 5 }) - } -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md deleted file mode 100755 index 465a3ce6bff579a359dc5a46534d2e915b1d7d4b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md +++ /dev/null @@ -1,31 +0,0 @@ -# HUKSå系统ChangeLog - -OpenHarmony 4.0.6.1 版本相较于OpenHarmony 之å‰çš„版本,HUKSçš„API使用æƒé™å˜æ›´å¦‚下。 - -## cl.huks.1 attestKeyItem接å£ä½¿ç”¨æƒé™å˜æ›´ - -attestKeyItem是基于设备è¯ä¹¦é“¾å°è£…业务公钥对用户指定的密钥进行è¯æ˜Žï¼Œå¦‚果设备è¯ä¹¦éšæ„导出涉åŠç”¨æˆ·éšç§é£Žé™©ï¼Œæ‰€ä»¥æ¤æŽ¥å£éœ€è¦å¢žåŠ 系统æƒé™ç®¡æŽ§ã€‚ - -**å˜æ›´å½±å“** - -对于ä¸å…·å¤‡systemæƒé™æˆ–者ohos.permission.ACCESS_IDSæƒé™çš„åº”ç”¨ï¼Œæ— æ³•æ£å¸¸ä½¿ç”¨attestKeyItem接å£ã€‚ - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - attestKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<HuksReturnResult\>): void; - attestKeyItem(keyAlias: string, options: HuksOptions): Promise\<HuksReturnResult\>; - -- å˜æ›´å‰ï¼š - - åªé’ˆå¯¹ä¼ å…¥ATTESTATION_ID相关TAGçš„åº”ç”¨æ ¡éªŒAccessTokenæƒé™ï¼Œå…¶å®ƒæƒ…å†µæ— æŽ¥å£æƒé™çš„é™åˆ¶ã€‚ - - -- å˜æ›´åŽï¼š - - åªæœ‰å…·å¤‡systemæƒé™çš„系统应用或者申请了ohos.permission.ACCESS_IDSæƒé™çš„普通应用æ‰èƒ½æ£å¸¸ä½¿ç”¨attestKeyItem接å£ã€‚ - -**适é…指导** - -å·²ç»å…·å¤‡systemæƒé™çš„应用则å¯ä»¥æ£å¸¸ä½¿ç”¨attestKeyItem接å£ï¼Œå…¶ä½™æ™®é€šåº”用需申请ohos.permission.ACCESS_IDSæƒé™å³å¯ï¼Œç”³è¯·æ–¹æ³•å‚考[ACLæƒé™é…置说明](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/accesstoken-overview.md#%E8%AE%BF%E9%97%AE%E6%8E%A7%E5%88%B6%E5%88%97%E8%A1%A8acl%E8%AF%B4%E6%98%8E)。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-web.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-web.md deleted file mode 100644 index a60d12ad2408ed795dcd9cbb7fe8f2e0d5191e16..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-web.md +++ /dev/null @@ -1,33 +0,0 @@ -# webå系统ChangeLog - -OpenHarmony 4.0.6.1 版本相较于OpenHarmony 之å‰çš„版本,webçš„APIå˜æ›´å¦‚下。 - -## cl.web.1 createWebMessagePorts接å£å‚æ•° - -由于WebMessagePort需è¦æ–°å¢žæ”¯æŒæ›´å¤šæ•°æ®ç±»åž‹ï¼Œå› æ¤åœ¨è¯¥æŽ¥å£å¢žåŠ 一个å¯é€‰å‚æ•°æ¥åŒºåˆ†æ–°è€æŽ¥å£ã€‚ - -**å˜æ›´å½±å“** - -æ— ï¼Œå¯é€‰å‚数,å¯å‰å‘兼容。 - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - createWebMessagePorts(): Array<WebMessagePort>; - -- å˜æ›´å‰ï¼š - - ```ts - createWebMessagePorts(): Array<WebMessagePort>; - ``` - -- å˜æ›´åŽï¼š - - ```ts - createWebMessagePorts(isExtentionType?: boolean): Array<WebMessagePort>; - ``` - -**适é…指导** - -å·²æœ‰åº”ç”¨æ— éœ€é€‚é…。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelogs-usb.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelogs-usb.md deleted file mode 100644 index 3c0d57d8b3cd957505d66711214181788a6e22c0..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.1/changelogs-usb.md +++ /dev/null @@ -1,23 +0,0 @@ -# USBæœåŠ¡å系统ChangeLog - -## cl.usb_manager.1 sdk接å£åˆ 除 - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需修改导入的包å,å¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -@ohos.usbV9.d.tsæ–‡ä»¶å·²åˆ é™¤ï¼Œç”±@ohos.usbManager.d.ts替代。 - -| 新包å | 旧包å | å·²åˆ é™¤åŒ…å | -| -------------------- | ------------- | --------------- | -| ohos.usbManager.d.ts | ohos.usb.d.ts | ohos.usbV9.d.ts | - -åŽç»éœ€è¦import @ohos.usbManageræ‰èƒ½ä½¿ç”¨USBæœåŠ¡çš„接å£ï¼š - - ```ts - import usbManager from '@ohos.usbManager'; - ``` - -**适é…指导** - -请å‚考å„接å£çš„[API文档](../../../application-dev/reference/apis/js-apis-usbManager.md) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md deleted file mode 100755 index f5f49c7e88c44af1f4875a5dcf82a136527be45c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md +++ /dev/null @@ -1,46 +0,0 @@ -# å…¨çƒåŒ–å系统ChangeLog - -## cl.resourceManager.1 getStringSyncã€getStringByNameSyncæ–°å¢žæŽ¥å£ - -相较于之å‰çš„版本,在4.0.6.2 版本ä¸ï¼Œä¸ºæ‰©å±•getStringSyncã€getStringByNameSync接å£å—符串匹é…功能,新增了接å£ä»¥åŠç›¸åº”的错误ç 。 - -| 包å | æ–°å¢žæŽ¥å£ | -| --------------- | ---------------------------------------------------- | -| ohos.resourceManager.d.ts | getStringSync(resId: number, ...args: Array<string \| number>): string; | -| ohos.resourceManager.d.ts | getStringSync(resource: Resource, ...args: Array<string \| number>): string; | -| ohos.resourceManager.d.ts | getStringByNameSync(resName: string, ...args: Array<string \| number>): string; | - -**å˜æ›´å½±å“** - -之å‰åªèƒ½ç›´æŽ¥èŽ·å–resourcesä¸çš„string资æºçš„value值,在4.0.6.2 åŠä»¥ä¸Šç‰ˆæœ¬ä¸å¯ç”¨é€šè¿‡å‚æ•°æ ¼å¼åŒ–string资æºçš„valueå€¼ï¼Œæ‰©å±•äº†æ ¼å¼åŒ–å—符串的查询能力。 - -新增错误ç : - -9001007 æ ¹æ®å½“å‰id获å–的资æºæ ¼å¼åŒ–失败 - -9001008 æ ¹æ®å½“å‰å称获å–的资æºæ ¼å¼åŒ–失败 - -**示例代ç ** - -以调用接å£getStringSync为例,å˜æ›´å‰åªæ”¯æŒç¤ºä¾‹1,å˜æ›´åŽç¤ºä¾‹1ã€ç¤ºä¾‹2都支æŒã€‚ -``` -示例1: -try { - this.context.resourceManager.getStringSync($r('app.string.test').id); -} catch (error) { - console.error(`getStringSync failed, error code: ${error.code}, message: ${error.message}.`) -} -示例2: -try { - this.context.resourceManager.getStringSync($r('app.string.test').id, "format string", 787, 98.78); -} catch (error) { - console.error(`getStringSync failed, error code: ${error.code}, message: ${error.message}.`) -} -``` - -**适é…指导** -请å‚考接å£è¯´æ˜Žï¼š - -[新增接å£å‚考](../../../application-dev/reference/apis/js-apis-resource-manager.md) - -[新增错误ç å‚考](../../../application-dev/reference/errorcodes/errorcode-resource-manager.md) \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/changelogs-arkui.md deleted file mode 100644 index 818efb198cfca16017ad434a6450f4ec622c8d15..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/changelogs-arkui.md +++ /dev/null @@ -1,30 +0,0 @@ -# ArkUIå系统ChangeLog -ä¿®å¤é—®é¢˜ï¼š[Stack](../../../application-dev/reference/arkui-ts/ts-container-stack.md)设置alignContent,在å组件超出父组件的场景ä¸ï¼Œå组件未按照alignContent布局 -示例: -```ts -@Entry -@Component -struct StackExample { - build() { - Stack({alignContent:Alignment.TopEnd}){ - Text('First child, show in bottom') - .width(200).height(200).backgroundColor(0xd2cab3).margin(10) - }.width(150).height(150).backgroundColor(Color.Pink).margin(100) - } -} -``` -ä¿®å¤å‰ï¼šå组件未能按照alignContent:Alignment.TopEnd布局 -![stack](figures/stack_before.jpg) - -ä¿®å¤åŽï¼šå组件å¯ä»¥æŒ‰ç…§alignContent:Alignment.TopEnd布局 -![stack](figures/stack_after.jpg) - - -**å˜æ›´å½±å“** - -1. 如果应用ä¸æœ‰å组件大å°å¤§äºŽçˆ¶ç»„件Stack的场景,需è¦åº”用进行适é…。 -2. 应用之å‰å¯èƒ½é‡‡ç”¨çš„规é¿æ–¹æ¡ˆï¼šç»™å组件设置Offset或者translate - -**适é…指导** - - 去掉之å‰ç»™å组件设置的Offset或者translate,使用alignContent实际布局方å¼è¿›è¡Œå¸ƒå±€ã€‚ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_after.jpg b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_after.jpg deleted file mode 100644 index eacfe82a9b1175a8a944be8a793ec940a4a80e0d..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_after.jpg and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_before.jpg b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_before.jpg deleted file mode 100644 index b7b26a73935e28ce34d9895ac3e0cf519bbb41b5..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_before.jpg and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-huks.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-huks.md deleted file mode 100755 index 7d075b26a0a989fafe1c979975ffb8acb921d157..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-huks.md +++ /dev/null @@ -1,98 +0,0 @@ -# HUKSå系统ChangeLog - -## cl.huks.1 HUKS支æŒå¯é€‰è®¾ç½®rsa_pss_salt_length类型 - -å˜æ›´ä¹‹å‰ï¼Œåº”用在ç¾å/验ç¾æ—¶ï¼ŒHUKS默认使用RSA_PSS_SALT_LEN_MAX进行处ç†ï¼› - -å˜æ›´ä¹‹åŽï¼Œåº”用在ç¾å/验ç¾éœ€ä¼ å…¥HuksRsaPssSaltLenTypeä¸å®šä¹‰çš„类型。若ä¸ä¼ 入,则默认使用RSA_PSS_SALT_LEN_MAX进行处ç†ã€‚ - -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ - -**关键的接å£/组件å˜æ›´** - -å‘布的JS接å£ä¸å˜ï¼Œ ä¼ å…¥æŽ¥å£çš„å‚数集åˆå‘生å˜æ›´ã€‚ - -**适é…指导** - -以RSAç¾å为例,示例代ç 如下: - -```js -import huks from '@ohos.security.huks'; - -let keyAlias = 'rsa_Key'; -let inData = new Uint8Array( - 0x4B, 0x1E, 0x22, 0x64, 0xA9, 0x89, 0x60, 0x1D, 0xEC, 0x78, 0xC0, 0x5D, 0xBE, 0x46, 0xAD, 0xCF, - 0x1C, 0x35, 0x16, 0x11, 0x34, 0x01, 0x4E, 0x9B, 0x7C, 0x00, 0x66, 0x0E, 0xCA, 0x09, 0xC0, 0xF3, -); -/* ç¾åå‚æ•° */ -let signProperties = new Array(); -signProperties[0] = { - tag: huks.HuksTag.HUKS_TAG_ALGORITHM, - value: huks.HuksKeyAlg.HUKS_ALG_RSA, -} -signProperties[1] = { - tag: huks.HuksTag.HUKS_TAG_PURPOSE, - value: - huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_SIGN -} -signProperties[2] = { - tag: huks.HuksTag.HUKS_TAG_KEY_SIZE, - value: huks.HuksKeySize.HUKS_RSA_KEY_SIZE_2048, -} -signProperties[3] = { - tag: huks.HuksTag.HUKS_TAG_PADDING, - value: huks.HuksKeyPadding.HUKS_PADDING_PSS, -} -signProperties[4] = { - tag: huks.HuksTag.HUKS_TAG_DIGEST, - value: huks.HuksKeyDigest.HUKS_DIGEST_SHA1, -} -signProperties[5] = { - tag: huks.HuksTag.HUKS_TAG_RSA_PSS_SALT_LEN_TYPE, - value: huks.HuksRsaPssSaltLenType.HUKS_RSA_PSS_SALT_LEN_MAX, -} -let signOptions = { - properties: signProperties, - inData: inData -} - -huks.initSession(keyAlias, signOptions); -``` - -更多接å£çš„示例代ç å¯å‚考[HUKS-guidelines](../../../application-dev/security/huks-guidelines.md)å’Œ[HUKS API](../../../application-dev/reference/apis/js-apis-huks.md)。 - -## cl.huks.2 HUKS解决派生密钥/å商密钥的å˜å‚¨/导出问题 - -å˜æ›´ä¹‹å‰ï¼Œæ´¾ç”Ÿå¯†é’¥/å商密钥既支æŒå˜å‚¨ï¼Œåˆæ”¯æŒå¯¼å‡ºï¼Œå˜åœ¨å®‰å…¨é£Žé™©ï¼› - -å˜æ›´ä¹‹åŽï¼Œåº”用在派生密钥/åå•†å¯†é’¥æ—¶éœ€ä¼ å…¥HuksKeyStorageTypeä¸å®šä¹‰çš„类型。应用åªèƒ½é€‰æ‹©å˜å‚¨ï¼Œæˆ–者选择导出。若ä¸ä¼ 入,则默认åŒæ—¶æ”¯æŒå˜å‚¨å’Œå¯¼å‡ºï¼Œå˜åœ¨å®‰å…¨é—®é¢˜ï¼Œä¸æŽ¨è业务使用。 - -**å˜æ›´å½±å“** - -å½±å“å·²å‘布的JS接å£ï¼ŒæŽ¥å£è¡Œä¸ºå‘生å˜æ›´ã€‚ - -**关键的接å£/组件å˜æ›´** - -å‘布的JS接å£ä¸å˜ï¼Œ ä¼ å…¥æŽ¥å£çš„å‚数集åˆå‘生å˜æ›´ã€‚ - -**适é…指导** - -接å£ä½¿ç”¨çš„示例代ç å¯å‚考[HUKS-guidelines](../../../application-dev/security/huks-guidelines.md)å’Œ[HUKS API](../../../application-dev/reference/apis/js-apis-huks.md)。 - -## cl.huks.3 新增用于细粒度用户身份访问控制的Tag - -新增用于细粒度用户身份访问控制的HuksTag: HUKS_TAG_KEY_AUTH_PURPOSE,业务å¯åœ¨åŽŸæœ‰ç”¨æˆ·èº«ä»½è®¿é—®æŽ§åˆ¶èƒ½åŠ›ä¸Šï¼Œé€‰æ‹©æŸç§ç‰¹å®šç®—法用途下需è¦ç”¨æˆ·èº«ä»½è®¿é—®æŽ§åˆ¶èƒ½åŠ›ã€‚ - -**å˜æ›´å½±å“** - -新增的HuksTag,ä¸å½±å“已有的接å£ã€‚ - -**关键的接å£/组件å˜æ›´** - -åªæ–°å¢žäº†HuksTag: HUKS_TAG_KEY_AUTH_PURPOSE, 用于支æŒç»†ç²’度用户身份访问控制。 - -**适é…指导** - -接å£ä½¿ç”¨çš„示例代ç å¯å‚考[密钥访问控制_细粒度用户身份认è¯è®¿é—®æŽ§åˆ¶](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/huks-guidelines.md#%E5%AF%86%E9%92%A5%E8%AE%BF%E9%97%AE%E6%8E%A7%E5%88%B6),接å£å®šä¹‰å‚考[HuksTag](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-huks.md#hukstag)。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-resourceschedule.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-resourceschedule.md deleted file mode 100644 index e1b9676393e20754e1609926657a4e448c9ef230..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-resourceschedule.md +++ /dev/null @@ -1,75 +0,0 @@ -# 资æºè°ƒåº¦å系统ChangeLog - -## cl.resourceschedule.reminderAgent.1 - -æ醒代ç†æ”¯æŒç³»ç»Ÿåº”用设置自定义按钮,并且自定义按钮å¯è·³è½¬æŒ‡å®šåº”用界é¢ã€‚ - -**å˜æ›´å½±å“** - -基于OpenHarmony4.0.7.1åŠä¹‹åŽçš„SDK版本开å‘的系统应用,å¯è®¾ç½®æ醒自定义按钮。 - -**关键接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| reminderAgentManager | ActionButtonType | ACTION_BUTTON_TYPE_CUSTOM = 2 | 新增 | -| reminderAgentManager | ActionButton | wantAgent?: WantAgent | 新增 | -| reminderAgentManager | WantAgent | uri?: string | 新增 | -| reminderAgentManager | ReminderRequest | actionButton?: [ActionButton?, ActionButton?, ActionButton?] | å˜æ›´ | - -**适é…指导**<br> - -```ts -import reminderAgentManager from '@ohos.reminderAgentManager'; - -let targetReminderAgent: reminderAgentManager.ReminderRequestAlarm = { - reminderType: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM, // æ醒类型为闹钟类型 - ... - actionButton: [ - { - title: 'ç¨åŽæ醒', - type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_SNOOZE - }, - { - title: 'å…³é—', - type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_CLOSE - }, - { - title: '自定义', - type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_CUSTOM, - wantAgent: { - pkgName: "com.example.myapplication", - abilityName: "EntryAbility", - } - }, - ] -} -``` - -## cl.resourceschedule.reminderAgent.2 - -æ醒代ç†æ”¯æŒè®¾ç½®é€šçŸ¥è‡ªåŠ¨æ¶ˆå¤±å’Œè‡ªåŠ¨æ¶ˆå¤±æ—¶é—´ã€‚ - -**å˜æ›´å½±å“** - -基于OpenHarmony4.0.7.1åŠä¹‹åŽçš„SDK版本开å‘的系统应用,å¯è®¾ç½®æ醒自动消失。 - -**关键接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| reminderAgentManager | ReminderRequest | tapDismissed?: boolean | 新增 | -| reminderAgentManager | ReminderRequest | autoDeletedTime?: number | 新增 | - -**适é…指导**<br> - -```ts -import reminderAgentManager from '@ohos.reminderAgentManager'; - -let targetReminderAgent: reminderAgentManager.ReminderRequestAlarm = { - reminderType: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM, // æ醒类型为闹钟类型 - ... - tapDismissed: true, - autoDeletedTime: 300, -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.2/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.2/changelogs-arkui.md deleted file mode 100644 index 5d82204bdd2775b2b5a2cee56f94399716572e0c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.2/changelogs-arkui.md +++ /dev/null @@ -1,60 +0,0 @@ -# arkuiå系统ChangeLog - -### UI范å¼è£…饰器使用é™åˆ¶ - -#### 1.组件装饰器使用é™åˆ¶ - -组件装饰器@Componentã€@Entry〠@Previewå’Œ@CustomDialogåªèƒ½ä½œç”¨äºŽstruct组件,ä¸èƒ½ç”¨äºŽè£…饰类class。 - -**示例:** - -``` -@Component - // ERROR:The '@Component' decorator can only be used with 'struct'. -class Index { - build() { - } -} -``` - -**å˜æ›´å½±å“** - -如果组件装饰器@Componentã€@Entry〠@Previewå’Œ@CustomDialog ä¸æ˜¯è£…饰struct组件,编译报错。 - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -组件装饰器@Componentã€@Entry〠@Previewå’Œ@CustomDialog修饰struct组件。 - -#### 2.组件æˆå‘˜å˜é‡è£…饰器使用é™åˆ¶ - -组件æˆå‘˜å˜é‡è£…饰器@Stateã€@Propã€@Linkã€@Provideã€@Consumeã€@ObjectLinkã€@StorageLinkã€@StoragePropã€@LocalStorageLinkã€@LocalStoragePropã€@Watchã€@BuilderParamåªèƒ½è£…饰struct组件的æˆå‘˜å˜é‡ã€‚ - -**示例:** - -``` -@Component -class Index { - // ERROR: The '@State' decorator can only be used with 'struct'. - @State message: string = 'Hello world' - - build() { - - } -} -``` - -**å˜æ›´å½±å“** - -如果上述æ到的组件æˆå‘˜å˜é‡è£…饰器ä¸æ˜¯è£…饰struct组件的æˆå‘˜å˜é‡ï¼Œç¼–译报错。 - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠ - -**适é…指导** - -组件æˆå‘˜å˜é‡è£…饰器如果装饰了éžstruct组件æˆå‘˜å˜é‡ï¼Œè¯·å°†è¯¥å˜é‡ä½œç”¨åœ¨'struct'组件内。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-arkcompiler.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-arkcompiler.md deleted file mode 100644 index 13b9b4c46da8bc46df2fea3a9417f08c43e7eaef..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-arkcompiler.md +++ /dev/null @@ -1,164 +0,0 @@ -# è¯è¨€ç¼–译è¿è¡Œæ—¶å系统ChangeLog -## cl.arkcompiler.1 LLVM新增告è¦åŠå·²æœ‰å‘Šè¦å¢žå¼º - -**å˜æ›´å½±å“** - -OpenHarmony NDK默认ä¸å¼€å¯-Werror选项,对于已ç»å¼€å¯-Werror选项的开å‘者,建议基于告è¦æ£€æŸ¥æ示修改错误业务代ç 或å±è”½ - - **关键的编译检查规则å˜æ›´** - -| 新增检查选项 | 作用 | 修改建议 | -| --- | --- | --- | -| Wunused-but-set-variable | 当代ç ä¸æœ‰æœªä½¿ç”¨çš„å˜é‡æ—¶ï¼ˆåŒ…å«++æ“作符)æå‡ºå‘Šè¦ | 定义å˜é‡æ—¶æ·»åŠ "maybe_unused"属性或者使用å®åŒºåˆ† | -| Wdeprecated-non-prototype | 当代ç ä¸å˜åœ¨æ²¡æœ‰åŽŸåž‹çš„函数时æå‡ºå‘Šè¦ | æ·»åŠ å‡½æ•°åŽŸåž‹å¹¶æ˜Žç¡®å‚æ•° | -| Wunqualified-std-cast-call | 当代ç ä¸é”™è¯¯ä½¿ç”¨std::moveç‰æ—¶æå‡ºå‘Šè¦ | 明确移动è¯ä¹‰çš„使用场景并检查代ç | -| Wdeprecated-builtins | 当代ç ä¸ä½¿ç”¨äº†åºŸå¼ƒçš„内置函数时æå‡ºå‘Šè¦ | 替æ¢ä½¿ç”¨æ–°ç‰ˆå‡½æ•° | -| Warray-parameter | 当函数å‚æ•°ä¸åŒ…å«æ•°ç»„并且é‡å¤å®šä¹‰äº†ä¸ä¸€è‡´çš„å½¢å¼æ—¶æå‡ºå‘Šè¦ | 确认函数å‚数的一致性 | -| Wbitwise-instead-of-logical | 当在布尔è¿ç®—ä¸ä½¿ç”¨æŒ‰ä½æˆ–æ—¶æå‡ºå‘Šè¦ | 更新代ç 在布尔è¿ç®—ä¸ä½¿ç”¨é€»è¾‘或 | -| Wint-conversion | 当代ç ä¸å‡ºçŽ°intå˜é‡è½¬æ¢ä¸ºæŒ‡é’ˆæ—¶æå‡ºå‘Šè¦ | 更新代ç 替æ¢ä½¿ç”¨æ–°çš„å®žçŽ°æ–¹å¼ | -| Wdeprecated-declarations | 当代ç ä¸ä½¿ç”¨äº†åºŸå¼ƒçš„定义(包å«å‡½æ•°å’Œå˜é‡ç‰ï¼‰æ—¶æå‡ºå‘Šè¦ | 更新代ç 替æ¢ä½¿ç”¨æ–°çš„å®žçŽ°æ–¹å¼ | -| Wnull-pointer-subtraction | 当代ç ä¸å‡ºçŽ°ç©ºæŒ‡é’ˆå‡æ³•æ—¶æå‡ºå‘Šè¦ | 更新代ç é¿å…空指针å‚与å‡æ³•è¿ç®— | -| Wunused-but-set-parameter | 当函数ä¸å‡ºçŽ°æœªä½¿ç”¨çš„å‚æ•°æ—¶æå‡ºå‘Šè¦ | 更新代ç 去掉未使用的å‚æ•° | -| Warray-bounds | 当代ç ä¸å‡ºçŽ°å¯¹æ•°ç»„的越界访问时æå‡ºå‘Šè¦ | 检查代ç 并修改越界访问 | -| Wdeprecated-pragma | 当代ç ä¸ä½¿ç”¨äº†åºŸå¼ƒçš„å®æ—¶æå‡ºå‘Šè¦ | 更新代ç é¿å…ä½¿ç”¨åºŸå¼ƒçš„å® | -| Wreserved-identifier | 当代ç ä¸ä½¿ç”¨äº†"__"开头的å˜é‡æ—¶æå‡ºå‘Šè¦ | 检查代ç é¿å…"__"开头的å˜é‡è¢«å¤–部使用 | - - **适é…指导** - -1. 对于用户代ç ä¸å˜åœ¨çš„LLVM-12未检测出æ¥çš„问题,需è¦ç”¨æˆ·æ£€æŸ¥å¹¶æ›´æ–°ä»£ç 。 -2. LLVM更新废弃了一些旧的实现,需è¦ç”¨æˆ·ä»£ç 适é…并更新代ç 。 -3. å¼€å‘者评估暂时规é¿çš„å‘Šè¦ï¼Œå¯é‡‡ç”¨-Wno-xxx选项规é¿è¯¥error。 - -问题代ç 实例 - -``` -void Heap::Resume(TriggerGCType gcType) -{ - if (mode_ != HeapMode::SPAWN && - activeSemiSpace_->AdjustCapacity(inactiveSemiSpace_->GetAllocatedSizeSinceGC())) { - // if activeSpace capacity changes, oldSpace maximumCapacity should change, too. - size_t multiple = 2; - // oldSpaceMaxLimit被赋值了但未被使用 - size_t oldSpaceMaxLimit = 0; - if (activeSemiSpace_->GetInitialCapacity() >= inactiveSemiSpace_->GetInitialCapacity()) { - size_t delta = activeSemiSpace_->GetInitialCapacity() - inactiveSemiSpace_->GetInitialCapacity(); - oldSpaceMaxLimit = oldSpace_->GetMaximumCapacity() - delta * multiple; - } else { - size_t delta = inactiveSemiSpace_->GetInitialCapacity() - activeSemiSpace_->GetInitialCapacity(); - oldSpaceMaxLimit = oldSpace_->GetMaximumCapacity() + delta * multiple; - } - inactiveSemiSpace_->SetInitialCapacity(activeSemiSpace_->GetInitialCapacity()); - } - // irrelated code ... -} -``` - -oldSpaceMaxLimitå˜é‡å¹¶æœªä½¿ç”¨ï¼Œç¼–译器æå‡ºå‘Šè¦ - -``` -../../arkcompiler/ets_runtime/ecmascript/mem/heap.cpp:247:16: error: variable 'oldSpaceMaxLimit' set but not used [-Werror,-Wunused-but-set-variable] - size_t oldSpaceMaxLimit = 0; -``` - -æ·»åŠ å±žæ€§åŽè§£å†³ - -``` -void Heap::Resume(TriggerGCType gcType) -{ - if (mode_ != HeapMode::SPAWN && - activeSemiSpace_->AdjustCapacity(inactiveSemiSpace_->GetAllocatedSizeSinceGC())) { - // if activeSpace capacity changes, oldSpace maximumCapacity should change, too. - size_t multiple = 2; - // æ·»åŠ maybe_unused属性,声明ä¸ä¸€å®šä½¿ç”¨å˜é‡oldSpaceMaxLimit - [[maybe_unused]] size_t oldSpaceMaxLimit = 0; - if (activeSemiSpace_->GetInitialCapacity() >= inactiveSemiSpace_->GetInitialCapacity()) { - size_t delta = activeSemiSpace_->GetInitialCapacity() - inactiveSemiSpace_->GetInitialCapacity(); - oldSpaceMaxLimit = oldSpace_->GetMaximumCapacity() - delta * multiple; - } else { - size_t delta = inactiveSemiSpace_->GetInitialCapacity() - activeSemiSpace_->GetInitialCapacity(); - oldSpaceMaxLimit = oldSpace_->GetMaximumCapacity() + delta * multiple; - } - inactiveSemiSpace_->SetInitialCapacity(activeSemiSpace_->GetInitialCapacity()); - } - // irrelated code ... -} -``` - -## cl.arkcompiler.2 LLVM解æžæ ¼å¼å·®å¼‚ - - **å˜æ›´å½±å“** - -对于业务ä¾èµ–version-script或-gcc-toolchain选项的开å‘者,在沿用LLVM12é…置文件或选项时,å¯èƒ½ä¼šè§£æžå¤±è´¥ - - **关键的编译规则å˜æ›´** - -1. 新版本ä¸ä¿®æ”¹äº†ç¬¦å·çš„表示,现在连ç»çš„">"会被编译器表示为">>",这个在旧版本ä¸ä¼šè¢«è¡¨ç¤ºä¸º"> >",错误使用将导致符å·ä¸è¢«è§£æžåŒ¹é… -2. 废弃-xx选项,如-gcc-toolchain选项,改用--gcc-toolchain选项(该选项在clang3.4以åŽçš„版本已表示会弃用,LLVM15上æ£å¼åºŸå¼ƒï¼‰ - - **适é…指导** - -version-script使用方法å¯ä»¥å‚考 - -适é…实例 - -对于代ç ä¸å‡ºçŽ°è¿žç»ä¸¤ä¸ªâ€œ>â€ï¼ˆå¿½ç•¥ä¸é—´ç©ºæ ¼æ•°é‡ï¼‰ï¼Œåœ¨version-scriptä¸ï¼ˆç”±äºŽ mangling差异)会被分别解æžä¸ºå¦‚下"> >"与">>"两ç§æƒ…况,在15ä¸æˆ‘们需è¦ä½¿ç”¨">>" - -原始é…置文件 - -``` -{ - global: - extern "C++" { - "google::protobuf::TextFormat::ParseFromString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::Message*)"; - // LLVM12 "> >"å¯ä»¥è¢«è§£æžï¼Œä½†">>"ä¸è¡Œ - "google::protobuf::TextFormat::PrintToString(google::protobuf::Message const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)"; - }; - local: - *; -} -``` - -修改åŽçš„é…置文件 - -``` -{ - global: - extern "C++" { - "google::protobuf::TextFormat::ParseFromString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, google::protobuf::Message*)"; - // LLVM15 åªä¼šè§£æž">>" - "google::protobuf::TextFormat::PrintToString(google::protobuf::Message const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)"; - }; - local: - *; -} -``` - -## cl.arkcompiler.3 LLVM emu-tlså˜æ›´ - - **å˜æ›´å½±å“** - -对于LLVM12/LLVM15工具链混用的开å‘者(ç¦æ¢è¡Œä¸ºï¼‰ï¼Œä¼šäº§ç”Ÿlibc++.so emu-tls符å·æ— 法找到的问题 - - **关键的库ä¾èµ–å˜æ›´** - -LLVM15ä¸å°†emu-tls符å·ä»Žç›®æ ‡äºŒè¿›åˆ¶æŠ½å–到了libc++.soä¸ï¼Œå³__emutls_get_address的属性从内部符å·å˜ä¸ºå¤–部å¯è§çš„符å·ï¼ˆlibc++.soä¸ä¼šåŒ…å«è¯¥ç¬¦å·ï¼‰ï¼Œå¯èƒ½ä¼šå¯¼è‡´ç¼–译出æ¥çš„动æ€åº“ä¾èµ–libc++.so。 - - **适é…指导** - -该符å·åŒæ—¶ä¹Ÿåœ¨libclang_rt.builtin.aä¸ï¼Œå¦‚æžœä¸å¸Œæœ›ä¾èµ–libc++.soå¯ä»¥é™æ€é“¾æŽ¥libclang_rt.builtin.a库。 - -## cl.arkcompiler.4 LLVM官方release note - - **å˜æ›´å½±å“** - -新增特性åŠå†…部接å£å˜æ›´ï¼ˆå¦‚LLVM内部的IR,编译器å‰ç«¯ä¿®æ”¹ï¼‰ï¼Œè¯¦è§å®˜æ–¹å˜æ›´æ–‡æ¡£ - - **关键å˜æ›´æ–‡æ¡£** - -https://releases.llvm.org/13.0.0/docs/ReleaseNotes.html -https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html -https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html - - **适é…指导** - -详细修改信æ¯ä»¥åŠé€‚é…指导è§å®˜æ–¹æ–‡æ¡£ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-web.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-web.md deleted file mode 100644 index 9c5dabb942f7771092c921c1d0431377e3dce35c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-web.md +++ /dev/null @@ -1,126 +0,0 @@ -# webå系统ChangeLog - -OpenHarmony 4.0.7.3 版本相较于OpenHarmony 之å‰çš„版本,webçš„APIå˜æ›´å¦‚下。 - -## cl.web.1 setResponseData接å£å‚数新增 - -**å˜æ›´å½±å“** - -setResponseData(data: string | number | Resource),新增入å‚类型`Resource` - -在应用hapä¸è§£åŽ‹åœºæ™¯ï¼Œåº”用hapä¸çš„文件路径已ä¸å˜åœ¨ã€‚当需è¦è¯»å–hap包内资æºæ—¶ï¼Œé€šè¿‡ä½¿ç”¨å…¥å‚`data:Resource`替代`data:number`,实现对本应用下的资æºè®¿é—®ã€‚ - - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - setResponseData - -- å˜æ›´å‰ï¼š - - ```ts - setResponseData(data: string | number) - ``` - -- å˜æ›´åŽï¼š - - ```ts - setResponseData(data: string | number | Resource) - ``` - -**适é…指导** - -应用hap解压时,打开并æŒæœ‰èµ„æºæ–‡ä»¶fd,最åŽé€šè¿‡`setResponseData(data:number)`将资æºå“应数æ®ä¼ é€’ç»™å†…æ ¸ã€‚ - -```ts -// xxx.ets -import web_webview from '@ohos.web.webview' -import fileio from '@ohos.fileio'; - -@Entry -@Component -struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController() - responseweb: WebResourceResponse = new WebResourceResponse() - heads: Header[] = new Array() - - build() { - Column() { - Web({ src: 'www.example.com', controller: this.controller }) - .onInterceptRequest((event) => { - console.log('url:' + event.request.getRequestUrl()) - var head1:Header = { - headerKey:"Connection", - headerValue:"keep-alive" - } - var head2:Header = { - headerKey:"Cache-Control", - headerValue:"no-cache" - } - var length = this.heads.push(head1) - length = this.heads.push(head2) - this.responseweb.setResponseHeader(this.heads) - this.responseweb.setResponseEncoding('utf-8') - this.responseweb.setResponseMimeType('text/html') - this.responseweb.setResponseCode(200) - this.responseweb.setReasonMessage('OK') - - //// fd方案 --start - // '/xxx/.../test.html'为文件的本地路径 - // @ts-ignore - let fd = fileio.openSync('/xxx/.../test.html', 0o102, 0o666) - this.responseweb.setResponseData(fd) - //// fd方案 --end - - return this.responseweb - }) - } - } -} -``` - -应用hapä¸è§£åŽ‹æ—¶ï¼Œåº”用hapä¸çš„文件路径已ä¸å˜åœ¨ï¼Œé€šè¿‡`setResponseData(data:Resource)`将资æºå“应数æ®ä¼ é€’ç»™å†…æ ¸ã€‚ -```ts -// xxx.ets -import web_webview from '@ohos.web.webview' - -@Entry -@Component -struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController() - responseweb: WebResourceResponse = new WebResourceResponse() - heads: Header[] = new Array() - - build() { - Column() { - Web({ src: 'www.example.com', controller: this.controller }) - .onInterceptRequest((event) => { - console.log('url:' + event.request.getRequestUrl()) - var head1:Header = { - headerKey:"Connection", - headerValue:"keep-alive" - } - var head2:Header = { - headerKey:"Cache-Control", - headerValue:"no-cache" - } - var length = this.heads.push(head1) - length = this.heads.push(head2) - this.responseweb.setResponseHeader(this.heads) - this.responseweb.setResponseEncoding('utf-8') - this.responseweb.setResponseMimeType('text/html') - this.responseweb.setResponseCode(200) - this.responseweb.setReasonMessage('OK') - - //// Resource方案 --start - // 指定hap包ä¸rawfileç›®å½•ä¸‹çš„ç›®æ ‡æ–‡ä»¶ - this.responseweb.setResponseData($rawfile('test.html')) - //// Resource方案 --end - - return this.responseweb - }) - } - } -} -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.5/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.5/changelogs-arkui.md deleted file mode 100644 index baa0d65d28201244fea99732f610a2d144d79013..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.5/changelogs-arkui.md +++ /dev/null @@ -1,26 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 Button组件hover状æ€æ•ˆæžœå˜æ›´ - -Button组件的hover状æ€ç”±100-105%放大效果å˜æ›´ä¸º0-5%ä¸é€æ˜Žåº¦çš„å åŠ æ•ˆæžœï¼Œhover状æ€åˆ‡æ¢åˆ°press状æ€çš„效果å˜æ›´ä¸º5-10%ä¸é€æ˜Žåº¦çš„å åŠ æ•ˆæžœã€‚ - -**å˜æ›´å½±å“** - -å½±å“Buttonçš„hover状æ€çš„视觉效果以åŠhover状æ€åˆ‡æ¢åˆ°press状æ€çš„视觉效果。 - -## cl.arkui.2 toast组件多行文本对é½æ–¹å¼ - -toast多行文本对é½æ–¹å¼ç”±å±…ä¸å¯¹é½å˜ä¸ºå·¦å¯¹é½ - -**å˜æ›´å½±å“** - -å½±å“toast文本æ示框的多行文本的视觉效果。 - -## cl.arkui.3 SideBarContainer组件新增属性ã€ä¿®æ”¹å±žæ€§é»˜è®¤å€¼åŠæ–°å¢žæ˜¾ç¤ºæ¨¡å¼ - -1ã€æ–°å¢žminContentWidth,默认值360vp,开å‘者未设置时为0vp。设置为å°äºŽ0的值时按默认值显示。Embed场景下,增大组件尺寸时仅增大内容区的尺寸,缩å°ç»„件尺寸时,先缩å°å†…容区的尺寸至minContentWidth,然åŽå†ç¼©å°ä¾§è¾¹æ 的尺寸,当缩å°ä¾§è¾¹æ 的尺寸至minSideBarWidthåŽï¼Œç»§ç»ç¼©å°ç»„件尺寸时,会ä¿æŒä¾§è¾¹æ 最å°å°ºå¯¸ï¼Œç»§ç»ç¼©å°å†…容区尺寸,并采用截æ–æ–¹å¼æ˜¾ç¤ºå†…容区,内容区尺寸å¯ä»¥ç¼©å°è‡³0vp。minContentWidth优先于侧边æ çš„maxSideBarWidth与sideBarWidth属性,minContentWidth未设置时默认值优先级低于设置的minSideBarWidth与maxSideBarWidth属性。<br/>2ã€minSideBarWidthã€SideBarWidth的默认宽度在API version 9åŠä»¥ä¸‹ç‰ˆæœ¬é»˜è®¤å€¼ä¸º200vp,API version 10的默认值为240vp。 -<br/>3ã€æ–°å¢žAuto显示模å¼ï¼Œç»„件尺寸大于ç‰äºŽminSideBarWidth+minContentWidth时,采用Embed模å¼æ˜¾ç¤ºï¼›ç»„件尺寸å°äºŽminSideBarWidth+minContentWidth时,采用Overlay模å¼æ˜¾ç¤ºï¼›æœªè®¾ç½®minSideBarWidth或minContentWidth时,会使用未设置接å£çš„默认值进行计算,若计算åŽçš„值å°äºŽ600vp,则使用600vpåšä¸ºæ¨¡å¼åˆ‡æ¢çš„æ–点值。。 - -**å˜æ›´å½±å“** - -在API version 10下,影å“SideBarContainer组件默认情况下的视觉效果。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-arkcompiler.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-arkcompiler.md deleted file mode 100644 index 8dd9017d4d34ddceb2d866ad047d8112686f4698..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-arkcompiler.md +++ /dev/null @@ -1,23 +0,0 @@ -# ArkCompilerå系统ChangeLog - -## cl.ArkCompiler.1 type编译模å¼é»˜è®¤ä½¿ç”¨es2abc - -SDKä¸ArkCompiler有两个编译器支æŒets/ts/js的编译,分别是ts2abc编译器和es2abc编译器。<br> -编译模å¼ä»‹ç»ï¼š<br> -​ éžtype编译:ets/tsæºç 转化为jsæºç ,使用ArkCompiler编译器es2abc生æˆå—节ç 。<br> -​ type编译:ets/tsæºç 转化为tsæºç ,使用ArkCompiler编译器ts2abc(之å‰ç‰ˆæœ¬)/es2abc(æ¤ç‰ˆæœ¬ä½¿èƒ½)生æˆå—节ç 。<br> -应用工程hvigor版本信æ¯æŸ¥çœ‹ï¼š<br> -​ 应用工程hvigor目录hvigor-config.json5文件ä¸hvigorVersionå—段以åŠdependenciesä¸@ohos/hvigor-ohos-pluginå—段。<br> -å¼€å¯type编译:<br> -​ hvigor版本大于ç‰äºŽ2.6.0-rc.9.s时默认使用type模å¼ç¼–译,或者应用æºç (src目录)åŒçº§ç›®å½•build-profile.json5文件ä¸ï¼ŒbuildOptionæ ‡ç¾ä¸‹é…ç½®"aotCompileMode": "type"选项。<br> - -当开å¯type编译且使用该版本的SDK时,将默认使用ArkCompiler编译器es2abc编译tsæºç 生æˆå—节ç ,并且ä¸æŽ¨è使用使能ts2abcçš„è€ç‰ˆæœ¬SDK进行type编译。<br> - -**å˜æ›´å½±å“**<br> -使用DevEco Studio进行应用开å‘,使能type编译模å¼å¹¶ä½¿ç”¨æ–°ç‰ˆSDKåŽï¼Œç”±äºŽç¼–译模å¼çš„å˜æ›´ä»¥åŠArkCompiler编译器的å˜æ›´ï¼Œå¯èƒ½ä¼šå‡ºçŽ°åº”用编译失败,è¿è¡Œæ—¶Crashç‰ã€‚<br> - -**关键的接å£/组件å˜æ›´**<br> -type编译模å¼é»˜è®¤ä½¿ç”¨ArkCompiler编译器es2abc<br> - -**适é…指导**<br> -1. hvigor版本大于ç‰äºŽ2.6.0-rc.9.s时,切æ¢åŽŸæ¥çš„编译模å¼(éžtype),开å‘者需è¦åœ¨build-profile.json5文件ä¸é…ç½®"aotCompileMode":""。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-arkui.md deleted file mode 100644 index 06cc444f400151d887004f87880c4b756bd6676c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-arkui.md +++ /dev/null @@ -1,21 +0,0 @@ -# ArkUIå系统ChangeLog - -## cl.arkui.1 uiAppearance部分谓è¯ç”±å…¬å…±æŽ¥å£å˜æ›´ä¸ºç³»ç»ŸæŽ¥å£ - -命å空间uiAppearanceåŠå…¶å†…部DarkMode枚举谓è¯ç”±å…¬å…±æŽ¥å£å˜æ›´ä¸ºç³»ç»ŸæŽ¥å£ã€‚ - -**å˜æ›´å½±å“** - -æ— å½±å“。规范性整改,命å空间uiAppearanceåŠå…¶å†…部DarkMode枚举类型修改å‰åŽå‡åªè¢«ç³»ç»ŸæŽ¥å£ä½¿ç”¨ - -**关键接å£/组件å˜æ›´** - -如下接å£æ·»åŠ 系统接å£systemapi说明: - -- declare namespace uiAppearance - -- enum DarkMode - -- ALWAYS_DARK = 0 - -- ALWAYS_LIGHT = 1 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-distributeddatamgr.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-distributeddatamgr.md deleted file mode 100644 index 5a47ecca1508f089edb1117d614f5b86e9b91e0f..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.1/changelogs-distributeddatamgr.md +++ /dev/null @@ -1,57 +0,0 @@ -# 分布å¼æ•°æ®ç®¡ç†å系统ChangeLog - -## cl.distributeddatamgr.1 ValuesBucket由系统接å£å˜æ›´ä¸ºå…¬å…±æŽ¥å£ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,仅支æŒç³»ç»Ÿåº”用使用ValuesBucket。现接å£ç±»åž‹ä¸çš„系统接å£æ ‡è¯†å–消,支æŒç¬¬ä¸‰æ–¹å¼€å‘者使用。 - -**关键接å£/组件å˜æ›´** - -修改å‰çš„接å£åŽŸåž‹ï¼š - - ```ts - /** - * Indicates possible value types - * - * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @systemapi - * @StageModelOnly - * @since 9 - */ - export type ValueType = number | string | boolean; - ``` -修改åŽçš„接å£åŽŸåž‹ï¼š - - ```ts - /** - * Indicates possible value types - * - * @syscap SystemCapability.DistributedDataManager.DataShare.Core - * @StageModelOnly - * @since 10 - */ - export type ValueType = number | string | boolean; -} - ``` -## cl.distributeddatamgr.2 dataSharePredicates部分谓è¯ç”±ç³»ç»ŸæŽ¥å£å˜æ›´ä¸ºå…¬å…±æŽ¥å£ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,仅支æŒç³»ç»Ÿåº”用使用dataSharePredicates。现命å空间dataSharePredicatesã€ç±»dataSharePredicatesåŠç±»å†…部分谓è¯æŽ¥å£ç±»åž‹ä¸çš„系统接å£æ ‡è¯†å–消,支æŒç¬¬ä¸‰æ–¹å¼€å‘者使用。 - -**关键接å£/组件å˜æ›´** - -部分谓è¯æŽ¥å£çš„系统接å£è¯´æ˜Žå–消,涉åŠçš„接å£æœ‰ï¼š - -- equalTo(field: string, value: ValueType): DataSharePredicates - -- and(): DataSharePredicates - -- orderByAsc(field: string): DataSharePredicates - -- orderByDesc(field: string): DataSharePredicates - -- limit(total: number, offset: number): DataSharePredicates - -- in(field: string, value: Array<ValueType>): DataSharePredicates \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-arkui.md deleted file mode 100644 index 30d5a5f3ff74c29f5bc7b90ce1c5aaf04f9aabac..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-arkui.md +++ /dev/null @@ -1,213 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 状æ€å˜é‡æ•°æ®ç±»åž‹å£°æ˜Žä½¿ç”¨é™åˆ¶ã€‚ - -所有的状æ€è£…饰器å˜é‡éœ€è¦æ˜¾å¼å£°æ˜Žå˜é‡ç±»åž‹ï¼Œä¸å…许声明any。 - -**示例:** - -```ts -// xxx.ets -@Entry -@Component -struct DatePickerExample { - // 错误写法: @State isLunar: any = false - @State isLunar: boolean = false - - build() { - ... - } -} -``` - -**å˜æ›´å½±å“** - -如果状æ€è£…饰器å˜é‡æ²¡æœ‰æ˜¾å¼å£°æ˜Žå˜é‡ç±»åž‹ï¼Œå£°æ˜Žany,编译拦截ç‰çº§ç”±WARNå˜æˆERROR。 - -```ts -// ArkTS:ERROR Please define an explicit type, not any. -@State isLunar: any = false -``` - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -状æ€è£…饰器å˜é‡å£°æ˜Žå…·ä½“çš„å˜é‡ç±»åž‹æ›¿ä»£any。 - -## cl.arkui.2 自定义组件æˆå‘˜å˜é‡åˆå§‹åŒ–的规则与约æŸã€‚ - -ä¸å…许从父组件åˆå§‹åŒ–`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ã€‚ - -**示例:** - -```ts -let NextID: number = 0; - -@Observed -class ClassA { - public id: number; - public c: number; - - constructor(c: number) { - this.id = NextID++; - this.c = c; - } -} - -@Entry -@Component -struct LocalStorageComponent { - build() { - Column() { - Child({ - /* ArkTS:ERROR Property 'simpleVarName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - simpleVarName: 1, - /* ArkTS:ERROR Property 'objectName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - objectName: new ClassA(1) - }) - } - } -} - -@Component -struct Child { - @LocalStorageLink("storageSimpleProp") simpleVarName: number = 0; - @LocalStorageProp("storageObjectProp") objectName: ClassA = new ClassA(1); - - build() { - } -} -``` - -**å˜æ›´å½±å“** - -如果父组件åˆå§‹åŒ–`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ï¼Œç¼–译拦截ç‰çº§ç”±WARNå˜æˆERROR。 - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -æž„é€ å组件时,ä¸å¯¹å组件的`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡è¿›è¡Œèµ‹å€¼ã€‚ - -如果需è¦åœ¨çˆ¶ç»„件ä¸ä¿®æ”¹å组件的`@LocalStorageLink`, `@LocalStorageProp`修饰的å˜é‡ï¼Œåˆ™ä½¿ç”¨LocalStorageæ供的API接å£æ–¹æ³•(比如set方法)赋值。 - -## cl.arkui.3 PromptAction模å—ä¸ï¼Œæ–‡æœ¬æ示框toastçš„bottom属性å«ä¹‰å˜æ›´ã€‚ - -文本æ示框toastçš„bottom属性值的å«ä¹‰ï¼Œä»Žæ–‡æœ¬æ示框上边沿到å±å¹•ä¸‹è¾¹æ²¿ï¼Œå˜æ›´ä¸ºæ–‡æœ¬æ示框下边沿到å±å¹•ä¸‹è¾¹æ²¿ã€‚ - -**示例:** - -```ts -import promptAction from '@ohos.promptAction'; -@Entry -@Component -struct Index { - build() { - Row() { - Button() - .onClick(() => { - try { - promptAction.showToast({ - message: 'Message Info', - duration: 2000 - }); - } catch (error) { - console.error(`showToast args error code is ${error.code}, message is ${error.message}`); - }; - }) - } - } -} -``` - -**å˜æ›´å½±å“** - -PromptAction模å—ä¸ï¼Œæ–‡æœ¬æ示框toastçš„bottom属性设置åŒæ ·çš„数值,会由于编译器所使用的API版本是å¦ä¸ºAPI version 10+而有所差异。 - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -编译器采用API version 9或以往版本以ä¿æŒä¹‹å‰çš„æ ·å¼ï¼Œæˆ–者采用API version 10åŠä»¥ä¸Šç‰ˆæœ¬ä»¥é‡‡ç”¨æ–°æ ·å¼ã€‚ - -## cl.arkui.4 AlertDialog控件内容布局å˜æ›´ã€‚ - -AlertDialogçš„å†…å®¹å±žæ€§éƒ¨åˆ†ä¼šæ ¹æ®ï¼š1ï¼‰æœ‰æ— æ ‡é¢˜title,2)是å¦ä¸ºå•è¡Œæ–‡æœ¬ï¼Œæ¡ä»¶ä¸åŒè€Œå¸ƒå±€æœ‰æ‰€ä¸åŒã€‚ - -ç›®å‰è§„æ ¼ï¼šä»…æ— æ ‡é¢˜titleçš„å•è¡Œæ–‡æœ¬æƒ…况下为居ä¸ï¼Œå…¶ä½™æƒ…况文本左对é½ã€‚ - -**示例:** - -```ts -// xxx.ets -@Entry -@Component -struct AlertDialogExample { - build() { - Column({ space: 5 }) { - Button('one button dialog') - .onClick(() => { - AlertDialog.show( - { - title: 'title', - message: 'text'.repeat(20), - autoCancel: true, - alignment: DialogAlignment.Bottom, - offset: { dx: 0, dy: -20 }, - gridCount: 3, - confirm: { - value: 'button', - action: () => { - console.info('Button-clicking callback') - } - }, - cancel: () => { - console.info('Closed callbacks') - } - } - ) - }) - .backgroundColor(0x317aff) - }.width('100%').margin({ top: 5 }) - } -} -``` - -**å˜æ›´å½±å“** - -AlertDialog控件message属性对应的文本内容,布局效果å˜æ›´ã€‚ - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -æ— éœ€ä¸»åŠ¨é€‚é…,或者å¯ä»¥ä½¿ç”¨customDialogåšç›¸å…³å®žçŽ°ã€‚ - -## cl.arkui.5 popupé¿è®©è¡Œä¸ºä¼˜åŒ–。 - -å˜æ›´å‰ï¼Œpopupå‘生é¿è®©ä¼˜å…ˆåœ¨ä¸‹æ–¹ç©ºé—´æ‰¾ä½ç½®ï¼Œå¯¼è‡´åœ¨ä¸Šæ–¹ç©ºé—´å……è¶³ä¹Ÿæ— æ³•è®¾ç½®åœ¨ä¸Šæ–¹æ˜¾ç¤ºã€‚ - -ç›®å‰è§„æ ¼ï¼šæ ¹æ®å¼€å‘者设置,若设置在上方,优先在上方空间找ä½ç½®ï¼›è‹¥è®¾ç½®åœ¨ä¸‹æ–¹ï¼Œä¼˜å…ˆåœ¨ä¸Šä¸‹æ–¹ç©ºé—´æ‰¾ä½ç½®ã€‚ - -**å˜æ›´å½±å“** - -使用bindpopup属性,气泡é¿è®©è¡Œä¸ºä¼˜åŒ–。 - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -è‹¥å‘现使用场景ä¸ï¼Œä½¿ç”¨bindpopup属性,气泡出现ä½ç½®ä¸Žä¹‹å‰å‘生上下ä½ç½®å˜åŒ–,å¯é€šè¿‡è°ƒæ•´placementæ¢å¤ã€‚ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-datashare.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-datashare.md deleted file mode 100644 index 64a399d30f428d342fadf30bedf3955282c42466..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-datashare.md +++ /dev/null @@ -1,39 +0,0 @@ -# 分布å¼æ•°æ®ç®¡ç†å系统ChangeLog - -## cl.datashare.1 js-apis-data-dataShare API version 10开始托管数æ®PublishedItemä¸dataçš„æ•°æ®ç±»åž‹ä»ŽAshmemå˜æ›´ä¸ºArrayBuffer - -**å˜æ›´å½±å“** - -PublishedItemä¸dataçš„æ•°æ®ç±»åž‹ä»ŽAshmemå˜æ›´ä¸ºArrayBuffer - -## PublishedItem<sup>10+</sup> - -指定å‘布的数æ®ç±»åž‹ã€‚ - -**系统能力:** SystemCapability.DistributedDataManager.DataShare.Consumer - -| å称 | 类型 | å¿…å¡« | 说明 | -| -------- | -------- | -------- | -------- | -| key | string | 是 | 指定å‘布数æ®çš„键。 | -| data | string \| ArrayBuffer | 是 | 指定å‘布的数æ®ã€‚如果数æ®å¾ˆå¤§ï¼Œè¯·ä½¿ç”¨ArrayBuffer。 | -| subscriberId | string | 是 | 指定订阅者id。 | - -**适é…指导** -示例代ç 如下: - -**示例:** - -```ts -let arrayBuffer = new ArrayBuffer(1); -let version = 1; -let data : Array<dataShare.PublishedItem> = [{key:"key2", subscriberId:"11", data:arrayBuffer}]; -function publishCallback(err, result: Array<dataShare.OperationResult>) { - console.info("publishCallback " + JSON.stringify(result)); -} -try { - console.info("data length is:", data.length); - dataShareHelper.publish(data, "com.acts.ohos.data.datasharetest", version, publishCallback); -} catch (e) { - console.error("publish error " + JSON.stringify(e)); -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-device_manager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-device_manager.md deleted file mode 100644 index 308f9c565ed90c58594b25bf1366792914aebeaa..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-device_manager.md +++ /dev/null @@ -1,110 +0,0 @@ -# 设备管ç†ChangeLog -## cl.device_manager.1 接å£æƒé™å˜æ›´ - -从Openharmony 4.0.8.2版本开始,部分接å£æ–°å¢žæƒé™æ ¡éªŒã€‚ - -**å˜æ›´å½±å“** - -从Openharmony 4.0.8.2之åŽç‰ˆæœ¬å¼€å‘的应用,需è¦æŒæœ‰ç›¸åº”æƒé™ï¼Œå¦åˆ™æ— 法æ£å¸¸è°ƒç”¨æŽ¥å£ã€‚ - -**关键的接å£/组件å˜æ›´** - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | 新增æƒé™ | -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** release(): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getTrustedDeviceListSync(): Array<DeviceInfo> | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getTrustedDeviceListSync(isRefresh: boolean): Array<DeviceInfo>; | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getTrustedDeviceList(callback:AsyncCallback<Array<DeviceInfo>>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getTrustedDeviceList(): Promise<Array<DeviceInfo>> | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getLocalDeviceInfoSync(): DeviceInfo | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getLocalDeviceInfo(callback:AsyncCallback<DeviceInfo>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getLocalDeviceInfo(): Promise<DeviceInfo> | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getDeviceInfo(networkId: string, callback:AsyncCallback<DeviceInfo>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** getDeviceInfo(networkId: string): Promise<DeviceInfo> | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** startDeviceDiscovery(subscribeInfo: SubscribeInfo): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** stopDeviceDiscovery(subscribeId: number): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** publishDeviceDiscovery(publishInfo: PublishInfo): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** unPublishDeviceDiscovery(publishId: number): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{deviceId: string, pinToken ?: number}>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** unAuthenticateDevice(deviceInfo: DeviceInfo): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{deviceId: string, level: number}>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** setUserOperation(operateAction: number, params: string): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{registerInfo: string}>): void; | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** importCredential(credentialInfo: string, callback: AsyncCallback<{resultInfo: string}>): void; | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** deleteCredential(queryInfo: string, callback: AsyncCallback<{resultInfo: string}>): void; | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** on(type: 'uiStateChange', callback: Callback<{ param: string}>): void; | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** off(type: 'uiStateChange', callback?: Callback<{ param: string}>): void; | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** on(type: 'deviceFound', callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** off(type: 'deviceFound', callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** on(type: 'discoverFail', callback: Callback<{ subscribeId: number, reason: number }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** off(type: 'discoverFail', callback?: Callback<{ subscribeId: number, reason: number }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** on(type: 'serviceDie', callback: () => void): void | ohos.permission.ACCESS_SERVICE_DM | -| @ohos.distributedHardware.deviceManager | deviceManager | **function** off(type: 'serviceDie', callback?: () => void): void | ohos.permission.ACCESS_SERVICE_DM | - -**适é…指导** - -调用以上接å£ï¼Œéœ€è¦ç”³è¯·ç›¸åº”çš„æƒé™æ‰èƒ½æ£å¸¸è°ƒç”¨ã€‚ - - -## cl.device_manager.2 所有接å£è¿›è¡Œç³»ç»ŸæŽ¥å£æƒé™æ ¡éªŒ - -从Openharmony 4.0.8.2版本开始,所有接å£è¿›è¡Œç³»ç»ŸæŽ¥å£æƒé™æ ¡éªŒã€‚ - -**å˜æ›´å½±å“** - -éžç³»ç»Ÿåº”ç”¨æ— æ³•è°ƒç”¨ç³»ç»ŸæŽ¥å£ï¼Œå¦‚调用方为éžç³»ç»Ÿåº”用或未申请SystemApi相关æƒé™ï¼Œå°†æ— 法调用接å£ã€‚ - -**关键的接å£/组件å˜æ›´** - -所有接å£å‡è¿›è¡Œç³»ç»ŸæŽ¥å£æƒé™æ ¡éªŒï¼ŒæŽ¥å£æ˜Žç»†å¦‚下: - -| 接å£ã€æžšä¸¾æˆ–å˜é‡å | 类型 | 是å¦ä¸ºSystemApi | -| -------- | -------- | ------- | -| createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void; | interface | 是 | -| release(): void | interface | 是 | -| getTrustedDeviceListSync(): Array<DeviceInfo> | interface | 是 | -| getTrustedDeviceListSync(isRefresh: boolean): Array<DeviceInfo>; | interface | 是 | -| getTrustedDeviceList(callback:AsyncCallback<Array<DeviceInfo>>): void | interface | 是 | -| getTrustedDeviceList(): Promise<Array<DeviceInfo>> | interface | 是 | -| getLocalDeviceInfoSync(): DeviceInfo | interface | 是 | -| getLocalDeviceInfo(callback:AsyncCallback<DeviceInfo>): void | interface | 是 | -| getLocalDeviceInfo(): Promise<DeviceInfo> | interface | 是 | -| getDeviceInfo(networkId: string, callback:AsyncCallback<DeviceInfo>): void | interface | 是 | -| getDeviceInfo(networkId: string): Promise<DeviceInfo> | interface | 是 | -| startDeviceDiscovery(subscribeInfo: SubscribeInfo): void | interface | 是 | -| startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void | interface | 是 | -| stopDeviceDiscovery(subscribeId: number): void | interface | 是 | -| publishDeviceDiscovery(publishInfo: PublishInfo): void | interface | 是 | -| unPublishDeviceDiscovery(publishId: number): void | interface | 是 | -| authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{deviceId: string, pinToken ?: number}>): void |interface | 是 | -| unAuthenticateDevice(deviceInfo: DeviceInfo): void | interface | 是 | -| verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{deviceId: string, level: number}>): void | interface | 是 | -| setUserOperation(operateAction: number, params: string): void | interface | 是 | -| requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{registerInfo: string}>): void; | interface | 是 | -| importCredential(credentialInfo: string, callback: AsyncCallback<{resultInfo: string}>): void; | interface | 是 | -| deleteCredential(queryInfo: string, callback: AsyncCallback<{resultInfo: string}>): void; | interface | 是 | -| on(type: 'uiStateChange', callback: Callback<{ param: string}>): void; | interface | 是 | -| off(type: 'uiStateChange', callback?: Callback<{ param: string}>): void; | interface | 是 | -| on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | interface | 是 | -| off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void | interface | 是 | -| on(type: 'deviceFound', callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void | interface | 是 | -| off(type: 'deviceFound', callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void | interface | 是 | -| on(type: 'discoverFail', callback: Callback<{ subscribeId: number, reason: number }>): void | interface | 是 | -| off(type: 'discoverFail', callback?: Callback<{ subscribeId: number, reason: number }>): void | interface | 是 | -| on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void | interface | 是 | -| off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void | interface | 是 | -| on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void | interface | 是 | -| off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void | interface | 是 | -| on(type: 'serviceDie', callback: () => void): void | interface | 是 | -| off(type: 'serviceDie', callback?: () => void): void | interface | 是 | - -**适é…指导** - -调用以上接å£ï¼Œè°ƒç”¨æ–¹éœ€è¦ä¸ºç³»ç»Ÿåº”用或申请SystemApi相关æƒé™ã€‚ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-distributeddatamgr.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-distributeddatamgr.md deleted file mode 100644 index a1e2e70d34b8df7788990fa4f15c1544acb1c147..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-distributeddatamgr.md +++ /dev/null @@ -1,192 +0,0 @@ - -# 分布å¼æ•°æ®ç®¡ç†å系统ChangeLog - -## cl.distributeddatamgr.1 js-apis-application-dataShareExtensionAbility API version 9开始支æŒçš„contextå±žæ€§åˆ é™¤ï¼Œæ–°å¢žAPI version 10çš„context属性å–消å¯é€‰æ ‡è¯†ç¬¦ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,使用context需切æ¢SDK至API version 10。 - -**关键接å£/组件å˜æ›´** - -åˆ é™¤çš„API version 9的接å£åŽŸåž‹ï¼š - - ```ts - /** - * Indicates datashare extension ability context. - * - * @type ?{ ExtensionContext } - * @syscap SystemCapability.DistributedDataManager.DataShare.Provider - * @systemapi - * @StageModelOnly - * @since 9 - */ - context?: ExtensionContext; - ``` -新增的API version 10的接å£åŽŸåž‹ï¼š - - ```ts - /** - * Indicates datashare extension ability context. - * - * @type { ExtensionContext } - * @syscap SystemCapability.DistributedDataManager.DataShare.Provider - * @systemapi - * @StageModelOnly - * @since 10 - */ - context: ExtensionContext; - ``` - -## cl.distributeddatamgr.2 OH_Predicates 结构体的函数指针æˆå‘˜å˜é‡è¿”回值类型由OH_Predicates å˜æ›´ä¸ºOH_Predicates * - -**å˜æ›´å½±å“** - -该å˜æ›´ä¸ºä¸å…¼å®¹å˜æ›´ï¼Œç”¨æˆ·ä½¿ç”¨OH_Predicates结构体ä¸çš„函数指针å˜é‡æ—¶ï¼Œéœ€è¦æŒ‰ç…§æ–°ç±»åž‹è¿›è¡Œä½¿ç”¨ã€‚ - -**关键接å£/组件å˜æ›´** - -修改å‰çš„OH_Predicatesæˆå‘˜å˜é‡åŽŸåž‹ï¼š - - ```ts - OH_Predicates (*equalTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*notEqualTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*beginWrap)(OH_Predicates *predicates); - OH_Predicates (*endWrap)(OH_Predicates *predicates); - OH_Predicates (*orOperate)(OH_Predicates *predicates); - OH_Predicates (*andOperate)(OH_Predicates *predicates); - OH_Predicates (*isNull)(OH_Predicates *predicates, const char *field); - OH_Predicates (*isNotNull)(OH_Predicates *predicates, const char *field); - OH_Predicates (*like)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*between)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*notBetween)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*greaterThan)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*lessThan)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*greaterThanOrEqualTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*lessThanOrEqualTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*orderBy)(OH_Predicates *predicates, const char *field, OH_OrderType type); - OH_Predicates (*distinct)(OH_Predicates *predicates); - OH_Predicates (*limit)(OH_Predicates *predicates, unsigned int value); - OH_Predicates (*offset)(OH_Predicates *predicates, unsigned int rowOffset); - OH_Predicates (*groupBy)(OH_Predicates *predicates, char const *const *fields, int length); - OH_Predicates (*in)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*notIn)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates (*clear)(OH_Predicates *predicates); - ``` - -修改åŽçš„OH_Predicatesæˆå‘˜å˜é‡åŽŸåž‹ï¼š - - ```ts - OH_Predicates *(*equalTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*notEqualTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*beginWrap)(OH_Predicates *predicates); - OH_Predicates *(*endWrap)(OH_Predicates *predicates); - OH_Predicates *(*orOperate)(OH_Predicates *predicates); - OH_Predicates *(*andOperate)(OH_Predicates *predicates); - OH_Predicates *(*isNull)(OH_Predicates *predicates, const char *field); - OH_Predicates *(*isNotNull)(OH_Predicates *predicates, const char *field); - OH_Predicates *(*like)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*between)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*notBetween)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*greaterThan)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*lessThan)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*greaterThanOrEqualTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*lessThanOrEqualTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*orderBy)(OH_Predicates *predicates, const char *field, OH_OrderType type); - OH_Predicates *(*distinct)(OH_Predicates *predicates); - OH_Predicates *(*limit)(OH_Predicates *predicates, unsigned int value); - OH_Predicates *(*offset)(OH_Predicates *predicates, unsigned int rowOffset); - OH_Predicates *(*groupBy)(OH_Predicates *predicates, char const *const *fields, int length); - OH_Predicates *(*in)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*notIn)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject); - OH_Predicates *(*clear)(OH_Predicates *predicates); - ``` - -**适é…指导** -示例代ç 如下: - -å˜æ›´å‰ä»£ç 示例: - -``` -predicates->beginWrap(predicates).equalTo(predicates, "data1", valueObject).orOperate(predicates); -``` - -å˜æ›´åŽä»£ç 示例: - -``` -predicates->beginWrap(predicates)->equalTo(predicates, "data1", valueObject)->orOperate(predicates); -``` - -## cl.distributeddatamgr.3 OH_Rdb_ErrCode结构体的错误ç ä¿¡æ¯å˜æ›´ - -**å˜æ›´å½±å“** - -该å˜æ›´ä¸»è¦ä¸ºå°† RDB_ERR_INVALID_ARGS, RDB_ERR_OK错误ç 更改为RDB_E_INVALID_ARGSå’ŒRDB_OKï¼Œå¹¶å¢žåŠ å…¶ä»–é”™è¯¯ç 。 - -**关键接å£/组件å˜æ›´** - -修改å‰çš„OH_Rdb_ErrCodeæˆå‘˜å˜é‡åŽŸåž‹ï¼š - - ```ts - RDB_ERR_INVALID_ARGS = -2, - RDB_ERR = -1, - RDB_ERR_OK = 0 - ``` - -修改åŽçš„OH_Predicatesæˆå‘˜å˜é‡åŽŸåž‹ï¼š - - ```ts - RDB_ERR = -1, - RDB_OK = 0, - E_BASE = 14800000, - RDB_E_NOT_SUPPORTED = 801, - RDB_E_ERROR = E_BASE, - RDB_E_INVALID_ARGS = (E_BASE + 1), - RDB_E_CANNOT_UPDATE_READONLY = (E_BASE + 2), - RDB_E_REMOVE_FILE = (E_BASE + 3), - RDB_E_EMPTY_TABLE_NAME = (E_BASE + 5), - RDB_E_EMPTY_VALUES_BUCKET = (E_BASE + 6), - RDB_E_EXECUTE_IN_STEP_QUERY = (E_BASE + 7), - RDB_E_INVALID_COLUMN_INDEX = (E_BASE + 8), - RDB_E_INVALID_COLUMN_TYPE = (E_BASE + 9), - RDB_E_EMPTY_FILE_NAME = (E_BASE + 10), - RDB_E_INVALID_FILE_PATH = (E_BASE + 11), - RDB_E_TRANSACTION_IN_EXECUTE = (E_BASE + 12), - RDB_E_INVALID_STATEMENT = (E_BASE + 13), - RDB_E_EXECUTE_WRITE_IN_READ_CONNECTION = (E_BASE + 14), - RDB_E_BEGIN_TRANSACTION_IN_READ_CONNECTION = (E_BASE + 15), - RDB_E_NO_TRANSACTION_IN_SESSION = (E_BASE + 16), - RDB_E_MORE_STEP_QUERY_IN_ONE_SESSION = (E_BASE + 17), - RDB_E_NO_ROW_IN_QUERY = (E_BASE + 18), - RDB_E_INVALID_BIND_ARGS_COUNT = (E_BASE + 19), - RDB_E_INVALID_OBJECT_TYPE = (E_BASE + 20), - RDB_E_INVALID_CONFLICT_FLAG = (E_BASE + 21), - RDB_E_HAVING_CLAUSE_NOT_IN_GROUP_BY = (E_BASE + 22), - RDB_E_NOT_SUPPORTED_BY_STEP_RESULT_SET = (E_BASE + 23), - RDB_E_STEP_RESULT_SET_CROSS_THREADS = (E_BASE + 24), - RDB_E_STEP_RESULT_QUERY_NOT_EXECUTED = (E_BASE + 25), - RDB_E_STEP_RESULT_IS_AFTER_LAST = (E_BASE + 26), - RDB_E_STEP_RESULT_QUERY_EXCEEDED = (E_BASE + 27), - RDB_E_STATEMENT_NOT_PREPARED = (E_BASE + 28), - RDB_E_EXECUTE_RESULT_INCORRECT = (E_BASE + 29), - RDB_E_STEP_RESULT_CLOSED = (E_BASE + 30), - RDB_E_RELATIVE_PATH = (E_BASE + 31), - RDB_E_EMPTY_NEW_ENCRYPT_KEY = (E_BASE + 32), - RDB_E_CHANGE_UNENCRYPTED_TO_ENCRYPTED = (E_BASE + 33), - RDB_E_CHANGE_ENCRYPT_KEY_IN_BUSY = (E_BASE + 34), - RDB_E_STEP_STATEMENT_NOT_INIT = (E_BASE + 35), - RDB_E_NOT_SUPPORTED_ATTACH_IN_WAL_MODE = (E_BASE + 36), - RDB_E_CREATE_FOLDER_FAIL = (E_BASE + 37), - RDB_E_SQLITE_SQL_BUILDER_NORMALIZE_FAIL = (E_BASE + 38), - RDB_E_STORE_SESSION_NOT_GIVE_CONNECTION_TEMPORARILY = (E_BASE + 39), - RDB_E_STORE_SESSION_NO_CURRENT_TRANSACTION = (E_BASE + 40), - RDB_E_NOT_SUPPORT = (E_BASE + 41), - RDB_E_INVALID_PARCEL = (E_BASE + 42), - RDB_E_QUERY_IN_EXECUTE = (E_BASE + 43), - RDB_E_SET_PERSIST_WAL = (E_BASE + 44), - RDB_E_DB_NOT_EXIST = (E_BASE + 45), - RDB_E_ARGS_READ_CON_OVERLOAD = (E_BASE + 46), - RDB_E_WAL_SIZE_OVER_LIMIT = (E_BASE + 47), - RDB_E_CON_OVER_LIMIT = (E_BASE + 48) - ``` - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-mediaLibrary.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-mediaLibrary.md deleted file mode 100644 index caade19501be86ec1eec565b49a799fa86d7dada..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-mediaLibrary.md +++ /dev/null @@ -1,147 +0,0 @@ -# 文件å系统ChangeLog - -## cl.file.1 mediaLibrary相关接å£å…¼å®¹æ€§å˜æ›´ - -mediaLibrary部分接å£å…¼å®¹æ€§å˜æ›´ã€‚ - -**å˜æ›´å½±å“** - -[mediaLibrary](../../../application-dev/reference/apis/js-apis-medialibrary.md)部分接å£å…¼å®¹æ€§å˜æ›´ã€‚ -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„接å£çš„è¿ä»£æ›´æ–°ã€‚ - -**关键接å£/组件å˜æ›´** - -| 模å—å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ------------------------- | ------------------------------------------------------------ | -------- | -| medialibrary | **function** getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void | 接å£å…¼å®¹æ€§å˜æ›´ | -| medialibrary | **function** getFileAssets(options: MediaFetchOptions): Promise<FetchFileResult> | 接å£å…¼å®¹æ€§å˜æ›´ | -| medialibrary | **function** createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback<FileAsset>): void| 接å£å…¼å®¹æ€§å˜æ›´ | -| medialibrary | **function** createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise<FileAsset>| 接å£å…¼å®¹æ€§å˜æ›´ | -| medialibrary | **function** getAlbums(options: MediaFetchOptions, callback: AsyncCallback<Array<Album>>): void | 接å£å…¼å®¹æ€§å˜æ›´ | -| medialibrary | **function** getAlbums(options: MediaFetchOptions): Promise<Array<Album>> | 接å£å…¼å®¹æ€§å˜æ›´ | -| medialibrary | **function** FileAsset.commitModify(callback: AsyncCallback<void>): void | 接å£å…¼å®¹æ€§å˜æ›´ | -| medialibrary | **function** FileAsset.commitModify(): Promise<void> | 接å£å…¼å®¹æ€§å˜æ›´ | - -**适é…指导** - -**getFileAssets接å£èŽ·å–文件资æºå…¼å®¹æ€§å½±å“:** - -在API version 10上,摒弃了物ç†ç›®å½•ä½œä¸ºç›¸å†Œçš„设计,采用了逻辑相册的设计,一个相册ä¸å¯ä»¥æ·»åŠ 多个文件,一个文件也å¯ä»¥åœ¨å¤šä¸ªç›¸å†Œä¸å‘ˆçŽ°ã€‚新的设计将带æ¥parentã€albumIdã€albumUriå’ŒalbumName属性使用上的ä¸å…¼å®¹ï¼Œæ— 法作为MediaFetchOptionsçš„å‚数在getFileAssets接å£ä¸ä½¿ç”¨ã€‚下é¢ç¤ºä¾‹ä»£ç 为错误示例: - -1. 使用[getMediaLibrary](../../../application-dev/reference/apis/js-apis-medialibrary.md#medialibrarygetmedialibrary)接å£èŽ·å–媒体库实例。 -2. 创建检索æ¡ä»¶[MediaFetchOptions](../../../application-dev/reference/apis/js-apis-medialibrary.md#mediafetchoptions7)。 -3. 调用[getFileAssets](../../../application-dev/reference/apis/js-apis-medialibrary.md#getfileassets7)接å£èŽ·å–文件资æºã€‚ - -**错误示例:** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; - -async function example() { - try { - let context = getContext(this); - let media = mediaLibrary.getMediaLibrary(context); - let fileKeyObj = mediaLibrary.FileKey; - let albumId = 1; - let getImageOp = { - selections: fileKeyObj.ALBUM_ID + '= ?', // 使用parentã€albumIdã€albumUriå’ŒalbumName属性查询å‡æ— 法获å–文件资æºã€‚ - selectionArgs: [albumId.toString()], - }; - const fetchFileResult = await media.getFileAssets(getImageOp); // 查询失败,获å–çš„fetchFileResult为空。 - const fileAsset = await fetchFileResult.getFirstObject(); - console.info('mediaLibrary fileAsset displayName: ' + fileAsset.displayName); - } catch (err) { - console.error('mediaLibrary fail, err: ' + err); - } -} -``` - -推è使用以下方å¼è°ƒç”¨getFileAssets接å£èŽ·å–文件资æºï¼š - -**æ£ç¡®ç¤ºä¾‹ï¼š** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; - -async function example() { - try { - let context = getContext(this); - let media = mediaLibrary.getMediaLibrary(context); - let fileKeyObj = mediaLibrary.FileKey; - let imageType = mediaLibrary.MediaType.IMAGE; - let getImageOp = { - selections: fileKeyObj.MEDIA_TYPE + '= ?', - selectionArgs: [imageType.toString()], // 查询所有图片类型的文件。 - }; - const fetchFileResult = await media.getFileAssets(getImageOp); - const fileAsset = await fetchFileResult.getFirstObject(); - console.info('mediaLibrary fileAsset displayName: ' + fileAsset.displayName); - } catch (err) { - console.error('mediaLibrary fail, err: ' + err); - } -} -``` - -**createAsset接å£åˆ›å»ºç›¸å†Œå…¼å®¹æ€§å½±å“:** - -由于API version 10çš„SDK上relativePath和相册没有关è”关系,文件创建æˆåŠŸåŽï¼ŒrelativePath的最åŽä¸€çº§ç›®å½•ä¸ä¼šä½œä¸ºç›¸å†Œå‘ˆçŽ°ã€‚ - -**getAlbums接å£èŽ·å–相册兼容性影å“:** - -由于API version 10çš„SDK上relativePath和相册没有关è”关系,在使用getAlbumsæ—¶ä¸æ”¯æŒrelativePath作为查询æ¡ä»¶ï¼Œå¹¶ä¸”ALBUM_NAMEå‚æ•°åªèƒ½ä½¿ç”¨"Camera"å’Œ"Screenshots"。下é¢ç¤ºä¾‹ä»£ç 为错误示例: - -1. 使用[getMediaLibrary](../../../application-dev/reference/apis/js-apis-medialibrary.md#medialibrarygetmedialibrary)接å£èŽ·å–媒体库实例。 -2. 创建相册检索æ¡ä»¶[MediaFetchOptions](../../../application-dev/reference/apis/js-apis-medialibrary.md#mediafetchoptions7)。 -3. 调用[getAlbums](../../../application-dev/reference/apis/js-apis-medialibrary.md#getalbums7)接å£èŽ·å–相册。 - -**错误示例:** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; - -async function example() { - try { - let context = getContext(this); - let media = mediaLibrary.getMediaLibrary(context); - let AlbumNoArgsfetchOp = { - selections: mediaLibrary.FileKey.ALBUM_NAME + ' = ?', - selectionArgs: ['新建相册1'], // 获å–albumName为新建相册1的相册。 - }; - const albumList = await media.getAlbums(AlbumNoArgsfetchOp); // 查询失败,获å–çš„fetchFileResult为空。 - for (let i = 0; i < albumList.length; i++) { - console.info('mediaLibrary album albumName: ' + albumList[i].albumName); - } - } catch (err) { - console.error('mediaLibrary fail, err: ' + err); - } -} -``` - -使用如下示例代ç å¯ä»¥èŽ·å–Cameraå’ŒScreenshots相册。 - -**æ£ç¡®ç¤ºä¾‹ï¼š** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; - -async function example() { - try { - let context = getContext(this); - let media = mediaLibrary.getMediaLibrary(context); - let AlbumNoArgsfetchOp = { - selections: mediaLibrary.FileKey.ALBUM_NAME + ' = ? OR ' + mediaLibrary.FileKey.ALBUM_NAME + ' = ?', - selectionArgs: ['Camera', 'Screenshots'], // 获å–相机相册和截å±å½•å±ç›¸å†Œã€‚ - }; - const albumList = await media.getAlbums(AlbumNoArgsfetchOp); - for (let i = 0; i < albumList.length; i++) { - console.info('mediaLibrary album albumName: ' + albumList[i].albumName); - } - } catch (err) { - console.error('mediaLibrary fail, err: ' + err); - } -} -``` - -**FileAsset.commitModify接å£èŽ·å–相册兼容性影å“:** - -在API version 10çš„SDK上去掉了针对audioæ— æ„义的orientation属性,在使用commitModify接å£æ—¶å°†æ— 法对audio资æºçš„orientation属性进行修改。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-miscdevice.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-miscdevice.md deleted file mode 100755 index 671a7e017c9778cade291e1a987a509c77b1475b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.2/changelogs-miscdevice.md +++ /dev/null @@ -1,80 +0,0 @@ -# æ³›Sensorå系统Changelog - - -## cl.vibrator.1 新增自定义振动相关属性 - -新增自定义振动效果属性VibrateFromFile,自定义振动é…置文件æ述符属性HapticFileDescriptor;振动下å‘接å£startVibration支æŒçš„振动效果由VibrateEffect = VibrateTime | VibratePreset扩展为VibrateEffect = VibrateTime | VibratePreset | VibrateFromFile。 - -**å˜æ›´å½±å“** - -基于OpenHarmony4.0.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,å¯ä½¿ç”¨VibrateFromFile属性在支æŒè‡ªå®šä¹‰æŒ¯åŠ¨çš„设备上æ’放自定义振动文件ä¸é…置的振动åºåˆ—。 - -**关键接å£/组件å˜æ›´** - -@ohos.vibrator.d.tsä¸æ–°å¢žå±žæ€§VibrateFromFile,HapticFileDescriptor。 - -| 模å—å | ç±»å | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| @ohos.vibrator.d.ts | vibrator | HapticFileDescriptor | 新增 | -| @ohos.vibrator.d.ts | vibrator | VibrateFromFile | 新增 | - -**适é…指导**<br> - -通过资æºç®¡ç†æŽ¥å£èŽ·å–振动é…置文件资æºï¼Œå¯åŠ¨è‡ªå®šä¹‰æŒ¯åŠ¨å¹¶åœæ¢ã€‚ - -```ts -import vibrator from '@ohos.vibrator'; -import resourceManager from '@ohos.resourceManager'; - -const FILE_NAME = "xxx.json"; - -async function openResource(fileName) { - let fileDescriptor = undefined; - let mgr = await resourceManager.getResourceManager(); - await mgr.getRawFd(fileName).then(value => { - fileDescriptor = {fd: value.fd, offset: value.offset, length: value.length}; - console.log('openResource success fileName: ' + fileName); - }).catch(error => { - console.log('openResource err: ' + error); - }); - return fileDescriptor; -} - -async function closeResource(fileName) { - let mgr = await resourceManager.getResourceManager(); - await mgr.closeRawFd(fileName).then(()=> { - console.log('closeResource success fileName: ' + fileName); - }).catch(error => { - console.log('closeResource err: ' + error); - }); -} - -// 获å–振动文件资æºæ述符 -let rawFd = openResource(FILE_NAME); -// 使用startVibrationã€stopVibration需è¦æ·»åŠ ohos.permission.VIBRATEæƒé™ -try { - // å¯åŠ¨è‡ªå®šä¹‰æŒ¯åŠ¨ - vibrator.startVibration({ - type: "file", - hapticFd: { fd: rawFd.fd, offset: rawFd.offset, length: rawFd.length } - }, { - usage: "alarm" - }).then(() => { - console.info('startVibration success'); - }, (error) => { - console.info('startVibration error'); - }); - // åœæ¢æ‰€æœ‰ç±»åž‹çš„马达振动 - vibrator.stopVibration(function (error) { - if (error) { - console.log('error.code' + error.code + 'error.message' + error.message); - return; - } - console.log('Callback returned to indicate successful.'); - }) -} catch (error) { - console.info('errCode: ' + error.code + ' ,msg: ' + error.message); -} -// å…³é—æŒ¯åŠ¨æ–‡ä»¶èµ„æº -closeResource(FILE_NAME); -``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.3/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.3/changelogs-arkui.md deleted file mode 100644 index 05ba4980936dc7ef2f1e0625edb6da85284d8919..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.3/changelogs-arkui.md +++ /dev/null @@ -1,9 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 FormComponent组件ä¸çš„JSå¡ç‰‡ç¦ç”¨ç½‘络图片 - -FormComponent组件ä¸çš„JSå¡ç‰‡ç¦æ¢ä½¿ç”¨ç½‘络图片。 - -**å˜æ›´å½±å“** - -å½±å“FormComponentä¸JSå¡ç‰‡ä¸ç½‘ç»œå›¾ç‰‡çš„åŠ è½½æ˜¾ç¤ºã€‚å˜æ›´å‰JSå¡ç‰‡æ”¯æŒç½‘ç»œå›¾ç‰‡åŠ è½½ï¼Œå˜æ›´åŽJSå¡ç‰‡ä¸æ”¯æŒç½‘ç»œå›¾ç‰‡çš„åŠ è½½ã€‚å˜æ›´åŽå»ºè®®å°†æ‰€éœ€çš„网络图片下载至内å˜åŽåˆ·æ–°ã€‚ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/changelogs-arkui.md deleted file mode 100644 index 2266cab6e95a3a945755cc8d7c4448e72089e12b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/changelogs-arkui.md +++ /dev/null @@ -1,83 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 stack组件alignContent属性和通用属性alignç”Ÿæ•ˆé¡ºåº - -**说明** -属性之间的处ç†åŽŸåˆ™ï¼šå¦‚果功能相åŒï¼Œå±žæ€§æŒ‰è¦†ç›–处ç†å³åŽè®¾ç½®çš„生效。alignContentå’Œalign功能相åŒï¼Œéƒ½æ˜¯å组件在stack容器组件的对é½æ–¹å¼ã€‚ - -**示例:** -```ts -// xxx.ets -@Entry -@Component -struct StackExample { - build() { - Stack({alignContent:Alignment.Start}){ - Text("Stack's child").backgroundColor(Color.Brown).height("100").width(100) - } - .width(300).height(300) - .backgroundColor(Color.Pink) - .align(Alignment.Center) - .alignContent(Alignment.TopEnd) - } -} -``` - -API version 9:å组件按照通用属性align布局 - -![stack](figures/api9.png) - - -API version 10åŠä»¥åŽï¼šå组件按照åŽè®¾ç½®çš„alignContent布局 - -![stack](figures/api10_and_later.png) - -**å˜æ›´å½±å“** - -alignContentå’Œalign都设置时,API version 9åŠä»¥å‰æ˜¯align生效,API version 10åŠä»¥åŽæ˜¯åŽè®¾ç½®çš„生效。 - -## cl.arkui.2 canvas组件fillText接å£å’ŒstrokeText接å£è¡Œä¸ºå˜æ›´ - -**说明** -fillTextå’ŒstrokeText接å£åœ¨ç»˜åˆ¶æ–‡å—时,ä¸ä¼šæ¢è¡Œã€‚ - -**示例:** -```ts -// xxx.ets -@Entry -@Component -struct FillText { - private settings: RenderingContextSettings = new RenderingContextSettings(true) - private context: CanvasRenderingContext2D = new CanvasRenderingContext2D(this.settings) - - build() { - Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { - Canvas(this.context) - .width('100%') - .height('100%') - .backgroundColor('#ffff00') - .onReady(() =>{ - this.context.font = '50px sans-serif' - this.context.fillText("Hello World!", 0, 100) - this.context.fillText("Hello World! This is a long string to fully show", 0, 150) - this.context.strokeText("Hello World!", 0, 250) - this.context.strokeText("Hello World! This is a long string to fully show", 0, 300) - }) - } - .width('100%') - .height('100%') - } -} -``` - -API version 9:fillTextå’ŒstrokeText接å£åœ¨ç»˜åˆ¶æ–‡å—æ—¶ï¼Œä¼šæ ¹æ®ç»„件宽度æ¢è¡Œã€‚ - -![stack](figures/api9filltext.jpeg) - -API version 10åŠä»¥åŽï¼šfillTextå’ŒstrokeText接å£åœ¨ç»˜åˆ¶æ–‡å—时,ä¸ä¼šæ¢è¡Œã€‚ - -![stack](figures/api10filltext.jpeg) - -**å˜æ›´å½±å“** - -fillTextå’ŒstrokeText接å£åœ¨ç»˜åˆ¶æ–‡å—时,API version 9åŠä»¥å‰æ˜¯æ ¹æ®ç»„件宽度æ¢è¡Œï¼ŒAPI version 10åŠä»¥åŽæ˜¯ä¸ä¼šæ¢è¡Œã€‚ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10_and_later.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10_and_later.png deleted file mode 100644 index a5c7e90386f90da43daebe82165ef728dbf0d1d0..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10_and_later.png and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10filltext.jpeg b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10filltext.jpeg deleted file mode 100755 index 36593fdc0a4f8386c703094e58543c19a83c16fd..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10filltext.jpeg and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9.png deleted file mode 100644 index ab945f0162be71defb1d3f6de5ae59fcb15a846e..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9.png and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9filltext.jpeg b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9filltext.jpeg deleted file mode 100755 index f4b4ecdfaafa614fc42af83d847654305d492fb9..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9filltext.jpeg and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.6/changelogs-multimedia.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.6/changelogs-multimedia.md deleted file mode 100644 index 7a1ddaadbe1fba7871e68605f4f97aed4bfab20a..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.6/changelogs-multimedia.md +++ /dev/null @@ -1,17 +0,0 @@ -# multimediaå系统ChangeLog - -## cl.multimedia.1 音视频å°è£…/解å°è£…头文件引用路径å˜æ›´ - -| å°è£…解å°è£…头文件 | 原引用路径 | 现引用路径 | -| ------------------------------- | ------------------------------------- | ------------------------------------- | -| native_avmuxer.h | <multimedia/native_avmuxer.h> | <multimedia/player_framework/native_avmuxer.h> | -| native_avdemuxer.h | <multimedia/native_avdemuxer.h> | <multimedia/player_framework/native_avdemuxer.h> | -| native_avsource.h | <multimedia/native_avsource.h> | <multimedia/player_framework/native_avsource.h> | - -**å˜æ›´å½±å“** - -对于已å‘布的SDK,å¯èƒ½å½±å“三方应用的兼容性。 - -**适é…指导** - -å¼€å‘人员需è¦åœ¨å¼•ç”¨å°è£…解å°è£…头文件时,修改头文件引用路径。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-accessToken.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-accessToken.md deleted file mode 100644 index 45bec1d5664d7a53a0b60cb10487f5ffdfe0889a..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-accessToken.md +++ /dev/null @@ -1,71 +0,0 @@ -# 程åºè®¿é—®æŽ§åˆ¶å系统ChangeLog - -## cl.accessToken.1 "媒体和文件"æƒé™ç»„拆分 -原"媒体和文件"æƒé™ç»„内包å«ä»¥ä¸‹æƒé™ï¼š -- ohos.permission.MEDIA_LOCATION -- ohos.permission.READ_MEDIA -- ohos.permission.WRITE_MEDIA - -对这三个æƒé™æ‰€å±žçš„æƒé™ç»„进行调整: -- ohos.permission.MEDIA_LOCATION 划分到 "图片和视频" æƒé™ç»„ -- ohos.permission.READ_MEDIA å’Œ ohos.permission.WRITE_MEDIA 划分到 "文件" æƒé™ç»„。 - - -**å˜æ›´å½±å“** - -æƒé™å¼¹çª—是以æƒé™ç»„为å•ä½è¿›è¡Œå±•ç¤ºçš„。 - -- 在å˜æ›´å‰ï¼Œå¦‚果开å‘者åŒæ—¶ç”³è¯·ä»¥ä¸Šä¸‰ä¸ªæƒé™ï¼Œåº”用仅会弹一次申请"媒体和文件"æƒé™çš„弹窗; -- 在å˜æ›´åŽï¼Œå¦‚果开å‘者åŒæ—¶ç”³è¯·ä»¥ä¸Šä¸‰ä¸ªæƒé™ï¼Œåº”用会分别弹一次申请"图片和视频"æƒé™çš„弹窗和申请"文件"æƒé™çš„弹窗; - -**关键的接å£/组件å˜æ›´** - -修改å‰çš„æƒé™ç»„归属: - -| æƒé™ | 所属æƒé™ç»„ | -| -------- | ---------------------------- | -| ohos.permission.MEDIA_LOCATION | 媒体和文件 | -| ohos.permission.READ_MEDIA | 媒体和文件 | -| ohos.permission.WRITE_MEDIA | 媒体和文件 | - -修改åŽçš„æƒé™ç»„归属: - -| æƒé™ | 所属æƒé™ç»„ | -| -------- | ---------------------------- | -| ohos.permission.MEDIA_LOCATION | 图片和视频 | -| ohos.permission.READ_MEDIA | 文件 | -| ohos.permission.WRITE_MEDIA | 文件 | - - -**适é…指导** - -应用开å‘è€…æ— éœ€é€‚é…。 - -## cl.accessToken.2 “电è¯â€/“信æ¯â€/“通è¯è®°å½•â€æƒé™ç»„çš„æƒé™ç”³è¯·æ–¹å¼è°ƒæ•´ - “电è¯â€/“信æ¯â€/“通è¯è®°å½•â€æƒé™ç»„的共包å«ä»¥ä¸‹æƒé™ï¼š -- ohos.permission.ANSWER_CALL -- ohos.permission.MANAGE_VOICEMAIL -- ohos.permission.READ_CELL_MESSAGES -- ohos.permission.READ_MESSAGES -- ohos.permission.RECEIVE_MMS -- ohos.permission.RECEIVE_SMS -- ohos.permission.RECEIVE_WAP_MESSAGES -- ohos.permission.SEND_MESSAGES -- ohos.permission.READ_CALL_LOG -- ohos.permission.WRITE_CALL_LOG -- ohos.permission.MEDIA_LOCATION - -当å‰è°ƒæ•´è¿™äº›æƒé™çš„申请方å¼ï¼šè¿™äº›æƒé™ä»…能通过预授æƒæ–¹å¼è¿›è¡ŒæŽˆæƒã€‚ - - -**å˜æ›´å½±å“** - -当å‰ç”³è¯·è¿™äº›æƒé™çš„ç³»ç»Ÿåº”ç”¨æ— æ³•é€šè¿‡æƒé™å¼¹çª—进行æƒé™è¯·æ±‚,仅能通过预授æƒæ–¹å¼èŽ·å–æƒé™ã€‚ - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -申请上述æƒé™æ—¶ï¼Œéœ€è¦è°ƒæ•´æƒé™è¯·æ±‚æ–¹å¼ï¼Œç”³è¯·æƒé™é¢„授æƒã€‚ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-arkcompiler.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-arkcompiler.md deleted file mode 100644 index 29d80e76f3d846b7a4b3afc5fcd7bf200d20634b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-arkcompiler.md +++ /dev/null @@ -1,23 +0,0 @@ -# arkcompilerå系统ChangeLog - -## cl.arkcompiler.1 sdkä¸ts2abc编译器下线 - -sdkä¸arkcompiler原有两个编译器支æŒets/js的编译,分别是ts2abc编译器和es2abc编译器。在这个版本的è¿ä»£ä¸ï¼Œts2abc编译器已ç»ä¸‹çº¿ï¼Œæ— 法调用ts2abc编译器生æˆabc文件。开å‘者å¯ä»¥åœ¨sdkçš„ets\build-tools\ets-loader\bin以åŠjs\build-tools\ets-loader\bin目录下å‘现如下图所示的å˜æ›´ã€‚ - -![stack](figures/api10_sdk_arkcompiler_component_change.png) - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬çš„sdkåŽï¼Œä½¿ç”¨DevEco进行应用开å‘æ—¶ä¸ä¼šæœ‰ä»»ä½•å½±å“。如果利用脚本调用sdkä¸çš„ts2abc编译器进行编译生æˆabcæ“作时,需è¦è°ƒç”¨es2abc编译器进行开å‘。 - -**关键的接å£/组件å˜æ›´** -arkcompilerå‰ç«¯ç¼–译器ä¸çš„ts2abc下线 - -**适é…指导** -1. 对于利用DevEco进行应用开å‘çš„å¼€å‘者而言,ts2abc编译器的下线ä¸ä¼šé€ æˆä»»ä½•å½±å“,ä¸éœ€è¦åšé€‚é… -2. 对于自己开å‘脚本调用sdkä¸çš„ts2abc编译器的开å‘者而言,需è¦åˆ‡æ¢ä¸ºè°ƒç”¨es2abc编译器æ¥ç”Ÿæˆabc文件。es2abc编译器的使用说明以åŠä¸Žts2abc编译器的对比请å‚考[es2abcå’Œts2abc使用说明](https://gitee.com/openharmony/arkcompiler_ets_frontend#%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E). å‡è®¾ç¼–译的文件åå«a.js文件,对于使用频率最高的生æˆabc文件,两者的编译命令如下: - - script模å¼ç¼–译 - 1. es2abc: es2abc a.js --output a.abc - 2. ts2abc: node --expose-gc pathToIndex/index.js a.js --output a.abc - - module模å¼ç¼–译 - 1. es2abc: es2abc a.js --module --output a.abc - 2. ts2abc: node --expose-gc pathToIndex/index.js a.js --module --output a.abc \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-arkui.md deleted file mode 100644 index e303e499ff301b3526f735f1edcb2f87be95dc70..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-arkui.md +++ /dev/null @@ -1,132 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 通用事件å‚数支æŒundefined - -通用事件(点击事件ã€è§¦æ‘¸äº‹ä»¶ã€æŒ‚è½½å¸è½½äº‹ä»¶ã€æŒ‰é”®äº‹ä»¶ã€ç„¦ç‚¹äº‹ä»¶ã€é¼ æ ‡äº‹ä»¶ã€ç»„件区域å˜åŒ–事件)å‚数支æŒundefined。 - -**示例:** - -```ts -// xxx.ets -@Entry -@Component -struct Example { - build() { - Button("test") - .onClick(()=>{ - console.log("click"); - }) - .onClick(undefined) - } -} -``` - -**å˜æ›´å½±å“** - -如果事件回调å‚数为undefined,那么将ä¸å†å“应已ç»è®¾ç½®çš„事件回调。 - - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -当事件å‚数设置为undefined,将会ç¦ç”¨è¯¥äº‹ä»¶ï¼Œä¾æ®å®žé™…应用开å‘场景进行å‚数设置å³å¯ã€‚ - - -## cl.arkui.2 @Prop/@BuilderParam 状æ€å˜é‡éœ€è¦åˆå§‹åŒ–æˆ–ä»Žçˆ¶ç»„ä»¶ä¼ å€¼ - -**示例:** - -```ts -// xxx.ets -@Entry -@Component -struct Parent { - @State message: string = 'Parent' - build() { - Column() { - Child() // 编译报错 - } - } -} - -@Component -struct Child { - @Prop message: string - build() { - Column() { - - } - } -} -``` - -**å˜æ›´å½±å“** - -当@Prop/@BuilderParam 状æ€å˜é‡æœªåˆå§‹åŒ–ä¸”æœªä»Žçˆ¶ç»„ä»¶ä¼ å€¼æ—¶ï¼Œç¼–è¯‘æ— æ³•é€šè¿‡ã€‚ - - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -对@Prop/@BuilderParam 状æ€å˜é‡åšåˆå§‹åŒ–赋值或从父组件调用åç»„ä»¶æ—¶ä¼ å…¥ã€‚ - - -## cl.arkui.3 @BuilderParam 状æ€å˜é‡åˆå§‹åŒ–赋值必须为@Builder函数/方法 - -**示例:** - -```ts -// xxx.ets -@Builder -function builderFunction() { - Text('Hello Builder') -} - -function normal () { - -} - -@Component -struct Index { - @BuilderParam builderParam: ()=>void = builderFunction - @BuilderParam builderParam2: ()=>void = normal // 编译报错 - build() { - Column() { - - } - } -} -``` - -**å˜æ›´å½±å“** - -@BuilderParam 状æ€å˜é‡åˆå§‹åŒ–赋值éž@Builderæ–¹æ³•æ—¶ï¼Œç¼–è¯‘æ— æ³•é€šè¿‡ã€‚ - - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - -@BuilderParam 状æ€å˜é‡åˆå§‹åŒ–èµ‹å€¼ä¼ å…¥@Builder方法。 - -## cl.arkui.4 Search组件的searchButton属性ä¸SearchButtonOption修改为SearchButtonOptions - -**å˜æ›´å½±å“** - -如果显å¼åœ°ä½¿ç”¨äº†SearchButtonOptionç±»åž‹ï¼Œç¼–è¯‘æ— æ³•é€šè¿‡ã€‚ - -**关键的接å£/组件å˜æ›´** - -searchButton属性ä¸ç±»åž‹SearchButtonOption修改为SearchButtonOptions。 - -**适é…指导** - -SearchButtonOption修改为SearchButtonOptions。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-bundlemanager.md deleted file mode 100644 index 46115e472b86326e7f60f3e2ad6a3b2a13b9212b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-bundlemanager.md +++ /dev/null @@ -1,111 +0,0 @@ -# 包管ç†å系统ChangeLog -## cl.bundlemanager.1 包管ç†@ohos.bundle.d.tsä¸getAllBundleInfo接å£åº•å±‚实现å˜æ›´ã€‚ - -@ohos.bundle.d.tsä¸getAllBundleInfo接å£å·²æ ‡è®°åºŸå¼ƒï¼Œåœ¨targetAPILevel为API9åŠä¹‹åŽçš„版本镜åƒä¸Šï¼Œè¿”回数æ®åˆ—表为空。 - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬é•œåƒåŽï¼Œä½¿ç”¨@ohos.bundle.d.tsä¸çš„getAllBundleInfo的接å£è°ƒç”¨æˆåŠŸåŽè¿”回数æ®åˆ—表为空。需è¦åº”用调用新的接å£@ohos.bundle.bundleManager.d.tsä¸çš„getAllBundleInfo。 - -**关键的接å£/组件å˜æ›´**<br> -底层实现å˜æ›´ï¼Œä½¿ç”¨@ohos.bundle.d.tsä¸çš„getAllBundleInfo的接å£è°ƒç”¨æˆåŠŸåŽè¿”回数æ®åˆ—表为空。 - -**适é…指导**<br> -1. 应用在使用@ohos.bundle.d.tsä¸getAllBundleInfo接å£çš„地方å¯ä»¥ä¿®æ”¹ä¸ºä½¿ç”¨@ohos.bundle.bundleManager.d.tsä¸getAllBundleInfo,新接å£ä½¿ç”¨æ–¹æ³•å¯å‚考[指å—](../../../application-dev/reference/apis/js-apis-bundleManager.md#bundlemanagergetallbundleinfo)。 -```ets -import bundleManager from '@ohos.bundle.bundleManager'; -``` - -## cl.bundlemanager.2 包管ç†@ohos.bundle.d.tsä¸getAllApplicationInfo接å£åº•å±‚实现å˜æ›´ã€‚ - -@ohos.bundle.d.tsä¸getAllApplicationInfo接å£å·²æ ‡è®°åºŸå¼ƒï¼Œåœ¨targetAPILevel为API9åŠä¹‹åŽçš„版本镜åƒä¸Šï¼Œè¿”回数æ®åˆ—表为空。 - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬é•œåƒåŽï¼Œä½¿ç”¨@ohos.bundle.d.tsä¸çš„getAllApplicationInfo的接å£è°ƒç”¨æˆåŠŸåŽè¿”回数æ®åˆ—表为空。需è¦åº”用调用新的接å£@ohos.bundle.bundleManager.d.tsä¸çš„getAllApplicationInfo。 - -**关键的接å£/组件å˜æ›´**<br> -底层实现å˜æ›´ï¼Œä½¿ç”¨@ohos.bundle.d.tsä¸çš„getAllApplicationInfo的接å£è°ƒç”¨æˆåŠŸåŽè¿”回数æ®åˆ—表为空。 - -**适é…指导**<br> -1. 应用在使用@ohos.bundle.d.tsä¸getAllApplicationInfo接å£çš„地方å¯ä»¥ä¿®æ”¹ä¸ºä½¿ç”¨@ohos.bundle.bundleManager.d.tsä¸getAllApplicationInfo,新接å£ä½¿ç”¨æ–¹æ³•å¯å‚考[指å—](../../../application-dev/reference/apis/js-apis-bundleManager.md#bundlemanagergetallapplicationinfo)。 -```ets -import bundleManager from '@ohos.bundle.bundleManager'; -``` - -## cl.bundlemanager.3 包管ç†@ohos.bundle.bundleManager.d.tsä¸getAllBundleInfo接å£æƒé™å˜æ›´ã€‚ - -获å–应用列表接å£éœ€è¦ç”±ç”¨æˆ·é€‰æ‹©æ˜¯å¦åŒæ„授æƒï¼Œå› æ¤å°† -@ohos.bundle.bundleManager.d.tsä¸getAllBundleInfo接å£æƒé™å˜æ›´ä¸ºohos.permission.GET_INSTALLED_BUNDLE_LIST。 - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬é•œåƒåŽï¼Œä½¿ç”¨getAllBundleInfo的接å£éœ€è¦ç”³è¯·æ–°çš„æƒé™ohos.permission.GET_INSTALLED_BUNDLE_LIST,å¦åˆ™æŽ¥å£ä¼šè°ƒç”¨å¤±è´¥ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -@ohos.bundle.bundleManager.d.tsä¸getAllBundleInfo接å£æƒé™å˜æ›´ä¸ºohos.permission.GET_INSTALLED_BUNDLE_LIST。 - -**适é…指导**<br> -1. 应用å¯ä»¥åœ¨é…置文件ä¸æ–°å¢žç”³è¯·æƒé™ohos.permission.GET_INSTALLED_BUNDLE_LIST。 -2. 该æƒé™ä¸ºuser_grant类型的,安装时默认ä¸ä¼šæŽˆæƒï¼Œéœ€è¦åº”用调用弹框接å£ç”±ç”¨æˆ·é€‰æ‹©æ˜¯å¦æŽˆæƒæˆ–者使用预授æƒè¿›è¡ŒæŽˆæƒã€‚ -3. 使用弹框授æƒæ–¹å¼å¯ä»¥å‚考[å‘用户申请授æƒ](../../../application-dev/security/accesstoken-guidelines.md#å‘用户申请授æƒ)。 -4. 使用预授æƒæ–¹å¼å¯ä»¥å‚考[æƒé™é¢„授æƒ](../../../application-dev/security/accesstoken-guidelines.md#user_grantæƒé™é¢„授æƒ)。 - -## cl.bundlemanager.4 包管ç†@ohos.bundle.bundleManager.d.tsä¸getAllApplicationInfo接å£æƒé™å˜æ›´ã€‚ - -获å–应用列表接å£éœ€è¦ç”±ç”¨æˆ·é€‰æ‹©æ˜¯å¦åŒæ„授æƒï¼Œå› æ¤å°† -@ohos.bundle.bundleManager.d.tsä¸getAllApplicationInfo接å£æƒé™å˜æ›´ä¸ºohos.permission.GET_INSTALLED_BUNDLE_LIST。 - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬é•œåƒåŽï¼Œä½¿ç”¨getAllApplicationInfo的接å£éœ€è¦ç”³è¯·æ–°çš„æƒé™ohos.permission.GET_INSTALLED_BUNDLE_LIST,å¦åˆ™æŽ¥å£ä¼šè°ƒç”¨å¤±è´¥ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -@ohos.bundle.bundleManager.d.tsä¸getAllApplicationInfo接å£æƒé™å˜æ›´ä¸ºohos.permission.GET_INSTALLED_BUNDLE_LIST。 - -**适é…指导**<br> -1. 应用å¯ä»¥åœ¨é…置文件ä¸æ–°å¢žç”³è¯·æƒé™ohos.permission.GET_INSTALLED_BUNDLE_LIST。 -2. 该æƒé™ä¸ºuser_grant类型的,安装时默认ä¸ä¼šæŽˆæƒï¼Œéœ€è¦åº”用调用弹框接å£ç”±ç”¨æˆ·é€‰æ‹©æ˜¯å¦æŽˆæƒæˆ–者使用预授æƒè¿›è¡ŒæŽˆæƒã€‚ -3. 使用弹框授æƒæ–¹å¼å¯ä»¥å‚考[å‘用户申请授æƒ](../../../application-dev/security/accesstoken-guidelines.md#å‘用户申请授æƒ)。 -4. 使用预授æƒæ–¹å¼å¯ä»¥å‚考[æƒé™é¢„授æƒ](../../../application-dev/security/accesstoken-guidelines.md#user_grantæƒé™é¢„授æƒ)。 - -## cl.bundlemanager.5 包管ç†@ohos.bundle.installer.d.tsä¸getSpecifiedDistributionType接å£ç§»åŠ¨åˆ°@ohos.bundle.bundleManager.d.tsä¸ã€‚ - -包管ç†@ohos.bundle.installer.d.tsä¸getSpecifiedDistributionType接å£ç§»åŠ¨åˆ°@ohos.bundle.bundleManager.d.tsä¸ã€‚ - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬SDKåŽï¼ŒåŒ…管ç†@ohos.bundle.installer.d.tsä¸getSpecifiedDistributionType接å£ç§»åŠ¨åˆ°@ohos.bundle.bundleManager.d.tsä¸ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -包管ç†@ohos.bundle.installer.d.tsä¸getSpecifiedDistributionType接å£ç§»åŠ¨åˆ°@ohos.bundle.bundleManager.d.tsä¸ã€‚ - -**适é…指导**<br> -1. 修改导入模å—,使用bundleManagerä¸çš„getSpecifiedDistributionType -```ets -import bundleManager form '@ohos.bundle.bundleManager' -``` - -## cl.bundlemanager.6 包管ç†@ohos.bundle.installer.d.tsä¸getAdditionalInfo接å£ç§»åŠ¨åˆ°@ohos.bundle.bundleManager.d.tsä¸ã€‚ - -包管ç†@ohos.bundle.installer.d.tsä¸getAdditionalInfo接å£ç§»åŠ¨åˆ°@ohos.bundle.bundleManager.d.tsä¸ã€‚ - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬SDKåŽï¼ŒåŒ…管ç†@ohos.bundle.installer.d.tsä¸getAdditionalInfo接å£ç§»åŠ¨åˆ°@ohos.bundle.bundleManager.d.tsä¸ã€‚ - -**关键的接å£/组件å˜æ›´**<br> -包管ç†@ohos.bundle.installer.d.tsä¸getAdditionalInfo接å£ç§»åŠ¨åˆ°@ohos.bundle.bundleManager.d.tsä¸ã€‚ - -**适é…指导**<br> -1. 修改导入模å—,使用bundleManagerä¸çš„getAdditionalInfo -```ets -import bundleManager form '@ohos.bundle.bundleManager' -``` - -## cl.bundlemanager.7 应用é…置文件module.json5ä¸proxyDatasæ›´å为proxyData。 - -由于命å规范问题,proxyDatasæ›´å为proxyData。 - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬SDKåŽï¼ŒproxyDatasæ›´å为proxyData,应用如果ä¸è¿›è¡Œé€‚é…,将会编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -proxyDatasæ›´å为proxyData。 - -**适é…指导**<br> -请使用proxyData替æ¢proxyDatas,其内容ä¸éœ€è¦å˜æ›´ã€‚ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-security.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-security.md deleted file mode 100644 index af231cb94fe7c6121ae62619fe692096242b1edd..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-security.md +++ /dev/null @@ -1,279 +0,0 @@ -# securityå系统ChangeLog - -## cl.security.1 对API9ä¸å·²ç»æŠ›å‡ºçš„异常,补写throwsæ ‡ç¾ -对于在API9ä¸å·²ç»æŠ›å‡ºå¼‚常而JS DOCä¸æ¼å†™throwsæ ‡ç¾çš„接å£ï¼Œåœ¨since 9的注释ä¸è¡¥ä¸Šthrowsæ ‡ç¾ã€‚ - -**å˜æ›´å½±å“** - -对于已å‘布的JS接å£ï¼Œå¯èƒ½å½±å“异常处ç†æµç¨‹ï¼ŒåŒ…括åŒæ¥å¼‚常和异æ¥å¼‚常。应用需è¦æ ¹æ®æœ€æ–°çš„throwsæ ‡ç¾ï¼ŒæŽ’查是å¦æœ‰é—æ¼çš„异常处ç†æµç¨‹ï¼Œç»“åˆå®žé™…情况进行适é…。 - -**关键的接å£/组件å˜æ›´** - -修改å‰çš„接å£åŽŸåž‹ï¼š - - ```ts -interface Key { - /** - * Encode the key object to binary data. - * - * @returns { DataBlob } the binary data of the key object. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - getEncoded(): DataBlob; -} - -interface AsyKeyGenerator { - /** - * Used to generate asymmetric key pair. - * - * @param { AsyncCallback<KeyPair> } callback - the callback used to return keypair. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - generateKeyPair(callback: AsyncCallback<KeyPair>): void; - - /** - * Used to generate asymmetric key pair. - * - * @returns { Promise<KeyPair> } the promise used to return keypair. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - generateKeyPair(): Promise<KeyPair>; - - /** - * Used to convert asymmetric key data to key pair object. - * - * @param { DataBlob } pubKey - the public key data blob. - * @param { DataBlob } priKey - the private key data blob. - * @param { AsyncCallback<KeyPair> } callback - the callback used to return keypair. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback<KeyPair>): void; - - /** - * Used to convert asymmetric key data to key pair object. - * - * @param { DataBlob } pubKey - the public key data blob. - * @param { DataBlob } priKey - the private key data blob. - * @returns { Promise<KeyPair> } the promise used to return keypair. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - convertKey(pubKey: DataBlob, priKey: DataBlob): Promise<KeyPair>; -} - -/** - * Provides the asymmetric key generator instance func. - * - * @param { string } algName - indicates the algorithm name. - * @returns { AsyKeyGenerator } the generator obj create by algName. - * @throws { BusinessError } 401 - invalid parameters. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createAsyKeyGenerator(algName: string): AsyKeyGenerator; - -/** - * Create a cipher object for encryption and decryption operations according to the given specifications. - * Two different Cipher objects should be created when using RSA encryption and decryption, - * even with the same specifications. - * - * @param { string } transformation - indicates the description to be transformed to cipher specifications. - * @returns { Cipher } the cipher object returned by the function. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 801 - this operation is not supported. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createCipher(transformation: string): Cipher; - -/** - * Create sign class. - * - * @param { string } algName - indicates the algorithm name and params. - * @returns { Sign } the sign class. - * @throws { BusinessError } 401 - invalid parameters. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createSign(algName: string): Sign; - -/** - * Create verify class. - * - * @param { string } algName - indicates the algorithm name and params. - * @returns { Verify } the verify class. - * @throws { BusinessError } 401 - invalid parameters. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createVerify(algName: string): Verify; - -/** - * Create key agreement class. - * - * @param { string } algName - indicates the algorithm name and params. - * @returns { KeyAgreement } the key agreement class. - * @throws { BusinessError } 401 - invalid parameters. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createKeyAgreement(algName: string): KeyAgreement; - ``` -修改åŽçš„接å£åŽŸåž‹ï¼š - - ```ts -interface Key { - /** - * Encode the key object to binary data. - * - * @returns { DataBlob } the binary data of the key object. - * @throws { BusinessError } 801 - this operation is not supported. - * @throws { BusinessError } 17620001 - memory error. - * @throws { BusinessError } 17630001 - crypto operation error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - getEncoded(): DataBlob; -} - -interface AsyKeyGenerator { - /** - * Used to generate asymmetric keypair. - * - * @param { AsyncCallback<KeyPair> } callback - the callback used to return keypair. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 17620001 - memory error. - * @throws { BusinessError } 17630001 - crypto operation error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - generateKeyPair(callback: AsyncCallback<KeyPair>): void; - - /** - * Used to generate asymmetric keypair. - * - * @returns { Promise<KeyPair> } the promise used to return keypair. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 17620001 - memory error. - * @throws { BusinessError } 17630001 - crypto operation error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - generateKeyPair(): Promise<KeyPair>; - - /** - * Used to convert asymmetric key data to keypair object. - * - * @param { DataBlob } pubKey - the public key data blob. - * @param { DataBlob } priKey - the private key data blob. - * @param { AsyncCallback<KeyPair> } callback - the callback used to return keypair. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 17620001 - memory error. - * @throws { BusinessError } 17630001 - crypto operation error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback<KeyPair>): void; - - /** - * Used to convert asymmetric key data to keypair object. - * - * @param { DataBlob } pubKey - the public key data blob. - * @param { DataBlob } priKey - the private key data blob. - * @returns { Promise<KeyPair> } the promise used to return keypair. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 17620001 - memory error. - * @throws { BusinessError } 17630001 - crypto operation error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - convertKey(pubKey: DataBlob, priKey: DataBlob): Promise<KeyPair>; -} - -/** - * Create the asymmetric key generator instance according to the given algorithm name. - * - * @param { string } algName - indicates the algorithm name. - * @returns { AsyKeyGenerator } the asymmetric key generator instance. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 801 - this operation is not supported. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createAsyKeyGenerator(algName: string): AsyKeyGenerator; - -/** - * Create a cipher object for encryption and decryption operations according to the given specifications. - * Two different Cipher objects should be created when using RSA encryption and decryption, - * even with the same specifications. - * - * @param { string } transformation - indicates the description to be transformed to cipher specifications. - * @returns { Cipher } the cipher object returned by the function. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 801 - this operation is not supported. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createCipher(transformation: string): Cipher; - -/** - * Create a sign object for generating signatures. - * - * @param { string } algName - indicates the algorithm name and params. - * @returns { Sign } the sign class. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 801 - this operation is not supported. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createSign(algName: string): Sign; - -/** - * Create a verify object for verifying signatures. - * - * @param { string } algName - indicates the algorithm name and the parameters. - * @returns { Verify } the verify class. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 801 - this operation is not supported. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createVerify(algName: string): Verify; - -/** - * Create a key agreement object. - * - * @param { string } algName - indicates the algorithm name and params. - * @returns { KeyAgreement } the key agreement object. - * @throws { BusinessError } 401 - invalid parameters. - * @throws { BusinessError } 801 - this operation is not supported. - * @throws { BusinessError } 17620001 - memory error. - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ -function createKeyAgreement(algName: string): KeyAgreement; - ``` - -**适é…指导** - -由于æ¼æ ‡çš„throws异常å‘生在较少è§çš„情况下,应用å¯ä»¥ç»“åˆå®žé™…情况,排查æ¼æ ‡çš„throwsæ ‡ç¾æ˜¯å¦éœ€è¦ä¸“门适é…。 - -- 对于åŒæ¥æ–¹æ³•ï¼Œå¦‚createSignç‰ï¼Œè¯·ä½¿ç”¨try/catchæ–¹å¼å¤„ç†é”™è¯¯ä¿¡æ¯ã€‚ - -- 对于异æ¥æ–¹æ³•ï¼Œå¦‚convertKeyç‰ï¼Œè¯·ä½¿ç”¨try/catchæ–¹å¼å¤„ç†åŒæ¥çš„å‚数错误,使用error对象的方å¼èŽ·å–异æ¥çš„å‚数错误和业务执行错误。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/figures/api10_sdk_arkcompiler_component_change.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/figures/api10_sdk_arkcompiler_component_change.png deleted file mode 100644 index 2229698d9729fb8f4a09bd19ca78f9d217771334..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.1/figures/api10_sdk_arkcompiler_component_change.png and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-arkui.md deleted file mode 100644 index acae7487a62c3d5b59229e2887a268959cd3439a..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-arkui.md +++ /dev/null @@ -1,80 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 滚动事件上报滚动状æ€æžšä¸¾å€¼è§„则å˜æ›´ - -ScrollState枚举值在API version 9åŠä»¥ä¸‹ä¸ŠæŠ¥è§„则: - -| å称 | æè¿° | -| ------ | ------------------------------ | -| Idle | 空闲状æ€ã€‚使用控制器æ供的方法滚动ã€æ‹–动滚动æ¡æ»šåŠ¨æ—¶è§¦å‘。 | -| Scroll | 手指拖动状æ€ã€‚使用手指拖动List滚动时触å‘。 | -| Fling | 惯性滚动状æ€ã€‚快速划动æ¾æ‰‹åŽæƒ¯æ€§æ»šåŠ¨å’Œåˆ’动到边缘回弹时触å‘。 | - -从API version 10开始,ScrollState上报规则å˜æ›´ä¸ºï¼š - -| å称 | æè¿° | -| ------ | ------------------------------ | -| Idle | 空闲状æ€ã€‚滚动状æ€å›žå½’空闲的时候触å‘,一个滚动æµç¨‹çš„最åŽä¸€å¸§å›žè°ƒã€‚控制器æä¾›çš„æ— åŠ¨ç”»çš„æ–¹æ³•æŽ§åˆ¶çš„æ»šåŠ¨ä¹Ÿä¼šè§¦å‘。 | -| Scroll | 滚动状æ€ã€‚手指拖动List滚动时触å‘,拖动滚动æ¡æ»šåŠ¨æ—¶è§¦å‘ï¼Œæ»šåŠ¨é¼ æ ‡æ»šè½®è§¦å‘。 | -| Fling | 惯性滚动状æ€ã€‚由动画触å‘的滚动,包括快速划动æ¾æ‰‹åŽçš„惯性滚动,划动到边缘回弹的滚动,快速拖动内置滚动æ¡æ¾æ‰‹åŽçš„惯性滚动,使用滚动控制器æ供的带动画的方法控制的滚动。 | - -ScrollState枚举å˜æ›´å¦‚下。 - -| 场景 | API version 9åŠä»¥ä¸‹ |API version 10开始 | -| ------ | ------------------------------ |------------------------------ | -| 手指拖动滑动 | Scroll | Scroll | -| 惯性滚动 | Fling | Fling | -| 过界回弹 | Fling | Fling | -| é¼ æ ‡æ»šè½®æ»šåŠ¨ | Idle | Scroll | -| æ‹–åŠ¨æ»šåŠ¨æ¡ | Idle | Scroll | -| 滚动控制器滚动(带动画) | Idle | Fling | -| 滚动控制器滚动(ä¸å¸¦åŠ¨ç”»ï¼‰ | Idle | Idle | - -**å˜æ›´å½±å“** - -1ã€ScrollState枚举值从API version 7开始æ供,在API version 10å˜æ›´ï¼Œä¸å½±å“API version 9åŠä»¥ä¸‹ç‰ˆæœ¬ä½¿ç”¨ã€‚<br/> -2ã€API version 9åŠä»¥ä¸‹ä½¿ç”¨åˆ°è¿™ä¸ªæžšä¸¾å€¼çš„接å£æœ‰List组件的onScroll事件ã€onScrollFrameBegin事件ã€Scroll组件的onScrollFrameBegin事件,API version 9åŠä»¥ä¸‹æ»šåŠ¨çŠ¶æ€ä¸ŠæŠ¥è§„则ä¸å˜ï¼Œä¸ä¼šäº§ç”Ÿå½±å“;从API version 10开始,List组件的onScrolläº‹ä»¶åœ¨æ–‡ç« èµ·å§‹åˆ—å‡ºçš„éƒ¨åˆ†åœºæ™¯ä¸ä¸ŠæŠ¥çš„枚举值会有å˜åŒ–。 - -**关键接å£/组件å˜æ›´** - -List组件接å£æ–‡æ¡£ï¼š -- [List组件事件](../../../application-dev/reference/arkui-ts/ts-container-list.md#事件) -- [List组件ScrollState枚举说明](../../../application-dev/reference/arkui-ts/ts-container-list.md#scrollstate枚举说明) - -**适é…指导** - -List组件绑定onScroll事件,通过onScroll事件上报当å‰æ»šåŠ¨çŠ¶æ€ã€‚API version 9åŠä»¥ä¸‹ä¸ŠæŠ¥çš„滚动状æ€ä»éµå¾ªå˜æ›´å‰è§„则,从API version 10开始,上报的滚动状æ€éµå¾ªå˜æ›´åŽè§„则。 - -å‚考代ç 如下: -```ts -// xxx.ets -@Entry -@Component -struct ListExample { - private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - - build() { - Column() { - List({ space: 20, initialIndex: 0 }) { - ForEach(this.arr, (item) => { - ListItem() { - Text('' + item) - .width('100%').height(100).fontSize(16) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, item => item) - } - .listDirection(Axis.Vertical) // æŽ’åˆ—æ–¹å‘ - .edgeEffect(EdgeEffect.Spring) // 边缘效果设置为Spring - .onScroll((scrollOffset: number, scrollState: ScrollState) => { - console.log(`onScroll scrollState = ${ScrollState[scrollState]}, scrollOffset = ${[scrollOffset]}`) - }) - .width('90%') - } - .width('100%') - .height('100%') - .backgroundColor(0xDCDCDC) - .padding({ top: 5 }) - } -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-distributedDeviceManager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-distributedDeviceManager.md deleted file mode 100644 index eebd95e89821f861b215e47e643dca170976fe4d..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-distributedDeviceManager.md +++ /dev/null @@ -1,47 +0,0 @@ -# 设备管ç†ChangeLog -## cl.distributedDeviceManager.1 接å£å˜æ›´ - -从Openharmony 4.0.9.2版本开始,新增设备管ç†æŽ¥å£ã€‚ - -**å˜æ›´å½±å“** - -原有的接å£[APIå‚考](../../../application-dev/reference/apis/js-apis-device-manager.md)æš‚æ—¶å¯ç»§ç»ä½¿ç”¨ï¼Œä½†æ˜¯åœæ¢ç»´æŠ¤ï¼Œå»ºè®®ä½¿ç”¨æ–°æŽ¥å£è¿›è¡Œå¼€å‘。 - -**关键的接å£/组件å˜æ›´** - -##新增接å£å¦‚下: - -| 模å—å | ç±»å | 新增接å£å£°æ˜Ž | -| ------------------------------------ | ------------------- | ------------------------------------------------------------ | -| @ohos.distributedDeviceManager | function | **function** createDeviceManager(bundleName: string): DeviceManager; | -| @ohos.distributedDeviceManager | function | **function** releaseDeviceManager(deviceManager: DeviceManager): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getAvailableDeviceListSync(): Array<DeviceBasicInfo>; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getAvailableDeviceList(callback:AsyncCallback<Array<DeviceBasicInfo>>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getAvailableDeviceList(): Promise<Array<DeviceBasicInfo>>; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getLocalDeviceNetworkId(): string; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getLocalDeviceName(): string; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getLocalDeviceType(): number; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getLocalDeviceId(): string; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getDeviceName(networkId: string): string; | -| @ohos.distributedDeviceManager | DeviceManager | **function** getDeviceType(networkId: string): number; | -| @ohos.distributedDeviceManager | DeviceManager | **function** startDiscovering(discoverParam: {[key: string]: Object} , filterOptions?: {[key: string]: Object} ): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** stopDiscovering(): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** bindTarget(deviceId: string, bindParam: {[key: string]: Object} , callback: AsyncCallback<{deviceId: string}>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** unbindTarget(deviceId: string): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** replyUiAction(action: number, actionResult: string): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** on(type: 'replyResult', callback: Callback<{ param: string}>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** off(type: 'replyResult', callback?: Callback<{ param: string}>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** on(type: 'discoverSuccess', callback: Callback<{ device: DeviceBasicInfo }>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** off(type: 'discoverSuccess', callback?: Callback<{ device: DeviceBasicInfo }>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** on(type: 'deviceNameChange', callback: Callback<{ deviceName: string }>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** off(type: 'deviceNameChange', callback?: Callback<{ deviceName: string }>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** on(type: 'discoverFailure', callback: Callback<{ reason: number }>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** off(type: 'discoverFailure', callback?: Callback<{ reason: number }>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** on(type: 'serviceDie', callback?: Callback<{}>): void; | -| @ohos.distributedDeviceManager | DeviceManager | **function** off(type: 'serviceDie', callback?: Callback<{}>): void; | - -**适é…指导** - -请å‚考å„接å£çš„[APIå‚考](../../../application-dev/reference/apis/js-apis-distributedDeviceManager.md) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-geoLocationManager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-geoLocationManager.md deleted file mode 100644 index 7a99c6a8618d89de180f1a892b5132f52ddd3134..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-geoLocationManager.md +++ /dev/null @@ -1,37 +0,0 @@ -# ä½ç½®æœåŠ¡å系统ChangeLog - -## cl.location.1 新增获å–WiFi/BT扫æç»“æžœçš„ç³»ç»ŸæŽ¥å£ - -@ohos.geoLocationManager.d.tsä¸å¢žåŠ 获å–WiFi/BT扫æ结果的接å£ï¼Œè¿™äº›æŽ¥å£æ˜¯systemApi。 - -**å˜æ›´å½±å“** - -系统应用å¯ä»¥ä»Žè°ƒç”¨@ohos.geoLocationManager.d.tsä¸çš„接å£èŽ·å–WiFi/BT扫æ结果,用于网络定ä½ã€‚ - -**关键的接å£/组件å˜æ›´** - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -|geoLocationManager| method | function on(type: 'locatingRequiredDataChange', config: LocatingRequiredDataConfig, callback: Callback<Array<LocatingRequiredData>>): void; | æ–°å¢žæŽ¥å£ | -|geoLocationManager| method | function off(type: 'locatingRequiredDataChange', callback?: Callback<Array<LocatingRequiredData>>): void; | æ–°å¢žæŽ¥å£ | -|geoLocationManager| method | function getLocatingRequiredData(config: LocatingRequiredDataConfig): Promise<Array<LocatingRequiredData>>; | æ–°å¢žæŽ¥å£ | - -**适é…指导** - -以å•æ¬¡èŽ·å–扫æä¿¡æ¯ä¸ºä¾‹ï¼š - - ```ts - import geoLocationManager from '@ohos.geoLocationManager'; - let config = {'type': 1, 'needStartScan': true, 'scanInterval': 10000}; - try { - geoLocationManager.getLocatingRequiredData(config).then((result) => { - console.log('getLocatingRequiredData return: ' + JSON.stringify(result)); - }) - .catch((error) => { - console.log('promise, getLocatingRequiredData: error=' + JSON.stringify(error)); - }); - } catch (err) { - console.error("errCode:" + err.code + ",errMessage:" + err.message); - } - ``` - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-imf.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-imf.md deleted file mode 100644 index 3463f9c6366a3d8b3e67c5117c2b29211825da8b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-imf.md +++ /dev/null @@ -1,37 +0,0 @@ -# 输入法框架å系统-输入法框架ChangeLog - -## cl.imf.1 @ohos.InputMethodä¸on('imeShow')系统接å£æƒé™æ ¡éªŒå¤±è´¥è¿”回错误ç å˜æ›´ - -**å˜æ›´å½±å“** - -使用on('imeShow')接å£ï¼Œç³»ç»Ÿæƒé™æ ¡éªŒå¤±è´¥çš„返回ç 从201å˜æ›´ä¸º202。 - -## cl.imf.2 @ohos.InputMethodä¸on('imeHide')系统接å£æƒé™æ ¡éªŒå¤±è´¥è¿”回错误ç å˜æ›´ - -**å˜æ›´å½±å“** - -使用on('imeHide')接å£ï¼Œç³»ç»Ÿæƒé™æ ¡éªŒå¤±è´¥çš„返回ç 从201å˜æ›´ä¸º202。 - -## cl.imf.3 @ohos.InputMethodä¸off接å£æ–°å¢žå‚æ•° - -off接å£æ–°å¢žéœ€è¦å–消订阅的回调函数作为å¯é€‰å‚数,需è¦ä¸Žon接å£ä¼ 入的ä¿æŒä¸€è‡´ã€‚ - -| æŽ¥å£ | å˜æ›´å‰ | å˜æ›´åŽ | -| ------------------------- | ------------------------------------- | ------------------------------------------------------------ | -| off('insertText') | off(type: 'insertText'): void | off(type: 'insertText', callback?: (text: string) => void): void | -| off('deleteLeft') | off(type: 'deleteLeft'): void | off(type: 'deleteLeft', callback?: (length: number) => void): void | -| off('deleteRight') | off(type: 'deleteRight'): void | off(type: 'deleteRight', callback?: (length: number) => void): void | -| off('sendKeyboardStatus') | off(type: 'sendKeyboardStatus'): void | off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void | -| off('sendFunctionKey') | off(type: 'sendFunctionKey'): void | off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void | -| off('moveCursor') | off(type: 'moveCursor'): void | off(type: 'moveCursor', callback?: (direction: Direction) => void): void | -| off('handleExtendAction') | off(type: 'handleExtendAction'): void | off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void | -| off('selectByRange') | off(type: 'selectByRange'): void | off(type: 'selectByRange', callback?: Callback\<Range\>): void | -| off('selectByMovement') | off(type: 'selectByMovement'): void | off(type: 'selectByMovement', callback?: Callback\<Movement\>): void | - -**å˜æ›´å½±å“** - -以上接å£çš„调用,有多个订阅回调时,å¯ä¼ 入订阅回调函数åªå–消å•ä¸ªå›žè°ƒå‡½æ•°çš„订阅,当该å‚æ•°ä¸å¡«å†™æ—¶ï¼Œå–消订阅对应的所有回调事件。 - -**适é…指导** - -请å‚考接å£è¯´æ˜Žï¼š[@ohos.inputMethod.d.ts](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-inputmethod.md) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-multimedia.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-multimedia.md deleted file mode 100644 index e0cbeea3e9c13187d290529dea036af8797b241c..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-multimedia.md +++ /dev/null @@ -1,330 +0,0 @@ -# multimediaå系统ChangeLog - -## cl.multimedia.1 音频C接å£æµç±»åž‹æžšä¸¾å£°æ˜Žå˜æ›´ - -对于在API10ä¸å·²ç»æ–°å¢žçš„音频C接å£ï¼ŒéŸ³é¢‘输出æµç±»åž‹é”™å†™ä¸ºAUDIOSTREAM_TYPE_RERNDERER,需è¦ä¿®æ£ä¸ºAUDIOSTREAM_TYPE_RENDERER。 - -**å˜æ›´å½±å“** - -对于已å‘布的C接å£ï¼Œå¯èƒ½å½±å“三方应用的兼容性。 - -**关键的接å£/组件å˜æ›´** - -修改å‰çš„接å£åŽŸåž‹ï¼š - - ```C -enum OH_AudioStream_Type { - /** - * The type for audio stream is renderer. - */ - AUDIOSTREAM_TYPE_RERNDERER = 1, - - /** - * The type for audio stream is capturer. - */ - AUDIOSTREAM_TYPE_CAPTURER = 2 -}; - ``` - -修改åŽçš„接å£åŽŸåž‹ï¼š - - ```C -enum OH_AudioStream_Type { - /** - * The type for audio stream is renderer. - */ - AUDIOSTREAM_TYPE_RENDERER = 1, - - /** - * The type for audio stream is capturer. - */ - AUDIOSTREAM_TYPE_CAPTURER = 2 -}; - ``` - -**适é…指导** - -å¼€å‘人员需è¦åœ¨ä½¿ç”¨éŸ³é¢‘输出æµç±»åž‹AUDIOSTREAM_TYPE_RERNDERER时,修改为AUDIOSTREAM_TYPE_RENDERER。例如: - -ä¿®æ”¹å‰ - -```C -OH_AudioStreamBuilder* builder; -OH_AudioStreamBuilder_Create(&builder, AUDIOSTREAM_TYPE_RERNDERER); -``` - -ä¿®æ”¹åŽ - -```C -OH_AudioStreamBuilder* builder; -OH_AudioStreamBuilder_Create(&builder, AUDIOSTREAM_TYPE_RENDERER); -``` - -## cl.multimedia.2 移除OH_AudioStream_Content - -对于在API10ä¸å·²ç»æ–°å¢žçš„音频C接å£ï¼ŒéŸ³é¢‘输出æµå±žæ€§ä¸å°†åˆ 除掉OH_AudioStream_Content。 - -**å˜æ›´å½±å“** - -对于已å‘布的C接å£ï¼Œå¯èƒ½å½±å“三方应用的兼容性。 - -**关键的接å£/组件å˜æ›´** - -- native_audiostream_base.h 文件 - -修改å‰çš„接å£åŽŸåž‹ï¼š - -```C -typedef enum { - AUDIOSTREAM_CONTENT_TYPE_UNKNOWN = 0, - AUDIOSTREAM_CONTENT_TYPE_SPEECH = 1, - AUDIOSTREAM_CONTENT_TYPE_MUSIC = 2, - AUDIOSTREAM_CONTENT_TYPE_MOVIE = 3, -} OH_AudioStream_Content; -``` -ä¿®æ”¹åŽ -åˆ é™¤OH_AudioStream_Content枚举定义 - -- native_audiostreambuilder.h 文件 - -ä¿®æ”¹å‰ - -```C -OH_AudioStream_Result OH_AudioStreamBuilder_SetRendererInfo(OH_AudioStreamBuilder* builder, - OH_AudioStream_Usage usage, OH_AudioStream_Content content); -``` - -ä¿®æ”¹åŽ -```C -OH_AudioStream_Result OH_AudioStreamBuilder_SetRendererInfo(OH_AudioStreamBuilder* builder, - OH_AudioStream_Usage usage); -``` - -- native_audiorenderer.h 文件 - -ä¿®æ”¹å‰ - -```C -OH_AudioStream_Result OH_AudioRenderer_GetRendererInfo(OH_AudioRenderer* renderer, - OH_AudioStream_Usage* usage, OH_AudioStream_Content* content); -``` - -ä¿®æ”¹åŽ -```C -OH_AudioStream_Result OH_AudioRenderer_GetRendererInfo(OH_AudioRenderer* renderer, - OH_AudioStream_Usage* usage); -``` - -**适é…指导** - -对于OH_AudioStreamBuilder_SetRendererInfo接å£ï¼Œå¼€å‘者按照所属场景,原本设置的OH_AudioStream_Content类型å¯å¯¹æ¯”下表,使用对应的OH_AudioStream_Usage类型。 - -| OH_AudioStream_Content | OH_AudioStream_Usage | -| ------------------------------- | ------------------------------------- | -| AUDIOSTREAM_CONTENT_TYPE_SPEECH | AUDIOSTREAM_USAGE_VOICE_COMMUNICATION | -| AUDIOSTREAM_CONTENT_TYPE_MUSIC | AUDIOSTREAM_USAGE_MUSIC | -| AUDIOSTREAM_CONTENT_TYPE_MOVIE | AUDIOSTREAM_USAGE_MOVIE | - -对于OH_AudioRenderer_GetRendererInfo接å£ï¼Œå¼€å‘者使用新的接å£åªèƒ½èŽ·å–到OH_AudioStream_Usage属性,ä¸èƒ½èŽ·å–OH_AudioStream_Content属性。 - -## cl.multimedia.3 OH_AudioStream_Usageå˜æ›´ - -API10的音频C接å£native_audiostream_base.h 文件ä¸ï¼Œåœ¨OH_AudioStream_Usage枚举ä¸åˆ 除了AUDIOSTREAM_USAGE_MEDIA枚举值,将AUDIOSTREAM_USAGE_COMMUNICATION枚举值å˜æ›´ä¸ºAUDIOSTREAM_USAGE_VOICE_COMMUNICATIONå’ŒAUDIOSTREAM_USAGE_VOICE_ASSISTANT。 - -**å˜æ›´å½±å“** - -对于已å‘布的C接å£ï¼Œå¯èƒ½å½±å“三方应用的兼容性。如果开å‘者使用AUDIOSTREAM_USAGE_MEDIAå’ŒAUDIOSTREAM_USAGE_COMMUNICATION枚举值,会有兼容性问题。 - -**关键的接å£/组件å˜æ›´** - -ä¿®æ”¹å‰ - -```C -typedef enum { - AUDIOSTREAM_USAGE_UNKNOWN = 0, - AUDIOSTREAM_USAGE_MEDIA = 1, - AUDIOSTREAM_USAGE_COMMUNICATION = 2, -} OH_AudioStream_Usage; -``` - -ä¿®æ”¹åŽ -```C -typedef enum { - /** - * Unknown usage. - */ - AUDIOSTREAM_USAGE_UNKNOWN = 0, - /** - * Music usage. - */ - AUDIOSTREAM_USAGE_MUSIC = 1, - /** - * Voice communication usage. - */ - AUDIOSTREAM_USAGE_VOICE_COMMUNICATION = 2, - /** - * Voice assistant usage. - */ - AUDIOSTREAM_USAGE_VOICE_ASSISTANT = 3, - /** - * Movie or video usage. - */ - AUDIOSTREAM_USAGE_MOVIE = 10, - -} OH_AudioStream_Usage; -``` - -**适é…指导** - -用户通过OH_AudioStreamBuilder_SetRendererInfo接å£ä¸èƒ½å†è®¾ç½®OH_AudioStream_Usage值为AUDIOSTREAM_USAGE_MEDIA,改为使用AUDIOSTREAM_USAGE_MUSIC或者AUDIOSTREAM_USAGE_MOVIE。 - -ä¿®æ”¹å‰ - -```C -OH_AudioStreamBuilder_SetRendererInfo(builder, AUDIOSTREAM_USAGE_MEDIA); -``` - -ä¿®æ”¹åŽ - -```C -OH_AudioStreamBuilder_SetRendererInfo(builder, AUDIOSTREAM_USAGE_MUSIC); // 音ä¹åœºæ™¯ -``` - -或者 - -```C -OH_AudioStreamBuilder_SetRendererInfo(builder, AUDIOSTREAM_USAGE_MOVIE); // 视频场景 -``` - -用户通过OH_AudioStreamBuilder_SetRendererInfo接å£ä¸èƒ½å†è®¾ç½®OH_AudioStream_Usage值为AUDIOSTREAM_USAGE_COMMUNICATION,改为使用AUDIOSTREAM_USAGE_VOICE_COMMUNICATION或者AUDIOSTREAM_USAGE_VOICE_ASSISTANT。 - -ä¿®æ”¹å‰ - -```C -OH_AudioStreamBuilder_SetRendererInfo(builder, AUDIOSTREAM_USAGE_COMMUNICATION); -``` - -ä¿®æ”¹åŽ - -```C -OH_AudioStreamBuilder_SetRendererInfo(builder, AUDIOSTREAM_USAGE_VOICE_COMMUNICATION); // 通è¯åœºæ™¯ -``` - -或者 - -```C -OH_AudioStreamBuilder_SetRendererInfo(builder, AUDIOSTREAM_USAGE_VOICE_ASSISTANT); // è¯éŸ³åœºæ™¯ -``` - -## cl.multimedia.4 OH_AudioStream_SampleFormatå˜æ›´ï¼Œåˆ 除AUDIOSTREAM_SAMPLE_F32LE - -API10的音频C接å£native_audiostream_base.h 文件ä¸ï¼Œåœ¨OH_AudioStream_SampleFormat枚举ä¸åˆ 除了AUDIOSTREAM_SAMPLE_F32LE枚举值。 - -**å˜æ›´å½±å“** - -对于已å‘布的C接å£ï¼Œå¯èƒ½å½±å“三方应用的兼容性。如果开å‘者使用AUDIOSTREAM_SAMPLE_F32LE会有兼容性问题。 - -**关键的接å£/组件å˜æ›´** - -ä¿®æ”¹å‰ - -```C -typedef enum { - AUDIOSTREAM_SAMPLE_U8 = 0, - AUDIOSTREAM_SAMPLE_S16LE = 1, - AUDIOSTREAM_SAMPLE_S24LE = 2, - AUDIOSTREAM_SAMPLE_S32LE = 3, - AUDIOSTREAM_SAMPLE_F32LE = 4, -} OH_AudioStream_SampleFormat; -``` - -ä¿®æ”¹åŽ -```C -typedef enum { - /** - * Unsigned 8 format. - */ - AUDIOSTREAM_SAMPLE_U8 = 0, - /** - * Signed 16 bit integer, little endian. - */ - AUDIOSTREAM_SAMPLE_S16LE = 1, - /** - * Signed 24 bit integer, little endian. - */ - AUDIOSTREAM_SAMPLE_S24LE = 2, - /** - * Signed 32 bit integer, little endian. - */ - AUDIOSTREAM_SAMPLE_S32LE = 3, -} OH_AudioStream_SampleFormat; -``` - -**适é…指导** - -修改åŽç”¨æˆ·ä¸èƒ½å†è®¾ç½®é‡‡æ ·æ ¼å¼ä¸ºAUDIOSTREAM_SAMPLE_F32LE枚举值。 - -## cl.multimedia.5 OH_AudioStream_Resultæ·»åŠ æžšä¸¾å€¼ - -API10的音频C接å£native_audiostream_base.h 文件ä¸ï¼Œåœ¨OH_AudioStream_Result枚举ä¸ç»™æžšä¸¾å€¼å®šä¹‰æ•°å€¼ã€‚ - -**å˜æ›´å½±å“** - -æ— å½±å“ - -**关键的接å£/组件å˜æ›´** - -ä¿®æ”¹å‰ - -```C -typedef enum { - /** - * The call was successful. - */ - AUDIOSTREAM_SUCCESS, - - /** - * This means that the function was executed with an invalid input parameter. - */ - AUDIOSTREAM_ERROR_INVALID_PARAM, - - /** - * Execution status exception. - */ - AUDIOSTREAM_ERROR_ILLEGAL_STATE, - - /** - * An system error has occurred. - */ - AUDIOSTREAM_ERROR_SYSTEM -} OH_AudioStream_Result; -``` - -ä¿®æ”¹åŽ -```C -typedef enum { - /** - * The call was successful. - */ - AUDIOSTREAM_SUCCESS = 0, - - /** - * This means that the function was executed with an invalid input parameter. - */ - AUDIOSTREAM_ERROR_INVALID_PARAM = 1, - - /** - * Execution status exception. - */ - AUDIOSTREAM_ERROR_ILLEGAL_STATE = 2, - - /** - * An system error has occurred. - */ - AUDIOSTREAM_ERROR_SYSTEM = 3 -} OH_AudioStream_Result; -``` - -**适é…指导** - -æ— å…¼å®¹æ€§å½±å“,ä¸æ¶‰åŠã€‚ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-screenlock.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-screenlock.md deleted file mode 100644 index d75ed8bec4359ffd4411b4bbd7e9df064c8455bd..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changelogs-screenlock.md +++ /dev/null @@ -1,54 +0,0 @@ -# 主题框架å系统é”å±ç®¡ç†ChangeLog - -## cl.screenlock.1 代ç 实例å称å˜æ›´ - -é”å±ç®¡ç†çš„包å为'@ohos.screenLock',在导入时,使用的代ç 实例应为screenLock,而ä¸æ˜¯screenlock。 - -**å˜æ›´å½±å“** - -æ— ã€‚ - -**关键的接å£/组件å˜æ›´** - -修改å‰çš„接å£è°ƒç”¨ï¼š - - ```js -screenlock.isLocked(); -screenlock.unlock(); -screenlock.lock(); -screenlock.onSystemEvent(event=>{}); -screenlock.sendScreenLockEvent('unlockScreenResult', 0); -screenlock.isScreenLocked() -screenlock.isSecureMode(); -screenlock.unlockScreen(); - ``` - -修改åŽçš„接å£è°ƒç”¨ï¼š - - ```js -screenLock.isLocked(); -screenLock.unlock(); -screenLock.lock(); -screenLock.onSystemEvent(event=>{}); -screenLock.sendScreenLockEvent('unlockScreenResult', 0); -screenLock.isScreenLocked() -screenLock.isSecureMode(); -screenLock.unlockScreen(); - ``` - -**适é…指导** - -导入时使用screenLock,例如:: - -ä¿®æ”¹å‰ - -```js -import screenlock from '@ohos.screenLock'; -``` - -ä¿®æ”¹åŽ - -```js -import screenLock from '@ohos.screenLock'; -``` - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changlogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changlogs-arkui.md deleted file mode 100644 index d43660575a74bb3b918be8379edc8d74fac5ff88..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.2/changlogs-arkui.md +++ /dev/null @@ -1,33 +0,0 @@ -# arkuiå系统ChangeLog - -## ArkUI系统组件使用é™åˆ¶ - - ArkUI系统组件必须在structçš„build方法,pageTransition方法,@Builder修饰的函数内使用。 - -**示例:** - -``` -@Entry -@Component -struct Index { - build() { - Row() { - } - - } -} -// ERROR:UI component 'Text' cannot be used in this place. -Text('Hello World') -``` - -**å˜æ›´å½±å“** - - 如果ArkUI系统组件ä¸åœ¨structçš„build方法,pageTransition方法,@Builder修饰的函数内使用,编译报错。 - -**关键的接å£/组件å˜æ›´** - -ä¸æ¶‰åŠã€‚ - -**适é…指导** - - ArkUI系统组件必须在structçš„build方法,pageTransition方法,@Builder修饰的函数内使用。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelog-@Prop.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelog-@Prop.md deleted file mode 100644 index cdd0d0753877e492162ce3647715cddf01e16499..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelog-@Prop.md +++ /dev/null @@ -1,122 +0,0 @@ -# arkuiå系统状æ€ç®¡ç†ChangeLog - - -# ArkUIå系统@Prop装饰器支æŒObject行为å˜åŒ– - -## cl.@Prop支æŒObject api9æµ…æ‹·è´ï¼Œapi10å˜æ›´ä¸ºæ·±æ‹·è´ - -**å˜æ›´å½±å“** -@Prop支æŒObject在api9为浅拷è´ï¼Œå…·ä½“行为表现为: -- Object类型:浅拷è´Object.keys(propObj) 返回的所有属性。å³åªæ‹·è´æœ€å¤–层的Object,Objectä¸property还是指å‘原æ¥çš„父组件的数æ®æºã€‚ -- 数组类型:浅拷è´æ‰€æœ‰çš„数组项,å³åªæ‹·è´æœ€å¤–层的array,其他行为和Object一致。 -- æ‹·è´Object和数组的prototype。 - -@Prop支æŒObject在api10å˜æ›´ä¸ºæ·±æ‹·è´ï¼Œå…·ä½“行为表现为: -- Object类型:完全拷è´Object.keys(propObj) 返回的所有属性。 -- 数组类型:完全拷è´æ‰€æœ‰çš„数组项; -- æ‹·è´Object和数组的prototype。 - -**适é…指导** -@Prop深浅拷è´çš„å˜æ›´åœ¨UI渲染上的影å“主è¦åœ¨@ObjectLinkç›¸å…³çš„åœºæ™¯ï¼Œå› ä¸º@ObjectLink会代ç†å…¶ä¿®é¥°å¯¹è±¡å±žæ€§ã€‚ -例å如下: -api9:PropClassAArray组件ä¸@Prop objArray改å˜ClassA的属性,或者设置新的数组项,都会引起父组件StateClassAArray创建的ObjectLinkClassAä¸çš„@ObjectLink obj的改å˜ã€‚ -è¿™ä¸ªæ›´æ–°æ˜¯å› ä¸ºçˆ¶ç»„ä»¶StateClassAArrayä¸@State stateClassAArray到å组件PropClassAArrayä¸@Prop objArray是浅拷è´å¼•èµ·çš„ï¼Œå› ä¸ºæµ…æ‹·è´åªæ‹·è´äº†æ•°ç»„项的引用,所以数æ®æºä¹Ÿè¢«æ”¹å˜ï¼Œè€Œ@ObjectLink代ç†äº†æ•°æ®æºçš„属性,所以引å‘了ObjectLinkClassA组件ä¸çš„@ObjectLink obj的更新(从StateClassAArray组件ä¸æž„é€ çš„ï¼‰ã€‚ - -api10:在上述场景ä¸ï¼Œå› 为父组件StateClassAArrayä¸@State stateClassAArray到å组件PropClassAArrayä¸@Prop objArray是深拷è´ï¼Œå®Œæ•´æ‹·è´äº†ClassA的对象,所以ä¸ä¼šæ”¹å˜æ•°æ®æºï¼Œä»Žè€Œä¸ä¼šå¼•å‘ObjectLinkClassA组件ä¸çš„@ObjectLink obj的更新(从StateClassAArray组件ä¸æž„é€ çš„ï¼‰ã€‚ - - -![zh-cn_image_0000001588291546](figures/zh-cn_image_0000001588291546.png) - - - -```ts -let nextId = 0; - -@Observed -class ClassA { - id : number; - a : number; - constructor(a : number = 0) { - this.id = nextId++; - this.a = a; - } -} - -@Component -struct ObjectLinkClassA { - @ObjectLink obj : ClassA; - - build() { - Row() { - Text(`ObjectLink: obj: ${this.obj.a}`) - .height(100) - .onClick(() => { - this.obj.a += 1; - console.info(`ObjectLink onClick ClassA property changed to ${this.obj.a}`) - }) - }.border({width: 3, color: Color.Red}) - } -} - -@Component -struct PropClassAArray { - @Prop objArray : Array<ClassA> = []; - - build() { - Column() { - Text(`green box: @Prop : Array<ObjectClassA> item [0] + [1]`) - Row() { - ObjectLinkClassA({ obj: this.objArray[0] }) - Text("[0] Assign new ClassA") - .height(100) - .onClick(() => { - this.objArray[0] = new ClassA(); - console.info(`PropClassAArray[0] onClick ClassA object assign ${this.objArray[0].a}`) - }) - Text("Change ClassA property") - .height(100) - .onClick(() => { - this.objArray[0].a += 1; - console.info(`PropClassAArray[1] onClick ClassA property change ${this.objArray[1].a}`) - }) - } - }.border({width: 3, color: Color.Green}) - } -} - -@Entry -@Component -struct StateClassAArray { - @State stateClassAArray : Array<ClassA> = [ new ClassA(), new ClassA() ]; - - build() { - Column() { - Column() { - Text("Red box: @ObjectLink from @State array item[0]") - Row() { - ObjectLinkClassA({obj : this.stateClassAArray[0] }) - Text("Assign new ClassA") - .height(100) - .onClick(() => { - this.stateClassAArray[0] = new ClassA(); - console.info(`StateClassAArray[0] onClick ClassA object assign ${this.stateClassAArray[0].a}`) - }) - Text("Change ClassA property") - .height(100) - .onClick(() => { - this.stateClassAArray[0].a += 1; - console.info(`StateClassAArray onClick stateClassAArray[0] changed to ${this.stateClassAArray[0].a}`) - }) - } - - }.border({width: 3, color: Color.Blue}) - - Divider().height(5) - - // api9æµ…æ‹·è´ï¼šåªæ‹·è´æŒ‡å‘æºæ•°ç»„项的引用,ä¸æ‹·è´æ•°ç»„项ClassA实例自身 - // api10深拷è´ï¼šå®Œæ•´æ‹·è´this.stateClassAArray,包括其数组项。 - PropClassAArray({ objArray: this.stateClassAArray }) - } - } -} -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-arkui.md deleted file mode 100644 index 52b7034587cf576bcc54229a275cb25fe803f39b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-arkui.md +++ /dev/null @@ -1,229 +0,0 @@ -# arkuiå系统ChangeLog - - -## cl.arkui.1 编译拦截@Extend/@AnimatableExtendå‚数个数ä¸ç¬¦åˆé¢„期 - -@Extend/@AnimatableExtend装饰器å‚数有且仅能有一个。 - -**å˜æ›´å½±å“** - -当@Extend/@AnimatableExtend装饰器å‚数有多个时,编译报错。 - -**错误示例:** - -```ts -// xxx.ets - -@Extend(Text, Button) // 编译报错: @Extend should have one and only one parameter -function fancy() { - .width(100) -} - -@AnimatableExtend(Text, Polyline) // 编译报错: @AnimatableExtend should have one and only one parameter -function fancy2() { - .height(100) -} - -@Entry -@Component -struct Example { - build() { - Column() { - Text('text') - .fancy() - .fancy2() - } - } -} -``` - -**关键接å£/组件å˜æ›´** - -ä¸æ¶‰åŠ - -**适é…指导** - -@Extendå’ŒAnimatableExtendè£…é¥°å™¨ä»…èƒ½ä¼ ä¸€ä¸ªå‚数。 - -å‚考代ç 如下: -```ts -// xxx.ets - -@Extend(Text) -function fancy() { - .width(100) -} - -@AnimatableExtend(Text) -function fancy2() { - .height(100) -} - -@Entry -@Component -struct Example { - build() { - Column() { - Text('text') - .fancy() - .fancy2() - } - } -} -``` - -## cl.arkui.2 编译拦截@Link/@ObjectLinkæˆå‘˜å˜é‡æœªä»Žçˆ¶ç»„ä»¶ä¼ å€¼ - -å组件的@Link/@ObjectLinkæˆå‘˜å˜é‡éœ€è¦ä»Žçˆ¶ç»„ä»¶ä¼ å€¼ã€‚ - -**å˜æ›´å½±å“** - -å组件的@Link/@ObjectLinkå½“æ²¡æœ‰ä»Žçˆ¶ç»„ä»¶ä¼ å€¼æ—¶ï¼Œç¼–è¯‘æŠ¥é”™ã€‚ - -**错误示例:** - -```ts -// xxx.ets - -@Observed -class Count { - message: string = 'count' -} - -@Entry -@Component -struct Parent { - @State state1: string = 'state1'; - @State state2: Count = new Count(); - build() { - Column() { - Child() // 编译报错:Property 'link' in the custom component 'Child' is missing (mandatory to specify). - // 编译报错:Property 'objectLink' in the custom component 'Child' is missing (mandatory to specify). - } - } -} - -@Component -struct Child { - @Link link: string; - @ObjectLink objectLink: Count; - build() { - Column() { - Text(this.link) - .fontSize(50) - Text(this.objectLink.message) - .fontSize(50) - } - } -} -``` - -**关键接å£/组件å˜æ›´** - -ä¸æ¶‰åŠ - -**适é…指导** - -å组件的@Link/@ObjectLinkæˆå‘˜å˜é‡éœ€è¦ä»Žçˆ¶ç»„ä»¶ä¼ å€¼ã€‚ - -å‚考代ç 如下: -```ts -// xxx.ets - -@Observed -class Count { - message: string = 'count' -} - -@Entry -@Component -struct Parent { - @State state1: string = 'state1'; - @State state2: Count = new Count(); - build() { - Column() { - Child({link: $state1, objectLink: this.state2}) - } - } -} - -@Component -struct Child { - @Link link: string; - @ObjectLink objectLink: Count; - build() { - Column() { - Text(this.link) - .fontSize(50) - Text(this.objectLink.message) - .fontSize(50) - } - } -} -``` -## cl.arkui.3 canvas组件onReady事件行为å˜æ›´ - -**说明** -onReady事件在组件创建完æˆåŽæˆ–组件大å°å‘生å˜åŒ–时触å‘,并清空画布。 - -**示例:** -```ts -@Entry -@Component -struct OnReadyDiff { - @State message: string = 'init ' - @State isShow: boolean = false - @State myHeight: number = 300 - private settings: RenderingContextSettings = new RenderingContextSettings(true); - private context: CanvasRenderingContext2D = new CanvasRenderingContext2D(this.settings); - - build() { - Row() { - Column() { - Text(this.message) - .fontSize(50) - .fontWeight(FontWeight.Bold) - Button('ChangePosition') - .onClick(()=>{ - this.isShow = !this.isShow - }) - if (this.isShow) { - Button('new button') - .height(200) - } - Button('ChangeHeight') - .onClick(()=>{ - this.myHeight = this.myHeight==300?500:300 - }) - - Canvas(this.context) - .width(300) - .height(this.myHeight) - .backgroundColor('#ffff00') - .onReady(() =>{ - this.context.fillRect(0, 0, 100, 100) - this.message += 'a ' - }) - Button('draw another') - .onClick(()=>{ - this.context.fillRect(100, 100, 100, 100) - }) - } - .width('100%') - } - .height('100%') - } -} -``` - -API version 9:onReady在组件创建完æˆæ—¶è§¦å‘,ä½ç½®å˜åŒ–时会触å‘,组件大å°å˜åŒ–时也会触å‘。 - -![stack](figures/api9onReady.gif) - -API version 10åŠä»¥åŽï¼šonReady在组件创建完æˆæ—¶è§¦å‘,在组件ä½ç½®å˜åŒ–æ—¶ä¸ä¼šè§¦å‘,组件大å°å˜åŒ–时会触å‘。 - -![stack](figures/api10onReady.gif) - -**å˜æ›´å½±å“** - -onReady事件在组件ä½ç½®å‘生å˜åŒ–时行为å˜æ›´ï¼ŒAPI version 9åŠä»¥å‰ä¼šè§¦å‘,API version 10åŠä»¥åŽä¸ä¼šè§¦å‘。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-bundlemanager.md deleted file mode 100644 index 1949dde5be8c89177becc2dfe75045dc6bbe9ac5..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-bundlemanager.md +++ /dev/null @@ -1,13 +0,0 @@ -# 包管ç†å系统ChangeLog -## cl.bundlemanager.1 module.jsoné…置文件schemaå˜æ›´ - -module.jsoné…置文件ä¸ï¼Œmoduleå—段的name属性ã€abilityå—段的name属性ã€extensionAbilityå—段的name属性,需è¦ä»¥è‹±æ–‡å—æ¯å¼€å¤´ï¼Œå¹¶ä»…å«æœ‰è‹±æ–‡å—æ¯ã€æ•°å—以åŠä¸‹åˆ’线和点符å·ã€‚ - -**å˜æ›´å½±å“**<br> -å‡çº§æ–°ç‰ˆæœ¬sdkåŽï¼Œå¦‚æžœmoduleå—段的name属性ã€abilityå—段的name属性ã€extensionAbilityå—段的name属性ä¸ç¬¦åˆä¸Šè¿°è¦æ±‚,则编译失败。 - -**关键的接å£/组件å˜æ›´**<br> -module.jsoné…置文件ä¸ï¼Œmoduleå—段的name属性ã€abilityå—段的name属性ã€extensionAbilityå—段的name属性,需è¦ä»¥è‹±æ–‡å—æ¯å¼€å¤´ï¼Œå¹¶ä»…å«æœ‰è‹±æ–‡å—æ¯ã€æ•°å—以åŠä¸‹åˆ’线和点符å·ã€‚ - -**适é…指导**<br> -修改对应的å—段,使其满足以英文å—æ¯å¼€å¤´ï¼Œå¹¶ä»…å«æœ‰è‹±æ–‡å—æ¯ã€æ•°å—以åŠä¸‹åˆ’线和点符å·çš„è¦æ±‚。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-media.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-media.md deleted file mode 100644 index 8edafeade048e1c62b82cbf55d2890af6b9fcff8..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-media.md +++ /dev/null @@ -1,24 +0,0 @@ -# 媒体å系统ChangeLog - -## cl.media.1 æ’放功能接å£å˜æ›´ - -åˆ é™¤éŸ³è½¨åˆ‡æ¢ç›¸å…³æŽ¥å£ã€‚ - -**å˜æ›´å½±å“** - -åˆ é™¤éŸ³è½¨åˆ‡æ¢ç›¸å…³æŽ¥å£ï¼Œç›¸å…³æŽ¥å£ä¸å¯ä½¿ç”¨ã€‚ - -**关键的接å£/组件å˜æ›´** - -åˆ é™¤æŽ¥å£å¦‚下: - -| ç±»å | åˆ é™¤æŽ¥å£å£°æ˜Ž | -| -------------- | ------------------------------------------------------------ | -| Media.Core | MD_KEY_LANGUAGE | -| Media.AVPlayer | selectTrack(index: number): void | -| Media.AVPlayer | deselectTrack(index: number): void | -| Media.AVPlayer | getCurrentTrack(trackType: MediaType, callback: AsyncCallback\<number>): void | -| Media.AVPlayer | getCurrentTrack(trackType: MediaType): Promise\<number> | -| Media.AVPlayer | on(type: 'trackChange', callback: (index: number, isSelect: boolean) => void): void; | -| Media.AVPlayer | off(type: 'trackChange'): void | - diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-multimedia.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-multimedia.md deleted file mode 100644 index 0f0e81d9d1d6db812b6db98b9cdfe237f3e06570..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-multimedia.md +++ /dev/null @@ -1,29 +0,0 @@ -# multimediaå系统ChangeLog - -## cl.multimedia.1 getAudioEffectInfoArray接å£å…¥å‚å˜æ›´ï¼Œåˆ 除Content typeå…¥å‚ - -对于getAudioEffectInfoArray,适é…4.0.9.2ä¿®æ”¹ï¼Œåˆ é™¤Content typeå…¥å‚。 - -**å˜æ›´å½±å“** - -对于已å‘布的js接å£ï¼Œå¯èƒ½å½±å“三方应用的兼容性。 - -**关键的接å£/组件å˜æ›´** - -修改å‰çš„接å£åŽŸåž‹ï¼š - - ```js -getAudioEffectInfoArray(content: ContentType, usage: StreamUsage, callback: AsyncCallback<AudioEffectInfoArray>): void; -getAudioEffectInfoArray(content: ContentType, usage: StreamUsage): Promise<AudioEffectInfoArray>; - ``` - -修改åŽçš„接å£åŽŸåž‹ï¼š - - ```js -getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback<AudioEffectInfoArray>): void; -getAudioEffectInfoArray(usage: StreamUsage): Promise<AudioEffectInfoArray>; - ``` - -**适é…指导** - -修改åŽç”¨æˆ·è°ƒç”¨è¯¥æŽ¥å£æ—¶ï¼Œåªéœ€è¦ä¼ å…¥StreamUsageå…¥å‚,对于已ç»é€‚é…çš„ç”¨æˆ·ï¼Œç›´æŽ¥åˆ åŽ»ContentType typeå…¥å‚å³å¯ã€‚ \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/api10onReady.gif b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/api10onReady.gif deleted file mode 100755 index 5c0cb27ddf42514e174f1cabb9890aee792a96b6..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/api10onReady.gif and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/api9onReady.gif b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/api9onReady.gif deleted file mode 100755 index 619d0a18ff2c73359f7d487b86aca147cd9d7f66..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/api9onReady.gif and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/zh-cn_image_0000001588291546.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/zh-cn_image_0000001588291546.png deleted file mode 100644 index 7161b0170e120ae2b39b39ae49b9f5e52b18f7c2..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.3/figures/zh-cn_image_0000001588291546.png and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/changelogs-arkui.md deleted file mode 100644 index 793df76331639f4642d758edc75f30e6a3c99135..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/changelogs-arkui.md +++ /dev/null @@ -1,73 +0,0 @@ -# arkuiå系统ChangeLog - -## cl.arkui.1 Navigation menus属性显示å˜æ›´ - -**å˜æ›´å½±å“** - -menusçš„value属性值ä¸åšæ˜¾ç¤ºï¼Œå¦‚果需è¦æ˜¾ç¤ºï¼Œå¯ä»¥ä½¿ç”¨è‡ªå®šä¹‰Builder显示。 - -**示例:** -```ts -@Entry -@Component -struct Index { - build() { - Column() { - Navigation() { - Text('Navigation') - }.title("Navigation Menu") - .menus([ - {icon: 'common/image/icon.png', value: 'menu1'}, - {icon: 'common/image/icon.png', value: 'menu2'}, - {icon: 'common/image/icon.png', value: 'menu3'} - ]) - } - } -} -``` -API Version 9:menusçš„value属性会显示 - -![Navigation](figures/navigation_menu_api9.png) - -API Version 10: menusä¸çš„value属性ä¸æ˜¾ç¤º -![Navigation](figures/navigation_menu_api10.png) - -## cl.arkui.2 Navigationçš„titleMode属性Free模å¼é»˜è®¤æ˜¾ç¤ºä½ç½®å˜æ›´ - -**å˜æ›´å½±å“** -1. Navigationç»„ä»¶è‡ªå®šä¹‰æ ‡é¢˜å¹¶titleMode设置为Full模å¼æˆ–Free模å¼æ˜¾ç¤ºä½ç½®ç›¸åŒ -2. 使用自定义title结åˆFree模å¼çš„æ ‡ç¾ä¼šå‡ºçŽ°æ ‡ç¾ä½ç½®å‘å³å移 - -**示例:** -```ts -@Entry -@Component -struct Index { - @Builder NavigationTile() { - Column() { - Text('title').fontColor('#182431').fontSize(30).lineHeight(41) - Text('subTitle').fontColor('#182431').fontSize(14).lineHeight(19).margin(top:2, bottom: 20) - } - } - - build() { - Column() { - Navigation() { - Text('Navigation') - }.title(this.NavigationTitle) - .titleMode(NavigationTitleMode.Free) - .menus([ - {icon: 'common/image/icon.png', value: 'menu1'} - ]) - } - } -} -``` - -API Version 9: Free模å¼æ˜¾ç¤ºä½ç½® - -![Navigation](figures/navigation_title_mode_free_sdk9.png) - -API Version 10: Free模å¼æ˜¾ç¤ºä½ç½®ä¸ŽFull模å¼æ˜¾ç¤ºä½ç½®ç›¸åŒ - -![Navigation](figures/navigation_title_mode_free_sdk10.png) \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/changelogs-formfwk.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/changelogs-formfwk.md deleted file mode 100644 index ae1e218d4c961ae5cadeb0d84d739b8c9279212b..0000000000000000000000000000000000000000 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/changelogs-formfwk.md +++ /dev/null @@ -1,144 +0,0 @@ -# formfwkå系统ChangeLog - -## cl.formfwk.1 @ohos.app.form.formHost.d.ts部分接å£ç§»å‡ºï¼ŒæŽ¥å£æƒé™å˜åŠ¨ - -1. @ohos.app.form.formHost.d.tsä¸æ¶‰åŠç›‘å¬å’ŒèŽ·å–å¡ç‰‡åŠ¨æ€ä¿¡æ¯çš„接å£ç§»è‡³@ohos.app.form.formObserver.d.ts; -2. 涉åŠæŽ¥å£éœ€ç”³è¯·æƒé™ç”±ohos.permission.REQUIRE_FORM修改为ohos.permission.OBSERVE_FORM_RUNNING。 - -**å˜æ›´å½±å“** - -对于已å‘布的js接å£ï¼Œå¯èƒ½å½±å“三方应用的兼容性。 - -**关键的接å£/组件å˜æ›´** - -| æŽ¥å£ | 修改å‰æ‰€å±žd.ts | 修改åŽæ‰€å±žd.ts | 修改å‰æ‰€éœ€æƒé™ | 修改åŽæ‰€éœ€æƒé™ | -| -------- | -------- | -------- | -------- | -------- | -| on('formAdd') | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM|ohos.permission.OBSERVE_FORM_RUNNING| -| off('formAdd')| @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM|ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| on('formRemove') | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| off('formRemove') | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| on('notifyVisible') | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| off('notifyVisible') | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| on('notifyInvisible') | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| off('notifyInvisible') | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| getRunningFormInfos | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| getRunningFormInfosByFilter | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | -| getRunningFormInfoById | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | @ohos.app.form.formHost.d.ts | @ohos.app.form.formObserver.d.ts | ohos.permission.REQUIRE_FORM | ohos.permission.OBSERVE_FORM_RUNNING | - - -**适é…指导** - -已使用相关接å£å¼€å‘的应用工程,需è¦å¯¹æŽ¥å£è¿›è¡Œé€‚é…。从OpenHarmony 4.0.9.5版本起,相关接å£ä½¿ç”¨åº”导入@ohos.app.form.formObserver.d.ts,并申请ohos.permission.OBSERVE_FORM_RUNNINGæƒé™ã€‚ - -**示例:** -```js -import formObserver from @ohos.app.form.formObserver.d.ts; - -try { - formObserver.getRunningFormInfos((error, data) => { - if (error) { - console.error(`error, code: ${error.code}, message: ${error.message}`); - } else { - console.log('formHost getRunningFormInfos, data: ${JSON.stringify(data)}'); - } - }, 'com.example.ohos.formjsdemo'); -} catch(error) { - console.error(`catch error, code: ${error.code}, message: ${error.message}`); -} -``` - -## cl.formfwk.2 事件订阅,å–消订阅相关接å£ï¼ˆon/off)å‚数顺åºè°ƒæ•´ - -事件订阅,å–消订阅相关接å£ï¼ˆon/off)ä¸çš„callback调整为接å£æœ€åŽä¸€ä¸ªå‚数。 - -**å˜æ›´å½±å“** - -对于已å‘布的js接å£ï¼Œå¯èƒ½å½±å“三方应用的兼容性。 - -**关键的接å£/组件å˜æ›´** - -修改å‰çš„接å£åŽŸåž‹ï¼š - -```js -function on(type: 'formAdd', observerCallback: Callback<formInfo.RunningFormInfo>, bundleName?: string): void; -function off(type: 'formAdd', observerCallback?: Callback<formInfo.RunningFormInfo>, bundleName?: string): void; - -function on(type: 'formRemove', observerCallback: Callback<formInfo.RunningFormInfo>, bundleName?: string): void; -function off(type: 'formRemove', observerCallback?: Callback<formInfo.RunningFormInfo>, bundleName?: string): void; - -function on( - type: 'notifyVisible', - observerCallback: Callback<Array<formInfo.RunningFormInfo>>, - hostBundleName?: string - ): void; -function off( - type: 'notifyVisible', - observerCallback?: Callback<Array<formInfo.RunningFormInfo>>, - hostBundleName?: string - ): void; - -function on( - type: 'notifyInvisible', - observerCallback: Callback<Array<formInfo.RunningFormInfo>>, - hostBundleName?: string - ): void; -function off( - type: 'notifyInvisible', - observerCallback?: Callback<Array<formInfo.RunningFormInfo>>, - hostBundleName?: string - ): void; -``` - -修改åŽçš„接å£åŽŸåž‹ï¼š - -```js -function on(type: 'formAdd', observerCallback: Callback<formInfo.RunningFormInfo>): void; -function on(type: 'formAdd', hostBundleName: string, observerCallback: Callback<formInfo.RunningFormInfo>): void; -function off(type: 'formAdd', hostBundleName?: string, observerCallback?: Callback<formInfo.RunningFormInfo>): void; - -function on(type: 'formRemove', observerCallback: Callback<formInfo.RunningFormInfo>): void; -function on(type: 'formRemove', hostBundleName: string, observerCallback: Callback<formInfo.RunningFormInfo>): void; -function off(type: 'formRemove', hostBundleName?: string, observerCallback?: Callback<formInfo.RunningFormInfo>): void; - -function on(type: 'notifyVisible', observerCallback: Callback<Array<formInfo.RunningFormInfo>>): void; -function on( - type: 'notifyVisible', - hostBundleName: string, - observerCallback: Callback<Array<formInfo.RunningFormInfo>> - ): void; -function off( - type: 'notifyVisible', - hostBundleName?: string, - observerCallback?: Callback<Array<formInfo.RunningFormInfo>> - ): void; - -function on(type: 'notifyInvisible', observerCallback: Callback<Array<formInfo.RunningFormInfo>>): void; -function on( - type: 'notifyInvisible', - hostBundleName: string, - observerCallback: Callback<Array<formInfo.RunningFormInfo>>, - ): void; -function off( - type: 'notifyInvisible', - hostBundleName?: string, - observerCallback?: Callback<Array<formInfo.RunningFormInfo>> - ): void; -``` - - -**适é…指导** - -已使用相关接å£å¼€å‘的应用工程,需è¦å¯¹æŽ¥å£è¿›è¡Œé€‚é…。从OpenHarmony 4.0.9.5版本起,相关接å£ä½¿ç”¨åº”注æ„å…¥å‚顺åºçš„调整,将callback作为最åŽä¸€ä¸ªå‚数进行接å£è°ƒç”¨ã€‚ - -**示例:** -```js -import formObserver from @ohos.app.form.formObserver.d.ts; - -let bundleName = 'ohos.samples.FormApplication'; -let callback = function(data) { - console.log('a new form added, data: ${JSON.stringify(data)'); -} - -formHost.on('formAdd', callback); -formHost.on('formAdd', bundleName, callback); -``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_menu_api10.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_menu_api10.png deleted file mode 100644 index 24a30ea3a944793806fb279980de4a3d03390539..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_menu_api10.png and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_menu_api9.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_menu_api9.png deleted file mode 100644 index d3e351964ac3360542c4c5b71585240727fd3a8d..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_menu_api9.png and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_title_mode_free_sdk10.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_title_mode_free_sdk10.png deleted file mode 100644 index 4ef990a8e4cf03ea48063d182bd6b461f111fb62..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_title_mode_free_sdk10.png and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_title_mode_free_sdk9.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_title_mode_free_sdk9.png deleted file mode 100644 index 3d6dfaa42d44b7ea9554de39f2b20723c058a299..0000000000000000000000000000000000000000 Binary files a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.9.5/figures/navigation_title_mode_free_sdk9.png and /dev/null differ diff --git a/zh-cn/release-notes/changelogs/v3.2-beta4/Readme.md b/zh-cn/release-notes/changelogs/v3.2-beta4/Readme.md new file mode 100644 index 0000000000000000000000000000000000000000..5d4b22da0f35a9f9b96f87b4af34eab2e4c1830c --- /dev/null +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/Readme.md @@ -0,0 +1,29 @@ +# Readme + +- [元能力](changelogs-ability.md) +- [å¸å·](changelogs-account_os_account.md) +- [ArkUI](changelogs-arkui.md) +- [多媒体-相机](changelogs-camera.md) +- [设备管ç†](changelogs-device-manager.md) +- [USB](changelogs-device-usb.md) +- [分布å¼è°ƒåº¦](changelogs-dmsfwk.md) +- [分布å¼è½¯æ€»çº¿](changelogs-dsoftbus.md) +- [定制管ç†](changelogs-enterprise_device_management.md) +- [文件管ç†](changelogs-filemanagement.md) +- [ä½ç½®æœåŠ¡](changelogs-geolocation.md) +- [å…¨çƒåŒ–](changelogs-global.md) +- [输入法框架](changelogs-inputmethod-framworks.md) +- [多媒体](changelogs-multimedia.md) +- [多模输入](changelogs-multimodalinput.md) +- [事件通知](changelogs-notification.md) +- [电æºç®¡ç†](changelogs-power.md) +- [ä¸Šä¼ ä¸‹è½½](changelogs-request.md) +- [资æºç®¡ç†](changelogs-resource-manager.md) +- [资æºè°ƒåº¦](changelogs-resourceschedule.md) +- [电è¯æœåŠ¡](changelogs-telephony.md) +- [测试](changelogs-testfwk_arkxtest.md) +- [主题](changelogs-theme.md) +- [用户IAM](changelogs-useriam.md) +- [元能力-WantAgent](changelogs-wantAgent.md) +- [Web](changelogs-web.md) +- [基础通信-WIFI](changelogs-wifi.md) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-x-x.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelog-x-x.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-x-x.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelog-x-x.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-ability.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-ability.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-ability.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-ability.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-account_os_account.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-account_os_account.md similarity index 58% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-account_os_account.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-account_os_account.md index 7aa6bffc9cf3c8423ba8b552ae9046fbd4aa7494..3270d7b74c20c45aa82da6e0f68d26016425774c 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-account_os_account.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-account_os_account.md @@ -1,105 +1,234 @@ -# å¸å·å系统changeLog - -## cl.account_os_account.1 å˜æ›´é”™è¯¯ç 定义åŠå…¶è¿”å›žæ–¹å¼ - -针对å¸å·å系统APIå˜åœ¨é”™è¯¯ç 定义ä¸ç»Ÿä¸€å’ŒæŠ›å‡ºæ–¹å¼ä¸ç¬¦åˆOpenHarmony错误ç 规范的问题,从API9开始作以下å˜æ›´ï¼š - -- 新增统一的错误ç 定义: - - [å¸å·å…¬å…±é”™è¯¯ç ](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/errorcodes/errorcode-account.md) - - [应用å¸å·é”™è¯¯ç ](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/errorcodes/errorcode-account.md) - -- 按以下方å¼è¿”回错误ç : - - 异æ¥æŽ¥å£ï¼šé”™è¯¯ä¿¡æ¯é€šè¿‡AsyncCallback或Promiseçš„error对象返回。其ä¸ï¼Œå‚数类型和数é‡é”™è¯¯ä¿¡æ¯ï¼Œé€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回。 - - åŒæ¥æŽ¥å£ï¼šé”™è¯¯ä¿¡æ¯é€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´åŽçš„新错误ç 和错误信æ¯è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -以下接å£æ¶‰åŠæ–°é”™è¯¯ç 和错误信æ¯è¿”回方å¼å˜æ›´ï¼š - - class AccountManager - - activateOsAccount(localId: number, callback: AsyncCallback<void>): void; - - removeOsAccount(localId: number, callback: AsyncCallback<void>): void; - - setOsAccountConstraints(localId: number, constraints: Array<string>, enable: boolean, callback: AsyncCallback<void>): void; - - setOsAccountName(localId: number, localName: string, callback: AsyncCallback<void>): void; - - queryMaxOsAccountNumber(callback: AsyncCallback<number>): void; - - queryAllCreatedOsAccounts(callback: AsyncCallback<Array<OsAccountInfo>>): void; - - createOsAccount(localName: string, type: OsAccountType, callback: AsyncCallback<OsAccountInfo>): void; - - createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo, callback: AsyncCallback<OsAccountInfo>): void; - - queryOsAccountById(localId: number, callback: AsyncCallback<OsAccountInfo>): void; - - getOsAccountProfilePhoto(localId: number, callback: AsyncCallback<string>): void; - - setOsAccountProfilePhoto(localId: number, photo: string, callback: AsyncCallback<void>): void; - - on(type: 'activate' | 'activating', name: string, callback: Callback<number>): void; - - off(type: 'activate' | 'activating', name: string, callback?: Callback<number>): void; - - isMainOsAccount(callback: AsyncCallback<boolean>): void; - - queryOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback<Array<ConstraintSourceTypeInfo>>): void; - - class UserAuth - - constructor(); - - getVersion(): number; - - getAvailableStatus(authType: AuthType, authTrustLevel: AuthTrustLevel): number; - - getProperty(request: GetPropertyRequest, callback: AsyncCallback<ExecutorProperty>): void; - - setProperty(request: SetPropertyRequest, callback: AsyncCallback<number>): void; - - auth(challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array; - - authUser(userId: number, challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array; - - cancelAuth(contextID: Uint8Array): number; - - class PINAuth - - constructor(); - - registerInputer(inputer: IInputer): boolean; - - unregisterInputer(authType: AuthType): void; - - class UserIdentityManager - - constructor(); - - openSession(callback: AsyncCallback<Uint8Array>): void; - - addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; - - updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; - - closeSession(): void; - - cancel(challenge: Uint8Array): number; - - delUser(token: Uint8Array, callback: IIdmCallback): void; - - delCred(credentialId: Uint8Array, token: Uint8Array, callback: IIdmCallback): void; - - getAuthInfo(callback: AsyncCallback<Array<EnrolledCredInfo>>): void; - - interface IInputData - - onSetData: (authSubType: AuthSubType, data: Uint8Array) => void; - -**适é…指导** - -异æ¥æŽ¥å£çš„错误信æ¯å¤„ç†é€»è¾‘以activateOsAccount为例,示例代ç 如下: - -```ts -import account_osAccount from "@ohos.account.osAccount" -let accountMgr = account_osAccount.getAccountManager() -let callbackFunc = (err) => { - if (err != null) { // handle the bussiness error - console.log("account_osAccount failed, error: " + JSON.stringify(err)); - } else { - console.log("account_osAccount successfully"); - } -} -try { - accountMgr.activateOsAccount("100", callbackFunc); -} catch (err) { // handle the parameter type error - console.log("account_osAccount failed for incorrect parameter type, error: " + JSON.stringify(err)); -} -try { - accountMgr.activateOsAccount(); -} catch (err) { // handle the parameter number error - console.log("account_osAccount failed for incorrect parameter number, error: " + JSON.stringify(err)); -} -``` - -åŒæ¥æŽ¥å£çš„错误信æ¯å¤„ç†ä»¥registerInputer为例,示例代ç 如下: - -```ts -import account_osAccount from "@ohos.account.osAccount" -let pinAuth = new account_osAccount.PINAuth() -try { - pinAuth.registerInputer({}) -} catch (err) { // handle the parameter type error - console.log("account_osAccount failed for incorrect parameter type, error: " + JSON.stringify(err)); -} -try { - pinAuth.registerInputer() -} catch (err) { // handle the parameter number error - console.log("account_osAccount failed for incorrect parameter number, error: " + JSON.stringify(err)); -} -``` +# å¸å·å系统changeLog + +## cl.account_os_account.1 å˜æ›´é”™è¯¯ç 定义åŠå…¶è¿”å›žæ–¹å¼ + +针对å¸å·å系统APIå˜åœ¨é”™è¯¯ç 定义ä¸ç»Ÿä¸€å’ŒæŠ›å‡ºæ–¹å¼ä¸ç¬¦åˆOpenHarmony错误ç 规范的问题,从API9开始作以下å˜æ›´ï¼š + +- 新增统一的错误ç 定义: + [å¸å·å…¬å…±é”™è¯¯ç ](../../../application-dev/reference/errorcodes/errorcode-account.md) + +- 按以下方å¼è¿”回错误ç : + - 异æ¥æŽ¥å£ï¼šé”™è¯¯ä¿¡æ¯é€šè¿‡AsyncCallback或Promiseçš„error对象返回。其ä¸ï¼Œå‚数类型和数é‡é”™è¯¯ä¿¡æ¯ï¼Œé€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回。 + - åŒæ¥æŽ¥å£ï¼šé”™è¯¯ä¿¡æ¯é€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回。 + +**å˜æ›´å½±å“** + +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´åŽçš„新错误ç 和错误信æ¯è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键接å£/组件å˜æ›´** + +以下接å£æ¶‰åŠæ–°é”™è¯¯ç 和错误信æ¯è¿”回方å¼å˜æ›´ï¼š + - class AccountManager + - activateOsAccount(localId: number, callback: AsyncCallback<void>): void; + - removeOsAccount(localId: number, callback: AsyncCallback<void>): void; + - setOsAccountConstraints(localId: number, constraints: Array<string>, enable: boolean, callback: AsyncCallback<void>): void; + - setOsAccountName(localId: number, localName: string, callback: AsyncCallback<void>): void; + - queryMaxOsAccountNumber(callback: AsyncCallback<number>): void; + - queryAllCreatedOsAccounts(callback: AsyncCallback<Array<OsAccountInfo>>): void; + - createOsAccount(localName: string, type: OsAccountType, callback: AsyncCallback<OsAccountInfo>): void; + - createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo, callback: AsyncCallback<OsAccountInfo>): void; + - queryOsAccountById(localId: number, callback: AsyncCallback<OsAccountInfo>): void; + - getOsAccountProfilePhoto(localId: number, callback: AsyncCallback<string>): void; + - setOsAccountProfilePhoto(localId: number, photo: string, callback: AsyncCallback<void>): void; + - on(type: 'activate' | 'activating', name: string, callback: Callback<number>): void; + - off(type: 'activate' | 'activating', name: string, callback?: Callback<number>): void; + - isMainOsAccount(callback: AsyncCallback<boolean>): void; + - queryOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback<Array<ConstraintSourceTypeInfo>>): void; + - class UserAuth + - constructor(); + - getVersion(): number; + - getAvailableStatus(authType: AuthType, authTrustLevel: AuthTrustLevel): number; + - getProperty(request: GetPropertyRequest, callback: AsyncCallback<ExecutorProperty>): void; + - setProperty(request: SetPropertyRequest, callback: AsyncCallback<number>): void; + - auth(challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array; + - authUser(userId: number, challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array; + - cancelAuth(contextID: Uint8Array): number; + - class PINAuth + - constructor(); + - registerInputer(inputer: IInputer): boolean; + - unregisterInputer(authType: AuthType): void; + - class UserIdentityManager + - constructor(); + - openSession(callback: AsyncCallback<Uint8Array>): void; + - addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; + - updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; + - closeSession(): void; + - cancel(challenge: Uint8Array): number; + - delUser(token: Uint8Array, callback: IIdmCallback): void; + - delCred(credentialId: Uint8Array, token: Uint8Array, callback: IIdmCallback): void; + - getAuthInfo(callback: AsyncCallback<Array<EnrolledCredInfo>>): void; + - interface IInputData + - onSetData: (authSubType: AuthSubType, data: Uint8Array) => void; + +**适é…指导** + +异æ¥æŽ¥å£çš„错误信æ¯å¤„ç†é€»è¾‘以activateOsAccount为例,示例代ç 如下: + +```ts +import account_osAccount from "@ohos.account.osAccount" +let accountMgr = account_osAccount.getAccountManager() +let callbackFunc = (err) => { + if (err != null) { // handle the bussiness error + console.log("account_osAccount failed, error: " + JSON.stringify(err)); + } else { + console.log("account_osAccount successfully"); + } +} +try { + accountMgr.activateOsAccount("100", callbackFunc); +} catch (err) { // handle the parameter type error + console.log("account_osAccount failed for incorrect parameter type, error: " + JSON.stringify(err)); +} +try { + accountMgr.activateOsAccount(); +} catch (err) { // handle the parameter number error + console.log("account_osAccount failed for incorrect parameter number, error: " + JSON.stringify(err)); +} +``` + +åŒæ¥æŽ¥å£çš„错误信æ¯å¤„ç†ä»¥registerInputer为例,示例代ç 如下: + +```ts +import account_osAccount from "@ohos.account.osAccount" +let pinAuth = new account_osAccount.PINAuth() +try { + pinAuth.registerInputer({}) +} catch (err) { // handle the parameter type error + console.log("account_osAccount failed for incorrect parameter type, error: " + JSON.stringify(err)); +} +try { + pinAuth.registerInputer() +} catch (err) { // handle the parameter number error + console.log("account_osAccount failed for incorrect parameter number, error: " + JSON.stringify(err)); +} +``` + +# å¸å·å系统ChangeLog + +## cl.account_os_account.2 å¸å·SystemAPI错误信æ¯è¿”回方å¼å˜æ›´ + +å·²å‘布的部分å¸å·SystemAPI使用业务逻辑返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯ç 规范。从API9开始作以下å˜æ›´ï¼š + +异æ¥æŽ¥å£ï¼šé€šè¿‡AsyncCallback或Promiseçš„error对象返回错误信æ¯ã€‚ + +åŒæ¥æŽ¥å£ï¼šé€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回错误信æ¯ã€‚ + +**å˜æ›´å½±å“** + +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´æŽ¥å£çš„错误信æ¯è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键接å£/组件å˜æ›´** + +å˜æ›´å‰ï¼š + + - class UserAuth + - setProperty(request: SetPropertyRequest, callback: AsyncCallback<number>): void; + - setProperty(request: SetPropertyRequest): Promise<number>; + - cancelAuth(contextID: Uint8Array): number; + - class PINAuth + - registerInputer(inputer: Inputer): boolean; + - UserIdentityManager + - cancel(challenge: Uint8Array): number; + +å˜æ›´åŽï¼š + + - class UserAuth + - setProperty(request: SetPropertyRequest, callback: AsyncCallback<void>): void; + - setProperty(request: SetPropertyRequest): Promise<void>; + - cancelAuth(contextID: Uint8Array): void; + - class PINAuth + - registerInputer(inputer: Inputer): void; + - UserIdentityManager + - cancel(challenge: Uint8Array): void; + +**适é…指导** + +异æ¥æŽ¥å£ä»¥setProperty为例,示例代ç 如下: + +``` +import account_osAccount from "@ohos.account.osAccount" +userAuth.setProperty({ + authType: account_osAccount.AuthType.PIN, + key: account_osAccount.SetPropertyType.INIT_ALGORITHM, + setInfo: new Uint8Array([0]) +}, (err) => { + if (err) { + console.log("setProperty failed, error: " + JSON.stringify(err)); + } else { + console.log("setProperty successfully"); + } +}); + +userAuth.setProperty({ + authType: account_osAccount.AuthType.PIN, + key: account_osAccount.SetPropertyType.INIT_ALGORITHM, + setInfo: new Uint8Array([0]) +}).catch((err) => { + if (err) { + console.log("setProperty failed, error: " + JSON.stringify(err)); + } else { + console.log("setProperty successfully"); + } +}); +``` + +åŒæ¥æŽ¥å£ä»¥registerInputer为例,示例代ç 如下: + +``` +import account_osAccount from "@ohos.account.osAccount" +let pinAuth = new account_osAccount.PINAuth() +let inputer = { + onGetData: (authType, passwordRecipient) => { + let password = new Uint8Array([0]); + passwordRecipient.onSetData(authType, password); + } +} +try { + pinAuth.registerInputer(inputer); +} catch (err) { + console.log("registerInputer failed, error: " + JSON.stringify(err)); +} +``` + +## cl.account_os_account.3 应用å¸å·é‰´æƒæœåŠ¡ACTION定义å˜æ›´ + +**å˜æ›´å½±å“** + +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…修改应用é…置文件(FA模型为config.json或Stage模型为module.json5)ä¸çš„ACTIONæ‰èƒ½æ£å¸¸å¯¹å¤–æ供应用鉴æƒæœåŠ¡ã€‚ + +**关键接å£/组件å˜æ›´** + +涉åŠçš„常é‡ï¼š + +@ohos.ability.wantConstant.ACTION_APP_ACCOUNT_AUTH + +å˜æ›´å‰ï¼š + +ACTION_APP_ACCOUNT_AUTH = "account.appAccount.action.auth" + +å˜æ›´åŽï¼š + +ACTION_APP_ACCOUNT_AUTH = "ohos.appAccount.action.auth" + +**适é…指导** + +æ供应用å¸å·é‰´æƒæœåŠ¡çš„三方应用,需è¦åœ¨ç›¸å…³ServiceAbilityçš„é…置文件(FA模型为config.json或Stage模型为module.json5)ä¸é€‚é…å˜æ›´åŽçš„应用å¸å·è®¤è¯ACTION,示例如下: + +``` +"abilities": [ + { + "name": "ServiceAbility", + "srcEnty": "./ets/ServiceAbility/ServiceAbility.ts", + ... + "visible": true, + "skills": { + { + "actions": [ + "ohos.appAccount.action.auth" + ] + } + } + }] +} + +``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-arkui.md similarity index 94% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-arkui.md index 2a76e25c348b3f65bf4896951388e949f6a3015a..3293eb4d9394bd5481fff65e619da1f53fc9769d 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-arkui.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-arkui.md @@ -69,7 +69,7 @@ ArkUIå系统alertDialog, actionSheet, customDialog组件åŠprompt, promptActio ## cl.arkui.3 自定义组件æˆå‘˜å˜é‡åˆå§‹åŒ–çš„æ–¹å¼ä¸Žçº¦æŸæ ¡éªŒåœºæ™¯è¡¥å…¨ -自定义组件æˆå‘˜å˜é‡åˆå§‹åŒ–规则æ¤ç‰ˆæœ¬ä¿®å¤äº†æŸäº›é—æ¼åœºæ™¯çš„æ ¡éªŒã€‚ +自定义组件æˆå‘˜å˜é‡åˆå§‹åŒ–规则请å‚考文档,æ¤ç‰ˆæœ¬ä¿®å¤äº†æŸäº›é—æ¼åœºæ™¯çš„æ ¡éªŒã€‚ **å˜æ›´å½±å“** @@ -86,7 +86,7 @@ ArkUIå系统alertDialog, actionSheet, customDialog组件åŠprompt, promptActio ## cl.arkui.4 自定义父å组件æˆå‘˜å˜é‡èµ‹å€¼çº¦æŸæ ¡éªŒåœºæ™¯è¡¥å…¨ -自定义父å组件æˆå‘˜å˜é‡èµ‹å€¼è§„则æ¤ç‰ˆæœ¬ä¿®å¤äº†æŸäº›é—æ¼åœºæ™¯çš„æ ¡éªŒã€‚ +自定义父å组件æˆå‘˜å˜é‡èµ‹å€¼è§„则请å‚考文档,æ¤ç‰ˆæœ¬ä¿®å¤äº†æŸäº›é—æ¼åœºæ™¯çš„æ ¡éªŒã€‚ **å˜æ›´å½±å“** diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-camera.md similarity index 99% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-camera.md index 9d5c7e9811baa1f5f4a2abbad0702db42aaadacd..b7b5b8c3c884f8d23e6bd4bb2faf319702d88a29 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-camera.md @@ -1,7 +1,5 @@ # 媒体å系统JS APIå˜æ›´Changelog -OpenHarmony3.2 Beta4版本相较于OpenHarmony3.2 Beta3版本,媒体å系统camera部件APIå˜æ›´å¦‚下 - ## camera接å£å˜æ›´ åŸºäºŽä»¥ä¸‹åŽŸå› æ–°å¢žéƒ¨åˆ†åŠŸèƒ½æŽ¥å£ä»¥åŠåºŸå¼ƒéƒ¨åˆ†æŽ¥å£ï¼š 1. æå‡å¼€å‘者使用相机接å£çš„便利。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-manager.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-device-manager.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-manager.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-device-manager.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-device-usb.md old mode 100755 new mode 100644 similarity index 96% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-device-usb.md index 329d267fc9325b9bba89b784cf2c2ae4fbcceab2..15629e935378b84f4f5aab0bebde0e4523c3ee00 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-device-usb.md @@ -1,27 +1,27 @@ -# USBç®¡ç† changeLog - -## cl.usb_manager.1 API错误信æ¯è¿”回方å¼å˜æ›´ - -USB管ç†æŽ¥å£ä½¿ç”¨ä¸šåŠ¡é€»è¾‘返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯ç 规范。从API9开始作出å˜æ›´ï¼Œé€‰æ‹©é€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回错误信æ¯ã€‚ - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…接å£çš„错误信æ¯è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -USB模å—åç”±@ohos.usb.d.ts å˜æ›´ä¸º @ohos.usbV9.d.ts,模å—内所有接å£å‡å¢žåŠ 错误ç 处ç†ã€‚ - -**适é…指导** - -接å£ä»¥getDevices为例,示例代ç 如下: - -```ts -import usbV9 from '@ohos.usbV9' - -try { -usbV9.getDevices(); // 如果给该接å£ä¼ å…¥ä¸åˆé€‚çš„å‚数,则会抛出异常 -} catch (err) { -console.error("getDevices errCode:" + err.code + ",errMessage:" + err.message); -} +# USBç®¡ç† changeLog + +## cl.usb_manager.1 API错误信æ¯è¿”回方å¼å˜æ›´ + +USB管ç†æŽ¥å£ä½¿ç”¨ä¸šåŠ¡é€»è¾‘返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯ç 规范。从API9开始作出å˜æ›´ï¼Œé€‰æ‹©é€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回错误信æ¯ã€‚ + +**å˜æ›´å½±å“** + +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…接å£çš„错误信æ¯è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键接å£/组件å˜æ›´** + +USB模å—åç”±@ohos.usb.d.ts å˜æ›´ä¸º @ohos.usbV9.d.ts,模å—内所有接å£å‡å¢žåŠ 错误ç 处ç†ã€‚ + +**适é…指导** + +接å£ä»¥getDevices为例,示例代ç 如下: + +```ts +import usbV9 from '@ohos.usbV9' + +try { +usbV9.getDevices(); // 如果给该接å£ä¼ å…¥ä¸åˆé€‚çš„å‚数,则会抛出异常 +} catch (err) { +console.error("getDevices errCode:" + err.code + ",errMessage:" + err.message); +} ``` \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelog-dmsfwk.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-dmsfwk.md similarity index 81% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelog-dmsfwk.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-dmsfwk.md index 88316500aa71c78bc5c064acbad74baa48f666fa..6876e374974e37a027a336788294f9ef6fbf3fdc 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelog-dmsfwk.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-dmsfwk.md @@ -99,4 +99,24 @@ continuationManager.off 设备å–消选择事件 } catch (err) { console.error('off failed, cause: ' + JSON.stringify(err)); } -``` \ No newline at end of file +``` + +## cl.DistributedManagerService.2 continuationManager接å£æ–°å¢žDATASYNCæƒé™æ ¡éªŒ + +æ¤å‰ç‰ˆæœ¬continuationManager接å£æœªå¯¹è°ƒç”¨æ–¹è¿›è¡Œæ ¡éªŒï¼Œä¸ç¬¦åˆOpenHarmonyçš„API接å£è§„范。 +å·²åšå‡ºä»¥ä¸‹å˜æ›´ï¼šè°ƒç”¨æ–¹ä½¿ç”¨continuationManagerå‰éœ€æå‰ç”³è¯·"ohos.permission.DISTRIBUTED_DATASYNC"æƒé™ã€‚ + +**å˜æ›´å½±å“** + +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需æå‰ç”³è¯·"ohos.permission.DISTRIBUTED_DATASYNC"æƒé™ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键的接å£/组件å˜æ›´** + +涉åŠæŽ¥å£ + + - continuationManager.registerContinuation; + - continuationManager.on; + - continuationManager.off; + - continuationManager.unregisterContinuation; + - continuationManager.updateContinuationState; + - continuationManager.startContinuationDeviceManager; \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-dsoftbus.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-dsoftbus.md similarity index 98% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-dsoftbus.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-dsoftbus.md index 2f7b7d8cb2345e5dacf5e9cc50cdeca4f9a76a28..e52128d7c3aaf93f56a760fa9cf0e2d95ad6dee4 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-dsoftbus.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-dsoftbus.md @@ -1,145 +1,145 @@ -# 软总线å系统Changelog - -## IPC&RPC API支æŒå¼‚常处ç†æ–¹å¼å’Œæ”¯æŒä¼ 入布尔值与数值选择åŒæ¥æˆ–异æ¥æ–¹å¼å‘é€ä¿¡æ¯å˜æ›´ -1. 软总线IPC&RPC部分接å£ä½¿ç”¨ä¸šåŠ¡é€»è¾‘返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯è§„范; -2. 支æŒä¼ 入布尔值选择åŒæ¥æˆ–异æ¥æ–¹å¼å‘é€ä¿¡æ¯ã€‚ -#### å˜æ›´å½±å“ - -æ¤ç‰ˆæœ¬å…¼å®¹ä¹‹å‰çš„应用开å‘,ä¸éœ€è¦é€‚é…,åŽç»å¯è°ƒç”¨æ–°å¢žæŽ¥å£æ”¯æŒä»¥ä¸‹ä¸¤ä¸ªå˜æ›´ï¼š -1. 支æŒå¼‚常处ç†å¹¶è¿”回错误ç ï¼› -2. æ供通过布尔值或通过0与éž0æ•°å—选择åŒæ¥æˆ–异æ¥å‘消æ¯ã€‚ - -#### 关键接å£/组件å˜æ›´ - -为适é…统一的API异常处ç†æ–¹å¼ï¼Œå¯¹IPC&RPC相关接å£è¿›è¡ŒåºŸå¼ƒï¼Œå¹¶æ–°å¢žå¯¹åº”接å£å’Œæ–¹æ³•ã€‚新增接å£æ”¯æŒç»Ÿä¸€çš„错误ç 异常处ç†è§„范,功能上与原接å£ä¿æŒä¸€è‡´ã€‚ -| ç±»å | åºŸå¼ƒæŽ¥å£ | 新增替æ¢ç±»å | æ–°å¢žæ›¿ä»£æŽ¥å£ | -| ------------ | ------------ | ------------ | ------------ | -| MessageParcel | static create(): MessageParcel | MessageSequence | static create(): MessageSequence | -| MessageParcel | reclaim(): void | MessageSequence | reclaim(): void | -| MessageParcel | writeRemoteObject(object: IRemoteObject): boolean| MessageSequence |writeRemoteObject(object: IRemoteObject): void| -| MessageParcel | readRemoteObject(): IRemoteObject | MessageSequence | readRemoteObject(): IRemoteObject | -| MessageParcel | writeInterfaceToken(token: string): boolean | MessageSequence | writeInterfaceToken(token: string): void | -| MessageParcel | readInterfaceToken(): string | MessageSequence | readInterfaceToken(): string | -| MessageParcel | getSize(): number | MessageSequence | getSize(): number | -| MessageParcel | getCapacity(): number | MessageSequence | getCapacity(): number| -| MessageParcel | setSize(size: number): boolean | MessageSequence | setCapacity(size: number): void | -| MessageParcel | getReadableBytes(): number | MessageSequence | getReadableBytes(): number | -| MessageParcel | getReadPosition(): number | MessageSequence | getReadPosition(): number | -| MessageParcel | getWritePosition(): number | MessageSequence | getWritePosition(): number | -| MessageParcel | rewindRead(pos: number): boolean | MessageSequence | rewindRead(pos: number): void | -| MessageParcel | rewindWrite(pos: number): boolean | MessageSequence | rewindWrite(pos: number): void | -| MessageParcel | writeNoException(): void | MessageSequence | writeNoException(): void | -| MessageParcel | readException(): void | MessageSequence | readException(): void | -| MessageParcel | writeByte(val: number): boolean | MessageSequence | writeByte(val: number): void | -| MessageParcel | writeShort(val: number): boolean | MessageSequence | writeShort(val: number): void | -| MessageParcel | writeInt(val: number): boolean | MessageSequence | writeInt(val: number): void | -| MessageParcel | writeLong(val: number): boolean | MessageSequence | writeLong(val: number): void | -| MessageParcel | writeFloat(val: number): boolean | MessageSequence | writeFloat(val: number): void | -| MessageParcel | writeDouble(val: number): boolean | MessageSequence | writeDouble(val: number): void | -| MessageParcel | writeBoolean(val: boolean): boolean | MessageSequence | writeBoolean(val: boolean): void | -| MessageParcel | writeChar(val: number): boolean | MessageSequence | writeChar(val: number): void | -| MessageParcel | writeString(val: string): boolean | MessageSequence | writeString(val: string): void | -| MessageParcel | writeSequenceable(val: Sequenceable): boolean | MessageSequence | writeParcelable(val: Parcelable): void | -| MessageParcel | writeByteArray(byteArray: number[]): boolean | MessageSequence | writeByteArray(byteArray: number[]): void | -| MessageParcel | writeShortArray(shortArray: number[]): boolean | MessageSequence | writeShortArray(shortArray: number[]): void | -| MessageParcel | writeIntArray(intArray: number[]): boolean | MessageSequence | writeIntArray(intArray: number[]): void | -| MessageParcel | writeLongArray(longArray: number[]): boolean | MessageSequence | writeLongArray(longArray: number[]): void | -| MessageParcel | writeFloatArray(floatArray: number[]): boolean | MessageSequence | writeFloatArray(floatArray: number[]): void | -| MessageParcel | writeDoubleArray(doubleArray: number[]): boolean | MessageSequence | writeDoubleArray(doubleArray: number[]): void | -| MessageParcel | writeBooleanArray(booleanArray: boolean[]): boolean | MessageSequence | writeBooleanArray(booleanArray: boolean[]): void | -| MessageParcel | writeCharArray(charArray: number[]): boolean | MessageSequence | writeCharArray(charArray: number[]): void | -| MessageParcel | writeStringArray(stringArray: string[]): boolean | MessageSequence | writeStringArray(stringArray: string[]): void | -| MessageParcel | writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean | MessageSequence | writeParcelableArray(sequenceableArray: Parcelable[]): void | -| MessageParcel | writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean | MessageSequence | writeRemoteObjectArray(objectArray: IRemoteObject[]): void | -| MessageParcel | readByte(): number | MessageSequence | readByte(): number | -| MessageParcel | readShort(): number | MessageSequence | readShort(): number | -| MessageParcel | readLong(): number | MessageSequence | readLong(): number | -| MessageParcel | readFloat(): number | MessageSequence | readFloat(): number | -| MessageParcel | readDouble(): number | MessageSequence | readDouble(): number | -| MessageParcel | readBoolean(): boolean | MessageSequence | readBoolean(): boolean | -| MessageParcel | readChar(): number | MessageSequence | readChar(): number | -| MessageParcel | readString(): string | MessageSequence | readString(): string | -| MessageParcel | readSequenceable(dataIn: Sequenceable) : boolean | MessageSequence | readSequenceable(dataIn: Parcelable) : void | -| MessageParcel | readByteArray(dataIn: number[]) : void | MessageSequence | readByteArray(dataIn: number[]) : void | -| MessageParcel | readByteArray(): number[] | MessageSequence | readByteArray(): number[] | -| MessageParcel | readShortArray(dataIn: number[]) : void | MessageSequence | readShortArray(dataIn: number[]) : void | -| MessageParcel | readShortArray(): number[] | MessageSequence | readShortArray(): number[] | -| MessageParcel | readIntArray(dataIn: number[]) : void | MessageSequence | readIntArray(dataIn: number[]) : void | -| MessageParcel | readIntArray() : number[] | MessageSequence | readIntArray() : number[] | -| MessageParcel | readLongArray(dataIn: number[]) : void | MessageSequence | readLongArray(dataIn: number[]) : void | -| MessageParcel | readLongArray(): number[] | MessageSequence | readLongArray(): number[] | -| MessageParcel | readFloatArray(dataIn: number[]) : void | MessageSequence | readFloatArray(dataIn: number[]) : void | -| MessageParcel | readFloatArray(): number[] | MessageSequence | readFloatArray(): number[] | -| MessageParcel | readDoubleArray(dataIn: number[]) : void | MessageSequence | readDoubleArray(dataIn: number[]) : void | -| MessageParcel | readDoubleArray(): number[] | MessageSequence | readDoubleArray(): number[] | -| MessageParcel | readBooleanArray(dataIn: boolean[]) : void | MessageSequence | readBooleanArray(dataIn: boolean[]) : void | -| MessageParcel | readBooleanArray(): boolean[] | MessageSequence | readBooleanArray(): boolean[] | -| MessageParcel | readCharArray(dataIn: number[]) : void | MessageSequence | readCharArray(dataIn: number[]) : void | -| MessageParcel | readCharArray(): number[] | MessageSequence | readCharArray(): number[] | -| MessageParcel | readStringArray(dataIn: string[]) : void | MessageSequence | readStringArray(dataIn: string[]) : void | -| MessageParcel | readStringArray(): string[] | MessageSequence | readStringArray(): string[] | -| MessageParcel | readSequenceableArray(sequenceableArray: Sequenceable[]): void | MessageSequence | readSequenceableArray(sequenceableArray: Parcelable[]): void | -| MessageParcel | readRemoteObjectArray(objects: IRemoteObject[]): void | MessageSequence | readRemoteObjectArray(objects: IRemoteObject[]): void | -| MessageParcel | readRemoteObjectArray(): IRemoteObject[] | MessageSequence | readRemoteObjectArray(): IRemoteObject[] | -| MessageParcel | static closeFileDescriptor(fd: number): void | MessageSequence | static closeFileDescriptor(fd: number): void | -| MessageParcel | static dupFileDescriptor(fd: number) :number | MessageSequence | static dupFileDescriptor(fd: number) :number | -| MessageParcel | containFileDescriptors(): boolean | MessageSequence | containFileDescriptors(): boolean | -| MessageParcel | writeFileDescriptor(fd: number): boolean | MessageSequence | writeFileDescriptor(fd: number): void | -| MessageParcel | readFileDescriptor(): number | MessageSequence | readFileDescriptor(): number | -| MessageParcel | writeAshmem(ashmem: Ashmem): boolean | MessageSequence | writeAshmem(ashmem: Ashmem): void | -| MessageParcel | readAshmem(): Ashmem | MessageSequence | readAshmem(): Ashmem | -| MessageParcel | writeRawData(rawData: number[], size: number): boolean | MessageSequence | writeRawData(rawData: number[], size: number): void | -| MessageParcel | readRawData(size: number): number[] | MessageSequence | readRawData(size: number): number[] | -| Sequenceable | marshalling(dataOut: MessageParcel): boolean | Parcelable | marshalling(dataOut: MessageSequence): boolean | -| Sequenceable | unmarshalling(dataIn: MessageParcel) : boolean | Parcelable | unmarshalling(dataIn: MessageSequence) : boolean | -| SendRequestResult | errCode: number | RequestResult | errCode: number | -| SendRequestResult | code: number | RequestResult | code: number | -| SendRequestResult | data: MessageParcel | RequestResult | data: MessageSequence | -| SendRequestResult | reply: MessageParcel | RequestResult | reply: MessageSequence | -| IRemoteObject | queryLocalInterface(descriptor: string): IRemoteBroker | NA | getLocalInterface(descriptor: string): IRemoteBroker | -| IRemoteObject | getInterfaceDescriptor(): string | NA | getDescriptor(): string | -| IRemoteObject | addDeathRecipient(recipient: DeathRecipient, flags: number): boolean | NA | registerDeathRecipient(recipient: DeathRecipient, flags: number): void | -| IRemoteObject | removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean | NA | unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void | -| IRemoteObject | NA | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise<RequestResult> | -| IRemoteObject | sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption,callback: AsyncCallback<RequestResult>): void | -| MessageOption | NA | NA | isAsync(): boolean | -| MessageOption | NA | NA | setAsync(async: boolean): void | -| MessageOption | NA | NA | constructor(async?: boolean) | -| RemoteObject | queryLocalInterface(descriptor: string): IRemoteBroker | NA | getLocalInterface(descriptor: string): IRemoteBroker | -| RemoteObject | attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void | NA | modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void | -| RemoteObject | getInterfaceDescriptor(): string | NA | getDescriptor(): string | -| RemoteObject | onRemoteRequestEx(code : number, data : MessageParcel, reply: MessageParcel, options : MessageOption): boolean \| Promise<boolean> | NA | onRemoteMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): boolean \| Promise<boolean> | -| RemoteObject | sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise<SendRequestResult> | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise<RequestResult> | -| RemoteObject | sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback<RequestResult>): void | -| RemoteProxy | queryLocalInterface(interface: string): IRemoteBroker | NA | getLocalInterface(descriptor: string): IRemoteBroker | -| RemoteProxy | getInterfaceDescriptor(): string | NA | getDescriptor(): string | -| RemoteProxy | addDeathRecipient(recipient: DeathRecipient, flags: number): boolean | NA | registerDeathRecipient(recipient: DeathRecipient, flags: number): void | -| RemoteProxy | removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean | NA | unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void | -| RemoteProxy | NA | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise<RequestResult> | -| RemoteProxy | sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback<RequestResult>): void | -| IPCSkeleton | static flushCommands(object: IRemoteObject): number | NA | static flushCmdBuffer(object: IRemoteObject): void | -| IPCSkeleton | static setCallingIdentity(identity: string): boolean | NA | static restoreCallingIdentity(identity: string): void | -| Ashmem | static createAshmem(name: string, size: number): Ashmem | NA | static create(name: string, size: number): Ashmem | -| Ashmem | static createAshmemFromExisting(ashmem: Ashmem): Ashmem | NA | static create(ashmem: Ashmem): Ashmem | -| Ashmem | mapAshmem(mapType: number): boolean | NA | mapTypedAshmem(mapType: number): void | -| Ashmem | mapReadAndWriteAshmem(): boolean | NA | mapReadWriteAshmem(): void | -| Ashmem | mapReadOnlyAshmem(): boolean | NA | mapReadonlyAshmem(): void | -| Ashmem | setProtection(protectionType: number): boolean | NA | setProtectionType(protectionType: number): void | -| Ashmem | writeToAshmem(buf: number[], size: number, offset: number): boolean | NA | writeAshmem(buf: number[], size: number, offset: number): void | -| Ashmem | readFromAshmem(size: number, offset: number): number[] | NA | readAshmem(size: number, offset: number): number[] | - -#### 适é…指导 - -新增的接å£ä»¥æŠ›å¼‚常的方å¼è¿”回错误ç åŠå¯¹åº”的错误信æ¯ï¼Œä»¥MessageParcelä¸çš„create接å£ä¸ºä¾‹ï¼Œä½¿ç”¨ç¤ºä¾‹ä»£ç 如下: -```js -import rpc from '@ohos.rpc' - -try { - var data = rpc.MessageParcel.create(); - data.reclaim(); -} catch (error) { - console.info("create meassageParcel failed, errorCode = " + error.errCode); - console.info("create meassageParcel failed, errorMessage = " + error.errorMessage); -} -``` +# 软总线å系统Changelog + +## IPC&RPC API支æŒå¼‚常处ç†æ–¹å¼å’Œæ”¯æŒä¼ 入布尔值与数值选择åŒæ¥æˆ–异æ¥æ–¹å¼å‘é€ä¿¡æ¯å˜æ›´ +1. 软总线IPC&RPC部分接å£ä½¿ç”¨ä¸šåŠ¡é€»è¾‘返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯è§„范; +2. 支æŒä¼ 入布尔值选择åŒæ¥æˆ–异æ¥æ–¹å¼å‘é€ä¿¡æ¯ã€‚ +#### å˜æ›´å½±å“ + +æ¤ç‰ˆæœ¬å…¼å®¹ä¹‹å‰çš„应用开å‘,ä¸éœ€è¦é€‚é…,åŽç»å¯è°ƒç”¨æ–°å¢žæŽ¥å£æ”¯æŒä»¥ä¸‹ä¸¤ä¸ªå˜æ›´ï¼š +1. 支æŒå¼‚常处ç†å¹¶è¿”回错误ç ï¼› +2. æ供通过布尔值或通过0与éž0æ•°å—选择åŒæ¥æˆ–异æ¥å‘消æ¯ã€‚ + +#### 关键接å£/组件å˜æ›´ + +为适é…统一的API异常处ç†æ–¹å¼ï¼Œå¯¹IPC&RPC相关接å£è¿›è¡ŒåºŸå¼ƒï¼Œå¹¶æ–°å¢žå¯¹åº”接å£å’Œæ–¹æ³•ã€‚新增接å£æ”¯æŒç»Ÿä¸€çš„错误ç 异常处ç†è§„范,功能上与原接å£ä¿æŒä¸€è‡´ã€‚ +| ç±»å | åºŸå¼ƒæŽ¥å£ | 新增替æ¢ç±»å | æ–°å¢žæ›¿ä»£æŽ¥å£ | +| ------------ | ------------ | ------------ | ------------ | +| MessageParcel | static create(): MessageParcel | MessageSequence | static create(): MessageSequence | +| MessageParcel | reclaim(): void | MessageSequence | reclaim(): void | +| MessageParcel | writeRemoteObject(object: IRemoteObject): boolean| MessageSequence |writeRemoteObject(object: IRemoteObject): void| +| MessageParcel | readRemoteObject(): IRemoteObject | MessageSequence | readRemoteObject(): IRemoteObject | +| MessageParcel | writeInterfaceToken(token: string): boolean | MessageSequence | writeInterfaceToken(token: string): void | +| MessageParcel | readInterfaceToken(): string | MessageSequence | readInterfaceToken(): string | +| MessageParcel | getSize(): number | MessageSequence | getSize(): number | +| MessageParcel | getCapacity(): number | MessageSequence | getCapacity(): number| +| MessageParcel | setSize(size: number): boolean | MessageSequence | setCapacity(size: number): void | +| MessageParcel | getReadableBytes(): number | MessageSequence | getReadableBytes(): number | +| MessageParcel | getReadPosition(): number | MessageSequence | getReadPosition(): number | +| MessageParcel | getWritePosition(): number | MessageSequence | getWritePosition(): number | +| MessageParcel | rewindRead(pos: number): boolean | MessageSequence | rewindRead(pos: number): void | +| MessageParcel | rewindWrite(pos: number): boolean | MessageSequence | rewindWrite(pos: number): void | +| MessageParcel | writeNoException(): void | MessageSequence | writeNoException(): void | +| MessageParcel | readException(): void | MessageSequence | readException(): void | +| MessageParcel | writeByte(val: number): boolean | MessageSequence | writeByte(val: number): void | +| MessageParcel | writeShort(val: number): boolean | MessageSequence | writeShort(val: number): void | +| MessageParcel | writeInt(val: number): boolean | MessageSequence | writeInt(val: number): void | +| MessageParcel | writeLong(val: number): boolean | MessageSequence | writeLong(val: number): void | +| MessageParcel | writeFloat(val: number): boolean | MessageSequence | writeFloat(val: number): void | +| MessageParcel | writeDouble(val: number): boolean | MessageSequence | writeDouble(val: number): void | +| MessageParcel | writeBoolean(val: boolean): boolean | MessageSequence | writeBoolean(val: boolean): void | +| MessageParcel | writeChar(val: number): boolean | MessageSequence | writeChar(val: number): void | +| MessageParcel | writeString(val: string): boolean | MessageSequence | writeString(val: string): void | +| MessageParcel | writeSequenceable(val: Sequenceable): boolean | MessageSequence | writeParcelable(val: Parcelable): void | +| MessageParcel | writeByteArray(byteArray: number[]): boolean | MessageSequence | writeByteArray(byteArray: number[]): void | +| MessageParcel | writeShortArray(shortArray: number[]): boolean | MessageSequence | writeShortArray(shortArray: number[]): void | +| MessageParcel | writeIntArray(intArray: number[]): boolean | MessageSequence | writeIntArray(intArray: number[]): void | +| MessageParcel | writeLongArray(longArray: number[]): boolean | MessageSequence | writeLongArray(longArray: number[]): void | +| MessageParcel | writeFloatArray(floatArray: number[]): boolean | MessageSequence | writeFloatArray(floatArray: number[]): void | +| MessageParcel | writeDoubleArray(doubleArray: number[]): boolean | MessageSequence | writeDoubleArray(doubleArray: number[]): void | +| MessageParcel | writeBooleanArray(booleanArray: boolean[]): boolean | MessageSequence | writeBooleanArray(booleanArray: boolean[]): void | +| MessageParcel | writeCharArray(charArray: number[]): boolean | MessageSequence | writeCharArray(charArray: number[]): void | +| MessageParcel | writeStringArray(stringArray: string[]): boolean | MessageSequence | writeStringArray(stringArray: string[]): void | +| MessageParcel | writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean | MessageSequence | writeParcelableArray(sequenceableArray: Parcelable[]): void | +| MessageParcel | writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean | MessageSequence | writeRemoteObjectArray(objectArray: IRemoteObject[]): void | +| MessageParcel | readByte(): number | MessageSequence | readByte(): number | +| MessageParcel | readShort(): number | MessageSequence | readShort(): number | +| MessageParcel | readLong(): number | MessageSequence | readLong(): number | +| MessageParcel | readFloat(): number | MessageSequence | readFloat(): number | +| MessageParcel | readDouble(): number | MessageSequence | readDouble(): number | +| MessageParcel | readBoolean(): boolean | MessageSequence | readBoolean(): boolean | +| MessageParcel | readChar(): number | MessageSequence | readChar(): number | +| MessageParcel | readString(): string | MessageSequence | readString(): string | +| MessageParcel | readSequenceable(dataIn: Sequenceable) : boolean | MessageSequence | readSequenceable(dataIn: Parcelable) : void | +| MessageParcel | readByteArray(dataIn: number[]) : void | MessageSequence | readByteArray(dataIn: number[]) : void | +| MessageParcel | readByteArray(): number[] | MessageSequence | readByteArray(): number[] | +| MessageParcel | readShortArray(dataIn: number[]) : void | MessageSequence | readShortArray(dataIn: number[]) : void | +| MessageParcel | readShortArray(): number[] | MessageSequence | readShortArray(): number[] | +| MessageParcel | readIntArray(dataIn: number[]) : void | MessageSequence | readIntArray(dataIn: number[]) : void | +| MessageParcel | readIntArray() : number[] | MessageSequence | readIntArray() : number[] | +| MessageParcel | readLongArray(dataIn: number[]) : void | MessageSequence | readLongArray(dataIn: number[]) : void | +| MessageParcel | readLongArray(): number[] | MessageSequence | readLongArray(): number[] | +| MessageParcel | readFloatArray(dataIn: number[]) : void | MessageSequence | readFloatArray(dataIn: number[]) : void | +| MessageParcel | readFloatArray(): number[] | MessageSequence | readFloatArray(): number[] | +| MessageParcel | readDoubleArray(dataIn: number[]) : void | MessageSequence | readDoubleArray(dataIn: number[]) : void | +| MessageParcel | readDoubleArray(): number[] | MessageSequence | readDoubleArray(): number[] | +| MessageParcel | readBooleanArray(dataIn: boolean[]) : void | MessageSequence | readBooleanArray(dataIn: boolean[]) : void | +| MessageParcel | readBooleanArray(): boolean[] | MessageSequence | readBooleanArray(): boolean[] | +| MessageParcel | readCharArray(dataIn: number[]) : void | MessageSequence | readCharArray(dataIn: number[]) : void | +| MessageParcel | readCharArray(): number[] | MessageSequence | readCharArray(): number[] | +| MessageParcel | readStringArray(dataIn: string[]) : void | MessageSequence | readStringArray(dataIn: string[]) : void | +| MessageParcel | readStringArray(): string[] | MessageSequence | readStringArray(): string[] | +| MessageParcel | readSequenceableArray(sequenceableArray: Sequenceable[]): void | MessageSequence | readSequenceableArray(sequenceableArray: Parcelable[]): void | +| MessageParcel | readRemoteObjectArray(objects: IRemoteObject[]): void | MessageSequence | readRemoteObjectArray(objects: IRemoteObject[]): void | +| MessageParcel | readRemoteObjectArray(): IRemoteObject[] | MessageSequence | readRemoteObjectArray(): IRemoteObject[] | +| MessageParcel | static closeFileDescriptor(fd: number): void | MessageSequence | static closeFileDescriptor(fd: number): void | +| MessageParcel | static dupFileDescriptor(fd: number) :number | MessageSequence | static dupFileDescriptor(fd: number) :number | +| MessageParcel | containFileDescriptors(): boolean | MessageSequence | containFileDescriptors(): boolean | +| MessageParcel | writeFileDescriptor(fd: number): boolean | MessageSequence | writeFileDescriptor(fd: number): void | +| MessageParcel | readFileDescriptor(): number | MessageSequence | readFileDescriptor(): number | +| MessageParcel | writeAshmem(ashmem: Ashmem): boolean | MessageSequence | writeAshmem(ashmem: Ashmem): void | +| MessageParcel | readAshmem(): Ashmem | MessageSequence | readAshmem(): Ashmem | +| MessageParcel | writeRawData(rawData: number[], size: number): boolean | MessageSequence | writeRawData(rawData: number[], size: number): void | +| MessageParcel | readRawData(size: number): number[] | MessageSequence | readRawData(size: number): number[] | +| Sequenceable | marshalling(dataOut: MessageParcel): boolean | Parcelable | marshalling(dataOut: MessageSequence): boolean | +| Sequenceable | unmarshalling(dataIn: MessageParcel) : boolean | Parcelable | unmarshalling(dataIn: MessageSequence) : boolean | +| SendRequestResult | errCode: number | RequestResult | errCode: number | +| SendRequestResult | code: number | RequestResult | code: number | +| SendRequestResult | data: MessageParcel | RequestResult | data: MessageSequence | +| SendRequestResult | reply: MessageParcel | RequestResult | reply: MessageSequence | +| IRemoteObject | queryLocalInterface(descriptor: string): IRemoteBroker | NA | getLocalInterface(descriptor: string): IRemoteBroker | +| IRemoteObject | getInterfaceDescriptor(): string | NA | getDescriptor(): string | +| IRemoteObject | addDeathRecipient(recipient: DeathRecipient, flags: number): boolean | NA | registerDeathRecipient(recipient: DeathRecipient, flags: number): void | +| IRemoteObject | removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean | NA | unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void | +| IRemoteObject | NA | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise<RequestResult> | +| IRemoteObject | sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption,callback: AsyncCallback<RequestResult>): void | +| MessageOption | NA | NA | isAsync(): boolean | +| MessageOption | NA | NA | setAsync(async: boolean): void | +| MessageOption | NA | NA | constructor(async?: boolean) | +| RemoteObject | queryLocalInterface(descriptor: string): IRemoteBroker | NA | getLocalInterface(descriptor: string): IRemoteBroker | +| RemoteObject | attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void | NA | modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void | +| RemoteObject | getInterfaceDescriptor(): string | NA | getDescriptor(): string | +| RemoteObject | onRemoteRequestEx(code : number, data : MessageParcel, reply: MessageParcel, options : MessageOption): boolean \| Promise<boolean> | NA | onRemoteMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): boolean \| Promise<boolean> | +| RemoteObject | sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): Promise<SendRequestResult> | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise<RequestResult> | +| RemoteObject | sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback<RequestResult>): void | +| RemoteProxy | queryLocalInterface(interface: string): IRemoteBroker | NA | getLocalInterface(descriptor: string): IRemoteBroker | +| RemoteProxy | getInterfaceDescriptor(): string | NA | getDescriptor(): string | +| RemoteProxy | addDeathRecipient(recipient: DeathRecipient, flags: number): boolean | NA | registerDeathRecipient(recipient: DeathRecipient, flags: number): void | +| RemoteProxy | removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean | NA | unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void | +| RemoteProxy | NA | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise<RequestResult> | +| RemoteProxy | sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption, callback: AsyncCallback<SendRequestResult>): void | NA | sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback<RequestResult>): void | +| IPCSkeleton | static flushCommands(object: IRemoteObject): number | NA | static flushCmdBuffer(object: IRemoteObject): void | +| IPCSkeleton | static setCallingIdentity(identity: string): boolean | NA | static restoreCallingIdentity(identity: string): void | +| Ashmem | static createAshmem(name: string, size: number): Ashmem | NA | static create(name: string, size: number): Ashmem | +| Ashmem | static createAshmemFromExisting(ashmem: Ashmem): Ashmem | NA | static create(ashmem: Ashmem): Ashmem | +| Ashmem | mapAshmem(mapType: number): boolean | NA | mapTypedAshmem(mapType: number): void | +| Ashmem | mapReadAndWriteAshmem(): boolean | NA | mapReadWriteAshmem(): void | +| Ashmem | mapReadOnlyAshmem(): boolean | NA | mapReadonlyAshmem(): void | +| Ashmem | setProtection(protectionType: number): boolean | NA | setProtectionType(protectionType: number): void | +| Ashmem | writeToAshmem(buf: number[], size: number, offset: number): boolean | NA | writeAshmem(buf: number[], size: number, offset: number): void | +| Ashmem | readFromAshmem(size: number, offset: number): number[] | NA | readAshmem(size: number, offset: number): number[] | + +#### 适é…指导 + +新增的接å£ä»¥æŠ›å¼‚常的方å¼è¿”回错误ç åŠå¯¹åº”的错误信æ¯ï¼Œä»¥MessageParcelä¸çš„create接å£ä¸ºä¾‹ï¼Œä½¿ç”¨ç¤ºä¾‹ä»£ç 如下: +```js +import rpc from '@ohos.rpc' + +try { + var data = rpc.MessageParcel.create(); + data.reclaim(); +} catch (error) { + console.info("create meassageParcel failed, errorCode = " + error.errCode); + console.info("create meassageParcel failed, errorMessage = " + error.errorMessage); +} +``` 更多接å£çš„示例代ç å¯å‚考[RPC通信API文档](../../../application-dev/reference/apis/js-apis-rpc.md)。 \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-enterprise_device_management.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-enterprise_device_management.md similarity index 99% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-enterprise_device_management.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-enterprise_device_management.md index 5ab2c1109b6b6adc2a505aa5aad1baa2675ccc50..1a345ef8f67651188c67f4365154d16c5102f1d0 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-enterprise_device_management.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-enterprise_device_management.md @@ -1,7 +1,5 @@ # 定制å系统ChangeLog -OpenHarmony 3.2.8.3 版本相较于OpenHarmony 3.2.8.1版本,定制å系统的APIå˜æ›´å¦‚下: - ## cl.Customization.1 ä¼ä¸šè®¾å¤‡ç®¡ç†æ¨¡å—å称å˜æ›´ 从Opeharmonny 3.2.8.3版本开始,将"@ohos.enterpriseDeviceManager.d.ts"改为"@ohos.enterprise.adminManager.d.ts",开å‘者需è¦æ ¹æ®ä»¥ä¸‹è¯´æ˜Žå¯¹åº”用进行适é…。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-filemanagement.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-filemanagement.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-filemanagement.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-filemanagement.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-geolocation.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-geolocation.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-geolocation.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-geolocation.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-global.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-global.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-global.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-global.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-inputmethod-framworks.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-inputmethod-framworks.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-inputmethod-framworks.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-inputmethod-framworks.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-multimedia.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-multimedia.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-multimedia.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-multimedia.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-multimodalinput.md old mode 100755 new mode 100644 similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-multimodalinput.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-notification.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-notification.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-notification.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-notification.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-power.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-power.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-power.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-power.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-request.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-request.md similarity index 99% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-request.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-request.md index ec7e3f8202e14792db1a8df9fde33390a935944c..7156bc1a5f85b4094cca72779b5e8917ce5382d4 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-request.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-request.md @@ -1,7 +1,5 @@ # ä¸Šä¼ ä¸‹è½½å系统ChangeLog -OpenHarmony 3.2.8.1版本相较于OpenHarmony 3.2.beta3版本,requestå系统的APIå˜æ›´å¦‚下 - ## cl.request.1 错误ç 定义åŠAPI部分接å£å称å˜æ›´ - æ–°å¢žä¸Šä¼ ä¸‹è½½æŽ¥å£çš„[错误ç ](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/errorcodes/errorcode-request.md)处ç†ã€‚ diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-resource-manager.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-resource-manager.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-resource-manager.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-resource-manager.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-resourceschedule.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-resourceschedule.md similarity index 99% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-resourceschedule.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-resourceschedule.md index 6c12f4083402160827d7f809d55a6b442bfc7369..2434d2d22974e3b4264b13565b5316a608227e02 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-resourceschedule.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-resourceschedule.md @@ -1,316 +1,316 @@ -# 资æºè°ƒåº¦å系统ChangeLog - -## cl.resourceschedule.backgroundTaskManager -对资æºè°ƒåº¦å系统backgroundTaskManager仓原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„接å£å…¨éƒ¨åºŸå¼ƒï¼ŒåŽŸæœ‰API9接å£åˆ 除,需è¦ä½¿ç”¨æ–°çš„API9接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ã€‚废弃@ohos.backgroundTaskManager.d.ts文件,新增@ohos.resourceschedule.backgroundTaskManager.d.ts文件,将相关接å£å˜æ›´è‡³å¯¹åº”的文件。 - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | 说明 | -| -- | -- | -- | -- | -| backgroundTaskManager | namespace | declare namespace backgroundTaskManager | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function resetAllEfficiencyResources(): void; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function applyEfficiencyResources(request: EfficiencyResourcesRequest): bool; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts,修改为function applyEfficiencyResources(request: EfficiencyResourcesRequest): void; | -| backgroundTaskManager | method | function stopBackgroundRunning(context: Context): Promise<void>; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise<void>; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, callback: AsyncCallback<void>): void; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function requestSuspendDelay(reason: string, callback: Callback<void>): DelaySuspendInfo; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function getRemainingDelayTime(requestId: number): Promise<number>; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function getRemainingDelayTime(requestId: number, callback: AsyncCallback<number>): void; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager | method | function cancelSuspendDelay(requestId: number): void; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | export enum BackgroundMode | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | DATA_TRANSFER = 1 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | AUDIO_PLAYBACK = 2 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | AUDIO_RECORDING = 3 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | LOCATION = 4 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | BLUETOOTH_INTERACTION = 5 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | MULTI_DEVICE_CONNECTION = 6 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | WIFI_INTERACTION = 7 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | VOIP = 8 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.BackgroundMode | enum | TASK_KEEPING = 9 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.DelaySuspendInfo | interface | interface DelaySuspendInfo | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.DelaySuspendInfo | field | requestId: number | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.DelaySuspendInfo | field | actualDelayTime: number | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | export enum ResourceType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | CPU = 1 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | COMMON_EVENT = 1 << 1 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | TIMER = 1 << 2 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | WORK_SCHEDULER = 1 << 3 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | BLUETOOTH = 1 << 4 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | GPS = 1 << 5 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.ResourceType | enum | AUDIO = 1 << 6 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | interface | export interface EfficiencyResourcesRequest | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | reason: string | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | isProcess?: bool | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | isPersist?: bool | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | timeOut: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | isApply: bool | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | -| backgroundTaskManager.EfficiencyResourcesRequest | field | resourceTypes: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | - - -**适é…指导**<br> - -导入backgroundTaskManager模å—。 -``` -import bundle form '@ohos.resourceschedule.backgroundTaskManager' -``` -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[backgroundTaskManager接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md)。 - -## c2.resourceschedule.usageStatistics -对资æºè°ƒåº¦å系统deviceUsageStatistics仓原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„接å£å…¨éƒ¨åºŸå¼ƒï¼ŒåŽŸæœ‰API9接å£åˆ 除,需è¦ä½¿ç”¨æ–°çš„API9接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ï¼ŒåºŸå¼ƒ@ohos.bundleState.d.ts文件,新增@ohos.resourceschedule.usageStatistics.d.ts文件,类å也将从bundleStateå˜æ›´ä¸ºusageStatistics。 - -| ç±»å | 接å£ç±»åž‹ | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| ----------------------------------------- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| bundleState | method | function isIdleState(bundleName: string, callback: AsyncCallback<boolean>): void; | 废弃,移动到usageStatistics.isIdleState | -| bundleState | method | function isIdleState(bundleName: string): Promise<boolean>; | 废弃,移动到usageStatistics.isIdleState | -| bundleState | method | function queryAppUsagePriorityGroup(callback: AsyncCallback<number>): void; | 废弃,修改为function queryAppGroup(callback: AsyncCallback<number>): void; | -| bundleState | method | function queryAppUsagePriorityGroup(): Promise<number>; | 废弃,修改为function queryAppGroup(): Promise<number>; | -| bundleState | method | function queryBundleStateInfos(begin: number, end: number, callback: AsyncCallback<BundleActiveInfoResponse>): void; | 废弃,修改为function queryBundleStatsInfos(begin: number, end: number, callback: AsyncCallback<BundleStatsMap>): void; | -| bundleState | method | function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>; | 废弃, 修改为function queryBundleStatsInfos(begin: number, end: number): Promise<BundleStatsMap>; | -| bundleState | method | function queryBundleStateInfoByInterval(byInterval: IntervalType, begin: number, end: number): Promise<Array<BundleStateInfo>>; | 废弃,修改为function queryBundleStatsInfoByInterval(byInterval: IntervalType, begin: number, end: number): Promise<Array<BundleStatsInfo>>; | -| bundleState | method | function queryBundleStateInfoByInterval(byInterval: IntervalType, begin: number, end: number, callback: AsyncCallback<Array<BundleStateInfo>>): void; | 废弃,修改为function queryBundleStatsInfoByInterval(byInterval: IntervalType, begin: number, end: number, callback: AsyncCallback<Array<BundleStatsInfo>>): void; | -| bundleState | method | function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>; | 废弃,修改为function queryBundleEvents(begin: number, end: number): Promise<Array<BundleEvents>>; | -| bundleState | method | function queryBundleActiveStates(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveState>>): void; | 废弃,修改为function queryBundleEvents(begin: number, end: number, callback: AsyncCallback<Array<BundleEvents>>): void; | -| bundleState | method | function queryCurrentBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>; | 废弃,修改为function queryCurrentBundleEvents(begin: number, end: number): Promise<Array<BundleEvents>>; | -| bundleState | method | function queryCurrentBundleActiveStates(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveState>>): void; | 废弃,修改为function queryCurrentBundleEvents(begin: number, end: number, callback: AsyncCallback<Array<BundleEvents>>): void; | -| bundleState | method | function getRecentlyUsedModules(maxNum?: number): Promise<Array<BundleActiveModuleInfo>>; | 废弃,修改为两个接å£function QueryModuleUsageRecords(maxNum: number): Promise<Array<HapModuleInfo>>; function QueryModuleUsageRecords(): Promise<Array<HapModuleInfo>>; | -| bundleState | method | function getRecentlyUsedModules(maxNum?: number, callback: AsyncCallback<Array<BundleActiveModuleInfo>>): void; | 废弃,修改为两个接å£function QueryModuleUsageRecords(maxNum: number, callback: AsyncCallback<Array<HapModuleInfo>>): void; function QueryModuleUsageRecords(callback: AsyncCallback<Array<HapModuleInfo>>): void; | -| bundleState | method | function queryAppUsagePriorityGroup(bundleName? : string): Promise<number>; | 废弃,修改为function queryAppGroup(bundleName: string): Promise<number>; | -| bundleState | method | function queryAppUsagePriorityGroup(bundleName? : string, callback: AsyncCallback<number>): void; | 废弃,修改为function queryAppGroup(bundleName: string, callback: AsyncCallback<number>): void; | -| bundleState | method | function setBundleGroup(bundleName: string, newGroup: GroupType, callback: AsyncCallback<void>): void; | 废弃,修改为function setAppGroup(bundleName: string, newGroup: GroupType, callback: AsyncCallback<void>): void; | -| bundleState | method | function setBundleGroup(bundleName: string, newGroup: GroupType): Promise<void>; | 废弃,修改为function setAppGroup(bundleName: string, newGroup: GroupType): Promise<void>; | -| bundleState | method | function registerGroupCallBack(callback: Callback<BundleActiveGroupCallbackInfo>, callback: AsyncCallback<void>): void; | 废弃,修改为function registerAppGroupCallBack(callback: Callback<AppGroupCallbackInfo>, callback: AsyncCallback<void>): void; | -| bundleState | method | function registerGroupCallBack(callback: Callback<BundleActiveGroupCallbackInfo>): Promise<void>; | 废弃,修改为function registerAppGroupCallBack(callback: Callback<AppGroupCallbackInfo>): Promise<void>; | -| bundleState | method | function unRegisterGroupCallBack(callback: AsyncCallback<void>): void; | å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction unregisterAppGroupCallBack(): Promise<void>; | -| bundleState | method | function unRegisterGroupCallBack(): Promise<void>; | å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction unregisterAppGroupCallBack(): Promise<void>; | -| bundleState | method | function queryBundleActiveEventStates(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveEventState>>): void; | å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction queryDeviceEventStats(begin: number, end: number, callback: AsyncCallback<Array<DeviceEventStats>>): void; | -| bundleState | method | function queryBundleActiveEventStates(begin: number, end: number): Promise<Array<BundleActiveEventState>>; | 接å£ä»ŽAPI9å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction queryDeviceEventStats(begin: number, end: number): Promise<Array<DeviceEventStats>>; | -| bundleState | method | function queryAppNotificationNumber(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveEventState>>): void; | 接å£ä»ŽAPI9å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction queryNotificationEventStats(begin: number, end: number, callback: AsyncCallback<Array<NotificationEventStats >>): void; | -| bundleState | method | function queryAppNotificationNumber(begin: number, end: number): Promise<Array<BundleActiveEventState>>; | 接å£ä»ŽAPI9å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction queryNotificationEventStats(begin: number, end: number): Promise<Array<NotificationEventStats >>; | -| bundleState.BundleActiveGroupCallbackInfo | interface | interface BundleActiveGroupCallbackInfo | å˜æ›´ï¼Œä¿®æ”¹ä¸ºusageStatistics.AppGroupCallbackInfo | -| bundleState.BundleActiveGroupCallbackInfo | field | bundleName: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.AppGroupCallbackInfo | -| bundleState.BundleActiveGroupCallbackInfo | field | changeReason: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.AppGroupCallbackInfo | -| bundleState.BundleActiveGroupCallbackInfo | field | userId: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.AppGroupCallbackInfo | -| bundleState.BundleActiveGroupCallbackInfo | field | appUsageNewGroup: number | 废弃,修改为appNewGroup | -| bundleState.BundleActiveGroupCallbackInfo | field | appUsageOldGroup: number | 废弃,修改为appOldGroup | -| bundleState.BundleActiveEventState | interface | interface BundleActiveEventState | 废弃,修改为usageStatistics.DeviceEventStats | -| bundleState.BundleActiveEventState | field | count: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.DeviceEventStats | -| bundleState.BundleActiveEventState | field | eventId: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.DeviceEventStats | -| bundleState.BundleActiveEventState | field | name: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.DeviceEventStats | -| bundleState.BundleActiveModuleInfo | interface | interface BundleActiveModuleInfo | 接å£ä»ŽAPI9å˜æ›´ï¼Œä¿®æ”¹ä¸ºusageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | formRecords: Array<BundleActiveFormInfo> | å˜æ›´ï¼Œä¿®æ”¹ä¸ºformRecords: Array<HapModuleInfo> | -| bundleState.BundleActiveModuleInfo | field | lastModuleUsedTime: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | launchedCount: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | abilityIconId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | abilityDescriptionId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | abilityLableId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | descriptionId?: number; | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | labelId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | appLabelId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | abilityName?: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | moduleName: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | bundleName: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.BundleActiveModuleInfo | field | deviceId?: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | -| bundleState.GroupType | enum | enum GroupType | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.GroupType | -| bundleState.GroupType | enum | ACTIVE_GROUP_ALIVE | 废弃,修改为ALIVE_GROUP | -| bundleState.GroupType | enum | ACTIVE_GROUP_DAILY | 废弃,修改为DAILY_GROUP | -| bundleState.GroupType | enum | ACTIVE_GROUP_FIXED | 废弃,修改为FIXED_GROUP | -| bundleState.GroupType | enum | ACTIVE_GROUP_RARE | 废弃,修改为RARE_GROUP | -| bundleState.GroupType | enum | ACTIVE_GROUP_LIMIT | 废弃,修改为LIMITED_GROUP | -| bundleState.GroupType | enum | ACTIVE_GROUP_NEVER | 废弃,修改为NEVER_GROUP | -| bundleState.IntervalType | enum | enum IntervalType | 废弃,移动到usageStatistics.IntervalType | -| bundleState.IntervalType | enum | BY_OPTIMIZED | 废弃,移动到usageStatistics.IntervalType | -| bundleState.IntervalType | enum | BY_DAILY | 废弃,移动到usageStatistics.IntervalType | -| bundleState.IntervalType | enum | BY_WEEKLY | 废弃,移动到usageStatistics.IntervalType | -| bundleState.IntervalType | enum | BY_MONTHLY | 废弃,移动到usageStatistics.IntervalType | -| bundleState.IntervalType | enum | BY_ANNUALLY | 废弃,移动到usageStatistics.IntervalType | -| bundleState.BundleActiveInfoResponse | interface | interface BundleActiveInfoResponse | 废弃,修改为usageStatistics.BundleStatsMap | -| bundleState.BundleActiveState | interface | interface BundleActiveState | 废弃,修改为usageStatistics.BundleEvents | -| bundleState.BundleActiveState | field | stateType?: number | 废弃,修改为eventId | -| bundleState.BundleActiveState | field | stateOccurredTime?: number | 废弃,修改为eventOccurredTime | -| bundleState.BundleActiveState | field | nameOfClass?: string | 废弃,移动到usageStatistics.BundleEvents | -| bundleState.BundleActiveState | field | indexOfLink?: string | 废弃,移动到usageStatistics.BundleEvents | -| bundleState.BundleActiveState | field | bundleName?: string | 废弃,移动到usageStatistics.BundleEvents | -| bundleState.BundleActiveState | field | appUsagePriorityGroup?: number | 废弃,修改为appGroup | -| bundleState.BundleStateInfo | interface | interface BundleStateInfo | 废弃,修改为usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | method | merge(toMerge: BundleStateInfo): void | 废弃 | -| bundleState.BundleStateInfo | field | infosEndTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | infosBeginTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | fgAbilityPrevAccessTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | fgAbilityAccessTotalTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | bundleName?: string | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | abilitySeenTotalTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | abilityPrevSeenTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | abilityPrevAccessTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | abilityInFgTotalTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState.BundleStateInfo | field | id: number | 废弃,移动到usageStatistics.BundleStatsInfo | -| bundleState | namespace | declare namespace bundleState | 废弃,修改为usageStatistics,移æ¤åˆ°ohos.resourceschedule.usageStatistics.d.ts | - - -**适é…指导**<br> - -导入usageStatistics模å—。 -``` -import bundle form '@ohos.resourceschedule.usageStatistics' -``` -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[usageStatistics接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md)。 - - -## c3.resourceschedule.workScheduler -对资æºè°ƒåº¦å系统workScheduler仓原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API9接å£å˜æ›´ä¸ºæ–°çš„API9接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ã€‚废弃@ohos.workScheduler.d.ts文件,新增@ohos.resourceschedule.workScheduler.d.ts文件,将相关接å£å˜æ›´è‡³å¯¹åº”的文件ä¸ã€‚ - -| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | -| -- | -- | -- | -- | -| workScheduler | namespace | declare namespace workScheduler | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | interface | export interface WorkInfo | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | parameters?: {[key: string]: any} | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | idleWaitTime?: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | isDeepIdle?: boolean | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | repeatCount?: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | isRepeat?: boolean | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | repeatCycleTime?: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | storageRequest?: StorageRequest | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | batteryStatus?: BatteryStatus | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | batteryLevel?: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | chargerType?: ChargingType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | isCharging?: boolean | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | networkType?: NetworkType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | isPersisted?: boolean | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | abilityName: string | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | bundleName: string | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.WorkInfo | field | workId: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function isLastWorkTimeOut(workId: number): Promise; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function isLastWorkTimeOut(workId: number, callback: AsyncCallback<void>): boolean; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function stopAndClearWorks(): boolean; | 接å£API8å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function stopAndClearWorks(): boolean; | -| workScheduler | method | function obtainAllWorks(): Promise<Array<WorkInfo>>; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function obtainAllWorks(callback: AsyncCallback<void>): Array<WorkInfo>; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function getWorkStatus(workId: number): Promise<WorkInfo>; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function getWorkStatus(workId: number, callback: AsyncCallback<WorkInfo>): void; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler | method | function stopWork(work: WorkInfo, needCancel?: boolean): boolean; | 接å£API8å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function stopWork(work: WorkInfo, needCancel?: boolean): void; | -| workScheduler | method | function startWork(work: WorkInfo): boolean; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function startWork(work: WorkInfo): void; | -| workScheduler.NetworkType | enum | export enum NetworkType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_ANY = 0 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_MOBILE | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_WIFI | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_BLUETOOTH | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_WIFI_P2P | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.NetworkType | enum | NETWORK_TYPE_ETHERNET | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | export enum ChargingType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_ANY = 0 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_AC | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_USB | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_WIRELESS | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | export enum BatteryStatus | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_LOW = 0 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_OKAY | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_LOW_OR_OKAY | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.StorageRequest | enum | export enum StorageRequest | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_LOW = 0 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_OKAY | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_LOW_OR_OKAY | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | - - -**适é…指导**<br> - -导入workScheduler模å—。 -``` -import bundle form '@ohos.resourceschedule.workScheduler' -``` -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[workScheduler接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md)。 - - -## c4.resourceschedule.reminderAgent -对资æºè°ƒåº¦å系统æ醒代ç†åŽŸæœ‰æŽ¥å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„接å£å…¨éƒ¨åºŸå¼ƒï¼ŒåŽŸæœ‰API9接å£åˆ 除,需è¦ä½¿ç”¨æ–°çš„API9接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 - -**å˜æ›´å½±å“** - -基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ï¼ŒåºŸå¼ƒ@ohos.reminderAgent.d.ts文件,新增@ohos.reminderAgentManager.d.ts文件,类å也将从reminderAgentå˜æ›´ä¸ºreminderAgentManager。 - -| ç±»å | 接å£ç±»åž‹ | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | -| --------------------- | ----------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| reminderAgent | method | publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback<number>): void; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | publishReminder(reminderReq: ReminderRequest): Promise<number>; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | cancelReminder(reminderId: number, callback: AsyncCallback<void>): void; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | cancelReminder(reminderId: number): Promise<void>; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | getValidReminders(callback: AsyncCallback<Array<ReminderRequest>>): void; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | getValidReminders(): Promise<Array<ReminderRequest>>; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | cancelAllReminders(callback: AsyncCallback<void>): void; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | cancelAllReminders(): Promise<void>; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | addNotificationSlot(slot: NotificationSlot, callback: AsyncCallback<void>): void; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | addNotificationSlot(slot: NotificationSlot): Promise<void>; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | removeNotificationSlot(slotType: notification.SlotType, callback: AsyncCallback<void>): void; | 废弃,移动到reminderAgentManager | -| reminderAgent | method | removeNotificationSlot(slotType: notification.SlotType): Promise<void>; | 废弃,移动到reminderAgentManager | -| reminderAgent.ActionButtonType | enum | ACTION_BUTTON_TYPE_CLOSE | 废弃,移动到reminderAgentManager.ActionButtonType | -| reminderAgent.ActionButtonType | enum | ACTION_BUTTON_TYPE_SNOOZE | 废弃,移动到reminderAgentManager.ActionButtonType | -| reminderAgent.ReminderType | enum | REMINDER_TYPE_TIMER | 废弃,移动到reminderAgentManager.ReminderType | -| reminderAgent.ReminderType | enum | REMINDER_TYPE_CALENDAR | 废弃,移动到reminderAgentManager.ReminderType | -| reminderAgent.ReminderType | enum | REMINDER_TYPE_CALENDAR | 废弃,移动到reminderAgentManager.ReminderType | -| reminderAgent.ActionButton | field | title:string | 废弃,移动到reminderAgentManager.ActionButton | -| reminderAgent.ActionButton | field | type:ActionButtonType | 废弃,移动到reminderAgentManager.ActionButton | -| reminderAgent.WantAgent | field | pkgName:string | 废弃,移动到reminderAgentManager.WantAgent | -| reminderAgent.WantAgent | field | abilityName:string | 废弃,移动到reminderAgentManager.WantAgent | -| reminderAgent.MaxScreenWantAgent | field | pkgName:string | 废弃,移动到reminderAgentManager.MaxScreenWantAgent | -| reminderAgent.MaxScreenWantAgent | field | abilityName:string | 废弃,移动到reminderAgentManager.MaxScreenWantAgent | -| reminderAgent.ReminderRequest | field | reminderType:ReminderType | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | actionButton?:ActionButton | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | wantAgent?:WantAgent | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | maxScreenWantAgent?:MaxScreenWantAgent | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | ringDuration?:number | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | snoozeTimes?:number | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | timeInterval?:number | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | title?:string | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | content?:string | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | expiredContent?:string | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | snoozeContent?:string | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | notificationId?:number | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequest | field | slotType?: notification.SlotType | 废弃,移动到reminderAgentManager.ReminderRequest | -| reminderAgent.ReminderRequestCalendar | field | dateTime:LocalDateTime | 废弃,移动到reminderAgentManager.ReminderRequestCalendar | -| reminderAgent.ReminderRequestCalendar | field | repeatMonths?:Array<number> | 废弃,移动到reminderAgentManager.ReminderRequestCalendar | -| reminderAgent.ReminderRequestCalendar | field | repeatDays?:Array<number> | 废弃,移动到reminderAgentManager.ReminderRequestCalendar | -| reminderAgent.ReminderRequestAlarm | field | hour:number | 废弃,移动到reminderAgentManager.ReminderRequestAlarm | -| reminderAgent.ReminderRequestAlarm | field | minute:number | 废弃,移动到reminderAgentManager.ReminderRequestAlarm | -| reminderAgent.ReminderRequestAlarm | field | daysOfWeek?:Array<number> | 废弃,移动到reminderAgentManager.ReminderRequestAlarm | -| reminderAgent.ReminderRequestTimer | field | triggerTimeInSeconds:number | 废弃,移动到reminderAgentManager.ReminderRequestTimer | -| reminderAgent.LocalDateTime | field | year:number | 废弃,移动到reminderAgentManager.LocalDateTime | -| reminderAgent.LocalDateTime | field | month:number | 废弃,移动到reminderAgentManager.LocalDateTime | -| reminderAgent.LocalDateTime | field | day:number | 废弃,移动到reminderAgentManager.LocalDateTime | -| reminderAgent.LocalDateTime | field | hour:number | 废弃,移动到reminderAgentManager.LocalDateTime | -| reminderAgent.LocalDateTime | field | minute:number | 废弃,移动到reminderAgentManager.LocalDateTime | -| reminderAgent.LocalDateTime | field | second?:number | 废弃,移动到reminderAgentManager.LocalDateTime | - - -**适é…指导**<br> - -导入reminderAgentManager模å—。 -``` -import bundle form '@ohos.reminderAgentManager' -``` -æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[reminderAgentManager接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-reminderAgentManager.md)。 - - +# 资æºè°ƒåº¦å系统ChangeLog + +## cl.resourceschedule.backgroundTaskManager +对资æºè°ƒåº¦å系统backgroundTaskManager仓原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„接å£å…¨éƒ¨åºŸå¼ƒï¼ŒåŽŸæœ‰API9接å£åˆ 除,需è¦ä½¿ç”¨æ–°çš„API9接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 + +**å˜æ›´å½±å“** + +基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键接å£/组件å˜æ›´** + +以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ã€‚废弃@ohos.backgroundTaskManager.d.ts文件,新增@ohos.resourceschedule.backgroundTaskManager.d.ts文件,将相关接å£å˜æ›´è‡³å¯¹åº”的文件。 + +| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | 说明 | +| -- | -- | -- | -- | +| backgroundTaskManager | namespace | declare namespace backgroundTaskManager | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function resetAllEfficiencyResources(): void; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function applyEfficiencyResources(request: EfficiencyResourcesRequest): bool; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts,修改为function applyEfficiencyResources(request: EfficiencyResourcesRequest): void; | +| backgroundTaskManager | method | function stopBackgroundRunning(context: Context): Promise<void>; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise<void>; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, callback: AsyncCallback<void>): void; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function requestSuspendDelay(reason: string, callback: Callback<void>): DelaySuspendInfo; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function getRemainingDelayTime(requestId: number): Promise<number>; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function getRemainingDelayTime(requestId: number, callback: AsyncCallback<number>): void; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager | method | function cancelSuspendDelay(requestId: number): void; | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | export enum BackgroundMode | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | DATA_TRANSFER = 1 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | AUDIO_PLAYBACK = 2 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | AUDIO_RECORDING = 3 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | LOCATION = 4 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | BLUETOOTH_INTERACTION = 5 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | MULTI_DEVICE_CONNECTION = 6 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | WIFI_INTERACTION = 7 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | VOIP = 8 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.BackgroundMode | enum | TASK_KEEPING = 9 | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.DelaySuspendInfo | interface | interface DelaySuspendInfo | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.DelaySuspendInfo | field | requestId: number | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.DelaySuspendInfo | field | actualDelayTime: number | 接å£ä»ŽAPI9开始废弃,移æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.ResourceType | enum | export enum ResourceType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.ResourceType | enum | CPU = 1 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.ResourceType | enum | COMMON_EVENT = 1 << 1 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.ResourceType | enum | TIMER = 1 << 2 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.ResourceType | enum | WORK_SCHEDULER = 1 << 3 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.ResourceType | enum | BLUETOOTH = 1 << 4 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.ResourceType | enum | GPS = 1 << 5 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.ResourceType | enum | AUDIO = 1 << 6 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.EfficiencyResourcesRequest | interface | export interface EfficiencyResourcesRequest | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.EfficiencyResourcesRequest | field | reason: string | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.EfficiencyResourcesRequest | field | isProcess?: bool | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.EfficiencyResourcesRequest | field | isPersist?: bool | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.EfficiencyResourcesRequest | field | timeOut: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.EfficiencyResourcesRequest | field | isApply: bool | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | +| backgroundTaskManager.EfficiencyResourcesRequest | field | resourceTypes: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.backgroundTaskManager.d.ts | + + +**适é…指导**<br> + +导入backgroundTaskManager模å—。 +``` +import bundle form '@ohos.resourceschedule.backgroundTaskManager' +``` +æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[backgroundTaskManager接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md)。 + +## c2.resourceschedule.usageStatistics +对资æºè°ƒåº¦å系统deviceUsageStatistics仓原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„接å£å…¨éƒ¨åºŸå¼ƒï¼ŒåŽŸæœ‰API9接å£åˆ 除,需è¦ä½¿ç”¨æ–°çš„API9接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 + +**å˜æ›´å½±å“** + +基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键接å£/组件å˜æ›´** + +以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ï¼ŒåºŸå¼ƒ@ohos.bundleState.d.ts文件,新增@ohos.resourceschedule.usageStatistics.d.ts文件,类å也将从bundleStateå˜æ›´ä¸ºusageStatistics。 + +| ç±»å | 接å£ç±»åž‹ | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | +| ----------------------------------------- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| bundleState | method | function isIdleState(bundleName: string, callback: AsyncCallback<boolean>): void; | 废弃,移动到usageStatistics.isIdleState | +| bundleState | method | function isIdleState(bundleName: string): Promise<boolean>; | 废弃,移动到usageStatistics.isIdleState | +| bundleState | method | function queryAppUsagePriorityGroup(callback: AsyncCallback<number>): void; | 废弃,修改为function queryAppGroup(callback: AsyncCallback<number>): void; | +| bundleState | method | function queryAppUsagePriorityGroup(): Promise<number>; | 废弃,修改为function queryAppGroup(): Promise<number>; | +| bundleState | method | function queryBundleStateInfos(begin: number, end: number, callback: AsyncCallback<BundleActiveInfoResponse>): void; | 废弃,修改为function queryBundleStatsInfos(begin: number, end: number, callback: AsyncCallback<BundleStatsMap>): void; | +| bundleState | method | function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>; | 废弃, 修改为function queryBundleStatsInfos(begin: number, end: number): Promise<BundleStatsMap>; | +| bundleState | method | function queryBundleStateInfoByInterval(byInterval: IntervalType, begin: number, end: number): Promise<Array<BundleStateInfo>>; | 废弃,修改为function queryBundleStatsInfoByInterval(byInterval: IntervalType, begin: number, end: number): Promise<Array<BundleStatsInfo>>; | +| bundleState | method | function queryBundleStateInfoByInterval(byInterval: IntervalType, begin: number, end: number, callback: AsyncCallback<Array<BundleStateInfo>>): void; | 废弃,修改为function queryBundleStatsInfoByInterval(byInterval: IntervalType, begin: number, end: number, callback: AsyncCallback<Array<BundleStatsInfo>>): void; | +| bundleState | method | function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>; | 废弃,修改为function queryBundleEvents(begin: number, end: number): Promise<Array<BundleEvents>>; | +| bundleState | method | function queryBundleActiveStates(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveState>>): void; | 废弃,修改为function queryBundleEvents(begin: number, end: number, callback: AsyncCallback<Array<BundleEvents>>): void; | +| bundleState | method | function queryCurrentBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>; | 废弃,修改为function queryCurrentBundleEvents(begin: number, end: number): Promise<Array<BundleEvents>>; | +| bundleState | method | function queryCurrentBundleActiveStates(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveState>>): void; | 废弃,修改为function queryCurrentBundleEvents(begin: number, end: number, callback: AsyncCallback<Array<BundleEvents>>): void; | +| bundleState | method | function getRecentlyUsedModules(maxNum?: number): Promise<Array<BundleActiveModuleInfo>>; | 废弃,修改为两个接å£function QueryModuleUsageRecords(maxNum: number): Promise<Array<HapModuleInfo>>; function QueryModuleUsageRecords(): Promise<Array<HapModuleInfo>>; | +| bundleState | method | function getRecentlyUsedModules(maxNum?: number, callback: AsyncCallback<Array<BundleActiveModuleInfo>>): void; | 废弃,修改为两个接å£function QueryModuleUsageRecords(maxNum: number, callback: AsyncCallback<Array<HapModuleInfo>>): void; function QueryModuleUsageRecords(callback: AsyncCallback<Array<HapModuleInfo>>): void; | +| bundleState | method | function queryAppUsagePriorityGroup(bundleName? : string): Promise<number>; | 废弃,修改为function queryAppGroup(bundleName: string): Promise<number>; | +| bundleState | method | function queryAppUsagePriorityGroup(bundleName? : string, callback: AsyncCallback<number>): void; | 废弃,修改为function queryAppGroup(bundleName: string, callback: AsyncCallback<number>): void; | +| bundleState | method | function setBundleGroup(bundleName: string, newGroup: GroupType, callback: AsyncCallback<void>): void; | 废弃,修改为function setAppGroup(bundleName: string, newGroup: GroupType, callback: AsyncCallback<void>): void; | +| bundleState | method | function setBundleGroup(bundleName: string, newGroup: GroupType): Promise<void>; | 废弃,修改为function setAppGroup(bundleName: string, newGroup: GroupType): Promise<void>; | +| bundleState | method | function registerGroupCallBack(callback: Callback<BundleActiveGroupCallbackInfo>, callback: AsyncCallback<void>): void; | 废弃,修改为function registerAppGroupCallBack(callback: Callback<AppGroupCallbackInfo>, callback: AsyncCallback<void>): void; | +| bundleState | method | function registerGroupCallBack(callback: Callback<BundleActiveGroupCallbackInfo>): Promise<void>; | 废弃,修改为function registerAppGroupCallBack(callback: Callback<AppGroupCallbackInfo>): Promise<void>; | +| bundleState | method | function unRegisterGroupCallBack(callback: AsyncCallback<void>): void; | å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction unregisterAppGroupCallBack(): Promise<void>; | +| bundleState | method | function unRegisterGroupCallBack(): Promise<void>; | å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction unregisterAppGroupCallBack(): Promise<void>; | +| bundleState | method | function queryBundleActiveEventStates(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveEventState>>): void; | å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction queryDeviceEventStats(begin: number, end: number, callback: AsyncCallback<Array<DeviceEventStats>>): void; | +| bundleState | method | function queryBundleActiveEventStates(begin: number, end: number): Promise<Array<BundleActiveEventState>>; | 接å£ä»ŽAPI9å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction queryDeviceEventStats(begin: number, end: number): Promise<Array<DeviceEventStats>>; | +| bundleState | method | function queryAppNotificationNumber(begin: number, end: number, callback: AsyncCallback<Array<BundleActiveEventState>>): void; | 接å£ä»ŽAPI9å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction queryNotificationEventStats(begin: number, end: number, callback: AsyncCallback<Array<NotificationEventStats >>): void; | +| bundleState | method | function queryAppNotificationNumber(begin: number, end: number): Promise<Array<BundleActiveEventState>>; | 接å£ä»ŽAPI9å˜æ›´ï¼Œä¿®æ”¹ä¸ºfunction queryNotificationEventStats(begin: number, end: number): Promise<Array<NotificationEventStats >>; | +| bundleState.BundleActiveGroupCallbackInfo | interface | interface BundleActiveGroupCallbackInfo | å˜æ›´ï¼Œä¿®æ”¹ä¸ºusageStatistics.AppGroupCallbackInfo | +| bundleState.BundleActiveGroupCallbackInfo | field | bundleName: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.AppGroupCallbackInfo | +| bundleState.BundleActiveGroupCallbackInfo | field | changeReason: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.AppGroupCallbackInfo | +| bundleState.BundleActiveGroupCallbackInfo | field | userId: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.AppGroupCallbackInfo | +| bundleState.BundleActiveGroupCallbackInfo | field | appUsageNewGroup: number | 废弃,修改为appNewGroup | +| bundleState.BundleActiveGroupCallbackInfo | field | appUsageOldGroup: number | 废弃,修改为appOldGroup | +| bundleState.BundleActiveEventState | interface | interface BundleActiveEventState | 废弃,修改为usageStatistics.DeviceEventStats | +| bundleState.BundleActiveEventState | field | count: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.DeviceEventStats | +| bundleState.BundleActiveEventState | field | eventId: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.DeviceEventStats | +| bundleState.BundleActiveEventState | field | name: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.DeviceEventStats | +| bundleState.BundleActiveModuleInfo | interface | interface BundleActiveModuleInfo | 接å£ä»ŽAPI9å˜æ›´ï¼Œä¿®æ”¹ä¸ºusageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | formRecords: Array<BundleActiveFormInfo> | å˜æ›´ï¼Œä¿®æ”¹ä¸ºformRecords: Array<HapModuleInfo> | +| bundleState.BundleActiveModuleInfo | field | lastModuleUsedTime: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | launchedCount: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | abilityIconId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | abilityDescriptionId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | abilityLableId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | descriptionId?: number; | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | labelId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | appLabelId?: number | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | abilityName?: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | moduleName: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | bundleName: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.BundleActiveModuleInfo | field | deviceId?: string | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.HapModuleInfo | +| bundleState.GroupType | enum | enum GroupType | å˜æ›´ï¼Œç§»åŠ¨åˆ°usageStatistics.GroupType | +| bundleState.GroupType | enum | ACTIVE_GROUP_ALIVE | 废弃,修改为ALIVE_GROUP | +| bundleState.GroupType | enum | ACTIVE_GROUP_DAILY | 废弃,修改为DAILY_GROUP | +| bundleState.GroupType | enum | ACTIVE_GROUP_FIXED | 废弃,修改为FIXED_GROUP | +| bundleState.GroupType | enum | ACTIVE_GROUP_RARE | 废弃,修改为RARE_GROUP | +| bundleState.GroupType | enum | ACTIVE_GROUP_LIMIT | 废弃,修改为LIMITED_GROUP | +| bundleState.GroupType | enum | ACTIVE_GROUP_NEVER | 废弃,修改为NEVER_GROUP | +| bundleState.IntervalType | enum | enum IntervalType | 废弃,移动到usageStatistics.IntervalType | +| bundleState.IntervalType | enum | BY_OPTIMIZED | 废弃,移动到usageStatistics.IntervalType | +| bundleState.IntervalType | enum | BY_DAILY | 废弃,移动到usageStatistics.IntervalType | +| bundleState.IntervalType | enum | BY_WEEKLY | 废弃,移动到usageStatistics.IntervalType | +| bundleState.IntervalType | enum | BY_MONTHLY | 废弃,移动到usageStatistics.IntervalType | +| bundleState.IntervalType | enum | BY_ANNUALLY | 废弃,移动到usageStatistics.IntervalType | +| bundleState.BundleActiveInfoResponse | interface | interface BundleActiveInfoResponse | 废弃,修改为usageStatistics.BundleStatsMap | +| bundleState.BundleActiveState | interface | interface BundleActiveState | 废弃,修改为usageStatistics.BundleEvents | +| bundleState.BundleActiveState | field | stateType?: number | 废弃,修改为eventId | +| bundleState.BundleActiveState | field | stateOccurredTime?: number | 废弃,修改为eventOccurredTime | +| bundleState.BundleActiveState | field | nameOfClass?: string | 废弃,移动到usageStatistics.BundleEvents | +| bundleState.BundleActiveState | field | indexOfLink?: string | 废弃,移动到usageStatistics.BundleEvents | +| bundleState.BundleActiveState | field | bundleName?: string | 废弃,移动到usageStatistics.BundleEvents | +| bundleState.BundleActiveState | field | appUsagePriorityGroup?: number | 废弃,修改为appGroup | +| bundleState.BundleStateInfo | interface | interface BundleStateInfo | 废弃,修改为usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | method | merge(toMerge: BundleStateInfo): void | 废弃 | +| bundleState.BundleStateInfo | field | infosEndTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | infosBeginTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | fgAbilityPrevAccessTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | fgAbilityAccessTotalTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | bundleName?: string | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | abilitySeenTotalTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | abilityPrevSeenTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | abilityPrevAccessTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | abilityInFgTotalTime?: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState.BundleStateInfo | field | id: number | 废弃,移动到usageStatistics.BundleStatsInfo | +| bundleState | namespace | declare namespace bundleState | 废弃,修改为usageStatistics,移æ¤åˆ°ohos.resourceschedule.usageStatistics.d.ts | + + +**适é…指导**<br> + +导入usageStatistics模å—。 +``` +import bundle form '@ohos.resourceschedule.usageStatistics' +``` +æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[usageStatistics接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md)。 + + +## c3.resourceschedule.workScheduler +对资æºè°ƒåº¦å系统workScheduler仓原有接å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API9接å£å˜æ›´ä¸ºæ–°çš„API9接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 + +**å˜æ›´å½±å“** + +基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键接å£/组件å˜æ›´** + +以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ã€‚废弃@ohos.workScheduler.d.ts文件,新增@ohos.resourceschedule.workScheduler.d.ts文件,将相关接å£å˜æ›´è‡³å¯¹åº”的文件ä¸ã€‚ + +| ç±»å | 接å£ç±»åž‹ | 接å£å£°æ˜Ž | å˜æ›´ç±»åž‹ | +| -- | -- | -- | -- | +| workScheduler | namespace | declare namespace workScheduler | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | interface | export interface WorkInfo | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | parameters?: {[key: string]: any} | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | idleWaitTime?: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | isDeepIdle?: boolean | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | repeatCount?: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | isRepeat?: boolean | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | repeatCycleTime?: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | storageRequest?: StorageRequest | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | batteryStatus?: BatteryStatus | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | batteryLevel?: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | chargerType?: ChargingType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | isCharging?: boolean | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | networkType?: NetworkType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | isPersisted?: boolean | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | abilityName: string | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | bundleName: string | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.WorkInfo | field | workId: number | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler | method | function isLastWorkTimeOut(workId: number): Promise; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler | method | function isLastWorkTimeOut(workId: number, callback: AsyncCallback<void>): boolean; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler | method | function stopAndClearWorks(): boolean; | 接å£API8å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function stopAndClearWorks(): boolean; | +| workScheduler | method | function obtainAllWorks(): Promise<Array<WorkInfo>>; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler | method | function obtainAllWorks(callback: AsyncCallback<void>): Array<WorkInfo>; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler | method | function getWorkStatus(workId: number): Promise<WorkInfo>; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler | method | function getWorkStatus(workId: number, callback: AsyncCallback<WorkInfo>): void; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler | method | function stopWork(work: WorkInfo, needCancel?: boolean): boolean; | 接å£API8å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function stopWork(work: WorkInfo, needCancel?: boolean): void; | +| workScheduler | method | function startWork(work: WorkInfo): boolean; | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts,修改为function startWork(work: WorkInfo): void; | +| workScheduler.NetworkType | enum | export enum NetworkType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.NetworkType | enum | NETWORK_TYPE_ANY = 0 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.NetworkType | enum | NETWORK_TYPE_MOBILE | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.NetworkType | enum | NETWORK_TYPE_WIFI | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.NetworkType | enum | NETWORK_TYPE_BLUETOOTH | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.NetworkType | enum | NETWORK_TYPE_WIFI_P2P | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.NetworkType | enum | NETWORK_TYPE_ETHERNET | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.ChargingType | enum | export enum ChargingType | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.ChargingType | enum | CHARGING_PLUGGED_ANY = 0 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.ChargingType | enum | CHARGING_PLUGGED_AC | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.ChargingType | enum | CHARGING_PLUGGED_USB | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.ChargingType | enum | CHARGING_PLUGGED_WIRELESS | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.BatteryStatus | enum | export enum BatteryStatus | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.BatteryStatus | enum | BATTERY_STATUS_LOW = 0 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.BatteryStatus | enum | BATTERY_STATUS_OKAY | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.BatteryStatus | enum | BATTERY_STATUS_LOW_OR_OKAY | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.StorageRequest | enum | export enum StorageRequest | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_LOW = 0 | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_OKAY | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | +| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_LOW_OR_OKAY | 接å£API9å˜æ›´ï¼Œç§»æ¤åˆ°ohos.resourceschedule.workScheduler.d.ts | + + +**适é…指导**<br> + +导入workScheduler模å—。 +``` +import bundle form '@ohos.resourceschedule.workScheduler' +``` +æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[workScheduler接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md)。 + + +## c4.resourceschedule.reminderAgent +对资æºè°ƒåº¦å系统æ醒代ç†åŽŸæœ‰æŽ¥å£è¿›è¡Œæ•´æ”¹ï¼ŒåŽŸæœ‰API8åŠä¹‹å‰çš„接å£å…¨éƒ¨åºŸå¼ƒï¼ŒåŽŸæœ‰API9接å£åˆ 除,需è¦ä½¿ç”¨æ–°çš„API9接å£ã€‚æ–°çš„API9接å£ç¬¦åˆé”™è¯¯ç 规范。 + +**å˜æ›´å½±å“** + +基于OpenHarmony3.2.8.2åŠä¹‹åŽçš„SDK版本开å‘的应用,需适é…API9的模å—和接å£ï¼Œä»¥åŠçš„API异常处ç†è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键接å£/组件å˜æ›´** + +以下方法ã€å±žæ€§ã€æžšä¸¾å’Œå¸¸é‡å‡ä»ŽAPI9å˜æ›´ï¼ŒåºŸå¼ƒ@ohos.reminderAgent.d.ts文件,新增@ohos.reminderAgentManager.d.ts文件,类å也将从reminderAgentå˜æ›´ä¸ºreminderAgentManager。 + +| ç±»å | 接å£ç±»åž‹ | 方法/属性/枚举/å¸¸é‡ | å˜æ›´ç±»åž‹ | +| --------------------- | ----------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| reminderAgent | method | publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback<number>): void; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | publishReminder(reminderReq: ReminderRequest): Promise<number>; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | cancelReminder(reminderId: number, callback: AsyncCallback<void>): void; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | cancelReminder(reminderId: number): Promise<void>; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | getValidReminders(callback: AsyncCallback<Array<ReminderRequest>>): void; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | getValidReminders(): Promise<Array<ReminderRequest>>; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | cancelAllReminders(callback: AsyncCallback<void>): void; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | cancelAllReminders(): Promise<void>; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | addNotificationSlot(slot: NotificationSlot, callback: AsyncCallback<void>): void; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | addNotificationSlot(slot: NotificationSlot): Promise<void>; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | removeNotificationSlot(slotType: notification.SlotType, callback: AsyncCallback<void>): void; | 废弃,移动到reminderAgentManager | +| reminderAgent | method | removeNotificationSlot(slotType: notification.SlotType): Promise<void>; | 废弃,移动到reminderAgentManager | +| reminderAgent.ActionButtonType | enum | ACTION_BUTTON_TYPE_CLOSE | 废弃,移动到reminderAgentManager.ActionButtonType | +| reminderAgent.ActionButtonType | enum | ACTION_BUTTON_TYPE_SNOOZE | 废弃,移动到reminderAgentManager.ActionButtonType | +| reminderAgent.ReminderType | enum | REMINDER_TYPE_TIMER | 废弃,移动到reminderAgentManager.ReminderType | +| reminderAgent.ReminderType | enum | REMINDER_TYPE_CALENDAR | 废弃,移动到reminderAgentManager.ReminderType | +| reminderAgent.ReminderType | enum | REMINDER_TYPE_CALENDAR | 废弃,移动到reminderAgentManager.ReminderType | +| reminderAgent.ActionButton | field | title:string | 废弃,移动到reminderAgentManager.ActionButton | +| reminderAgent.ActionButton | field | type:ActionButtonType | 废弃,移动到reminderAgentManager.ActionButton | +| reminderAgent.WantAgent | field | pkgName:string | 废弃,移动到reminderAgentManager.WantAgent | +| reminderAgent.WantAgent | field | abilityName:string | 废弃,移动到reminderAgentManager.WantAgent | +| reminderAgent.MaxScreenWantAgent | field | pkgName:string | 废弃,移动到reminderAgentManager.MaxScreenWantAgent | +| reminderAgent.MaxScreenWantAgent | field | abilityName:string | 废弃,移动到reminderAgentManager.MaxScreenWantAgent | +| reminderAgent.ReminderRequest | field | reminderType:ReminderType | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | actionButton?:ActionButton | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | wantAgent?:WantAgent | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | maxScreenWantAgent?:MaxScreenWantAgent | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | ringDuration?:number | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | snoozeTimes?:number | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | timeInterval?:number | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | title?:string | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | content?:string | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | expiredContent?:string | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | snoozeContent?:string | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | notificationId?:number | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequest | field | slotType?: notification.SlotType | 废弃,移动到reminderAgentManager.ReminderRequest | +| reminderAgent.ReminderRequestCalendar | field | dateTime:LocalDateTime | 废弃,移动到reminderAgentManager.ReminderRequestCalendar | +| reminderAgent.ReminderRequestCalendar | field | repeatMonths?:Array<number> | 废弃,移动到reminderAgentManager.ReminderRequestCalendar | +| reminderAgent.ReminderRequestCalendar | field | repeatDays?:Array<number> | 废弃,移动到reminderAgentManager.ReminderRequestCalendar | +| reminderAgent.ReminderRequestAlarm | field | hour:number | 废弃,移动到reminderAgentManager.ReminderRequestAlarm | +| reminderAgent.ReminderRequestAlarm | field | minute:number | 废弃,移动到reminderAgentManager.ReminderRequestAlarm | +| reminderAgent.ReminderRequestAlarm | field | daysOfWeek?:Array<number> | 废弃,移动到reminderAgentManager.ReminderRequestAlarm | +| reminderAgent.ReminderRequestTimer | field | triggerTimeInSeconds:number | 废弃,移动到reminderAgentManager.ReminderRequestTimer | +| reminderAgent.LocalDateTime | field | year:number | 废弃,移动到reminderAgentManager.LocalDateTime | +| reminderAgent.LocalDateTime | field | month:number | 废弃,移动到reminderAgentManager.LocalDateTime | +| reminderAgent.LocalDateTime | field | day:number | 废弃,移动到reminderAgentManager.LocalDateTime | +| reminderAgent.LocalDateTime | field | hour:number | 废弃,移动到reminderAgentManager.LocalDateTime | +| reminderAgent.LocalDateTime | field | minute:number | 废弃,移动到reminderAgentManager.LocalDateTime | +| reminderAgent.LocalDateTime | field | second?:number | 废弃,移动到reminderAgentManager.LocalDateTime | + + +**适é…指导**<br> + +导入reminderAgentManager模å—。 +``` +import bundle form '@ohos.reminderAgentManager' +``` +æ¤å¤–还需è¦é€‚é…异常处ç†ï¼Œå…·ä½“å‚考[reminderAgentManager接å£æ–‡æ¡£](../../../application-dev/reference/apis/js-apis-reminderAgentManager.md)。 + + diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-telephony.md similarity index 95% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-telephony.md index 51688229f1a2d6ade0bc8fd495e25e719ea8c7d6..88b25f832e020276df920a43b3fa5543af6bf5b3 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-telephony.md @@ -1,65 +1,65 @@ -# 电è¯å系统ChangeLog - - - -## cl.telephony.1 sms模å—SystemAPI接å£å…¥å‚å˜æ›´ - -å·²å‘布的部分电è¯å系统smsçŸä¿¡æ¨¡å—SystemAPIä¼ å…¥å‚æ•°å‘生å˜åŒ–,ä¸ç¬¦åˆOpenHarmony接å£è§„范。从API9开始åšå‡ºä»¥ä¸‹å˜æ›´ï¼š - -isImsSmsSupported接å£æ–°å¢žä¸€ä¸ªä¼ å…¥å‚æ•°slotId,表示å¡æ§½å·ã€‚ - - - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´js接å£çš„å…¥å‚,å¦åˆ™ä¼šå½±å“原有功能。 - - - -**关键的接å£/组件å˜æ›´** - -- 涉åŠæŽ¥å£ - - isImsSmsSupported(callback: AsyncCallback<boolean>): void; - isImsSmsSupported(): Promise<boolean>; - -- å˜æ›´å‰ï¼š - -```js -function isImsSmsSupported(callback: AsyncCallback<boolean>): void; -function isImsSmsSupported(): Promise<boolean>; -``` - -- å˜æ›´åŽï¼š - -```js -function isImsSmsSupported(slotId: number, callback: AsyncCallback<boolean>): void; -function isImsSmsSupported(slotId: number): Promise<boolean>; -``` - - - -**适é…指导** - -新增一个入å‚,示例代ç 如下: - -callbackæ–¹å¼ - -```js -let slotId = 0; -sms.isImsSmsSupported(slotId, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - -promiseæ–¹å¼ - -```js -let slotId = 0; -let promise = sms.isImsSmsSupported(slotId); -promise.then(data => { - console.log(`isImsSmsSupported success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`isImsSmsSupported failed, promise: err->${JSON.stringify(err)}`); -}); -``` +# 电è¯å系统ChangeLog + + + +## cl.telephony.1 sms模å—SystemAPI接å£å…¥å‚å˜æ›´ + +å·²å‘布的部分电è¯å系统smsçŸä¿¡æ¨¡å—SystemAPIä¼ å…¥å‚æ•°å‘生å˜åŒ–,ä¸ç¬¦åˆOpenHarmony接å£è§„范。从API9开始åšå‡ºä»¥ä¸‹å˜æ›´ï¼š + +isImsSmsSupported接å£æ–°å¢žä¸€ä¸ªä¼ å…¥å‚æ•°slotId,表示å¡æ§½å·ã€‚ + + + +**å˜æ›´å½±å“** + +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…å˜æ›´js接å£çš„å…¥å‚,å¦åˆ™ä¼šå½±å“原有功能。 + + + +**关键的接å£/组件å˜æ›´** + +- 涉åŠæŽ¥å£ + + isImsSmsSupported(callback: AsyncCallback<boolean>): void; + isImsSmsSupported(): Promise<boolean>; + +- å˜æ›´å‰ï¼š + +```js +function isImsSmsSupported(callback: AsyncCallback<boolean>): void; +function isImsSmsSupported(): Promise<boolean>; +``` + +- å˜æ›´åŽï¼š + +```js +function isImsSmsSupported(slotId: number, callback: AsyncCallback<boolean>): void; +function isImsSmsSupported(slotId: number): Promise<boolean>; +``` + + + +**适é…指导** + +新增一个入å‚,示例代ç 如下: + +callbackæ–¹å¼ + +```js +let slotId = 0; +sms.isImsSmsSupported(slotId, (err, data) => { + console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); +}); +``` + +promiseæ–¹å¼ + +```js +let slotId = 0; +let promise = sms.isImsSmsSupported(slotId); +promise.then(data => { + console.log(`isImsSmsSupported success, promise: data->${JSON.stringify(data)}`); +}).catch(err => { + console.error(`isImsSmsSupported failed, promise: err->${JSON.stringify(err)}`); +}); +``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-testfwk_arkxtest.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-testfwk_arkxtest.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-testfwk_arkxtest.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-testfwk_arkxtest.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-theme.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-theme.md similarity index 97% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-theme.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-theme.md index 87c2c62d7cdb8ef1c0c2b6b26724be8224813ec8..81e0950c0ee16d4a3cd434020e65522e7051879f 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-theme.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-theme.md @@ -1,148 +1,148 @@ -# 主题框架changeLog - -## cl.theme.1 API9接å£æ”¯æŒå¼‚å¸¸å¤„ç† - -下列模å—内部接å£ä½¿ç”¨ä¸šåŠ¡é€»è¾‘返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯ç 规范。在API9进行å˜æ›´ã€‚ - - å£çº¸ç®¡ç†æœåŠ¡ï¼š@ohos.wallpaper.d.ts - - - é”å±ç®¡ç†æœåŠ¡ï¼š@ohos.screenLock.d.ts - -以上模å—ä¸çš„接å£å˜æ›´ä¸ºï¼š -åŒæ¥æŽ¥å£ï¼šé€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回错误信æ¯ã€‚ -异æ¥æŽ¥å£ï¼šå‚数检查错误åŒæ¥æŠ›å‡ºï¼Œä¸šåŠ¡é€»è¾‘错误通过AsyncCallback或Promiseçš„error对象抛出。 - -**å˜æ›´å½±å“** - -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…接å£çš„错误信æ¯è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 - -**关键接å£/组件å˜æ›´** - -ä»¥ä¸‹æ ‡è®°ä¸ºå£çº¸ç®¡ç†æœåŠ¡æŽ¥å£åºŸé™¤ï¼š - - getColors(wallpaperType: WallpaperType, callback: AsyncCallback<Array<RgbaColor>>): void; - - getColors(wallpaperType: WallpaperType): Promise<Array<RgbaColor>>; - - getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void; - - getId(wallpaperType: WallpaperType): Promise<number>; - - getMinHeight(callback: AsyncCallback<number>): void; - - getMinHeight(): Promise<number>; - - getMinWidth(callback: AsyncCallback<number>): void; - - getMinWidth(): Promise<number>; - - isChangePermitted(callback: AsyncCallback<boolean>): void; - - isChangePermitted(): Promise<boolean>; - - isOperationAllowed(callback: AsyncCallback<boolean>): void; - - isOperationAllowed(): Promise<boolean>; - - reset(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - reset(wallpaperType: WallpaperType): Promise<void>; - - setWallpaper(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - setWallpaper(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; - - getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void; - - getFile(wallpaperType: WallpaperType): Promise<number>; - - getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void; - - getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap>; - -å£çº¸ç®¡ç†æœåŠ¡æ›¿ä»£æŽ¥å£å¦‚下: - - getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>; - - getIdSync(wallpaperType: WallpaperType): number; - - getMinHeightSync(): number; - - getMinWidthSync(): number; - - isChangeAllowed(): boolean; - - isUserChangeAllowed(): boolean; - - restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - restore(wallpaperType: WallpaperType): Promise<void>; - - setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; - - setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; - - getFileSync(wallpaperType: WallpaperType): number; - - getImage(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void; - - getImage(wallpaperType: WallpaperType): Promise<image.PixelMap>; - -ä»¥ä¸‹æ ‡è®°ä¸ºå£çº¸ç®¡ç†æœåŠ¡æŽ¥å£å˜æ›´ï¼š - - on(type: 'colorChange', callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void - - off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void - -ä»¥ä¸‹æ ‡è®°ä¸ºé”å±ç®¡ç†æœåŠ¡æŽ¥å£åºŸé™¤ï¼š - - isScreenLocked(callback: AsyncCallback<boolean>): void; - - isScreenLocked(): Promise<boolean>; - - isSecureMode(callback: AsyncCallback<boolean>): void; - - isSecureMode(): Promise<boolean>; - - unlockScreen(callback: AsyncCallback<void>): void; - - unlockScreen(): Promise<void>; - -é”å±ç®¡ç†æœåŠ¡æ›¿ä»£æŽ¥å£å¦‚下: - - isLocked(): boolean; - - isSecure(): boolean; - - unlock(callback: AsyncCallback<boolean>): void; - - unlock():Promise<boolean>; - -ä»¥ä¸‹æ ‡è®°ä¸ºé”å±ç®¡ç†æœåŠ¡æŽ¥å£åˆ 除: - - lockScreen(callback: AsyncCallback<void>): void; - - lockScreen(): Promise<void>; - -ä»¥ä¸‹æ ‡è®°ä¸ºé”å±ç®¡ç†æœåŠ¡æŽ¥å£æ–°å¢žï¼š - - lock(callback: AsyncCallback<boolean>): void; - - lock():Promise<boolean>; - -ä»¥ä¸‹æ ‡è®°ä¸ºé”å±ç®¡ç†æœåŠ¡æŽ¥å£å˜æ›´ï¼š - - onSystemEvent(callback: Callback<SystemEvent>): boolean; - - sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void; - - sendScreenLockEvent(event: String, parameter: number): Promise<boolean>; - -**å£çº¸ç®¡ç†æœåŠ¡é€‚é…指导** - -异æ¥æŽ¥å£ä»¥getImage为例,示例代ç 如下: - -```ts -import pointer from '@ohos.wallpaper'; -try { - wallpaper.getImage(wallpaper.WallpaperType.WALLPAPER_SYSTEM).then((data) => { - console.log(`success to getImage: ${JSON.stringify(data)}`); - }).catch((error) => { - console.error(`failed to getImage because: ${JSON.stringify(error)}`); - }); -} catch (err) { - console.error(`failed to getImage because: ${JSON.stringify(err)}`); -} - -``` - -åŒæ¥æŽ¥å£ä»¥getFileSync为例,示例代ç 如下: - -```ts -import pointer from '@ohos.wallpaper'; -try { - let file = wallpaper.getFileSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); -} catch (err) { - console.error(`failed to getFileSync because: ${err.message}`); -} -``` - -**é”å±ç®¡ç†æœåŠ¡é€‚é…指导** - -异æ¥æŽ¥å£ä»¥lock为例,示例代ç 如下: - -```ts -import screenLock from '@ohos.screenlock'; -try { - screenLock.lock((err, data) => { - if (err) { - console.error(`Failed to lock the screen, because: ${err.message}`); - return; - } - console.info(`lock the screen successfully. result: ${data}`); - }); -} catch (err) { - console.error(`Failed to lock the screen, because: ${err.message}`); -} - -``` - -åŒæ¥æŽ¥å£ä»¥onSystemEvent为例,示例代ç 如下: - -```ts -import screenLock from '@ohos.screenlock'; -try { - let isSuccess = screenLock.onSystemEvent((event) => { - console.log(`Register the system event which related to screenlock successfully. eventType: ${event.eventType}`) - }); -} catch (err) { - console.error(`Failed to register the system event which related to screenlock, because: ${err.message}`) -} -``` +# 主题框架changeLog + +## cl.theme.1 API9接å£æ”¯æŒå¼‚å¸¸å¤„ç† + +下列模å—内部接å£ä½¿ç”¨ä¸šåŠ¡é€»è¾‘返回值表示错误信æ¯ï¼Œä¸ç¬¦åˆOpenHarmony接å£é”™è¯¯ç 规范。在API9进行å˜æ›´ã€‚ + - å£çº¸ç®¡ç†æœåŠ¡ï¼š@ohos.wallpaper.d.ts + + - é”å±ç®¡ç†æœåŠ¡ï¼š@ohos.screenLock.d.ts + +以上模å—ä¸çš„接å£å˜æ›´ä¸ºï¼š +åŒæ¥æŽ¥å£ï¼šé€šè¿‡æŠ›å‡ºå¼‚常的方å¼è¿”回错误信æ¯ã€‚ +异æ¥æŽ¥å£ï¼šå‚数检查错误åŒæ¥æŠ›å‡ºï¼Œä¸šåŠ¡é€»è¾‘错误通过AsyncCallback或Promiseçš„error对象抛出。 + +**å˜æ›´å½±å“** + +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需适é…接å£çš„错误信æ¯è¿”回方å¼ï¼Œå¦åˆ™ä¼šå½±å“原有业务逻辑。 + +**关键接å£/组件å˜æ›´** + +ä»¥ä¸‹æ ‡è®°ä¸ºå£çº¸ç®¡ç†æœåŠ¡æŽ¥å£åºŸé™¤ï¼š + - getColors(wallpaperType: WallpaperType, callback: AsyncCallback<Array<RgbaColor>>): void; + - getColors(wallpaperType: WallpaperType): Promise<Array<RgbaColor>>; + - getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void; + - getId(wallpaperType: WallpaperType): Promise<number>; + - getMinHeight(callback: AsyncCallback<number>): void; + - getMinHeight(): Promise<number>; + - getMinWidth(callback: AsyncCallback<number>): void; + - getMinWidth(): Promise<number>; + - isChangePermitted(callback: AsyncCallback<boolean>): void; + - isChangePermitted(): Promise<boolean>; + - isOperationAllowed(callback: AsyncCallback<boolean>): void; + - isOperationAllowed(): Promise<boolean>; + - reset(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; + - reset(wallpaperType: WallpaperType): Promise<void>; + - setWallpaper(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; + - setWallpaper(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; + - getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void; + - getFile(wallpaperType: WallpaperType): Promise<number>; + - getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void; + - getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap>; + +å£çº¸ç®¡ç†æœåŠ¡æ›¿ä»£æŽ¥å£å¦‚下: + - getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>; + - getIdSync(wallpaperType: WallpaperType): number; + - getMinHeightSync(): number; + - getMinWidthSync(): number; + - isChangeAllowed(): boolean; + - isUserChangeAllowed(): boolean; + - restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; + - restore(wallpaperType: WallpaperType): Promise<void>; + - setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void; + - setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise<void>; + - getFileSync(wallpaperType: WallpaperType): number; + - getImage(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void; + - getImage(wallpaperType: WallpaperType): Promise<image.PixelMap>; + +ä»¥ä¸‹æ ‡è®°ä¸ºå£çº¸ç®¡ç†æœåŠ¡æŽ¥å£å˜æ›´ï¼š + - on(type: 'colorChange', callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void + - off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void + +ä»¥ä¸‹æ ‡è®°ä¸ºé”å±ç®¡ç†æœåŠ¡æŽ¥å£åºŸé™¤ï¼š + - isScreenLocked(callback: AsyncCallback<boolean>): void; + - isScreenLocked(): Promise<boolean>; + - isSecureMode(callback: AsyncCallback<boolean>): void; + - isSecureMode(): Promise<boolean>; + - unlockScreen(callback: AsyncCallback<void>): void; + - unlockScreen(): Promise<void>; + +é”å±ç®¡ç†æœåŠ¡æ›¿ä»£æŽ¥å£å¦‚下: + - isLocked(): boolean; + - isSecure(): boolean; + - unlock(callback: AsyncCallback<boolean>): void; + - unlock():Promise<boolean>; + +ä»¥ä¸‹æ ‡è®°ä¸ºé”å±ç®¡ç†æœåŠ¡æŽ¥å£åˆ 除: + - lockScreen(callback: AsyncCallback<void>): void; + - lockScreen(): Promise<void>; + +ä»¥ä¸‹æ ‡è®°ä¸ºé”å±ç®¡ç†æœåŠ¡æŽ¥å£æ–°å¢žï¼š + - lock(callback: AsyncCallback<boolean>): void; + - lock():Promise<boolean>; + +ä»¥ä¸‹æ ‡è®°ä¸ºé”å±ç®¡ç†æœåŠ¡æŽ¥å£å˜æ›´ï¼š + - onSystemEvent(callback: Callback<SystemEvent>): boolean; + - sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void; + - sendScreenLockEvent(event: String, parameter: number): Promise<boolean>; + +**å£çº¸ç®¡ç†æœåŠ¡é€‚é…指导** + +异æ¥æŽ¥å£ä»¥getImage为例,示例代ç 如下: + +```ts +import pointer from '@ohos.wallpaper'; +try { + wallpaper.getImage(wallpaper.WallpaperType.WALLPAPER_SYSTEM).then((data) => { + console.log(`success to getImage: ${JSON.stringify(data)}`); + }).catch((error) => { + console.error(`failed to getImage because: ${JSON.stringify(error)}`); + }); +} catch (err) { + console.error(`failed to getImage because: ${JSON.stringify(err)}`); +} + +``` + +åŒæ¥æŽ¥å£ä»¥getFileSync为例,示例代ç 如下: + +```ts +import pointer from '@ohos.wallpaper'; +try { + let file = wallpaper.getFileSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); +} catch (err) { + console.error(`failed to getFileSync because: ${err.message}`); +} +``` + +**é”å±ç®¡ç†æœåŠ¡é€‚é…指导** + +异æ¥æŽ¥å£ä»¥lock为例,示例代ç 如下: + +```ts +import screenLock from '@ohos.screenlock'; +try { + screenLock.lock((err, data) => { + if (err) { + console.error(`Failed to lock the screen, because: ${err.message}`); + return; + } + console.info(`lock the screen successfully. result: ${data}`); + }); +} catch (err) { + console.error(`Failed to lock the screen, because: ${err.message}`); +} + +``` + +åŒæ¥æŽ¥å£ä»¥onSystemEvent为例,示例代ç 如下: + +```ts +import screenLock from '@ohos.screenlock'; +try { + let isSuccess = screenLock.onSystemEvent((event) => { + console.log(`Register the system event which related to screenlock successfully. eventType: ${event.eventType}`) + }); +} catch (err) { + console.error(`Failed to register the system event which related to screenlock, because: ${err.message}`) +} +``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-useriam.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-useriam.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-useriam.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-useriam.md diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-wantAgent.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-wantAgent.md similarity index 90% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-wantAgent.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-wantAgent.md index cc403f2572f2c267f01450cf85126e183e1bce96..44840f55cc2493dad2d9c8ec669d533da1ba8491 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-wantAgent.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-wantAgent.md @@ -1,7 +1,5 @@ # wantAgentçš„JS APIå˜æ›´Changelog -OpenHarmony 3.2.9.1 sp8版本相较于OpenHarmony 3.2.8.1版本,wantAgentçš„APIå˜æ›´å¦‚下 - ## cl.url.1.trigger类接å£å˜æ›´ trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback<CompleteData>): void ; @@ -71,7 +69,7 @@ function getWantAgentCallback(err, data) { //getUid回调 function triggerCallback(err, data) { if(err) { - console.info('getUid failed!' + err.code + err.message); + console.info('getUid failed!' + JSON.stringify(err.code) + JSON.stringify(err.message)); } else { console.info('getUid ok!' + JSON.stringify(data)); } @@ -79,12 +77,12 @@ function getWantAgentCallback(err, data) { try { WantAgent.trigger(wantAgent, triggerInfo, triggerCallback); } catch(err) { - console.info('getUid failed!' + err.code + err.message); + console.info('getUid failed!' + JSON.stringify(err.code) + JSON.stringify(err.message)); } } try{ WantAgent.getWantAgent(wantAgentInfo, getWantAgentCallback); } catch(err){ - console.info('getWantAgent failed!' + err.code + err.message); + console.info('getWantAgent failed!' + JSON.stringify(err.code) + JSON.stringify(err.message)); } ``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-web.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-web.md similarity index 96% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-web.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-web.md index 92a0328779d3059ef92a06c966d213b9f85f51c9..b065436d1d61f79f3ce80fd7ff8858d3dcc778ee 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-web.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-web.md @@ -1,7 +1,5 @@ # webå系统ChangeLog -OpenHarmony 3.2.9.1 sp8版本相较于OpenHarmony 3.2.8.1版本,webçš„APIå˜æ›´å¦‚下 - ## cl.web.1 åˆ é™¤æ— ç”¨é”™è¯¯ç webå系统webviewController接å£å˜åœ¨å˜æ›´ï¼š diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelog-wifi.md b/zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-wifi.md similarity index 100% rename from zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/changelog-wifi.md rename to zh-cn/release-notes/changelogs/v3.2-beta4/changelogs-wifi.md diff --git a/zh-cn/release-notes/changelogs/v3.2-beta5/changelogs-filemanagement.md b/zh-cn/release-notes/changelogs/v3.2-beta5/changelogs-filemanagement.md index c8cd90d415700977a4ae914099b92cf84fafff56..fc5904f09f4ee6037f0dd488c95dc79eb9462f8f 100644 --- a/zh-cn/release-notes/changelogs/v3.2-beta5/changelogs-filemanagement.md +++ b/zh-cn/release-notes/changelogs/v3.2-beta5/changelogs-filemanagement.md @@ -6,7 +6,7 @@ **å˜æ›´å½±å“** -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现environment模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现environment模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../v3.2-beta4/changelogs-filemanagement.md) **关键接å£/组件å˜æ›´** @@ -28,7 +28,7 @@ import environment from '@ohos.file.environment'; **å˜æ›´å½±å“** -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现securityLabel模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现securityLabel模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../v3.2-beta4/changelogs-filemanagement.md) **关键接å£/组件å˜æ›´** @@ -62,7 +62,7 @@ fs模å—下Stat接å£ino属性类型å˜æ›´ï¼Œç”±numberå˜æ›´ä¸ºbigint,以适 **å˜æ›´å½±å“** -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现fileAccess模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现fileAccess模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../v3.2-beta4/changelogs-filemanagement.md) **关键接å£/组件å˜æ›´** @@ -84,7 +84,7 @@ import fileAccess from '@ohos.file.fileAccess'; **å˜æ›´å½±å“** -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现fileExtensionInfo模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../v3.2-beta4/changelogs-filemanagement.md) **关键接å£/组件å˜æ›´** @@ -106,7 +106,7 @@ import fileExtensionInfo from '@ohos.file.fileExtensionInfo'; **å˜æ›´å½±å“** -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现storageStatistics模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现storageStatistics模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../v3.2-beta4/changelogs-filemanagement.md) **关键接å£/组件å˜æ›´** @@ -128,7 +128,7 @@ import storageStatistics from '@ohos.file.storageStatistics'; **å˜æ›´å½±å“** -基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现volumeManager模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。 +基于æ¤å‰ç‰ˆæœ¬å¼€å‘的应用,需注æ„d.tsä½ç½®çš„å˜æ›´åŠimport模å—åçš„å˜æ›´ã€‚现volumeManager模å—支æŒé”™è¯¯ç 处ç†ï¼Œéœ€æ³¨æ„错误ç 处ç†çš„使用。[相关适é…指导å‚考](../v3.2-beta4/changelogs-filemanagement.md) **关键接å£/组件å˜æ›´**