From 69e8c38ef3f484736f742259fa03ba6937d0b75f Mon Sep 17 00:00:00 2001 From: guxiang Date: Sat, 21 Jun 2025 01:01:58 +0800 Subject: [PATCH] All-scenario PC/Pad collaboration Signed-off-by: guxiang --- api/@ohos.notificationSubscribe.d.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/api/@ohos.notificationSubscribe.d.ts b/api/@ohos.notificationSubscribe.d.ts index e7f01d8eab..dab12eddc5 100644 --- a/api/@ohos.notificationSubscribe.d.ts +++ b/api/@ohos.notificationSubscribe.d.ts @@ -492,6 +492,26 @@ declare namespace notificationSubscribe { * @since 18 */ userInput?: string; + + /** + * action operation type + * + * @type { ?number } + * @syscap SystemCapability.Notification.Notification + * @systemapi + * @since 20 + */ + operationType?: number; + + /** + * action button index + * + * @type { ?number } + * @syscap SystemCapability.Notification.Notification + * @systemapi + * @since 20 + */ + buttonIndex?: number; } /** -- Gitee