diff --git a/api/notification/notificationSubscriber.d.ts b/api/notification/notificationSubscriber.d.ts index d14e59c088cd25a309190e869b1de94d54f498e1..f2356ec81f6d0943c7de7755327fd739703ea8c6 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 +}