harmony 鸿蒙js-apidiff-notification

  • 2023-02-17
  • 浏览 (530)

操作 旧版本 新版本 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

0  赞