mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-04-12 18:28:35 +00:00
一致性修改
Signed-off-by: 185******37 <zhaobaoxin1@huawei.com>
This commit is contained in:
parent
11c56cc957
commit
c9aeb5dc3d
10
api/@ohos.notificationSubscribe.d.ts
vendored
10
api/@ohos.notificationSubscribe.d.ts
vendored
@ -24,6 +24,7 @@ import { NotificationSubscribeInfo as _NotificationSubscribeInfo } from './notif
|
||||
import { NotificationSubscriber as _NotificationSubscriber } from './notification/notificationSubscriber';
|
||||
import { SubscribeCallbackData as _SubscribeCallbackData } from './notification/notificationSubscriber';
|
||||
import { EnabledNotificationCallbackData as _EnabledNotificationCallbackData } from './notification/notificationSubscriber';
|
||||
import { BadgeNumberCallbackData as _BadgeNumberCallbackData } from './notification/notificationSubscriber';
|
||||
|
||||
/**
|
||||
* @namespace notificationSubscribe
|
||||
@ -473,6 +474,15 @@ declare namespace notificationSubscribe {
|
||||
* @since 9
|
||||
*/
|
||||
export type EnabledNotificationCallbackData = _EnabledNotificationCallbackData;
|
||||
|
||||
/**
|
||||
* Describes the badge number of the application has changed.
|
||||
*
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 11
|
||||
*/
|
||||
export type BadgeNumberCallbackData = _BadgeNumberCallbackData;
|
||||
}
|
||||
|
||||
export default notificationSubscribe;
|
||||
|
10
api/notification/notificationRequest.d.ts
vendored
10
api/notification/notificationRequest.d.ts
vendored
@ -329,6 +329,16 @@ export interface NotificationRequest {
|
||||
* @systemapi
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Whether the notification can be remove.
|
||||
*
|
||||
* @permission ohos.permission.SET_UNREMOVABLE_NOTIFICATION
|
||||
* @type { ?boolean }
|
||||
* @default true
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 11
|
||||
*/
|
||||
isRemoveAllowed?: boolean;
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user