- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
40 lines
1.4 KiB
Java
40 lines
1.4 KiB
Java
package csdk.gluads;
|
|
|
|
import csdk.gluads.util.ISerializableJsonObject;
|
|
import csdk.gluads.util.JsonUtil;
|
|
import org.json.JSONException;
|
|
import org.json.JSONStringer;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class Reward implements ISerializableJsonObject {
|
|
public final String advertisementType;
|
|
public final int amount;
|
|
public final String identifier;
|
|
public final String item;
|
|
public final String mediationNetwork;
|
|
public final String placement;
|
|
|
|
public Reward(String str, String str2, String str3, String str4, String str5, int i) {
|
|
this.identifier = str;
|
|
this.placement = str2;
|
|
this.mediationNetwork = str3;
|
|
this.advertisementType = str4;
|
|
this.item = str5;
|
|
this.amount = i;
|
|
}
|
|
|
|
@Override // csdk.gluads.util.ISerializableJsonObject
|
|
public void write(JSONStringer jSONStringer) throws JSONException {
|
|
JsonUtil.optKeyValue(jSONStringer, "identifier", this.identifier);
|
|
JsonUtil.optKeyValue(jSONStringer, "placement", this.placement);
|
|
JsonUtil.optKeyValue(jSONStringer, Consts.MEDIATION_NETWORK, this.mediationNetwork);
|
|
JsonUtil.optKeyValue(jSONStringer, "advertisementType", this.advertisementType);
|
|
JsonUtil.optKeyValue(jSONStringer, "item", this.item);
|
|
jSONStringer.key("amount").value(this.amount);
|
|
}
|
|
|
|
public String toJson() {
|
|
return JsonUtil.toJson(this);
|
|
}
|
|
}
|