mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-04-14 03:01:03 +00:00
cherry pick b2351f4 from https://gitee.com/stepend98/interface_sdk-js/pulls/15681
NotificationRequest新增updateOnly字段,用以publish接口区分创建与更新意图 Signed-off-by: stepend98 <yangjun273@huawei.com>
This commit is contained in:
parent
338e5662de
commit
d86900f082
9
api/notification/notificationRequest.d.ts
vendored
9
api/notification/notificationRequest.d.ts
vendored
@ -134,6 +134,15 @@ export interface NotificationRequest {
|
||||
*/
|
||||
isUnremovable?: boolean;
|
||||
|
||||
/**
|
||||
* Whether the notification can only be updated.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Notification.Notification
|
||||
* @since 16
|
||||
*/
|
||||
updateOnly?: boolean;
|
||||
|
||||
/**
|
||||
* Time when the notification is sent.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user