openharmony 鸿蒙 changelogs-ans

2023-06-24 浏览 (433)

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 NameOriginal APINew API
ohos.notificationManager.d.tsfunction supportDoNotDisturbMode(callback: AsyncCallback<boolean>): void;function isSupportDoNotDisturbMode(callback: AsyncCallback<boolean>): void;
ohos.notificationManager.d.tsfunction supportDoNotDisturbMode(): Promise<boolean>;function isSupportDoNotDisturbMode(): Promise<boolean>;

Adaptation Guide

Call the new API isSupportDoNotDisturbMode.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Ability Subsystem Changelog

harmony 鸿蒙ArkUI Subsystem Changelog

harmony 鸿蒙USB Subsystem API Changelog

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