PathStats
用于获取特定网络路径的统计数据。
TypeScript
export class PathStats {
type?: MultipathType;
txKBitRate?: number;
rxKBitRate?: number;
}
自从
自 v4.6.2 版本新增。
type
网络路径的类型。详见 MultipathType。
txKBitRate
该路径的传输码率,单位为 Kbps。
rxKBitRate
该路径的接收码率,单位为 Kbps。
用于获取特定网络路径的统计数据。
export class PathStats {
type?: MultipathType;
txKBitRate?: number;
rxKBitRate?: number;
}