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

2022-10-28 浏览 (658)

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

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.wifiwififunction off(type: "deviceConfigChange", callback?: Callback<number>): void;Added
ohos.wifiwififunction on(type: "deviceConfigChange", callback: Callback<number>): void;Added
ohos.wifiwififunction removeUntrustedConfig(config: WifiDeviceConfig): Promise<boolean>;
function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void;
Deprecated
ohos.wifiwififunction 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

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