mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-04-15 03:30:31 +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 { NotificationSubscriber as _NotificationSubscriber } from './notification/notificationSubscriber';
|
||||||
import { SubscribeCallbackData as _SubscribeCallbackData } from './notification/notificationSubscriber';
|
import { SubscribeCallbackData as _SubscribeCallbackData } from './notification/notificationSubscriber';
|
||||||
import { EnabledNotificationCallbackData as _EnabledNotificationCallbackData } from './notification/notificationSubscriber';
|
import { EnabledNotificationCallbackData as _EnabledNotificationCallbackData } from './notification/notificationSubscriber';
|
||||||
|
import { BadgeNumberCallbackData as _BadgeNumberCallbackData } from './notification/notificationSubscriber';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace notificationSubscribe
|
* @namespace notificationSubscribe
|
||||||
@ -473,6 +474,15 @@ declare namespace notificationSubscribe {
|
|||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
export type EnabledNotificationCallbackData = _EnabledNotificationCallbackData;
|
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;
|
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
|
* @systemapi
|
||||||
* @since 8
|
* @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;
|
isRemoveAllowed?: boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user