开源鸿蒙 JS API Changes of the Communication Subsystem

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

JS API Changes of the Communication Subsystem

The table below lists the APIs changes of the communication subsystem in OpenHarmony 3.2 Beta1 over OpenHarmony 3.1 Release.

API Changes

Module Class Method/Attribute/Enumeration/Constant Change Type
ohos.bluetooth ProfileId PROFILE_HID_HOST = 6 Added
ohos.bluetooth HidHostProfile off(type: “connectionStateChange”, callback?: Callback<StateChangeParam>): void; Added
ohos.bluetooth HidHostProfile on(type: “connectionStateChange”, callback: Callback<StateChangeParam>): void; Added
ohos.bluetooth HidHostProfile disconnect(device: string): boolean; Added
ohos.bluetooth HidHostProfile connect(device: string): boolean; Added

你可能感兴趣的文章

开源鸿蒙 JS API Changes of the Ability Framework

开源鸿蒙 JS API Changes of the ArkUI Development Framework

开源鸿蒙 JS API Changes of the Power Management Subsystem

开源鸿蒙 JS API Changes of the Bundle Management Framework

开源鸿蒙 JS API Changes of the DFX Subsystem

开源鸿蒙 JS API Changes of the Distributed Data Management Subsystem

开源鸿蒙 JS API Changes of the Distributed Scheduler Subsystem

开源鸿蒙 JS API Changes of the Common Event and Notification Subsystem

开源鸿蒙 JS API Changes of the File Management Subsystem

开源鸿蒙 JS API Changes of the Globalization Subsystem

0  赞