openharmony 鸿蒙 js-apidiff-distributed-hardware

2023-02-03 浏览 (668)

JS API Changes of the Distributed Hardware Subsystem

The table below lists the APIs changes of the distributed hardware subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.

API Changes

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.distributedHardware.deviceManagerDeviceManageroff(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void;Added
ohos.distributedHardware.deviceManagerDeviceManageron(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void;Added
ohos.distributedHardware.deviceManagerDeviceManageroff(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void;Added
ohos.distributedHardware.deviceManagerDeviceManageron(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void;Added
ohos.distributedHardware.deviceManagerDeviceManagerunPublishDeviceDiscovery(publishId: number): void;Added
ohos.distributedHardware.deviceManagerDeviceManagerpublishDeviceDiscovery(publishInfo: PublishInfo): void;Added
ohos.distributedHardware.deviceManagerPublishInforanging : boolean;Added
ohos.distributedHardware.deviceManagerPublishInfofreq: ExchangeFreq;Added
ohos.distributedHardware.deviceManagerPublishInfomode: DiscoverMode;Added
ohos.distributedHardware.deviceManagerPublishInfopublishId: number;Added
ohos.distributedHardware.deviceManagerDeviceInforange: number;Added

你可能感兴趣的鸿蒙文章

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

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