GooglePlayServicesInterstitialVideo$2.smali
.class Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;
.super Lcom/google/android/gms/ads/rewarded/RewardedAdCallback;
.source "GooglePlayServicesInterstitialVideo.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;->showAd()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
# direct methods
.method constructor <init>(Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;->this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
invoke-direct {p0}, Lcom/google/android/gms/ads/rewarded/RewardedAdCallback;-><init>()V
return-void
.end method
# virtual methods
.method public onRewardedAdClosed()V
.registers 2
.line 1
iget-object v0, p0, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;->this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
# getter for: Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;->contextWeakReference:Ljava/lang/ref/WeakReference;
invoke-static {v0}, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;->access$000(Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;)Ljava/lang/ref/WeakReference;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_15
iget-object v0, p0, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;->this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
iget-object v0, v0, Lcom/tradplus/ads/base/adapter/reward/TPRewardAdapter;->mShowListener:Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;
if-eqz v0, :cond_15
.line 2
invoke-interface {v0}, Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;->onAdVideoEnd()V
:cond_15
return-void
.end method
.method public onRewardedAdFailedToShow(I)V
.registers 3
.line 1
iget-object p1, p0, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;->this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
# getter for: Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;->contextWeakReference:Ljava/lang/ref/WeakReference;
invoke-static {p1}, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;->access$000(Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;)Ljava/lang/ref/WeakReference;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object p1
if-eqz p1, :cond_17
iget-object p1, p0, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;->this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
iget-object p1, p1, Lcom/tradplus/ads/base/adapter/reward/TPRewardAdapter;->mShowListener:Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;
if-eqz p1, :cond_17
.line 2
sget-object v0, Lcom/tradplus/ads/mobileads/TradPlusErrorCode;->SHOW_FAILED:Lcom/tradplus/ads/mobileads/TradPlusErrorCode;
invoke-interface {p1, v0}, Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;->onAdVideoError(Lcom/tradplus/ads/mobileads/TradPlusErrorCode;)V
:cond_17
return-void
.end method
.method public onRewardedAdOpened()V
.registers 2
.line 1
iget-object v0, p0, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;->this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
# getter for: Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;->contextWeakReference:Ljava/lang/ref/WeakReference;
invoke-static {v0}, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;->access$000(Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;)Ljava/lang/ref/WeakReference;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_15
iget-object v0, p0, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;->this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
iget-object v0, v0, Lcom/tradplus/ads/base/adapter/reward/TPRewardAdapter;->mShowListener:Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;
if-eqz v0, :cond_15
.line 2
invoke-interface {v0}, Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;->onAdVideoStart()V
:cond_15
return-void
.end method
.method public onUserEarnedReward(Lcom/google/android/gms/ads/rewarded/RewardItem;)V
.registers 2
.line 1
iget-object p1, p0, Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo$2;->this$0:Lcom/tradplus/ads/google/GooglePlayServicesInterstitialVideo;
iget-object p1, p1, Lcom/tradplus/ads/base/adapter/reward/TPRewardAdapter;->mShowListener:Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;
invoke-interface {p1}, Lcom/tradplus/ads/base/adapter/TPShowAdapterListener;->onReward()V
return-void
.end method