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

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

JS API Changes of the Communication Subsystem

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

API Changes

Module Class Method/Attribute/Enumeration/Constant Change Type
ohos.wifi wifi function off(type: “deviceConfigChange”, callback?: Callback<number>): void; Added
ohos.wifi wifi function on(type: “deviceConfigChange”, callback: Callback<number>): void; Added
ohos.wifi wifi function removeUntrustedConfig(config: WifiDeviceConfig): Promise<boolean>;
function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
Deprecated
ohos.wifi wifi function addUntrustedConfig(config: WifiDeviceConfig): Promise<boolean>;
function addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
Deprecated

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)Updates (OpenHarmony 3.2 Beta2 -> OpenHarmony 3.2 Beta3)

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

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

0  赞