- 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
42 lines
1.0 KiB
Java
42 lines
1.0 KiB
Java
package com.applovin.impl.mediation;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import com.applovin.mediation.MaxReward;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class MaxRewardImpl implements MaxReward {
|
|
private final String a;
|
|
private final int b;
|
|
|
|
private MaxRewardImpl(int i, String str) {
|
|
if (i < 0) {
|
|
throw new IllegalArgumentException("Reward amount must be greater than or equal to 0");
|
|
}
|
|
this.a = str;
|
|
this.b = i;
|
|
}
|
|
|
|
public static MaxReward create(int i, String str) {
|
|
return new MaxRewardImpl(i, str);
|
|
}
|
|
|
|
public static MaxReward createDefault() {
|
|
return create(0, "");
|
|
}
|
|
|
|
@Override // com.applovin.mediation.MaxReward
|
|
public final int getAmount() {
|
|
return this.b;
|
|
}
|
|
|
|
@Override // com.applovin.mediation.MaxReward
|
|
public final String getLabel() {
|
|
return this.a;
|
|
}
|
|
|
|
@NonNull
|
|
public String toString() {
|
|
return "MaxReward{amount=" + this.b + ", label=" + this.a + "}";
|
|
}
|
|
}
|