• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# JS API Changes of the Communication Subsystem
2
3The table below lists the APIs changes of the communication subsystem in OpenHarmony 3.2 Beta1 over OpenHarmony 3.1 Release.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.bluetooth | ProfileId | PROFILE_HID_HOST = 6 | Added|
10| ohos.bluetooth | HidHostProfile | off(type: "connectionStateChange", callback?: Callback\<StateChangeParam>): void; | Added|
11| ohos.bluetooth | HidHostProfile | on(type: "connectionStateChange", callback: Callback\<StateChangeParam>): void; | Added|
12| ohos.bluetooth | HidHostProfile | disconnect(device: string): boolean; | Added|
13| ohos.bluetooth | HidHostProfile | connect(device: string): boolean; | Added|
14