openharmony 鸿蒙 js-apidiff-notification

2023-02-17 浏览 (665)

操作旧版本新版本d.ts文件
新增NA模块名: ohos.commonEventManager
类名: Support
方法 or 属性: COMMON_EVENT_USER_INFO_UPDATED = "usual.event.USER_INFO_UPDATED"
@ohos.commonEventManager.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function publishAsBundle(request: NotificationRequest, representativeBundle: string, userId: number, callback: AsyncCallback): void;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function publishAsBundle(request: NotificationRequest, representativeBundle: string, userId: number): Promise;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function cancelAsBundle(id: number, representativeBundle: string, userId: number, callback: AsyncCallback): void;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function cancelAsBundle(id: number, representativeBundle: string, userId: number): Promise;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function enableNotificationSlot(bundle: BundleOption, type: SlotType, enable: boolean, callback: AsyncCallback): void;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function enableNotificationSlot(bundle: BundleOption, type: SlotType, enable: boolean): Promise;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function isNotificationSlotEnabled(bundle: BundleOption, type: SlotType, callback: AsyncCallback): void;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function isNotificationSlotEnabled(bundle: BundleOption, type: SlotType): Promise;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean, callback: AsyncCallback): void;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean): Promise;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function getSyncNotificationEnabledWithoutApp(userId: number, callback: AsyncCallback): void;
NA@ohos.notification.d.ts
删除模块名: ohos.notification
类名: notification
方法 or 属性:function getSyncNotificationEnabledWithoutApp(userId: number): Promise;
NA@ohos.notification.d.ts
起始版本有变化类名:RemoveReason
起始版本:9
类名:RemoveReason
起始版本:N/A
@ohos.notification.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-distributed-data

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/98d7b01b986c4b2c8e32e4fffaf44a0d