提交 835ea1e3 编写于 作者: Y yanxiaotao@huawei.com

add changlog for wifi @2023-08-08.

Signed-off-by: Nyanxiaotao@huawei.com <yanxiaotao@huawei.com>
上级 5ef99d17
......@@ -29,6 +29,7 @@ getScanResultsSync(): Array<WifiScanInfo>;
**适配指导**
示例代码如下:
- 调用 getScanResults 异步接口:
```js
function getScanResultsPromise() {
let methodName = `${tag} getScanResultsPromise`
......@@ -43,7 +44,9 @@ function getScanResultsPromise() {
}
})
}
```
- 调用 getScanResultsSync 同步接口:
```js
function getScanResultsSync(): Array<wifiManager.WifiScanInfo> {
let methodName = `${tag} getScanResultsSync`
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册