diff --git a/zh-cn/application-dev/reference/apis/js-apis-device-manager.md b/zh-cn/application-dev/reference/apis/js-apis-device-manager.md index f8b84afa49649144048a1c72c90d4d944209f66c..31645e256209a1d335deb17a9811e967c0fc7c47 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-device-manager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-device-manager.md @@ -45,8 +45,7 @@ createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager | 错误码ID | 错误信息 | | -------- | --------------------------------------------------------------- | -| 11600101 | Failed to execute the function. | -| 11600102 | Failed to obtain the service. | +| 401 | Input parameter error. | **示例:** @@ -287,7 +286,7 @@ getTrustedDeviceListSync(): Array<DeviceInfo> console.error("getTrustedDeviceListSync errCode:" + err.code + ",errMessage:" + err.message); } ``` -### getTrustedDeviceListSync +### getTrustedDeviceListSync10+ getTrustedDeviceListSync(isRefresh: boolean): Array<DeviceInfo> @@ -346,7 +345,7 @@ getTrustedDeviceList(callback:AsyncCallback<Array<DeviceInfo>>): voi | 错误码ID | 错误信息 | | -------- | --------------------------------------------------------------- | -| 11600101 | Failed to execute the function. | +| 401 | Input parameter error. | **示例:** @@ -448,7 +447,7 @@ getLocalDeviceInfo(callback:AsyncCallback<DeviceInfo>): void | 错误码ID | 错误信息 | | -------- | --------------------------------------------------------------- | -| 11600101 | Failed to execute the function. | +| 401 | Input parameter error. | **示例:** @@ -519,7 +518,7 @@ getDeviceInfo(networkId: string, callback:AsyncCallback<DeviceInfo>): void | 错误码ID | 错误信息 | | -------- | --------------------------------------------------------------- | -| 11600101 | Failed to execute the function. | +| 401 | Input parameter error. | **示例:** @@ -565,7 +564,7 @@ getDeviceInfo(networkId: string): Promise<DeviceInfo> | 错误码ID | 错误信息 | | ------- | --------------------------------------------------------------- | -| 11600101| Failed to execute the function. | +| 401 | Input parameter error. | **示例:** @@ -808,8 +807,7 @@ authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: Async | 错误码ID | 错误信息 | | -------- | --------------------------------------------------------------- | -| 11600101 | Failed to execute the function. | -| 11600103 | Authentication invalid. | +| 401 | Input parameter error. | **示例:** @@ -906,7 +904,7 @@ verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{deviceId: string, | 错误码ID | 错误信息 | | -------- | --------------------------------------------------------------- | -| 11600101 | Failed to execute the function. | +| 401 | Input parameter error. | **示例:**