diff --git a/zh-cn/native_sdk/ace/native_interface_xcomponent.h b/zh-cn/native_sdk/ace/native_interface_xcomponent.h index 87c8e984ab8663245125126e2d7f826b14ca623e..a7fa101521fdecf4accbdc24dbce7fafd831d9bb 100644 --- a/zh-cn/native_sdk/ace/native_interface_xcomponent.h +++ b/zh-cn/native_sdk/ace/native_interface_xcomponent.h @@ -113,9 +113,17 @@ typedef enum { } OH_NativeXComponent_MouseEventButton; #define OH_NATIVE_XCOMPONENT_OBJ ("__NATIVE_XCOMPONENT_OBJ__") + /** ArkUI XComponent的id的最大长度 */ const uint32_t OH_XCOMPONENT_ID_LEN_MAX = 128; + /** 触摸事件中可识别的触摸点个数最大值 */ const uint32_t OH_MAX_TOUCH_POINTS_NUMBER = 10; +/** + * @brief 触摸点。 + * + * @since 8 + * @version 1.0 + */ typedef struct { /** 手指的唯一标识符。 */ int32_t id = 0;