72 lines
1.4 KiB
Java
72 lines
1.4 KiB
Java
package com.ubtrobot.analytics;
|
|
|
|
import android.os.SystemClock;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ActivenessRecord {
|
|
private String a;
|
|
private String b;
|
|
private String c;
|
|
private long e = System.currentTimeMillis();
|
|
private long f = SystemClock.elapsedRealtime();
|
|
private long d = this.e - this.f;
|
|
|
|
public ActivenessRecord(String str) {
|
|
this.a = str;
|
|
}
|
|
|
|
public ActivenessRecord a(String str) {
|
|
this.b = str;
|
|
return this;
|
|
}
|
|
|
|
public ActivenessRecord b(String str) {
|
|
this.c = str;
|
|
return this;
|
|
}
|
|
|
|
public ActivenessRecord c(long j) {
|
|
this.e = j;
|
|
return this;
|
|
}
|
|
|
|
public long d() {
|
|
return this.e;
|
|
}
|
|
|
|
public String e() {
|
|
String str = this.b;
|
|
return str != null ? str : "";
|
|
}
|
|
|
|
public String f() {
|
|
return this.c;
|
|
}
|
|
|
|
public String toString() {
|
|
return "ActivenessRecord{eventId='" + this.a + "', userId='" + this.b + "', version='" + this.c + "', startedAt=" + this.d + ", ticktockAt=" + this.e + ", duration=" + this.f + '}';
|
|
}
|
|
|
|
public ActivenessRecord a(long j) {
|
|
this.f = j;
|
|
return this;
|
|
}
|
|
|
|
public ActivenessRecord b(long j) {
|
|
this.d = j;
|
|
return this;
|
|
}
|
|
|
|
public long c() {
|
|
return this.d;
|
|
}
|
|
|
|
public long a() {
|
|
return this.f;
|
|
}
|
|
|
|
public String b() {
|
|
return this.a;
|
|
}
|
|
}
|