From 7308849f4bd3d4e9583fec4a42ec8616dfe2eb4d Mon Sep 17 00:00:00 2001 From: wangdi Date: Wed, 10 Sep 2025 17:06:55 +0800 Subject: [PATCH] basicContent add structuredText Signed-off-by: wangdi --- api/notification/notificationContent.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/notification/notificationContent.d.ts b/api/notification/notificationContent.d.ts index 9eb1ca198e..9a9be68708 100644 --- a/api/notification/notificationContent.d.ts +++ b/api/notification/notificationContent.d.ts @@ -114,6 +114,16 @@ export interface NotificationBasicContent { * @arkts 1.1&1.2 */ lockscreenPicture?: image.PixelMap; + + /** + * Structured text of the notification. Its key or value cannot exceed 512 bytes. Excess content will be truncated. + * + * @type { ?Map } + * @syscap SystemCapability.Notification.Notification + * @since arkts {'1.1':'21', '1.2':'21'} + * @arkts 1.1&1.2 + */ + structuredText?: Map; } /** -- Gitee