Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
06b681a7
D
Docs
项目概览
OpenHarmony
/
Docs
接近 2 年 前同步成功
通知
159
Star
292
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看板
未验证
提交
06b681a7
编写于
7月 20, 2023
作者:
O
openharmony_ci
提交者:
Gitee
7月 20, 2023
浏览文件
操作
浏览文件
下载
差异文件
!21162 添加流量管理错误码链接后缀
Merge pull request !21162 from 徐杰/stats_add_md
上级
d38d0142
c7fcba84
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
22 addition
and
22 deletion
+22
-22
zh-cn/application-dev/reference/apis/js-apis-net-statistics.md
.../application-dev/reference/apis/js-apis-net-statistics.md
+22
-22
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-net-statistics.md
浏览文件 @
06b681a7
...
@@ -28,7 +28,7 @@ getIfaceRxBytes(nic: string, callback: AsyncCallback\<number>): void;
...
@@ -28,7 +28,7 @@ getIfaceRxBytes(nic: string, callback: AsyncCallback\<number>): void;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -70,7 +70,7 @@ getIfaceRxBytes(nic: string): Promise\<number>;
...
@@ -70,7 +70,7 @@ getIfaceRxBytes(nic: string): Promise\<number>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -106,7 +106,7 @@ getIfaceTxBytes(nic: string, callback: AsyncCallback\<number>): void;
...
@@ -106,7 +106,7 @@ getIfaceTxBytes(nic: string, callback: AsyncCallback\<number>): void;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -147,7 +147,7 @@ getIfaceTxBytes(nic: string): Promise\<number>;
...
@@ -147,7 +147,7 @@ getIfaceTxBytes(nic: string): Promise\<number>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -182,7 +182,7 @@ getCellularRxBytes(callback: AsyncCallback\<number>): void;
...
@@ -182,7 +182,7 @@ getCellularRxBytes(callback: AsyncCallback\<number>): void;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -216,7 +216,7 @@ getCellularRxBytes(): Promise\<number>;
...
@@ -216,7 +216,7 @@ getCellularRxBytes(): Promise\<number>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -250,7 +250,7 @@ getCellularTxBytes(callback: AsyncCallback\<number>): void;
...
@@ -250,7 +250,7 @@ getCellularTxBytes(callback: AsyncCallback\<number>): void;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -284,7 +284,7 @@ getCellularTxBytes(): Promise\<number>;
...
@@ -284,7 +284,7 @@ getCellularTxBytes(): Promise\<number>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -318,7 +318,7 @@ getAllRxBytes(callback: AsyncCallback\<number>): void;
...
@@ -318,7 +318,7 @@ getAllRxBytes(callback: AsyncCallback\<number>): void;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -351,7 +351,7 @@ getAllRxBytes(): Promise\<number>;
...
@@ -351,7 +351,7 @@ getAllRxBytes(): Promise\<number>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -384,7 +384,7 @@ getAllTxBytes(callback: AsyncCallback\<number>): void;
...
@@ -384,7 +384,7 @@ getAllTxBytes(callback: AsyncCallback\<number>): void;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -417,7 +417,7 @@ getAllTxBytes(): Promise\<number>;
...
@@ -417,7 +417,7 @@ getAllTxBytes(): Promise\<number>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -451,7 +451,7 @@ getUidRxBytes(uid: number, callback: AsyncCallback\<number>): void;
...
@@ -451,7 +451,7 @@ getUidRxBytes(uid: number, callback: AsyncCallback\<number>): void;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -491,7 +491,7 @@ getUidRxBytes(uid: number): Promise\<number>;
...
@@ -491,7 +491,7 @@ getUidRxBytes(uid: number): Promise\<number>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -526,7 +526,7 @@ getUidTxBytes(uid: number, callback: AsyncCallback\<number>): void;
...
@@ -526,7 +526,7 @@ getUidTxBytes(uid: number, callback: AsyncCallback\<number>): void;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -566,7 +566,7 @@ getUidTxBytes(uid: number): Promise\<number>;
...
@@ -566,7 +566,7 @@ getUidTxBytes(uid: number): Promise\<number>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -605,7 +605,7 @@ on(type: 'netStatsChange', callback: Callback\<{ iface: string, uid?: number }>)
...
@@ -605,7 +605,7 @@ on(type: 'netStatsChange', callback: Callback\<{ iface: string, uid?: number }>)
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| ------- | -------------------------------------------- |
...
@@ -644,7 +644,7 @@ off(type: 'netStatsChange', callback?: Callback\<{ iface: string, uid?: number }
...
@@ -644,7 +644,7 @@ off(type: 'netStatsChange', callback?: Callback\<{ iface: string, uid?: number }
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| ------- | -------------------------------------------- |
...
@@ -687,7 +687,7 @@ getTrafficStatsByIface(ifaceInfo: IfaceInfo, callback: AsyncCallback\<NetStatsIn
...
@@ -687,7 +687,7 @@ getTrafficStatsByIface(ifaceInfo: IfaceInfo, callback: AsyncCallback\<NetStatsIn
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -740,7 +740,7 @@ getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise\<NetStatsInfo>;
...
@@ -740,7 +740,7 @@ getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise\<NetStatsInfo>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -790,7 +790,7 @@ getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback\<NetStatsInfo>):
...
@@ -790,7 +790,7 @@ getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback\<NetStatsInfo>):
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
@@ -849,7 +849,7 @@ getTrafficStatsByUid(uidInfo: UidInfo): Promise\<NetStatsInfo>;
...
@@ -849,7 +849,7 @@ getTrafficStatsByUid(uidInfo: UidInfo): Promise\<NetStatsInfo>;
**错误码:**
**错误码:**
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
)
。
以下错误码的详细介绍参见
[
statistics错误码
](
../errorcodes/errorcode-net-statistics
.md
)
。
| 错误码ID | 错误信息 |
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| ------- | ----------------------------- |
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录