Files
rr3-apk/decompiled/sources/com/applovin/impl/mediation/MaxRewardImpl.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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 + "}";
}
}