openharmony 鸿蒙 capi-arkui-nativemodule-arkui-attributeitem

2026-08-25 浏览 (1)

ArkUI_AttributeItem

typedef struct {...} ArkUI_AttributeItem

Overview

Defines the setAttribute function. This is a general input parameter struct. Individual attribute-setting API can use appropriate member variables within it to store parameter data of specific types.

Since: 12

Related module: ArkUI_NativeModule

Header file: native_node.h

Summary

Member Variables

NameDescription
const ArkUI_NumberValue* valueNumeric array, used to store parameters of the numeric array type.
int32_t sizeSize of the numeric array. Used in conjunction with the value variable, it indicates the length of the value array.
const char* stringString, used to store parameters of the string type.
void* objectObject pointer, used to store parameters of the object type.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 arkts-apis-uicontext-contextmenucontroller

openharmony 鸿蒙 errorcode-canvas

openharmony 鸿蒙 capi-oh-nativexcomponent-native-xcomponent-oh-nativexcomponent

openharmony 鸿蒙 errorcode-bindSheet

openharmony 鸿蒙 js-apis-arkui-uiExtension-sys

openharmony 鸿蒙 capi-arkui-accessibility-arkui-accessibilityeventinfo

openharmony 鸿蒙 capi-arkui-rendernodeutils

openharmony 鸿蒙 js-apis-arkui-node

openharmony 鸿蒙 capi-native-node-h

openharmony 鸿蒙 capi-arkui-nativemodule-arkui-listitemswipeactionitem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/3kcbnDwj