diff --git a/api/notification/notificationContent.d.ts b/api/notification/notificationContent.d.ts index b2b367c6ff3c93ccf40818f382ac8df9ff7ebb30..156e00b7054dceea1e9bab4ede378a8ef0326419 100644 --- a/api/notification/notificationContent.d.ts +++ b/api/notification/notificationContent.d.ts @@ -23,6 +23,10 @@ import { Resource } from '../global/resource'; import type notificationManager from '../@ohos.notificationManager'; /*** if arkts 1.1 */ import notification from '../@ohos.notification'; +import { WantAgent } from '../@ohos.wantAgent'; +/*** endif */ +/*** if arkts 1.2 */ +import { WantAgent } from '../@ohos.app.ability.wantAgent'; /*** endif */ /** @@ -412,6 +416,17 @@ export interface NotificationMultiLineContent extends NotificationBasicContent { * @arkts 1.1&1.2 */ 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 + * @arkts 1.1&1.2 + */ + lineWantAgents?: Array; } /**