MoPubInterstitial.smali
.class public Lcom/mopub/mobileads/MoPubInterstitial;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mopub/mobileads/CustomEventInterstitialAdapter$CustomEventInterstitialAdapterListener;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;,
Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;,
Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
}
.end annotation
# instance fields
.field private mActivity:Landroid/app/Activity;
.field private final mAdExpiration:Ljava/lang/Runnable;
.field private volatile mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
.field private mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
.field private mHandler:Landroid/os/Handler;
.field private mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
.field private mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
# direct methods
.method public constructor <init>(Landroid/app/Activity;Ljava/lang/String;)V
.registers 4
.line 86
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 87
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mActivity:Landroid/app/Activity;
.line 89
new-instance p1, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mActivity:Landroid/app/Activity;
invoke-direct {p1, p0, v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;-><init>(Lcom/mopub/mobileads/MoPubInterstitial;Landroid/content/Context;)V
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
.line 90
invoke-virtual {p1, p2}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->setAdUnitId(Ljava/lang/String;)V
.line 92
sget-object p1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->IDLE:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
.line 94
new-instance p1, Landroid/os/Handler;
invoke-direct {p1}, Landroid/os/Handler;-><init>()V
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mHandler:Landroid/os/Handler;
.line 95
new-instance p1, Lcom/mopub/mobileads/MoPubInterstitial$1;
invoke-direct {p1, p0}, Lcom/mopub/mobileads/MoPubInterstitial$1;-><init>(Lcom/mopub/mobileads/MoPubInterstitial;)V
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mAdExpiration:Ljava/lang/Runnable;
return-void
.end method
.method static synthetic access$000(Lcom/mopub/mobileads/MoPubInterstitial;)Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
.registers 1
.line 41
iget-object p0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
return-object p0
.end method
.method static synthetic access$100(Lcom/mopub/mobileads/MoPubInterstitial;)Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
.registers 1
.line 41
iget-object p0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
return-object p0
.end method
.method static synthetic access$200(Lcom/mopub/mobileads/MoPubInterstitial;)Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
.registers 1
.line 41
iget-object p0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
return-object p0
.end method
.method static synthetic access$202(Lcom/mopub/mobileads/MoPubInterstitial;Lcom/mopub/mobileads/CustomEventInterstitialAdapter;)Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
.registers 2
.line 41
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
return-object p1
.end method
.method static synthetic access$300(Lcom/mopub/mobileads/MoPubInterstitial;Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
.registers 2
.line 41
invoke-direct {p0, p1}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
move-result p0
return p0
.end method
.method static synthetic access$400(Lcom/mopub/mobileads/MoPubInterstitial;)Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
.registers 1
.line 41
iget-object p0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
return-object p0
.end method
.method private attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
.registers 3
const/4 v0, 0x0
.line 111
invoke-virtual {p0, p1, v0}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;Z)Z
move-result p1
return p1
.end method
.method private invalidateInterstitialAdapter()V
.registers 2
.line 322
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
if-eqz v0, :cond_a
.line 323
invoke-virtual {v0}, Lcom/mopub/mobileads/CustomEventInterstitialAdapter;->invalidate()V
const/4 v0, 0x0
.line 324
iput-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
:cond_a
return-void
.end method
.method private setInterstitialStateDestroyed()V
.registers 3
.line 275
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->invalidateInterstitialAdapter()V
const/4 v0, 0x0
.line 276
iput-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
.line 277
iget-object v1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v1, v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->setBannerAdListener(Lcom/mopub/mobileads/MoPubView$BannerAdListener;)V
.line 278
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->destroy()V
.line 279
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mHandler:Landroid/os/Handler;
iget-object v1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mAdExpiration:Ljava/lang/Runnable;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
.line 280
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->DESTROYED:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
iput-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
return-void
.end method
.method private showCustomEventInterstitial()V
.registers 2
.line 316
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
if-eqz v0, :cond_7
.line 317
invoke-virtual {v0}, Lcom/mopub/mobileads/CustomEventInterstitialAdapter;->showInterstitial()V
:cond_7
return-void
.end method
# virtual methods
.method declared-synchronized attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;Z)Z
.registers 10
monitor-enter p0
.line 127
:try_start_1
invoke-static {p1}, Lcom/mopub/common/Preconditions;->checkNotNull(Ljava/lang/Object;)V
.line 129
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
.line 139
sget-object v1, Lcom/mopub/mobileads/MoPubInterstitial$2;->$SwitchMap$com$mopub$mobileads$MoPubInterstitial$InterstitialState:[I
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->ordinal()I
move-result v0
aget v0, v1, v0
:try_end_e
.catchall {:try_start_1 .. :try_end_e} :catchall_180
const/4 v1, 0x2
const/4 v2, 0x5
const/4 v3, 0x4
const/4 v4, 0x3
const/4 v5, 0x1
const/4 v6, 0x0
if-eq v0, v5, :cond_109
if-eq v0, v1, :cond_bf
if-eq v0, v4, :cond_74
if-eq v0, v3, :cond_67
if-eq v0, v2, :cond_20
.line 267
monitor-exit p0
return v6
.line 141
:cond_20
:try_start_20
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$2;->$SwitchMap$com$mopub$mobileads$MoPubInterstitial$InterstitialState:[I
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->ordinal()I
move-result p1
aget p1, v0, p1
:try_end_28
.catchall {:try_start_20 .. :try_end_28} :catchall_180
if-eq p1, v5, :cond_51
if-eq p1, v1, :cond_44
if-eq p1, v4, :cond_37
if-eq p1, v3, :cond_32
.line 165
monitor-exit p0
return v6
.line 162
:cond_32
:try_start_32
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->setInterstitialStateDestroyed()V
:try_end_35
.catchall {:try_start_32 .. :try_end_35} :catchall_180
.line 163
monitor-exit p0
return v5
.line 159
:cond_37
:try_start_37
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "No interstitial loading or loaded."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
:try_end_42
.catchall {:try_start_37 .. :try_end_42} :catchall_180
.line 160
monitor-exit p0
return v6
.line 155
:cond_44
:try_start_44
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "Attempted transition from IDLE to READY failed due to no known load call."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
:try_end_4f
.catchall {:try_start_44 .. :try_end_4f} :catchall_180
.line 157
monitor-exit p0
return v6
.line 144
:cond_51
:try_start_51
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->invalidateInterstitialAdapter()V
.line 145
sget-object p1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->LOADING:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
if-eqz p2, :cond_60
.line 148
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->forceRefresh()V
goto :goto_65
.line 151
:cond_60
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->loadAd()V
:try_end_65
.catchall {:try_start_51 .. :try_end_65} :catchall_180
.line 153
:goto_65
monitor-exit p0
return v5
.line 264
:cond_67
:try_start_67
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "MoPubInterstitial destroyed. Ignoring all requests."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
:try_end_72
.catchall {:try_start_67 .. :try_end_72} :catchall_180
.line 265
monitor-exit p0
return v6
.line 238
:cond_74
:try_start_74
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$2;->$SwitchMap$com$mopub$mobileads$MoPubInterstitial$InterstitialState:[I
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->ordinal()I
move-result p1
aget p1, v0, p1
:try_end_7c
.catchall {:try_start_74 .. :try_end_7c} :catchall_180
if-eq p1, v5, :cond_b0
if-eq p1, v4, :cond_a3
if-eq p1, v3, :cond_9e
if-eq p1, v2, :cond_86
.line 260
monitor-exit p0
return v6
:cond_86
if-eqz p2, :cond_95
.line 241
:try_start_88
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "Cannot force refresh while showing an interstitial."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
:try_end_93
.catchall {:try_start_88 .. :try_end_93} :catchall_180
.line 242
monitor-exit p0
return v6
.line 245
:cond_95
:try_start_95
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->invalidateInterstitialAdapter()V
.line 246
sget-object p1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->IDLE:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
:try_end_9c
.catchall {:try_start_95 .. :try_end_9c} :catchall_180
.line 247
monitor-exit p0
return v5
.line 257
:cond_9e
:try_start_9e
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->setInterstitialStateDestroyed()V
:try_end_a1
.catchall {:try_start_9e .. :try_end_a1} :catchall_180
.line 258
monitor-exit p0
return v5
.line 254
:cond_a3
:try_start_a3
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "Already showing an interstitial. Cannot show it again."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
:try_end_ae
.catchall {:try_start_a3 .. :try_end_ae} :catchall_180
.line 255
monitor-exit p0
return v6
:cond_b0
if-nez p2, :cond_bd
.line 250
:try_start_b2
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "Interstitial already showing. Not loading another."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
:try_end_bd
.catchall {:try_start_b2 .. :try_end_bd} :catchall_180
.line 252
:cond_bd
monitor-exit p0
return v6
.line 208
:cond_bf
:try_start_bf
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$2;->$SwitchMap$com$mopub$mobileads$MoPubInterstitial$InterstitialState:[I
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->ordinal()I
move-result p1
aget p1, v0, p1
:try_end_c7
.catchall {:try_start_bf .. :try_end_c7} :catchall_180
if-eq p1, v5, :cond_f3
if-eq p1, v4, :cond_e3
if-eq p1, v3, :cond_de
if-eq p1, v2, :cond_d1
.line 235
monitor-exit p0
return v6
:cond_d1
if-eqz p2, :cond_dc
.line 212
:try_start_d3
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->invalidateInterstitialAdapter()V
.line 213
sget-object p1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->IDLE:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
:try_end_da
.catchall {:try_start_d3 .. :try_end_da} :catchall_180
.line 214
monitor-exit p0
return v5
.line 216
:cond_dc
monitor-exit p0
return v6
.line 232
:cond_de
:try_start_de
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->setInterstitialStateDestroyed()V
:try_end_e1
.catchall {:try_start_de .. :try_end_e1} :catchall_180
.line 233
monitor-exit p0
return v5
.line 227
:cond_e3
:try_start_e3
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->showCustomEventInterstitial()V
.line 228
sget-object p1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->SHOWING:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
.line 229
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mHandler:Landroid/os/Handler;
iget-object p2, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mAdExpiration:Ljava/lang/Runnable;
invoke-virtual {p1, p2}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
:try_end_f1
.catchall {:try_start_e3 .. :try_end_f1} :catchall_180
.line 230
monitor-exit p0
return v5
.line 219
:cond_f3
:try_start_f3
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "Interstitial already loaded. Not loading another."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 221
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
if-eqz p1, :cond_107
.line 222
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
invoke-interface {p1, p0}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;->onInterstitialLoaded(Lcom/mopub/mobileads/MoPubInterstitial;)V
:try_end_107
.catchall {:try_start_f3 .. :try_end_107} :catchall_180
.line 224
:cond_107
monitor-exit p0
return v6
.line 168
:cond_109
:try_start_109
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$2;->$SwitchMap$com$mopub$mobileads$MoPubInterstitial$InterstitialState:[I
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->ordinal()I
move-result p1
aget p1, v0, p1
:try_end_111
.catchall {:try_start_109 .. :try_end_111} :catchall_180
if-eq p1, v5, :cond_171
if-eq p1, v1, :cond_138
if-eq p1, v4, :cond_12b
if-eq p1, v3, :cond_126
if-eq p1, v2, :cond_11d
.line 205
monitor-exit p0
return v6
.line 173
:cond_11d
:try_start_11d
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->invalidateInterstitialAdapter()V
.line 174
sget-object p1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->IDLE:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
:try_end_124
.catchall {:try_start_11d .. :try_end_124} :catchall_180
.line 175
monitor-exit p0
return v5
.line 202
:cond_126
:try_start_126
invoke-direct {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->setInterstitialStateDestroyed()V
:try_end_129
.catchall {:try_start_126 .. :try_end_129} :catchall_180
.line 203
monitor-exit p0
return v5
.line 199
:cond_12b
:try_start_12b
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "Interstitial is not ready to be shown yet."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
:try_end_136
.catchall {:try_start_12b .. :try_end_136} :catchall_180
.line 200
monitor-exit p0
return v6
.line 184
:cond_138
:try_start_138
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->LOAD_SUCCESS:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v6, [Ljava/lang/Object;
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 185
sget-object p1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->READY:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
.line 187
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
.line 188
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->getCustomEventClassName()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Lcom/mopub/mobileads/AdTypeTranslator$CustomEventType;->isMoPubSpecific(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_159
.line 189
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mHandler:Landroid/os/Handler;
iget-object p2, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mAdExpiration:Ljava/lang/Runnable;
const-wide/32 v0, 0xdbba00
invoke-virtual {p1, p2, v0, v1}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
.line 191
:cond_159
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
iget-object p1, p1, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->mAdViewController:Lcom/mopub/mobileads/AdViewController;
if-eqz p1, :cond_166
.line 192
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
iget-object p1, p1, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->mAdViewController:Lcom/mopub/mobileads/AdViewController;
invoke-virtual {p1}, Lcom/mopub/mobileads/AdViewController;->creativeDownloadSuccess()V
.line 194
:cond_166
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
if-eqz p1, :cond_16f
.line 195
iget-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
invoke-interface {p1, p0}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;->onInterstitialLoaded(Lcom/mopub/mobileads/MoPubInterstitial;)V
:try_end_16f
.catchall {:try_start_138 .. :try_end_16f} :catchall_180
.line 197
:cond_16f
monitor-exit p0
return v5
:cond_171
if-nez p2, :cond_17e
.line 179
:try_start_173
sget-object p1, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CUSTOM:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array p2, v5, [Ljava/lang/Object;
const-string v0, "Already loading an interstitial."
aput-object v0, p2, v6
invoke-static {p1, p2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
:try_end_17e
.catchall {:try_start_173 .. :try_end_17e} :catchall_180
.line 181
:cond_17e
monitor-exit p0
return v6
:catchall_180
move-exception p1
monitor-exit p0
throw p1
.end method
.method public destroy()V
.registers 2
.line 359
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->DESTROYED:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
invoke-direct {p0, v0}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
return-void
.end method
.method public forceRefresh()V
.registers 3
.line 294
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->IDLE:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
const/4 v1, 0x1
invoke-virtual {p0, v0, v1}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;Z)Z
.line 295
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->LOADING:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
invoke-virtual {p0, v0, v1}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;Z)Z
return-void
.end method
.method public getActivity()Landroid/app/Activity;
.registers 2
.line 350
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mActivity:Landroid/app/Activity;
return-object v0
.end method
.method getAdTimeoutDelay(I)Ljava/lang/Integer;
.registers 3
.line 307
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0, p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->getAdTimeoutDelay(I)Ljava/lang/Integer;
move-result-object p1
return-object p1
.end method
.method getCurrentInterstitialState()Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 558
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
return-object v0
.end method
.method public getInterstitialAdListener()Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
.registers 2
.line 368
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
return-object v0
.end method
.method public getKeywords()Ljava/lang/String;
.registers 2
.line 336
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->getKeywords()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public getLocalExtras()Ljava/util/Map;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.line 385
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->getLocalExtras()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public getLocation()Landroid/location/Location;
.registers 2
.line 355
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->getLocation()Landroid/location/Location;
move-result-object v0
return-object v0
.end method
.method getMoPubInterstitialView()Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
.registers 2
.line 312
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
return-object v0
.end method
.method public getTesting()Z
.registers 2
.line 376
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->getTesting()Z
move-result v0
return v0
.end method
.method public getUserDataKeywords()Ljava/lang/String;
.registers 2
.line 345
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->getUserDataKeywords()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method isDestroyed()Z
.registers 3
.line 303
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
sget-object v1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->DESTROYED:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
if-ne v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public isReady()Z
.registers 3
.line 299
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
sget-object v1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->READY:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
if-ne v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public load()V
.registers 3
.line 284
sget-object v0, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->LOAD_ATTEMPTED:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-static {v0, v1}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 285
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->LOADING:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
invoke-direct {p0, v0}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
return-void
.end method
.method public onCustomEventInterstitialClicked()V
.registers 3
.line 439
invoke-virtual {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->isDestroyed()Z
move-result v0
if-eqz v0, :cond_7
return-void
.line 442
:cond_7
sget-object v0, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->CLICKED:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-static {v0, v1}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 444
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->registerClick()V
.line 446
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
if-eqz v0, :cond_1b
.line 447
invoke-interface {v0, p0}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;->onInterstitialClicked(Lcom/mopub/mobileads/MoPubInterstitial;)V
:cond_1b
return-void
.end method
.method public onCustomEventInterstitialDismissed()V
.registers 3
.line 465
invoke-virtual {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->isDestroyed()Z
move-result v0
if-eqz v0, :cond_7
return-void
.line 468
:cond_7
sget-object v0, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->WILL_DISAPPEAR:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-static {v0, v1}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 470
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->IDLE:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
invoke-direct {p0, v0}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
.line 472
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
if-eqz v0, :cond_1b
.line 473
invoke-interface {v0, p0}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;->onInterstitialDismissed(Lcom/mopub/mobileads/MoPubInterstitial;)V
:cond_1b
return-void
.end method
.method public onCustomEventInterstitialFailed(Lcom/mopub/mobileads/MoPubErrorCode;)V
.registers 7
.line 404
invoke-virtual {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->isDestroyed()Z
move-result v0
if-eqz v0, :cond_7
return-void
.line 408
:cond_7
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
sget-object v1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->LOADING:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
const/4 v2, 0x1
const/4 v3, 0x0
const/4 v4, 0x2
if-ne v0, v1, :cond_24
.line 409
sget-object v0, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->LOAD_FAILED:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array v1, v4, [Ljava/lang/Object;
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubErrorCode;->getIntCode()I
move-result v4
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v1, v3
aput-object p1, v1, v2
invoke-static {v0, v1}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
goto :goto_3d
.line 410
:cond_24
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
sget-object v1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->SHOWING:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
if-ne v0, v1, :cond_3d
.line 411
sget-object v0, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->SHOW_FAILED:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
new-array v1, v4, [Ljava/lang/Object;
invoke-virtual {p1}, Lcom/mopub/mobileads/MoPubErrorCode;->getIntCode()I
move-result v4
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v1, v3
aput-object p1, v1, v2
invoke-static {v0, v1}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 414
:cond_3d
:goto_3d
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0, p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->loadFailUrl(Lcom/mopub/mobileads/MoPubErrorCode;)Z
move-result p1
if-nez p1, :cond_4a
.line 415
sget-object p1, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->IDLE:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
invoke-direct {p0, p1}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
:cond_4a
return-void
.end method
.method public onCustomEventInterstitialImpression()V
.registers 2
.line 453
invoke-virtual {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->isDestroyed()Z
move-result v0
if-eqz v0, :cond_7
return-void
.line 457
:cond_7
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
if-eqz v0, :cond_16
.line 458
invoke-virtual {v0}, Lcom/mopub/mobileads/CustomEventInterstitialAdapter;->isAutomaticImpressionAndClickTrackingEnabled()Z
move-result v0
if-nez v0, :cond_16
.line 459
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->trackImpression()V
:cond_16
return-void
.end method
.method public onCustomEventInterstitialLoaded()V
.registers 2
.line 395
invoke-virtual {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->isDestroyed()Z
move-result v0
if-eqz v0, :cond_7
return-void
.line 399
:cond_7
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->READY:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
invoke-direct {p0, v0}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
return-void
.end method
.method public onCustomEventInterstitialShown()V
.registers 3
.line 421
invoke-virtual {p0}, Lcom/mopub/mobileads/MoPubInterstitial;->isDestroyed()Z
move-result v0
if-eqz v0, :cond_7
return-void
.line 425
:cond_7
sget-object v0, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->SHOW_SUCCESS:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-static {v0, v1}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 427
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
if-eqz v0, :cond_19
.line 428
invoke-virtual {v0}, Lcom/mopub/mobileads/CustomEventInterstitialAdapter;->isAutomaticImpressionAndClickTrackingEnabled()Z
move-result v0
if-eqz v0, :cond_1e
.line 429
:cond_19
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->trackImpression()V
.line 432
:cond_1e
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
if-eqz v0, :cond_25
.line 433
invoke-interface {v0, p0}, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;->onInterstitialShown(Lcom/mopub/mobileads/MoPubInterstitial;)V
:cond_25
return-void
.end method
.method setCurrentInterstitialState(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)V
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 551
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCurrentInterstitialState:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
return-void
.end method
.method setCustomEventInterstitialAdapter(Lcom/mopub/mobileads/CustomEventInterstitialAdapter;)V
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 565
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mCustomEventInterstitialAdapter:Lcom/mopub/mobileads/CustomEventInterstitialAdapter;
return-void
.end method
.method setHandler(Landroid/os/Handler;)V
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 539
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mHandler:Landroid/os/Handler;
return-void
.end method
.method public setInterstitialAdListener(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;)V
.registers 2
.line 363
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialAdListener:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialAdListener;
return-void
.end method
.method setInterstitialView(Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;)V
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 545
iput-object p1, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
return-void
.end method
.method public setKeywords(Ljava/lang/String;)V
.registers 3
.line 331
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0, p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->setKeywords(Ljava/lang/String;)V
return-void
.end method
.method public setLocalExtras(Ljava/util/Map;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
.line 380
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0, p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->setLocalExtras(Ljava/util/Map;)V
return-void
.end method
.method public setTesting(Z)V
.registers 3
.line 372
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0, p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->setTesting(Z)V
return-void
.end method
.method public setUserDataKeywords(Ljava/lang/String;)V
.registers 3
.line 340
iget-object v0, p0, Lcom/mopub/mobileads/MoPubInterstitial;->mInterstitialView:Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;
invoke-virtual {v0, p1}, Lcom/mopub/mobileads/MoPubInterstitial$MoPubInterstitialView;->setUserDataKeywords(Ljava/lang/String;)V
return-void
.end method
.method public show()Z
.registers 3
.line 289
sget-object v0, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->SHOW_ATTEMPTED:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-static {v0, v1}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 290
sget-object v0, Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;->SHOWING:Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;
invoke-direct {p0, v0}, Lcom/mopub/mobileads/MoPubInterstitial;->attemptStateTransition(Lcom/mopub/mobileads/MoPubInterstitial$InterstitialState;)Z
move-result v0
return v0
.end method