update

Signed-off-by: z30053788 <zhaobaoxin1@huawei.com>
Change-Id: Iaabc165be2947f431276ca3b66f4a65e2ef697f1
This commit is contained in:
z30053788 2024-08-20 11:04:23 +08:00 committed by 185******37
parent c2fdd9ac4b
commit 51a857f1df
2 changed files with 13 additions and 13 deletions

View File

@ -221,7 +221,7 @@ declare namespace emitter {
function off(eventId: string): void;
/**
* Unsubscribe specified callback function from an event.
* Unsubscribe from an event.
*
* @param { number } eventId - indicates ID of the event to unsubscribe from.
* @param { Callback<EventData> } callback - indicates callback used to receive the event.
@ -229,7 +229,7 @@ declare namespace emitter {
* @since 10
*/
/**
* Unsubscribe specified callback function from an event.
* Unsubscribe from an event.
*
* @param { number } eventId - indicates ID of the event to unsubscribe from.
* @param { Callback<EventData> } callback - indicates callback used to receive the event.
@ -250,7 +250,7 @@ declare namespace emitter {
function off(eventId: number, callback: Callback<EventData>): void;
/**
* Unsubscribe specified callback function from an event.
* Unsubscribe from an event.
*
* @param { string } eventId - indicates ID of the event to unsubscribe from.
* @param { Callback<EventData> } callback - indicates callback used to receive the event.

View File

@ -528,16 +528,6 @@ export interface NotificationRequest {
*/
badgeNumber?: number;
/**
* Notification control flags.
*
* @type { ?number }
* @syscap SystemCapability.Notification.Notification
* @systemapi
* @since 12
*/
notificationControlFlags?: number;
/**
* Whether the notification need to be agent display.
*
@ -567,6 +557,16 @@ export interface NotificationRequest {
* @since 12
*/
unifiedGroupInfo?: UnifiedGroupInfo;
/**
* Notification control flags.
*
* @type { ?number }
* @syscap SystemCapability.Notification.Notification
* @systemapi
* @since 12
*/
notificationControlFlags?: number;
}
/**