- 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
86 lines
2.6 KiB
Java
86 lines
2.6 KiB
Java
package com.unity3d.ironsourceads.interstitial;
|
|
|
|
import android.app.Activity;
|
|
import com.ironsource.mediationsdk.logger.IronSourceError;
|
|
import com.ironsource.ph;
|
|
import com.ironsource.qh;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class InterstitialAd implements qh {
|
|
private final ph a;
|
|
private InterstitialAdListener b;
|
|
|
|
public InterstitialAd(ph interstitialAdInternal) {
|
|
Intrinsics.checkNotNullParameter(interstitialAdInternal, "interstitialAdInternal");
|
|
this.a = interstitialAdInternal;
|
|
interstitialAdInternal.a(this);
|
|
}
|
|
|
|
public final InterstitialAdInfo getAdInfo() {
|
|
return this.a.b();
|
|
}
|
|
|
|
public final InterstitialAdListener getListener() {
|
|
return this.b;
|
|
}
|
|
|
|
public final boolean isReadyToShow() {
|
|
return this.a.d();
|
|
}
|
|
|
|
@Override // com.ironsource.qh
|
|
public void onAdInstanceDidBecomeVisible() {
|
|
InterstitialAdListener interstitialAdListener = this.b;
|
|
if (interstitialAdListener != null) {
|
|
interstitialAdListener.onInterstitialAdShown(this);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.qh
|
|
public void onAdInstanceDidClick() {
|
|
InterstitialAdListener interstitialAdListener = this.b;
|
|
if (interstitialAdListener != null) {
|
|
interstitialAdListener.onInterstitialAdClicked(this);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.qh
|
|
public void onAdInstanceDidDismiss() {
|
|
InterstitialAdListener interstitialAdListener = this.b;
|
|
if (interstitialAdListener != null) {
|
|
interstitialAdListener.onInterstitialAdDismissed(this);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.qh
|
|
public void onAdInstanceDidFailedToShow(IronSourceError error) {
|
|
Intrinsics.checkNotNullParameter(error, "error");
|
|
InterstitialAdListener interstitialAdListener = this.b;
|
|
if (interstitialAdListener != null) {
|
|
interstitialAdListener.onInterstitialAdFailedToShow(this, error);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.qh
|
|
public void onAdInstanceDidReward(String str, int i) {
|
|
}
|
|
|
|
@Override // com.ironsource.qh
|
|
public void onAdInstanceDidShow() {
|
|
InterstitialAdListener interstitialAdListener = this.b;
|
|
if (interstitialAdListener != null) {
|
|
interstitialAdListener.onInterstitialAdShown(this);
|
|
}
|
|
}
|
|
|
|
public final void setListener(InterstitialAdListener interstitialAdListener) {
|
|
this.b = interstitialAdListener;
|
|
}
|
|
|
|
public final void show(Activity activity) {
|
|
Intrinsics.checkNotNullParameter(activity, "activity");
|
|
this.a.a(activity);
|
|
}
|
|
}
|