openharmony_ci 31abb04427 !5389 merge capi_0622 into master
interface_c indentity

Created-by: weixin_70100205
Commit-by: weixin_70100205;wangxiuxiu
Merged-by: openharmony_ci
Description: ### 相关的Issue
https://gitcode.com/openharmony/interface_sdk_c/issues/4188

### 原因(目的、解决的问题等)
当前OpenHarmony C接口SDK中,缺少创建对象的原生C API,无法通过C语言开发范式实现无动画过渡效果的配置。

### 描述(做了什么,变更了什么)
1. 新增原生C接口 OH_ArkUI_CreateIdentityTransitionEffect,用于创建IdentityTransitionEffect恒等过渡效果对象,接口无入参,直接返回创建完成的ArkUI_TransitionEffect过渡效果对象指针。
2. 完善接口标准化注释,明确接口功能特性:该过渡效果默认无任何视觉过渡动画,支持搭配非对称过渡效果接口使用,实现组件出现/消失单侧禁用动画的业务场景。同时补充接口释放依赖、版本适配(since 26.0.0)等关键说明,规范SDK接口注释规范。
3. 对齐OpenHarmony SDK接口开发规范,接口生命周期绑定 OH_ArkUI_TransitionEffect_Dispose 释放接口,避免内存泄漏,保证接口使用的安全性和规范性。

### 自检结果(结果截图添加到下面)
- [x] 是否通过C语法扫描
- [x] 是否通过注释规则扫描
- [x] 是否更新json文件
- [x] 实现代码是否已经合入
- [x] 目标是否已经添加到interface/sdk_c仓ndk依赖目标(ndk_targets.gni)里
- [x] 头文件library声明与SDK so库名称一致

### 兼容性影响评估,如有影响请写明(Y/N)
N,本次为全新API能力新增,无原有接口修改、无参数变更,不会对现有业务代码、SDK编译、运行逻辑产生任何兼容性影响。
- [ ] 不兼容
  - [x] 是否经过评审

### L0新增用例自检结果
- [ ] 是,有新增L0用例,且完成自检
- [x] 否

### API参考文档影响评估(提供docs仓pr链接)
- [x] 是,已刷新API参考文档 https://gitcode.com/openharmony/docs/pull/151361
- [ ] 否,不涉及刷新API参考文档

See merge request: openharmony/interface_sdk_c!5389
2026-06-28 16:34:21 +08:00
2025-12-22 18:00:20 +08:00
2026-04-29 11:43:37 +08:00
2026-06-28 16:34:21 +08:00
1
2026-05-15 11:27:49 +08:00
2026-06-08 19:01:34 +08:00
2026-06-25 11:49:02 +08:00
2024-09-08 12:14:36 +08:00
2026-06-09 21:10:56 +08:00
2026-06-22 10:48:19 +08:00
2026-06-16 17:34:37 +08:00
2025-05-08 11:05:37 +00:00
2026-06-26 10:55:36 +08:00
2026-06-23 01:37:59 +08:00
2024-09-29 19:34:15 +08:00
2023-08-03 20:31:01 +08:00
2026-04-24 17:52:03 +08:00
2026-06-12 22:03:25 +08:00
2024-03-01 12:49:46 +00:00
2023-10-20 14:05:53 +08:00

Public Repository for API Declaration Files

Overview

This repository is used to store .h declaration files of C APIs. The OpenHarmony C API is collection of system C interfaces that the operating system provided for applications using the C/C++ language library.It is the contract between the system and the applications; These interfaces need to be sufficiently stable. Interfaces are currently organized into various directories according to the function, and the directories organized as follows.

Directory Structure

─ai
|  ├─neural_network_runtime
├─arkui
|  ├─ace_engine
├─bundlemanager
|  ├─bundle_framework
│  |  ├─bundle
├─commonlibrary
|  ├─memory_utils
│  |  ├─bundle
├─distributeddatamgr
|  ├─relational_store
├─drivers
|  ├─external_device_manager
├─global
|  ├─resource_management
├─graphic
|  ├─graphic_2d
├─hiviewdfx
|  ├─hiappevent
|  ├─hilog
|  ├─hitrace
├─multimedia
|  ├─audio_framework
|  ├─av_codec
|  ├─image_framework
|  ├─player_framework
├─resourceschedule
|  ├─ffrt
├─security
|  ├─huks
├─startup
|  ├─init
├─third_party

Repositories Involved

interface_sdk_c C API编码规范: A guide that describes how to design and publish an interface. C API构建指南A guide that describes how to add a build target for the C API in the build.gn

S
Description
暂无描述
Readme 45 MiB
Languages
C 77.9%
C++ 19.8%
Python 2.3%