OfferWallPlugin.smali
.class public Lcom/tradplus/ads/unity/OfferWallPlugin;
.super Lcom/tradplus/ads/unity/TradplusUnityPlugin;
# static fields
.field private static final TAG:Ljava/lang/String; = "OfferWallPlugin"
# instance fields
.field private tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.registers 2
invoke-direct {p0, p1}, Lcom/tradplus/ads/unity/TradplusUnityPlugin;-><init>(Ljava/lang/String;)V
return-void
.end method
.method static synthetic access$000(Lcom/tradplus/ads/unity/OfferWallPlugin;)Lcom/tradplus/ads/open/offerwall/TPOfferWall;
.registers 1
iget-object p0, p0, Lcom/tradplus/ads/unity/OfferWallPlugin;->tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
return-object p0
.end method
.method static synthetic access$002(Lcom/tradplus/ads/unity/OfferWallPlugin;Lcom/tradplus/ads/open/offerwall/TPOfferWall;)Lcom/tradplus/ads/open/offerwall/TPOfferWall;
.registers 2
iput-object p1, p0, Lcom/tradplus/ads/unity/OfferWallPlugin;->tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
return-object p1
.end method
# virtual methods
.method public destroy()V
.registers 1
return-void
.end method
.method public entryAdScenario()V
.registers 2
iget-object v0, p0, Lcom/tradplus/ads/unity/OfferWallPlugin;->tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
if-eqz v0, :cond_7
invoke-virtual {v0}, Lcom/tradplus/ads/open/offerwall/TPOfferWall;->entryAdScenario()Z
:cond_7
return-void
.end method
.method public entryAdScenario(Ljava/lang/String;)V
.registers 3
iget-object v0, p0, Lcom/tradplus/ads/unity/OfferWallPlugin;->tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
if-eqz v0, :cond_7
invoke-virtual {v0, p1}, Lcom/tradplus/ads/open/offerwall/TPOfferWall;->entryAdScenario(Ljava/lang/String;)Z
:cond_7
return-void
.end method
.method public isAllReady()Z
.registers 2
iget-object v0, p0, Lcom/tradplus/ads/unity/OfferWallPlugin;->tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
if-eqz v0, :cond_9
invoke-virtual {v0}, Lcom/tradplus/ads/open/offerwall/TPOfferWall;->isReady()Z
move-result v0
return v0
:cond_9
const/4 v0, 0x0
return v0
.end method
.method public isReady()Z
.registers 2
iget-object v0, p0, Lcom/tradplus/ads/unity/OfferWallPlugin;->tpOfferWall:Lcom/tradplus/ads/open/offerwall/TPOfferWall;
if-nez v0, :cond_6
const/4 v0, 0x0
return v0
:cond_6
invoke-virtual {v0}, Lcom/tradplus/ads/open/offerwall/TPOfferWall;->isReady()Z
move-result v0
return v0
.end method
.method public request()V
.registers 2
new-instance v0, Lcom/tradplus/ads/unity/OfferWallPlugin$1;
invoke-direct {v0, p0}, Lcom/tradplus/ads/unity/OfferWallPlugin$1;-><init>(Lcom/tradplus/ads/unity/OfferWallPlugin;)V
invoke-static {v0}, Lcom/tradplus/ads/unity/TradplusUnityPlugin;->runSafelyOnUiThread(Ljava/lang/Runnable;)V
return-void
.end method
.method public show()V
.registers 2
new-instance v0, Lcom/tradplus/ads/unity/OfferWallPlugin$2;
invoke-direct {v0, p0}, Lcom/tradplus/ads/unity/OfferWallPlugin$2;-><init>(Lcom/tradplus/ads/unity/OfferWallPlugin;)V
invoke-static {v0}, Lcom/tradplus/ads/unity/TradplusUnityPlugin;->runSafelyOnUiThread(Ljava/lang/Runnable;)V
return-void
.end method
.method public show(Ljava/lang/String;)V
.registers 3
new-instance v0, Lcom/tradplus/ads/unity/OfferWallPlugin$3;
invoke-direct {v0, p0, p1}, Lcom/tradplus/ads/unity/OfferWallPlugin$3;-><init>(Lcom/tradplus/ads/unity/OfferWallPlugin;Ljava/lang/String;)V
invoke-static {v0}, Lcom/tradplus/ads/unity/TradplusUnityPlugin;->runSafelyOnUiThread(Ljava/lang/Runnable;)V
return-void
.end method