openharmony 鸿蒙 changelog-security_access_token

2023-10-30 浏览 (195)

Application Access Control Subsystem Changelog

cl.sucurity_access_token.1 Changes in the Event Subscription and Cancellation APIs

Change Impact

The applications developed based on earlier versions are not affected.

Key API/Component Changes

Involved APIs: interface/sdk-js/api/@ohos.abilityAccessCtrl.d.ts:

atManager.on

atManager.off

From this version:

Multiple callbacks can be registered if tokenIDList and permissionList are the same.

The same callback cannot be registered if tokenIDList or permissionList are overlapped.

If callback is not passed in atManager.off, all callbacks under tokenIDList and permissionList will be unregistered.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkUI Subsystem Changelog

harmony 鸿蒙Account Subsystem Changelog

harmony 鸿蒙Bluetooth Subsystem Changelog

harmony 鸿蒙Bundle Management Subsystem Changelog

harmony 鸿蒙Security Subsystem Changelog

harmony 鸿蒙Graphics Subsystem Changelog

harmony 鸿蒙Input Method Framework Subsystem – Input Method Framework Service Changelog

harmony 鸿蒙Telephony Subsystem Changelog

harmony 鸿蒙Wi-Fi Subsystem Changelog

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