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
| Name | Description |
|---|---|
| const ArkUI_NumberValue* value | Numeric array, used to store parameters of the numeric array type. |
| int32_t size | Size of the numeric array. Used in conjunction with the value variable, it indicates the length of the value array. |
| const char* string | String, used to store parameters of the string type. |
| void* object | Object 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