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

  • 2022-08-09
  • 浏览 (553)

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(鸿蒙)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

0  赞