LibHandlerStub$31.smali

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

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imlib/LibHandlerStub;->getNotificationQuietHours(Lio/rong/imlib/IGetNotificationQuietHoursCallback;)V
.end annotation

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


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

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


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

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

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

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

    return-void
.end method


# virtual methods
.method public onError(I)V
    .registers 3

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

    if-eqz v0, :cond_c

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

    goto :goto_c

    :catch_8
    move-exception p1

    .line 3
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_c
    :goto_c
    return-void
.end method

.method public onSuccess(Ljava/lang/String;I)V
    .registers 4

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

    if-eqz v0, :cond_c

    .line 2
    :try_start_4
    invoke-interface {v0, p1, p2}, Lio/rong/imlib/IGetNotificationQuietHoursCallback;->onSuccess(Ljava/lang/String;I)V
    :try_end_7
    .catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_7} :catch_8

    goto :goto_c

    :catch_8
    move-exception p1

    .line 3
    invoke-virtual {p1}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_c
    :goto_c
    return-void
.end method