harmony 鸿蒙native_interface.h

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

native_interface.h

Overview

Provides a unified entry for the native module APIs.

Library: libace_ndk.z.so

File to include:

System capability: SystemCapability.ArkUI.ArkUI.Full

Since: 12

Related module: ArkUI_NativeModule

Summary

Macros

Name Description
OH_ArkUI_GetModuleInterface(nativeAPIVariantKind, structType, structPtr) Obtains the macro function corresponding to a struct pointer based on the struct type.

Enums

Name Description
ArkUI_NativeAPIVariantKind { ARKUI_NATIVE_NODE, ARKUI_NATIVE_DIALOG, ARKUI_NATIVE_GESTURE, ARKUI_NATIVE_ANIMATE } Defines the native API types.

Functions

Name Description
void * OH_ArkUI_QueryModuleInterfaceByName (ArkUI_NativeAPIVariantKind type, const char *structName) Obtains the native API set of a specified type.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkUI

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  赞