From c98d7e502e094a8f79d333def36cfdf4b66acff6 Mon Sep 17 00:00:00 2001 From: lanyill Date: Tue, 20 Sep 2022 17:11:50 +0800 Subject: [PATCH] =?UTF-8?q?xcomponent=20native=20sdk=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lanyill --- zh-cn/native_sdk/ace/native_interface_xcomponent.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zh-cn/native_sdk/ace/native_interface_xcomponent.h b/zh-cn/native_sdk/ace/native_interface_xcomponent.h index 87c8e984..a7fa1015 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; -- Gitee