RealTimeLocation$5.smali
.class Lio/rong/imlib/location/RealTimeLocation$5;
.super Ljava/lang/Object;
.source "RealTimeLocation.java"
# interfaces
.implements Lio/rong/imlib/IRongCallback$ISendMessageCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lio/rong/imlib/location/RealTimeLocation;->sendStartMessage()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lio/rong/imlib/location/RealTimeLocation;
# direct methods
.method constructor <init>(Lio/rong/imlib/location/RealTimeLocation;)V
.registers 2
.line 1
iput-object p1, p0, Lio/rong/imlib/location/RealTimeLocation$5;->this$0:Lio/rong/imlib/location/RealTimeLocation;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onAttached(Lio/rong/imlib/model/Message;)V
.registers 4
.line 1
iget-object v0, p0, Lio/rong/imlib/location/RealTimeLocation$5;->this$0:Lio/rong/imlib/location/RealTimeLocation;
# getter for: Lio/rong/imlib/location/RealTimeLocation;->mReceiveMessageListener:Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;
invoke-static {v0}, Lio/rong/imlib/location/RealTimeLocation;->access$5800(Lio/rong/imlib/location/RealTimeLocation;)Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;
move-result-object v0
if-eqz v0, :cond_17
.line 2
sget-object v0, Lio/rong/imlib/model/Message$SentStatus;->SENT:Lio/rong/imlib/model/Message$SentStatus;
invoke-virtual {p1, v0}, Lio/rong/imlib/model/Message;->setSentStatus(Lio/rong/imlib/model/Message$SentStatus;)V
.line 3
iget-object v0, p0, Lio/rong/imlib/location/RealTimeLocation$5;->this$0:Lio/rong/imlib/location/RealTimeLocation;
# getter for: Lio/rong/imlib/location/RealTimeLocation;->mReceiveMessageListener:Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;
invoke-static {v0}, Lio/rong/imlib/location/RealTimeLocation;->access$5800(Lio/rong/imlib/location/RealTimeLocation;)Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;
move-result-object v0
const/4 v1, 0x0
invoke-interface {v0, p1, v1}, Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;->onReceived(Lio/rong/imlib/model/Message;I)Z
:cond_17
return-void
.end method
.method public onError(Lio/rong/imlib/model/Message;Lio/rong/imlib/RongIMClient$ErrorCode;)V
.registers 3
.line 1
iget-object p1, p0, Lio/rong/imlib/location/RealTimeLocation$5;->this$0:Lio/rong/imlib/location/RealTimeLocation;
invoke-virtual {p1}, Lio/rong/imlib/stateMachine/StateMachine;->getHandler()Landroid/os/Handler;
move-result-object p1
if-eqz p1, :cond_13
.line 2
iget-object p1, p0, Lio/rong/imlib/location/RealTimeLocation$5;->this$0:Lio/rong/imlib/location/RealTimeLocation;
invoke-virtual {p1}, Lio/rong/imlib/stateMachine/StateMachine;->getHandler()Landroid/os/Handler;
move-result-object p1
const/16 p2, 0x8
invoke-virtual {p1, p2}, Landroid/os/Handler;->sendEmptyMessage(I)Z
:cond_13
return-void
.end method
.method public onSuccess(Lio/rong/imlib/model/Message;)V
.registers 3
.line 1
iget-object p1, p0, Lio/rong/imlib/location/RealTimeLocation$5;->this$0:Lio/rong/imlib/location/RealTimeLocation;
invoke-virtual {p1}, Lio/rong/imlib/stateMachine/StateMachine;->getHandler()Landroid/os/Handler;
move-result-object p1
if-eqz p1, :cond_12
.line 2
iget-object p1, p0, Lio/rong/imlib/location/RealTimeLocation$5;->this$0:Lio/rong/imlib/location/RealTimeLocation;
invoke-virtual {p1}, Lio/rong/imlib/stateMachine/StateMachine;->getHandler()Landroid/os/Handler;
move-result-object p1
const/4 v0, 0x7
invoke-virtual {p1, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z
:cond_12
return-void
.end method