discord-jadx/app/src/main/java/org/webrtc/StatsReport.java

60 lines
1.5 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package org.webrtc;
2021-12-21 23:37:30 +00:00
import b.d.b.a.a;
2022-03-02 20:59:20 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public class StatsReport {
/* renamed from: id reason: collision with root package name */
2022-03-30 16:43:10 +00:00
public final String f3804id;
2021-06-27 20:44:35 +00:00
public final double timestamp;
public final String type;
public final Value[] values;
2022-03-02 20:59:20 +00:00
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public static class Value {
public final String name;
public final String value;
@CalledByNative("Value")
public Value(String str, String str2) {
this.name = str;
this.value = str2;
}
public String toString() {
2022-03-30 16:43:10 +00:00
StringBuilder R = a.R("[");
R.append(this.name);
R.append(": ");
return a.H(R, this.value, "]");
2021-06-27 20:44:35 +00:00
}
}
@CalledByNative
public StatsReport(String str, String str2, double d, Value[] valueArr) {
2022-03-30 16:43:10 +00:00
this.f3804id = str;
2021-06-27 20:44:35 +00:00
this.type = str2;
this.timestamp = d;
this.values = valueArr;
}
public String toString() {
2022-03-30 16:43:10 +00:00
StringBuilder R = a.R("id: ");
R.append(this.f3804id);
R.append(", type: ");
R.append(this.type);
R.append(", timestamp: ");
R.append(this.timestamp);
R.append(", values: ");
2021-06-27 20:44:35 +00:00
int i = 0;
while (true) {
Value[] valueArr = this.values;
if (i >= valueArr.length) {
2022-03-30 16:43:10 +00:00
return R.toString();
2021-06-27 20:44:35 +00:00
}
2022-03-30 16:43:10 +00:00
R.append(valueArr[i].toString());
R.append(", ");
2021-06-27 20:44:35 +00:00
i++;
}
}
}