harmony 鸿蒙JS API Changes of the Common Event and Notification Subsystem
JS API Changes of the Common Event and Notification Subsystem
The table below lists the APIs changes of the common event and notification subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
API Changes
Module | Class | Method/Attribute/Enumeration/Constant | Change Type |
---|---|---|---|
ohos.commonEvent | Support | COMMON_EVENT_QUICK_FIX_APPLY_RESULT = “usual.event.QUICK_FIX_APPLY_RESULT” | Added |
ohos.commonEvent | Support | COMMON_EVENT_USB_PORT_CHANGED = “usual.event.hardware.usb.action.USB_PORT_CHANGED” | Added |
ohos.commonEvent | Support | COMMON_EVENT_USB_STATE = “usual.event.hardware.usb.action.USB_STATE” | Added |
ohos.commonEvent | Support | COMMON_EVENT_PACKAGE_CACHE_CLEARED = “usual.event.PACKAGE_CACHE_CLEARED” | Added |
ohos.notification | RemoveReason | CANCEL_REASON_REMOVE = 2 | Added |
ohos.notification | RemoveReason | CLICK_REASON_REMOVE = 1 | Added |
ohos.notification | notification | function getSyncNotificationEnabledWithoutApp(userId: number, callback: AsyncCallback<boolean>): void; function getSyncNotificationEnabledWithoutApp(userId: number): Promise<boolean>; |
Added |
ohos.notification | notification | function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean, callback: AsyncCallback<void>): void; function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean): Promise<void>; |
Added |
ohos.notification | notification | function getSyncNotificationEnabledForUninstallApp(userId: number, callback: AsyncCallback<boolean>): void; function getSyncNotificationEnabledForUninstallApp(userId: number): Promise<boolean>; |
Deleted |
ohos.notification | notification | function setSyncNotificationEnabledForUninstallApp(userId: number, enable: boolean, callback: AsyncCallback<void>): void; function setSyncNotificationEnabledForUninstallApp(userId: number, enable: boolean): Promise<void>; |
Deleted |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙JS API Changes of the Ability Framework
harmony 鸿蒙JS API Changes of the Accessibility Subsystem
harmony 鸿蒙JS API Changes of the Account Subsystem
harmony 鸿蒙JS API Changes of the ArkUI Development Framework
harmony 鸿蒙JS API Changes of the Power Management Subsystem
harmony 鸿蒙JS API Changes of the Bundle Management Framework
harmony 鸿蒙JS API Changes of the Communication Subsystem
harmony 鸿蒙JS API Changes of the Compiler and Runtime Subsystem
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦