harmony 鸿蒙JS API Changes of the Distributed Hardware Subsystem

  • 2023-02-03
  • 浏览 (558)

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

Module API Change Type Change Description
Distributed Hardware Subsystem - DeviceManager release(): void Deleted This API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManager getTrustedDeviceListSync(): Array<DeviceInfo> Deleted This API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManager on(type: ‘deviceStateChange’, callback: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void Deleted This API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManager off(type: ‘deviceStateChange’, callback?: Callback<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void Deleted This API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManager on(type: ‘serviceDie’, callback: () => void): void Deleted This API is deleted to reduce security risks.
Distributed Hardware Subsystem - DeviceManager off(type: ‘serviceDie’, callback?: () => void): void Deleted This API is deleted to reduce security risks.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

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

harmony 鸿蒙JS API Changes of the DFX Subsystem

0  赞