提交 3b7c51bf 编写于 作者: X xujie

doc工具报错整改

Signed-off-by: Nxujie <xujie223@huawei.com>
上级 27a20ea5
......@@ -419,9 +419,7 @@ on(type: 'interfaceStateChange', callback: Callback\<{ iface: string, active: bo
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 201 | Permission denied. |
| 202 | System permission denied. |
| 401 | Parameter error. |
**示例:**
......@@ -454,9 +452,7 @@ off(type: 'interfaceStateChange', callback?: Callback\<{ iface: string, active:
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 201 | Permission denied. |
| 202 | System permission denied. |
| 401 | Parameter error. |
**示例:**
......
......@@ -215,8 +215,8 @@ removeLocalService(context: Context, serviceInfo: LocalServiceInfo, callback: As
| 401 | Parameter error. |
| 2100002 | Operation failed. Cannot connect to service. |
| 2100003 | System internal error. |
| 2204002 | Service instance not found. |
| 2204008 | Service instance duplicated. |
| 2204002 | Callback not found. |
| 2204008 | Service instance not found. |
| 2204010 | Send packet failed. |
> **错误码说明:**
......
......@@ -286,7 +286,7 @@ stopSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void
| 2200001 | Invalid parameter value. |
| 2200002 | Operation failed. Cannot connect to service. |
| 2200003 | System internal error. |
| 2200004 | Try to share an unavailable iface. |
| 2202004 | Try to share an unavailable iface. |
| 2202005 | WiFi sharing failed. |
| 2202006 | Bluetooth sharing failed. |
| 2202011 | Cannot get network sharing configuration. |
......@@ -336,7 +336,7 @@ stopSharing(type: SharingIfaceType): Promise\<void>
| 2200001 | Invalid parameter value. |
| 2200002 | Operation failed. Cannot connect to service. |
| 2200003 | System internal error. |
| 2200004 | Try to share an unavailable iface. |
| 2202004 | Try to share an unavailable iface. |
| 2202005 | WiFi sharing failed. |
| 2202006 | Bluetooth sharing failed. |
| 2202011 | Cannot get network sharing configuration. |
......@@ -854,9 +854,7 @@ on(type: 'sharingStateChange', callback: Callback\<boolean>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 201 | Permission denied. |
| 202 | System permission denied |
| 401 | Parameter error. |
**示例:**
......@@ -889,9 +887,7 @@ off(type: 'sharingStateChange', callback?: Callback\<boolean>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 201 | Permission denied. |
| 202 | System permission denied |
| 401 | Parameter error. |
**示例:**
......
......@@ -16,7 +16,7 @@ import fetch from '@system.fetch';
## fetch.fetch<sup>3+</sup>
fetch(Object): void
fetch(options:FetchOptions): void
通过网络获取数据。
......
......@@ -61,7 +61,7 @@ export default {
## network.subscribe<sup>3+</sup>
subscribe(Object): void
subscribe(options?:SubscribeOptions): void
订阅当前设备的网络连接状态。如果多次调用,会覆盖前一次调用。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册