NativeUnityPlguin$1.smali
.class final Lcom/tradplus/ads/unity/NativeUnityPlguin$1;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/tradplus/ads/unity/NativeUnityPlguin;->createNative(IILjava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:I
.field final synthetic b:I
.field final synthetic c:Ljava/lang/String;
.field final synthetic d:Lcom/tradplus/ads/unity/NativeUnityPlguin;
# direct methods
.method constructor <init>(Lcom/tradplus/ads/unity/NativeUnityPlguin;IILjava/lang/String;)V
.registers 5
iput-object p1, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->d:Lcom/tradplus/ads/unity/NativeUnityPlguin;
iput p2, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->a:I
iput p3, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->b:I
iput-object p4, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->c:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 5
iget-object v0, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->d:Lcom/tradplus/ads/unity/NativeUnityPlguin;
# getter for: Lcom/tradplus/ads/unity/NativeUnityPlguin;->mTPNative:Lcom/tradplus/ads/open/nativead/TPNative;
invoke-static {v0}, Lcom/tradplus/ads/unity/NativeUnityPlguin;->access$000(Lcom/tradplus/ads/unity/NativeUnityPlguin;)Lcom/tradplus/ads/open/nativead/TPNative;
move-result-object v0
if-nez v0, :cond_1a
iget-object v0, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->d:Lcom/tradplus/ads/unity/NativeUnityPlguin;
new-instance v1, Lcom/tradplus/ads/open/nativead/TPNative;
# getter for: Lcom/tradplus/ads/unity/NativeUnityPlguin;->activity:Landroid/app/Activity;
invoke-static {v0}, Lcom/tradplus/ads/unity/NativeUnityPlguin;->access$100(Lcom/tradplus/ads/unity/NativeUnityPlguin;)Landroid/app/Activity;
move-result-object v2
iget-object v3, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->d:Lcom/tradplus/ads/unity/NativeUnityPlguin;
iget-object v3, v3, Lcom/tradplus/ads/unity/TradplusUnityPlugin;->mAdUnitId:Ljava/lang/String;
invoke-direct {v1, v2, v3}, Lcom/tradplus/ads/open/nativead/TPNative;-><init>(Landroid/content/Context;Ljava/lang/String;)V
# setter for: Lcom/tradplus/ads/unity/NativeUnityPlguin;->mTPNative:Lcom/tradplus/ads/open/nativead/TPNative;
invoke-static {v0, v1}, Lcom/tradplus/ads/unity/NativeUnityPlguin;->access$002(Lcom/tradplus/ads/unity/NativeUnityPlguin;Lcom/tradplus/ads/open/nativead/TPNative;)Lcom/tradplus/ads/open/nativead/TPNative;
:cond_1a
iget-object v0, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->d:Lcom/tradplus/ads/unity/NativeUnityPlguin;
# getter for: Lcom/tradplus/ads/unity/NativeUnityPlguin;->mTPNative:Lcom/tradplus/ads/open/nativead/TPNative;
invoke-static {v0}, Lcom/tradplus/ads/unity/NativeUnityPlguin;->access$000(Lcom/tradplus/ads/unity/NativeUnityPlguin;)Lcom/tradplus/ads/open/nativead/TPNative;
move-result-object v0
new-instance v1, Lcom/tradplus/ads/unity/NativeUnityPlguin$1$1;
invoke-direct {v1, p0}, Lcom/tradplus/ads/unity/NativeUnityPlguin$1$1;-><init>(Lcom/tradplus/ads/unity/NativeUnityPlguin$1;)V
invoke-virtual {v0, v1}, Lcom/tradplus/ads/open/nativead/TPNative;->setAdListener(Lcom/tradplus/ads/open/nativead/NativeAdListener;)V
iget-object v0, p0, Lcom/tradplus/ads/unity/NativeUnityPlguin$1;->d:Lcom/tradplus/ads/unity/NativeUnityPlguin;
# getter for: Lcom/tradplus/ads/unity/NativeUnityPlguin;->mTPNative:Lcom/tradplus/ads/open/nativead/TPNative;
invoke-static {v0}, Lcom/tradplus/ads/unity/NativeUnityPlguin;->access$000(Lcom/tradplus/ads/unity/NativeUnityPlguin;)Lcom/tradplus/ads/open/nativead/TPNative;
move-result-object v0
invoke-virtual {v0}, Lcom/tradplus/ads/open/nativead/TPNative;->loadAd()V
return-void
.end method