From 7bc3d48718f0e920b3d43109ba6f863d8bac45a2 Mon Sep 17 00:00:00 2001 From: z00454238 Date: Wed, 25 Jun 2025 19:16:50 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=A2=9ElineWantAgents=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=20Signed-off-by:=20z00454238=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/notification/notificationContent.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api/notification/notificationContent.d.ts b/api/notification/notificationContent.d.ts index ad6b1c4ec6..57120c90ad 100644 --- a/api/notification/notificationContent.d.ts +++ b/api/notification/notificationContent.d.ts @@ -22,6 +22,7 @@ import notification from '../@ohos.notification'; import image from '../@ohos.multimedia.image'; import { Resource } from '../global/resource'; import type notificationManager from '../@ohos.notificationManager'; +import type { WantAgent } from '../@ohos.wantAgent'; /** * Describes icon type. @@ -380,6 +381,16 @@ export interface NotificationMultiLineContent extends NotificationBasicContent { * @since 12 */ lines: Array; + + /** + * Multi-line wantAgent of the multi-line text notification. + * @permission ohos.permission.NOTIFICATION_AGENT_CONTROLLER + * @type { ?Array } + * @syscap SystemCapability.Notification.Notification + * @systemapi + * @since 20 + */ + lineWantAgents?: Array; } /** -- Gitee From fe125301a62d339cfdae970d33834d41ec7b5fa8 Mon Sep 17 00:00:00 2001 From: z00454238 Date: Fri, 27 Jun 2025 09:45:14 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=96=B0=E5=A2=9ElineWantAgents=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=20Signed-off-by:=20z00454238=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/notification/notificationContent.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/notification/notificationContent.d.ts b/api/notification/notificationContent.d.ts index 57120c90ad..7732054033 100644 --- a/api/notification/notificationContent.d.ts +++ b/api/notification/notificationContent.d.ts @@ -387,6 +387,7 @@ export interface NotificationMultiLineContent extends NotificationBasicContent { * @permission ohos.permission.NOTIFICATION_AGENT_CONTROLLER * @type { ?Array } * @syscap SystemCapability.Notification.Notification + * @crossplatform * @systemapi * @since 20 */ -- Gitee From 9d00a2305a8a8dd3200ac9624971671cc9eacf41 Mon Sep 17 00:00:00 2001 From: z00454238 Date: Fri, 27 Jun 2025 16:56:59 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=96=B0=E5=A2=9ElineWantAgents=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=20Signed-off-by:=20z00454238=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/notification/notificationContent.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/notification/notificationContent.d.ts b/api/notification/notificationContent.d.ts index 7732054033..57120c90ad 100644 --- a/api/notification/notificationContent.d.ts +++ b/api/notification/notificationContent.d.ts @@ -387,7 +387,6 @@ export interface NotificationMultiLineContent extends NotificationBasicContent { * @permission ohos.permission.NOTIFICATION_AGENT_CONTROLLER * @type { ?Array } * @syscap SystemCapability.Notification.Notification - * @crossplatform * @systemapi * @since 20 */ -- Gitee