harmony(鸿蒙)JS API Changes of the Communication Subsystem

  • 2022-10-28
  • 浏览 (493)

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

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)JS API Changes of the Ability Framework

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

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

harmony(鸿蒙)JS API Changes of the Common Event and Notification Subsystem

harmony(鸿蒙)JS API Changes of the File Management Subsystem

harmony(鸿蒙)JS API Changes of the Globalization Subsystem

0  赞