VungleInterstitial$3.smali

.class Lcom/tradplus/ads/vungle/VungleInterstitial$3;
.super Ljava/lang/Object;
.source "VungleInterstitial.java"

# interfaces
.implements Lcom/vungle/warren/PlayAdCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/tradplus/ads/vungle/VungleInterstitial;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;


# direct methods
.method constructor <init>(Lcom/tradplus/ads/vungle/VungleInterstitial;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAdClick(Ljava/lang/String;)V
    .registers 4

    .line 1
    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->TAG:Ljava/lang/String;
    invoke-static {}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$300()Ljava/lang/String;

    move-result-object v0

    const-string v1, "onAdClick: "

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 2
    iget-object v0, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->vungleInterstitialCallbackRouter:Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;
    invoke-static {v0}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$200(Lcom/tradplus/ads/vungle/VungleInterstitial;)Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;->getShowListener(Ljava/lang/String;)Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;

    move-result-object v0

    if-eqz v0, :cond_22

    .line 3
    iget-object v0, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->vungleInterstitialCallbackRouter:Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;
    invoke-static {v0}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$200(Lcom/tradplus/ads/vungle/VungleInterstitial;)Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;->getShowListener(Ljava/lang/String;)Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;

    move-result-object p1

    invoke-interface {p1}, Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;->onAdClicked()V

    :cond_22
    return-void
.end method

.method public onAdEnd(Ljava/lang/String;)V
    .registers 4

    .line 2
    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->TAG:Ljava/lang/String;
    invoke-static {}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$300()Ljava/lang/String;

    move-result-object v0

    const-string v1, "onAdEnd: "

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 3
    iget-object v0, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->vungleInterstitialCallbackRouter:Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;
    invoke-static {v0}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$200(Lcom/tradplus/ads/vungle/VungleInterstitial;)Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;->getShowListener(Ljava/lang/String;)Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;

    move-result-object v0

    if-eqz v0, :cond_22

    .line 4
    iget-object v0, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->vungleInterstitialCallbackRouter:Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;
    invoke-static {v0}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$200(Lcom/tradplus/ads/vungle/VungleInterstitial;)Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;->getShowListener(Ljava/lang/String;)Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;

    move-result-object p1

    invoke-interface {p1}, Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;->onAdClosed()V

    :cond_22
    return-void
.end method

.method public onAdEnd(Ljava/lang/String;ZZ)V
    .registers 4

    .line 1
    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->TAG:Ljava/lang/String;
    invoke-static {}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$300()Ljava/lang/String;

    move-result-object p1

    const-string p2, "onAdEnd: "

    invoke-static {p1, p2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method public onAdLeftApplication(Ljava/lang/String;)V
    .registers 2

    return-void
.end method

.method public onAdRewarded(Ljava/lang/String;)V
    .registers 2

    return-void
.end method

.method public onAdStart(Ljava/lang/String;)V
    .registers 4

    .line 1
    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->TAG:Ljava/lang/String;
    invoke-static {}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$300()Ljava/lang/String;

    move-result-object v0

    const-string v1, "onAdStart: "

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 2
    iget-object v0, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->vungleInterstitialCallbackRouter:Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;
    invoke-static {v0}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$200(Lcom/tradplus/ads/vungle/VungleInterstitial;)Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;->getShowListener(Ljava/lang/String;)Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;

    move-result-object v0

    if-eqz v0, :cond_22

    .line 3
    iget-object v0, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->vungleInterstitialCallbackRouter:Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;
    invoke-static {v0}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$200(Lcom/tradplus/ads/vungle/VungleInterstitial;)Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;->getShowListener(Ljava/lang/String;)Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;

    move-result-object p1

    invoke-interface {p1}, Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;->onAdShown()V

    :cond_22
    return-void
.end method

.method public onAdViewed(Ljava/lang/String;)V
    .registers 2

    return-void
.end method

.method public onError(Ljava/lang/String;Lcom/vungle/warren/error/VungleException;)V
    .registers 4

    .line 1
    iget-object v0, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->vungleInterstitialCallbackRouter:Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;
    invoke-static {v0}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$200(Lcom/tradplus/ads/vungle/VungleInterstitial;)Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;->getShowListener(Ljava/lang/String;)Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;

    move-result-object v0

    if-eqz v0, :cond_1e

    .line 2
    iget-object v0, p0, Lcom/tradplus/ads/vungle/VungleInterstitial$3;->this$0:Lcom/tradplus/ads/vungle/VungleInterstitial;

    # getter for: Lcom/tradplus/ads/vungle/VungleInterstitial;->vungleInterstitialCallbackRouter:Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;
    invoke-static {v0}, Lcom/tradplus/ads/vungle/VungleInterstitial;->access$200(Lcom/tradplus/ads/vungle/VungleInterstitial;)Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tradplus/ads/vungle/VungleInterstitialCallbackRouter;->getShowListener(Ljava/lang/String;)Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;

    move-result-object p1

    sget-object v0, Lcom/tradplus/ads/mobileads/TradPlusErrorCode;->SHOW_FAILED:Lcom/tradplus/ads/mobileads/TradPlusErrorCode;

    invoke-static {v0, p2}, Lcom/tradplus/ads/vungle/VungleErrorUtil;->getTradPlusErrorCode(Lcom/tradplus/ads/mobileads/TradPlusErrorCode;Ljava/lang/Throwable;)Lcom/tradplus/ads/mobileads/TradPlusErrorCode;

    invoke-interface {p1, v0}, Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;->onAdVideoError(Lcom/tradplus/ads/mobileads/TradPlusErrorCode;)V

    :cond_1e
    return-void
.end method