未验证 提交 994449ed 编写于 作者: O openharmony_ci 提交者: Gitee

!2628 内源演练问题修改

Merge pull request !2628 from 孙悦/master
......@@ -387,7 +387,7 @@ Checks whether an app account allows application data synchronization. This meth
### setAccountCredential
setAccountCredential(name: string, credentialType: string, credential: string,callback: AsyncCallback<void>): void
setAccountCredential(name: string, credentialType: string, credential: string callback: AsyncCallback<void>): void
Sets a credential for an app account. This method uses an asynchronous callback to return the result.
......
......@@ -235,7 +235,7 @@ removeUntrustedConfig(config: WifiDeviceConfig): Promise<boolean>
removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void
添加不可信网络配置,使用callback方式作为异步方法。
移除不可信网络配置,使用callback方式作为异步方法。
- 需要权限:
ohos.permission.SET_WIFI_INFO
......@@ -589,7 +589,7 @@ getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void
| deviceAddress | string | 只读 | 设备MAC地址。 |
| primaryDeviceType | string | 只读 | 主设备类型。 |
| deviceStatus | [P2pDeviceStatus](#P2pDeviceStatus) | 只读 | 设备状态。 |
| groupCapabilitys | number | 只读 | 群组能力。 |
| groupCapabilities | number | 只读 | 群组能力。 |
## P2pDeviceStatus<sup>8+</sup>
......@@ -668,7 +668,7 @@ createGroup(config: WifiP2PConfig): boolean;
| 参数名 | 类型 | 读写属性 | 说明 |
| -------- | -------- | -------- | -------- |
| deviceAddress | string | 只读 | 设备名称。 |
| deviceAddress | string | 只读 | 设备地址。 |
| netId | number | 只读 | 网络ID。创建群组时-1表示创建临时组,-2表示创建永久组。 |
| passphrase | string | 只读 | 群组密钥。 |
| groupName | string | 只读 | 群组名称。 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册