From 0317ec5276e8e26ec788ebaa083c9092f2dd491d Mon Sep 17 00:00:00 2001 From: zero-cyc Date: Wed, 2 Mar 2022 16:06:25 +0800 Subject: [PATCH] fixed 642e76d from https://gitee.com/zero-cyc/interface_sdk-js/pulls/865 chenlien@huawei.com Signed-off-by: zero-cyc Change-Id: Ide73e7f099e285f8d86df0e648ebfc1862b01257 --- api/notification/notificationSubscriber.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/notification/notificationSubscriber.d.ts b/api/notification/notificationSubscriber.d.ts index d14e59c088..f2356ec81f 100644 --- a/api/notification/notificationSubscriber.d.ts +++ b/api/notification/notificationSubscriber.d.ts @@ -37,14 +37,14 @@ export interface NotificationSubscriber { /** * Callback when the Do Not Disturb setting changed. - * + * @syscap SystemCapability.Notification.Notification * @since 8 */ onDoNotDisturbDateChange?:(mode: notification.DoNotDisturbDate) => void; /** * Callback when the notificaition permission is changed. - * + * @syscap SystemCapability.Notification.Notification * @since 8 */ onEnabledNotificationChanged?:(callbackData: EnabledNotificationCallbackData) => void; @@ -72,6 +72,7 @@ export interface SubscribeCallbackData { * Describes the properties of the application that the permission to send notifications has changed. * * @name EnabledNotificationCallbackData + * @syscap SystemCapability.Notification.Notification * @systemapi Hide this for inner system use. * @since 8 */ @@ -79,4 +80,4 @@ export interface EnabledNotificationCallbackData { readonly bundle: string; readonly uid: number; readonly enable: boolean; -} \ No newline at end of file +} -- Gitee