harmony(鸿蒙)JS API Changes of the Distributed Hardware Subsystem

2022-08-09 浏览 (696)

JS API Changes of the Distributed Hardware Subsystem

The table below lists the APIs changes of the Distributed Data Management subsystem in OpenHarmony 3.1 Release over OpenHarmony 3.0 LTS.

API Changes

ModuleAPIChange TypeChange Description
Distributed Hardware Subsystem - DeviceManagerrelease(): voidDeletedThis API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManagergetTrustedDeviceListSync(): Array<DeviceInfo>DeletedThis API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManageron(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): voidDeletedThis API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManageroff(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): voidDeletedThis API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManageron(type: 'serviceDie', callback: () => void): voidDeletedThis API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManageroff(type: 'serviceDie', callback?: () => void): voidDeletedThis API is deleted to reduce security risks.

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)Updates (OpenHarmony 3.1 Beta -> OpenHarmony 3.1 Release)

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 Utils Subsystem

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