.class Lcom/viatech/camera/CreateLiveStreamActivity$13$1; .super Ljava/lang/Object; .source "CreateLiveStreamActivity.java" # interfaces .implements Lcom/viatech/camera/CameraControlView$OnLiveStreamStatusCallback; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/camera/CreateLiveStreamActivity$13;->onCompleted(Lcom/facebook/GraphResponse;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; .field final synthetic val$streamUrl:Ljava/lang/String; # direct methods .method constructor (Lcom/viatech/camera/CreateLiveStreamActivity$13;Ljava/lang/String;)V .locals 0 .prologue .line 1359 iput-object p1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iput-object p2, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->val$streamUrl:Ljava/lang/String; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onLiveStreamStatusChanged(I)V .locals 5 .prologue const/4 v4, 0x1 .line 1362 const-string v0, "Vpai_CreateLiveStreamActivity" new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "onLiveStreamStatusChanged status: " invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object v1 invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 1363 iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iget-object v0, v0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2500(Lcom/viatech/camera/CreateLiveStreamActivity;)V .line 1364 if-ne p1, v4, :cond_1 .line 1365 sget-object v0, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast; const v1, 0x7f0700e9 invoke-virtual {v0, v1, v4}, Lcom/viatech/widget/VPaiToast;->show(II)V .line 1366 iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iget-object v0, v0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; invoke-virtual {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->getIntent()Landroid/content/Intent; move-result-object v0 .line 1367 const-string v1, "broadcast_id" iget-object v2, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iget-object v2, v2, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; invoke-static {v2}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1000(Lcom/viatech/camera/CreateLiveStreamActivity;)Ljava/lang/String; move-result-object v2 invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; .line 1368 const-string v1, "broadcast_title" iget-object v2, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iget-object v2, v2, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; invoke-static {v2}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1500(Lcom/viatech/camera/CreateLiveStreamActivity;)Ljava/lang/String; move-result-object v2 invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; .line 1369 const-string v1, "broadcast_publish_time" iget-object v2, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iget-object v2, v2, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; invoke-static {v2}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1600(Lcom/viatech/camera/CreateLiveStreamActivity;)J move-result-wide v2 invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent; .line 1370 const-string v1, "broadcast_watch_url" iget-object v2, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->val$streamUrl:Ljava/lang/String; invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; .line 1371 const-string v1, "broadcast_living" invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent; .line 1372 const-string v1, "broadcast_publish_type" invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent; .line 1373 iget-object v1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iget-object v1, v1, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; const/4 v2, -0x1 invoke-virtual {v1, v2, v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->setResult(ILandroid/content/Intent;)V .line 1374 iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iget-object v0, v0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; invoke-virtual {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->finish()V .line 1379 :cond_0 :goto_0 return-void .line 1375 :cond_1 if-eqz p1, :cond_0 .line 1376 iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$13$1;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$13; iget-object v0, v0, Lcom/viatech/camera/CreateLiveStreamActivity$13;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1400(Lcom/viatech/camera/CreateLiveStreamActivity;)Landroid/app/ProgressDialog; move-result-object v0 invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V .line 1377 sget-object v0, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast; const v1, 0x7f0700cf invoke-virtual {v0, v1, v4}, Lcom/viatech/widget/VPaiToast;->show(II)V goto :goto_0 .end method