harmony 鸿蒙ANS Subsystem Changelog
ANS Subsystem Changelog
cl.notificationManager.1 API Renaming
Renamed certain APIs to meet the naming conventions.
Change Impact
The underlying layer still supports the functions of the original APIs, and therefore these APIs can be called in OpenHarmony 4.0.2.3.
Key API/Component Changes
Bundle Name | Original API | New API |
---|---|---|
ohos.notificationManager.d.ts | function supportDoNotDisturbMode(callback: AsyncCallback<boolean>): void; | function isSupportDoNotDisturbMode(callback: AsyncCallback<boolean>): void; |
ohos.notificationManager.d.ts | function supportDoNotDisturbMode(): Promise<boolean>; | function isSupportDoNotDisturbMode(): Promise<boolean>; |
Adaptation Guide
Call the new API isSupportDoNotDisturbMode.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Ability Subsystem Changelog
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦