# 新增和增强特性

## Ability Kit

* 支持PC/2in1设备创建Native子进程，并传递参数到子进程。（[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/capi-nativechildprocess-development-guideline)）
* 包管理新增定义ElementName的C API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-native-bundle-oh-nativebundle-elementname)）
* 元能力新增C API，提供从ApplicationContext中获取cache路径、Area以及bundleName的能力。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-application-context-h)）

## ArkData

Preferences部件提供C API。（[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/preferences-guidelines)、[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-preferences)）

## ArkUI

* RichEditor支持配置滚动条的显隐。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/ts-basic-components-richeditor#barstate13)）
* 通过XComponent接入的三方平台支持无障碍能力。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-native-interface-accessibility-h)、[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/ndk-accessibility-xcomponent)）
* 支持使用ComponentContent类型参数设置ListItemGroup的头部和尾部组件。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/js-apis-arkui-componentcontent)）
* 新增支持获取和设置当前窗口是否禁用返回手势的功能，该功能仅在主窗口全屏模式下生效。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/arkts-apis-window-window#setgesturebackenabled13)）

## ArkWeb

* 支持获取资源响应数据和响应数据的准备状态。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/arkts-basic-components-web-webresourceresponse#getresponsedataex13)）
* 支持获取网页当前的滚动偏移量。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/arkts-apis-webview-webviewcontroller#getscrolloffset13)）

## AVSession Kit

媒体播控模块提供C API。（[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/using-ohavsession-developer)）

## Background Tasks Kit

* 短时任务提供C API。（[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/native-transient-task)、[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-transienttask)）
* 新增音视频通话长时任务类型的定义。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/js-apis-resourceschedule-backgroundtaskmanager#backgroundmode)）

## Basic Services Kit

* 剪贴板模块提供C API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-oh-pasteboard-h)）
* 打印服务模块新增C API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-oh-print)）
* 电源管理模块新增C API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-oh-batteryinfo)）

## Camera Kit

优化相机预览流的处理机制，增加对stride值的处理。详见[双路预览（ArkTS）](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/camera-dual-channel-preview)或[预览流二次处理（C/C++）](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/native-camera-preview-imagereceiver)。

## Connectivity Kit

* 支持通过C API获取蓝牙开关的状态。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-bluetooth)）
* 支持通过C API获取Wi-Fi开关的状态。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-wifi)）

## Core File Kit

文件共享fileuri模块新增C API。（[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/native-fileuri-guidelines)、[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-oh-file-uri-h#oh_fileuri_getfilename)）

## Device Security Kit

* 支持通过C API查询设备安全模式。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/devicesecurity-capi-devicesecuritymode)）
* 支持通过C API为请求设置二进制数据接收回调。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/remote-communication-overview#hms_rcp_setrequestonbinarydatarecvcallback)）

## Game Service Kit

游戏场景感知支持按需订阅设备状态变化和查询设备状态信息。（[API参考-订阅设备状态](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/gameservice-gameperformance#gameperformanceondevicestatechanged-1)、[API参考-查询设备状态](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/gameservice-gameperformance#gameperformancegetdeviceinfobyscope)）

## Image Kit

支持通过C API从PixelMap中读取ARGB格式的数据。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-pixelmap-native-h#oh_pixelmapnative_getargbpixels)）

## Input Kit

多模输入能力新增一批C API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-input)）

## Location Kit

地理位置模块提供C API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-location)）

## Map Kit

支持设置地图经纬度范围和4个方向与边界之间的距离。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/map-map-functions#newlatlngbounds-2)）

## Media Library Kit

PhotoViewPicker能力增强：

* PickerOptions新增是否支持滑动多选的选项和设置大图页checkbox的位置的选项。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/ohos-file-photopickercomponent#pickeroptions)）
* 新增向picker发送退出大图的通知的API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/ohos-file-photopickercomponent#exitphotobrowser13)）
* 新增设置大图页大图预览组件外其他UI元素是否可见的API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/ohos-file-photopickercomponent#setphotobrowseruielementvisibility13)）
* 新增定义大图页大图预览组件外其他UI元素的API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/ohos-file-photopickercomponent#photobrowseruielement13)）
* 支持PhotoPicker组件的删除通知等相关能力。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/ohos-file-photopickercomponent#itemsdeletedcallback13)）

## NearLink Kit

【新增Kit】NearLink Kit（星闪服务）提供一种低功耗、高速率的短距离通信服务，支持星闪设备之间的连接、数据交互。

中心设备可以通过扫描发现外围设备，并发起连接。外围设备可以通过发送广播的方式被中心设备发现，和中心设备连接之后可以进行相应的数据传输。

详细信息请参见[NearLink Kit开发指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/nearlink-introduction)。

## Notification Kit

通知服务新增C API。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-notification)）

## Payment Kit

新增数字人民币的接口。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/payment-ecnypaymentservice)）

## Remote Communication Kit

支持URPC场景下远程RPC调用能力。（[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/remote-communication-urpccall)、[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/remote-communication-urpcapi)）

## Scan Kit

在默认界面扫码界面，支持用户点击关闭"隐私横幅"。当重新打开应用的默认界面扫码将只显示安全访问提示，3s后消失。（[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/scan-scanbarcode#业务流程)）

## Sensor Service Kit

传感器模块新增游戏及线性加速度传感器的C API，其中枚举类型Sensor_Type新增SENSOR_TYPE_ACCELEROMETER参数（[API参考-Sensor_Type](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-oh-sensor-type-h#sensor_type)），函数OH_SensorEvent_GetData(Sensor_Event* sensorEvent, float **data, uint32_t *length)入参的传感器类型新增SENSOR_TYPE_LINEAR_ACCELERATION（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-oh-sensor-h#函数)）。

## Telephony Kit

蜂窝网络模块提供C API。（[API参考-蜂窝数据](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-telephony-data-h)、[API参考-网络搜索](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-telephony-radio-h)）

## Vision Kit

在AI识图场景下，支持设置图像分割菜单显示状态（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/vision-image-analyzer#setsubjectmenuvisibility)）以及开启与取消监听图片搜索事件（[API参考-开启](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/vision-image-analyzer#ontype-objectsearchpanelvisibilitychange)、[API参考-取消](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/vision-image-analyzer#offtype-objectsearchpanelvisibilitychange)）。

## XEngine Kit

支持时域AI超分能力，即利用相机抖动获取不同位置的采样信息，融合时域实现超采样率和超分辨率功能，并利用神经网络达到抗锯齿效果。（[指南](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/xengine-kit-ai-temporal-upscaling)）

## Audio Kit

新增支持麦克风状态检测的ArkTS和C API，可查询并监听在使用麦克风录音时，麦克风是否被堵塞。（[API参考](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-native-audio-routing-manager-h#oh_audioroutingmanager_setmicblockstatuscallback)）

