Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
61482162
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
61482162
编写于
3月 11, 2023
作者:
Y
yanxiaotao@huawei.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update wifiManager.md @2023-03-11.
Signed-off-by:
N
yanxiaotao@huawei.com
<
yanxiaotao@huawei.com
>
上级
8184f07a
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
15 addition
and
13 deletion
+15
-13
zh-cn/application-dev/reference/apis/js-apis-wifiManager.md
zh-cn/application-dev/reference/apis/js-apis-wifiManager.md
+2
-0
zh-cn/application-dev/reference/apis/js-apis-wifiManagerExt.md
.../application-dev/reference/apis/js-apis-wifiManagerExt.md
+13
-13
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-wifiManager.md
浏览文件 @
61482162
...
...
@@ -408,6 +408,8 @@ IP配置信息。
| caCertAliases | string | 是 | 否 | CA 证书别名。 |
| caPath | string | 是 | 否 | CA 证书路径。 |
| clientCertAliases | string | 是 | 否 | 客户端证书别名。 |
| certEntry | Uint8Array | 是 | 是 | CA 证书内容。 |
| certPassword | string | 是 | 是 | CA证书密码。 |
| altSubjectMatch | string | 是 | 否 | 替代主题匹配。 |
| domainSuffixMatch | string | 是 | 否 | 域后缀匹配。 |
| realm | string | 是 | 否 | 通行证凭证的领域。 |
...
...
zh-cn/application-dev/reference/apis/js-apis-wifiManagerExt.md
浏览文件 @
61482162
...
...
@@ -12,9 +12,9 @@
import
wifiManagerExt
from
'
@ohos.wifiManagerExt
'
;
```
## wifiext.enableHotspot
## wifiext.enableHotspot
<sup>9+</sup>
enableHotspot():
boolean
;
enableHotspot():
void
;
使能WLAN热点。
...
...
@@ -30,9 +30,9 @@ enableHotspot(): boolean;
| -------- | -------- |
| 2701000 | Operation failed.|
## wifiext.disableHotspot
## wifiext.disableHotspot
<sup>9+</sup>
disableHotspot():
boolean
;
disableHotspot():
void
;
去使能WLAN热点。
...
...
@@ -48,7 +48,7 @@ disableHotspot(): boolean;
| -------- | -------- |
| 2701000 | Operation failed.|
## wifiext.getSupportedPowerModel
## wifiext.getSupportedPowerModel
<sup>9+</sup>
getSupportedPowerModel(): Promise
<
Array
<
PowerModel
>>
...
...
@@ -85,9 +85,9 @@ getSupportedPowerModel(): Promise<Array<PowerModel>>
| THROUGH_WALL | 2 | 穿墙模式。 |
## wifiext.getSupportedPowerMode
l
## wifiext.getSupportedPowerMode
<sup>9+</sup>
getSupportedPowerMode
l
(callback: AsyncCallback
<
Array
<
PowerModel
>>
): void
getSupportedPowerMode(callback: AsyncCallback
<
Array
<
PowerModel
>>
): void
获取支持的功率模式,使用callback异步回调。
...
...
@@ -109,9 +109,9 @@ getSupportedPowerModel(callback: AsyncCallback<Array<PowerModel>>):
| -------- | -------- |
| 2701000 | Operation failed.|
## wifiext.getPowerMode
l
## wifiext.getPowerMode
<sup>9+</sup>
getPowerMode
l
(): Promise
<
PowerModel
>
getPowerMode(): Promise
<
PowerModel
>
获取功率模式,使用Promise异步回调。
...
...
@@ -133,9 +133,9 @@ getPowerModel(): Promise<PowerModel>
| -------- | -------- |
| 2701000 | Operation failed.|
## wifiext.getPowerMode
l
## wifiext.getPowerMode
<sup>9+</sup>
getPowerMode
l
(callback: AsyncCallback
<
PowerModel
>
): void
getPowerMode(callback: AsyncCallback
<
PowerModel
>
): void
获取功率模式,使用callback异步回调。
...
...
@@ -157,9 +157,9 @@ getPowerModel(callback: AsyncCallback<PowerModel>): void
| -------- | -------- |
| 2701000 | Operation failed.|
## wifiext.setPowerMode
l
## wifiext.setPowerMode
<sup>9+</sup>
setPowerMode
l
(model: PowerModel) : boolean;
setPowerMode(model: PowerModel) : boolean;
设置功率模式。
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录