LibHandlerStub$34.smali

.class Lio/rong/imlib/LibHandlerStub$34;
.super Ljava/lang/Object;
.source "LibHandlerStub.java"

# interfaces
.implements Lio/rong/imlib/NativeClient$IDownloadMediaMessageCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imlib/LibHandlerStub;->downloadMediaMessage(Lio/rong/imlib/model/Message;Lio/rong/imlib/IDownloadMediaMessageCallback;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lio/rong/imlib/NativeClient$IDownloadMediaMessageCallback<",
        "Lio/rong/imlib/model/Message;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lio/rong/imlib/LibHandlerStub;

.field final synthetic val$callback:Lio/rong/imlib/IDownloadMediaMessageCallback;


# direct methods
.method constructor <init>(Lio/rong/imlib/LibHandlerStub;Lio/rong/imlib/IDownloadMediaMessageCallback;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lio/rong/imlib/LibHandlerStub$34;->this$0:Lio/rong/imlib/LibHandlerStub;

    iput-object p2, p0, Lio/rong/imlib/LibHandlerStub$34;->val$callback:Lio/rong/imlib/IDownloadMediaMessageCallback;

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

    return-void
.end method


# virtual methods
.method public onCanceled()V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$34;->val$callback:Lio/rong/imlib/IDownloadMediaMessageCallback;

    if-eqz v0, :cond_e

    .line 2
    :try_start_4
    invoke-interface {v0}, Lio/rong/imlib/IDownloadMediaMessageCallback;->onCanceled()V
    :try_end_7
    .catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_7} :catch_8

    goto :goto_e

    :catch_8
    move-exception v0

    .line 3
    iget-object v1, p0, Lio/rong/imlib/LibHandlerStub$34;->this$0:Lio/rong/imlib/LibHandlerStub;

    # invokes: Lio/rong/imlib/LibHandlerStub;->handleRemoteException(Landroid/os/RemoteException;)V
    invoke-static {v1, v0}, Lio/rong/imlib/LibHandlerStub;->access$200(Lio/rong/imlib/LibHandlerStub;Landroid/os/RemoteException;)V

    :cond_e
    :goto_e
    return-void
.end method

.method public onError(I)V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$34;->val$callback:Lio/rong/imlib/IDownloadMediaMessageCallback;

    if-eqz v0, :cond_e

    .line 2
    :try_start_4
    invoke-interface {v0, p1}, Lio/rong/imlib/IDownloadMediaMessageCallback;->onFailure(I)V
    :try_end_7
    .catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_7} :catch_8

    goto :goto_e

    :catch_8
    move-exception p1

    .line 3
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$34;->this$0:Lio/rong/imlib/LibHandlerStub;

    # invokes: Lio/rong/imlib/LibHandlerStub;->handleRemoteException(Landroid/os/RemoteException;)V
    invoke-static {v0, p1}, Lio/rong/imlib/LibHandlerStub;->access$200(Lio/rong/imlib/LibHandlerStub;Landroid/os/RemoteException;)V

    :cond_e
    :goto_e
    return-void
.end method

.method public onProgress(I)V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$34;->val$callback:Lio/rong/imlib/IDownloadMediaMessageCallback;

    if-eqz v0, :cond_e

    .line 2
    :try_start_4
    invoke-interface {v0, p1}, Lio/rong/imlib/IDownloadMediaMessageCallback;->onProgress(I)V
    :try_end_7
    .catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_7} :catch_8

    goto :goto_e

    :catch_8
    move-exception p1

    .line 3
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$34;->this$0:Lio/rong/imlib/LibHandlerStub;

    # invokes: Lio/rong/imlib/LibHandlerStub;->handleRemoteException(Landroid/os/RemoteException;)V
    invoke-static {v0, p1}, Lio/rong/imlib/LibHandlerStub;->access$200(Lio/rong/imlib/LibHandlerStub;Landroid/os/RemoteException;)V

    :cond_e
    :goto_e
    return-void
.end method

.method public onSuccess(Lio/rong/imlib/model/Message;)V
    .registers 3

    .line 2
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$34;->val$callback:Lio/rong/imlib/IDownloadMediaMessageCallback;

    if-eqz v0, :cond_e

    .line 3
    :try_start_4
    invoke-interface {v0, p1}, Lio/rong/imlib/IDownloadMediaMessageCallback;->onComplete(Lio/rong/imlib/model/Message;)V
    :try_end_7
    .catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_7} :catch_8

    goto :goto_e

    :catch_8
    move-exception p1

    .line 4
    iget-object v0, p0, Lio/rong/imlib/LibHandlerStub$34;->this$0:Lio/rong/imlib/LibHandlerStub;

    # invokes: Lio/rong/imlib/LibHandlerStub;->handleRemoteException(Landroid/os/RemoteException;)V
    invoke-static {v0, p1}, Lio/rong/imlib/LibHandlerStub;->access$200(Lio/rong/imlib/LibHandlerStub;Landroid/os/RemoteException;)V

    :cond_e
    :goto_e
    return-void
.end method

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

    .line 1
    check-cast p1, Lio/rong/imlib/model/Message;

    invoke-virtual {p0, p1}, Lio/rong/imlib/LibHandlerStub$34;->onSuccess(Lio/rong/imlib/model/Message;)V

    return-void
.end method