RichAlertWXModule$1.smali

.class Luni/dcloud/io/uniplugin_richalert/RichAlertWXModule$1;
.super Ljava/lang/Object;
.source "RichAlertWXModule.java"

# interfaces
.implements Landroid/content/DialogInterface$OnCancelListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Luni/dcloud/io/uniplugin_richalert/RichAlertWXModule;->tracking(Luni/dcloud/io/uniplugin_richalert/RichAlert;Lcom/taobao/weex/bridge/JSCallback;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Luni/dcloud/io/uniplugin_richalert/RichAlertWXModule;

.field final synthetic val$jsCallback:Lcom/taobao/weex/bridge/JSCallback;


# direct methods
.method constructor <init>(Luni/dcloud/io/uniplugin_richalert/RichAlertWXModule;Lcom/taobao/weex/bridge/JSCallback;)V
    .registers 3

    .line 124
    iput-object p1, p0, Luni/dcloud/io/uniplugin_richalert/RichAlertWXModule$1;->this$0:Luni/dcloud/io/uniplugin_richalert/RichAlertWXModule;

    iput-object p2, p0, Luni/dcloud/io/uniplugin_richalert/RichAlertWXModule$1;->val$jsCallback:Lcom/taobao/weex/bridge/JSCallback;

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

    return-void
.end method


# virtual methods
.method public onCancel(Landroid/content/DialogInterface;)V
    .registers 4

    .line 127
    new-instance p1, Lcom/alibaba/fastjson/JSONObject;

    invoke-direct {p1}, Lcom/alibaba/fastjson/JSONObject;-><init>()V

    const-string v0, "type"

    const-string v1, "backCancel"

    .line 128
    invoke-virtual {p1, v0, v1}, Lcom/alibaba/fastjson/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 129
    iget-object v0, p0, Luni/dcloud/io/uniplugin_richalert/RichAlertWXModule$1;->val$jsCallback:Lcom/taobao/weex/bridge/JSCallback;

    invoke-interface {v0, p1}, Lcom/taobao/weex/bridge/JSCallback;->invoke(Ljava/lang/Object;)V

    return-void
.end method