未验证 提交 a5cba45b 编写于 作者: Z zengyawen 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-device-manager.md.

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 5a1288b1
......@@ -121,7 +121,7 @@ createDeviceManager(bundleName: string, callback: AsyncCallback&lt;DeviceManager
| mode | [DiscoverMode ](#discovermode) | 否 | 发现模式。 |
| medium | [ExchangeMedium](#exchangemedium) | 否 | 发现类型。 |
| freq | [ExchangeFreq](#exchangefreq) | 否 | 发现频率。 |
| isSameAccount | boolean | 否 | 是否同号。 |
| isSameAccount | boolean | 否 | 是否同号。 |
| isWakeRemote | boolean | 否 | 是否唤醒设备。 |
| capability | [SubscribeCap](#subscribecap) | 否 | 发现能力。 |
......@@ -711,7 +711,7 @@ authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: Async
deviceType: 0x0E
};
let authParam = {
"authType": 1, // 认证类型: 1 - 无号PIN码认证
"authType": 1, // 认证类型: 1 - 无号PIN码认证
"extraInfo": {}
}
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册