PathStats
- Unity
更新时间不可用
用于获取特定网络路径的统计数据。
public class PathStats
{
public MultipathType type;
public int txKBitRate;
public int rxKBitRate;
public PathStats()
{
this.type = MultipathType.Unknown;
this.txKBitRate = 0;
this.rxKBitRate = 0;
}
public PathStats(MultipathType t, int tx, int rx)
{
this.type = t;
this.txKBitRate = tx;
this.rxKBitRate = rx;
}
}自从
自 v4.6.2 版本新增。
属性
| 参数名 | 描述 |
|---|---|
type | 网络路径的类型。详见 MultipathType。 |
txKBitRate | |
rxKBitRate |