MessageNotificationManager$1.smali

.class Lio/rong/imkit/notification/MessageNotificationManager$1;
.super Lio/rong/imlib/RongIMClient$ResultCallback;
.source "MessageNotificationManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imkit/notification/MessageNotificationManager;->notifyIfNeed(Landroid/content/Context;Lio/rong/imlib/model/Message;I)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lio/rong/imlib/RongIMClient$ResultCallback<",
        "Lio/rong/imlib/model/Conversation$ConversationNotificationStatus;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lio/rong/imkit/notification/MessageNotificationManager;

.field final synthetic val$context:Landroid/content/Context;

.field final synthetic val$left:I

.field final synthetic val$message:Lio/rong/imlib/model/Message;


# direct methods
.method constructor <init>(Lio/rong/imkit/notification/MessageNotificationManager;Landroid/content/Context;Lio/rong/imlib/model/Message;I)V
    .registers 5

    .line 1
    iput-object p1, p0, Lio/rong/imkit/notification/MessageNotificationManager$1;->this$0:Lio/rong/imkit/notification/MessageNotificationManager;

    iput-object p2, p0, Lio/rong/imkit/notification/MessageNotificationManager$1;->val$context:Landroid/content/Context;

    iput-object p3, p0, Lio/rong/imkit/notification/MessageNotificationManager$1;->val$message:Lio/rong/imlib/model/Message;

    iput p4, p0, Lio/rong/imkit/notification/MessageNotificationManager$1;->val$left:I

    invoke-direct {p0}, Lio/rong/imlib/RongIMClient$ResultCallback;-><init>()V

    return-void
.end method


# virtual methods
.method public onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
    .registers 2

    return-void
.end method

.method public onSuccess(Lio/rong/imlib/model/Conversation$ConversationNotificationStatus;)V
    .registers 5

    .line 2
    sget-object v0, Lio/rong/imlib/model/Conversation$ConversationNotificationStatus;->NOTIFY:Lio/rong/imlib/model/Conversation$ConversationNotificationStatus;

    invoke-virtual {p1, v0}, Ljava/lang/Enum;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_15

    .line 3
    invoke-static {}, Lio/rong/imkit/notification/MessageNotificationManager;->getInstance()Lio/rong/imkit/notification/MessageNotificationManager;

    move-result-object p1

    iget-object v0, p0, Lio/rong/imkit/notification/MessageNotificationManager$1;->val$context:Landroid/content/Context;

    iget-object v1, p0, Lio/rong/imkit/notification/MessageNotificationManager$1;->val$message:Lio/rong/imlib/model/Message;

    iget v2, p0, Lio/rong/imkit/notification/MessageNotificationManager$1;->val$left:I

    # invokes: Lio/rong/imkit/notification/MessageNotificationManager;->notify(Landroid/content/Context;Lio/rong/imlib/model/Message;I)V
    invoke-static {p1, v0, v1, v2}, Lio/rong/imkit/notification/MessageNotificationManager;->access$000(Lio/rong/imkit/notification/MessageNotificationManager;Landroid/content/Context;Lio/rong/imlib/model/Message;I)V

    :cond_15
    return-void
.end method

.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Lio/rong/imlib/model/Conversation$ConversationNotificationStatus;

    invoke-virtual {p0, p1}, Lio/rong/imkit/notification/MessageNotificationManager$1;->onSuccess(Lio/rong/imlib/model/Conversation$ConversationNotificationStatus;)V

    return-void
.end method