harmony 鸿蒙native_interface.h

  • 2025-06-12
  • 浏览 (6)

native_interface.h

概述

提供NativeModule接口的统一入口函数。

库: libace_ndk.z.so

引用文件:

系统能力: SystemCapability.ArkUI.ArkUI.Full

起始版本: 12

相关模块:ArkUI_NativeModule

汇总

宏定义

名称 描述
OH_ArkUI_GetModuleInterface(nativeAPIVariantKind, structType, structPtr) 基于结构体类型获取对应结构体指针的宏函数。

枚举

名称 描述
ArkUI_NativeAPIVariantKind { ARKUI_NATIVE_NODE, ARKUI_NATIVE_DIALOG, ARKUI_NATIVE_GESTURE, ARKUI_NATIVE_ANIMATE } 定义Native接口集合类型。

函数

名称 描述
void * OH_ArkUI_QueryModuleInterfaceByName (ArkUI_NativeAPIVariantKind type, const char *structName) 获取指定类型的Native模块接口集合。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkUI(方舟UI框架)

harmony 鸿蒙ARKUI_TextPickerCascadeRangeContent

harmony 鸿蒙ARKUI_TextPickerRangeContent

harmony 鸿蒙ArkUI_AnimateCompleteCallback

harmony 鸿蒙ArkUI_AttributeItem

harmony 鸿蒙ArkUI_ColorStop

harmony 鸿蒙ArkUI_ContextCallback

harmony 鸿蒙ArkUI_EventModule

harmony 鸿蒙ArkUI_ExpectedFrameRateRange

harmony 鸿蒙ArkUI_IntOffset

0  赞