- 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
108 lines
4.7 KiB
Java
108 lines
4.7 KiB
Java
package com.applovin.adview;
|
|
|
|
import android.content.Context;
|
|
import android.view.ViewGroup;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.lifecycle.Lifecycle;
|
|
import com.applovin.impl.jb;
|
|
import com.applovin.impl.sdk.n;
|
|
import com.applovin.sdk.AppLovinAd;
|
|
import com.applovin.sdk.AppLovinAdClickListener;
|
|
import com.applovin.sdk.AppLovinAdDisplayListener;
|
|
import com.applovin.sdk.AppLovinAdLoadListener;
|
|
import com.applovin.sdk.AppLovinAdRewardListener;
|
|
import com.applovin.sdk.AppLovinAdVideoPlaybackListener;
|
|
import com.applovin.sdk.AppLovinSdk;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class AppLovinIncentivizedInterstitial {
|
|
private final jb a;
|
|
|
|
public AppLovinIncentivizedInterstitial(Context context) {
|
|
this(AppLovinSdk.getInstance(context));
|
|
}
|
|
|
|
public static AppLovinIncentivizedInterstitial create(Context context) {
|
|
return create(AppLovinSdk.getInstance(context));
|
|
}
|
|
|
|
public jb createIncentivizedAdController(String str, AppLovinSdk appLovinSdk) {
|
|
return new jb(str, appLovinSdk);
|
|
}
|
|
|
|
public String getZoneId() {
|
|
return this.a.c();
|
|
}
|
|
|
|
public boolean isAdReadyToDisplay() {
|
|
return this.a.d();
|
|
}
|
|
|
|
public void preload(AppLovinAdLoadListener appLovinAdLoadListener) {
|
|
if (appLovinAdLoadListener == null) {
|
|
n.i("AppLovinIncentivizedInterstitial", "AppLovinAdLoadListener was null when preloading incentivized interstitials; using a listener is highly recommended.");
|
|
}
|
|
this.a.b(appLovinAdLoadListener);
|
|
}
|
|
|
|
public void setExtraInfo(@NonNull String str, @Nullable Object obj) {
|
|
if (str == null) {
|
|
throw new IllegalArgumentException("No key specified");
|
|
}
|
|
this.a.a(str, obj);
|
|
}
|
|
|
|
public void show(Context context) {
|
|
show(context, null, null);
|
|
}
|
|
|
|
public String toString() {
|
|
return "AppLovinIncentivizedInterstitial{zoneId='" + getZoneId() + "', isAdReadyToDisplay=" + isAdReadyToDisplay() + '}';
|
|
}
|
|
|
|
public AppLovinIncentivizedInterstitial(AppLovinSdk appLovinSdk) {
|
|
this(null, appLovinSdk);
|
|
}
|
|
|
|
public static AppLovinIncentivizedInterstitial create(AppLovinSdk appLovinSdk) {
|
|
return create(null, appLovinSdk);
|
|
}
|
|
|
|
public void show(Context context, AppLovinAdRewardListener appLovinAdRewardListener) {
|
|
show(context, appLovinAdRewardListener, null);
|
|
}
|
|
|
|
public AppLovinIncentivizedInterstitial(String str, AppLovinSdk appLovinSdk) {
|
|
if (appLovinSdk != null) {
|
|
this.a = createIncentivizedAdController(str, appLovinSdk);
|
|
return;
|
|
}
|
|
throw new IllegalArgumentException("No sdk specified");
|
|
}
|
|
|
|
public static AppLovinIncentivizedInterstitial create(String str, AppLovinSdk appLovinSdk) {
|
|
return new AppLovinIncentivizedInterstitial(str, appLovinSdk);
|
|
}
|
|
|
|
public void show(Context context, AppLovinAdRewardListener appLovinAdRewardListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener) {
|
|
show(context, appLovinAdRewardListener, appLovinAdVideoPlaybackListener, null);
|
|
}
|
|
|
|
public void show(Context context, AppLovinAdRewardListener appLovinAdRewardListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener, AppLovinAdDisplayListener appLovinAdDisplayListener) {
|
|
show(context, appLovinAdRewardListener, appLovinAdVideoPlaybackListener, appLovinAdDisplayListener, null);
|
|
}
|
|
|
|
public void show(Context context, AppLovinAdRewardListener appLovinAdRewardListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener, AppLovinAdDisplayListener appLovinAdDisplayListener, AppLovinAdClickListener appLovinAdClickListener) {
|
|
show(null, context, appLovinAdRewardListener, appLovinAdVideoPlaybackListener, appLovinAdDisplayListener, appLovinAdClickListener);
|
|
}
|
|
|
|
public void show(AppLovinAd appLovinAd, Context context, AppLovinAdRewardListener appLovinAdRewardListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener, AppLovinAdDisplayListener appLovinAdDisplayListener, AppLovinAdClickListener appLovinAdClickListener) {
|
|
this.a.a(appLovinAd, context, null, appLovinAdRewardListener, appLovinAdVideoPlaybackListener, appLovinAdDisplayListener, appLovinAdClickListener);
|
|
}
|
|
|
|
public void show(AppLovinAd appLovinAd, ViewGroup viewGroup, Lifecycle lifecycle, Context context, AppLovinAdRewardListener appLovinAdRewardListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener, AppLovinAdDisplayListener appLovinAdDisplayListener, AppLovinAdClickListener appLovinAdClickListener) {
|
|
this.a.b(appLovinAd, viewGroup, lifecycle, context, appLovinAdRewardListener, appLovinAdVideoPlaybackListener, appLovinAdDisplayListener, appLovinAdClickListener);
|
|
}
|
|
}
|