mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-04-14 11:12:59 +00:00
update
Signed-off-by: z30053788 <zhaobaoxin1@huawei.com> Change-Id: I92edf20a643fc3c7279dd69b72e5ebeb65684cf4
This commit is contained in:
parent
f06894b487
commit
a759bb2fac
4
api/@ohos.commonEventManager.d.ts
vendored
4
api/@ohos.commonEventManager.d.ts
vendored
@ -2202,6 +2202,7 @@ declare namespace commonEventManager {
|
||||
/**
|
||||
* Describes the data of the common event
|
||||
*
|
||||
* @typedef { _CommonEventData } CommonEventData
|
||||
* @syscap SystemCapability.Notification.CommonEvent
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
@ -2217,6 +2218,7 @@ declare namespace commonEventManager {
|
||||
/**
|
||||
* Describes the subscriber of common event
|
||||
*
|
||||
* @typedef { _CommonEventSubscriber } CommonEventSubscriber
|
||||
* @syscap SystemCapability.Notification.CommonEvent
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
@ -2232,6 +2234,7 @@ declare namespace commonEventManager {
|
||||
/**
|
||||
* Describes the information of the subscriber
|
||||
*
|
||||
* @typedef { _CommonEventSubscribeInfo } CommonEventSubscribeInfo
|
||||
* @syscap SystemCapability.Notification.CommonEvent
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
@ -2254,6 +2257,7 @@ declare namespace commonEventManager {
|
||||
/**
|
||||
* Describes the information of the subscriber
|
||||
*
|
||||
* @typedef { _CommonEventPublishData } CommonEventPublishData
|
||||
* @syscap SystemCapability.Notification.CommonEvent
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
29
api/@ohos.notificationManager.d.ts
vendored
29
api/@ohos.notificationManager.d.ts
vendored
@ -2751,6 +2751,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* The callback function that receives a new button option of a notification.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 11
|
||||
@ -2762,7 +2763,6 @@ declare namespace notificationManager {
|
||||
* Describes the parameters of check notifications.
|
||||
*
|
||||
* @typedef NotificationCheckInfo
|
||||
* @permission ohos.permission.NOTIFICATION_CONTROLLER and ohos.permission.NOTIFICATION_AGENT_CONTROLLER
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 10
|
||||
@ -2850,7 +2850,6 @@ declare namespace notificationManager {
|
||||
* Describes the result of check notifications.
|
||||
*
|
||||
* @typedef NotificationCheckResult
|
||||
* @permission ohos.permission.NOTIFICATION_CONTROLLER and ohos.permission.NOTIFICATION_AGENT_CONTROLLER
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 10
|
||||
@ -3370,6 +3369,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a bundleOption in a notification.
|
||||
*
|
||||
* @typedef { _BundleOption } BundleOption
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 9
|
||||
*/
|
||||
@ -3378,6 +3378,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes an action button displayed in a notification.
|
||||
*
|
||||
* @typedef { _NotificationActionButton } NotificationActionButton
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 9
|
||||
*/
|
||||
@ -3392,6 +3393,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a normal text notification.
|
||||
*
|
||||
* @typedef { _NotificationBasicContent } NotificationBasicContent
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -3407,6 +3409,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes notification types.
|
||||
*
|
||||
* @typedef { _NotificationContent } NotificationContent
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -3422,6 +3425,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a long text notification.
|
||||
*
|
||||
* @typedef { _NotificationLongTextContent } NotificationLongTextContent
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -3431,6 +3435,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a live view notification.
|
||||
*
|
||||
* @typedef { _NotificationLiveViewContent } NotificationLiveViewContent
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 11
|
||||
@ -3446,6 +3451,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a multi-line text notification.
|
||||
*
|
||||
* @typedef { _NotificationMultiLineContent } NotificationMultiLineContent
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -3455,6 +3461,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a picture-attached notification.
|
||||
*
|
||||
* @typedef { _NotificationPictureContent } NotificationPictureContent
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 9
|
||||
*/
|
||||
@ -3463,6 +3470,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a system live view notification.
|
||||
*
|
||||
* @typedef { _NotificationSystemLiveViewContent } NotificationSystemLiveViewContent
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 11
|
||||
*/
|
||||
@ -3471,6 +3479,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a NotificationFlags instance.
|
||||
*
|
||||
* @typedef { _NotificationFlags } NotificationFlags
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -3480,6 +3489,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* The status of the notification flag.
|
||||
*
|
||||
* @typedef { _NotificationFlagStatus } NotificationFlagStatus
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -3495,6 +3505,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Defines a NotificationRequest instance.
|
||||
*
|
||||
* @typedef { _NotificationRequest } NotificationRequest
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @crossplatform
|
||||
* @since 12
|
||||
@ -3504,7 +3515,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Defines a UnifiedGroupInfo instance.
|
||||
*
|
||||
* @typedef {_UnifiedGroupInfo} UnifiedGroupInfo
|
||||
* @typedef { _UnifiedGroupInfo } UnifiedGroupInfo
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 12
|
||||
@ -3514,6 +3525,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Defines a NotificationFilter instance.
|
||||
*
|
||||
* @typedef { _NotificationFilter } NotificationFilter
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 11
|
||||
@ -3523,6 +3535,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Defines a NotificationCheckRequest instance.
|
||||
*
|
||||
* @typedef { _NotificationCheckRequest } NotificationCheckRequest
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 11
|
||||
@ -3532,6 +3545,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes distributed options.
|
||||
*
|
||||
* @typedef { _DistributedOptions } DistributedOptions
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 9
|
||||
*/
|
||||
@ -3540,6 +3554,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a NotificationSlot instance.
|
||||
*
|
||||
* @typedef { _NotificationSlot } NotificationSlot
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 9
|
||||
*/
|
||||
@ -3548,6 +3563,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes live view notification option type.
|
||||
*
|
||||
* @typedef { _LiveViewStatus } LiveViewStatus
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 11
|
||||
@ -3557,6 +3573,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Provides sorting information about an active notification.
|
||||
*
|
||||
* @typedef { _NotificationSorting } NotificationSorting
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -3566,6 +3583,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a NotificationTemplate instance.
|
||||
*
|
||||
* @typedef { _NotificationTemplate } NotificationTemplate
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 9
|
||||
*/
|
||||
@ -3574,6 +3592,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a NotificationUserInput instance.
|
||||
*
|
||||
* @typedef { _NotificationUserInput } NotificationUserInput
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 9
|
||||
*/
|
||||
@ -3582,6 +3601,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a system live view capsule type.
|
||||
*
|
||||
* @typedef { _NotificationCapsule } NotificationCapsule
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 11
|
||||
*/
|
||||
@ -3590,6 +3610,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a system live view button type.
|
||||
*
|
||||
* @typedef { _NotificationButton } NotificationButton
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 11
|
||||
*/
|
||||
@ -3598,6 +3619,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a system live view time type.
|
||||
*
|
||||
* @typedef { _NotificationTime } NotificationTime
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 11
|
||||
*/
|
||||
@ -3606,6 +3628,7 @@ declare namespace notificationManager {
|
||||
/**
|
||||
* Describes a system live view progress type.
|
||||
*
|
||||
* @typedef { _NotificationProgress } NotificationProgress
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 11
|
||||
*/
|
||||
|
6
api/@ohos.notificationSubscribe.d.ts
vendored
6
api/@ohos.notificationSubscribe.d.ts
vendored
@ -448,6 +448,7 @@ declare namespace notificationSubscribe {
|
||||
/**
|
||||
* Describes a bundleOption in a notification.
|
||||
*
|
||||
* @typedef { _BundleOption } BundleOption
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -457,6 +458,7 @@ declare namespace notificationSubscribe {
|
||||
/**
|
||||
* Sets filter criteria of publishers for subscribing to desired notifications.
|
||||
*
|
||||
* @typedef { _NotificationSubscribeInfo } NotificationSubscribeInfo
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -467,6 +469,7 @@ declare namespace notificationSubscribe {
|
||||
* Provides methods that will be called back when the subscriber receives a new notification or
|
||||
* a notification is canceled.
|
||||
*
|
||||
* @typedef { _NotificationSubscriber } NotificationSubscriber
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -477,6 +480,7 @@ declare namespace notificationSubscribe {
|
||||
* Provides methods that will be called back when the subscriber receives a new notification or
|
||||
* a notification is canceled.
|
||||
*
|
||||
* @typedef { _SubscribeCallbackData } SubscribeCallbackData
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -486,6 +490,7 @@ declare namespace notificationSubscribe {
|
||||
/**
|
||||
* Describes the properties of the application that the permission to send notifications has changed.
|
||||
*
|
||||
* @typedef { _EnabledNotificationCallbackData } EnabledNotificationCallbackData
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 9
|
||||
@ -495,6 +500,7 @@ declare namespace notificationSubscribe {
|
||||
/**
|
||||
* Describes the badge number of the application has changed.
|
||||
*
|
||||
* @typedef { _BadgeNumberCallbackData } BadgeNumberCallbackData
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 11
|
||||
|
10
api/notification/notificationSubscriber.d.ts
vendored
10
api/notification/notificationSubscriber.d.ts
vendored
@ -36,6 +36,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* The callback function that receives a new notification.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 7
|
||||
@ -45,6 +46,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* The callback function that cancels the notification.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 7
|
||||
@ -54,6 +56,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* The callback function that updates the sort of notifications.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 7
|
||||
@ -63,6 +66,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* The callback function of the completed subscription.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 7
|
||||
@ -72,6 +76,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* The callback function to unsubscribe.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 7
|
||||
@ -81,6 +86,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* The callback function that service disconnected.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 7
|
||||
@ -90,6 +96,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* Callback when the Do Not Disturb setting changed.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 8
|
||||
@ -111,6 +118,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* Callback when the notification permission is changed.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 8
|
||||
@ -120,6 +128,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* Callback when badge number changed.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 10
|
||||
@ -129,6 +138,7 @@ export interface NotificationSubscriber {
|
||||
/**
|
||||
* Callback when badge enabled state changed.
|
||||
*
|
||||
* @type { ?BadgeEnabledChangedCallback }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @systemapi
|
||||
* @since 12
|
||||
|
Loading…
x
Reference in New Issue
Block a user