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. |