You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
195 lines
5.6 KiB
195 lines
5.6 KiB
.class Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask; |
|
.super Landroid/os/AsyncTask; |
|
.source "CreateLiveStreamActivity.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/viatech/camera/CreateLiveStreamActivity; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x2 |
|
name = "StartLiveEventTask" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Landroid/os/AsyncTask", |
|
"<", |
|
"Ljava/lang/String;", |
|
"Ljava/lang/Void;", |
|
"Ljava/lang/Void;", |
|
">;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field broadcastId:Ljava/lang/String; |
|
|
|
.field final synthetic this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
|
|
# direct methods |
|
.method private constructor <init>(Lcom/viatech/camera/CreateLiveStreamActivity;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 1021 |
|
iput-object p1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V |
|
|
|
.line 1023 |
|
const/4 v0, 0x0 |
|
|
|
iput-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->broadcastId:Ljava/lang/String; |
|
|
|
return-void |
|
.end method |
|
|
|
.method synthetic constructor <init>(Lcom/viatech/camera/CreateLiveStreamActivity;Lcom/viatech/camera/CreateLiveStreamActivity$1;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 1021 |
|
invoke-direct {p0, p1}, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;-><init>(Lcom/viatech/camera/CreateLiveStreamActivity;)V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method protected bridge synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 1021 |
|
check-cast p1, [Ljava/lang/String; |
|
|
|
invoke-virtual {p0, p1}, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->doInBackground([Ljava/lang/String;)Ljava/lang/Void; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method protected varargs doInBackground([Ljava/lang/String;)Ljava/lang/Void; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 1032 |
|
const/4 v0, 0x0 |
|
|
|
aget-object v0, p1, v0 |
|
|
|
iput-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->broadcastId:Ljava/lang/String; |
|
|
|
.line 1034 |
|
:try_start_0 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->broadcastId:Ljava/lang/String; |
|
|
|
invoke-static {v0}, Lcom/via/vpailib/vpaiinterface/YouTubeApi;->startEvent(Ljava/lang/String;)V |
|
:try_end_0 |
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 |
|
|
|
.line 1044 |
|
:goto_0 |
|
const/4 v0, 0x0 |
|
|
|
return-object v0 |
|
|
|
.line 1041 |
|
:catch_0 |
|
move-exception v0 |
|
|
|
.line 1042 |
|
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 1021 |
|
check-cast p1, Ljava/lang/Void; |
|
|
|
invoke-virtual {p0, p1}, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->onPostExecute(Ljava/lang/Void;)V |
|
|
|
return-void |
|
.end method |
|
|
|
.method protected onPostExecute(Ljava/lang/Void;)V |
|
.locals 4 |
|
|
|
.prologue |
|
const/4 v2, 0x0 |
|
|
|
.line 1049 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$900(Lcom/viatech/camera/CreateLiveStreamActivity;)Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 1050 |
|
new-instance v0, Lcom/viatech/camera/CreateLiveStreamActivity$UpdateLiveEventTask; |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-direct {v0, v1, v2}, Lcom/viatech/camera/CreateLiveStreamActivity$UpdateLiveEventTask;-><init>(Lcom/viatech/camera/CreateLiveStreamActivity;Lcom/viatech/camera/CreateLiveStreamActivity$1;)V |
|
|
|
const/4 v1, 0x1 |
|
|
|
new-array v1, v1, [Ljava/lang/String; |
|
|
|
const/4 v2, 0x0 |
|
|
|
iget-object v3, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->broadcastId:Ljava/lang/String; |
|
|
|
aput-object v3, v1, v2 |
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/camera/CreateLiveStreamActivity$UpdateLiveEventTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; |
|
|
|
.line 1054 |
|
:goto_0 |
|
return-void |
|
|
|
.line 1052 |
|
:cond_0 |
|
sget-object v0, Lcom/viatech/camera/CreateLiveStreamActivity;->sCameraControlView:Lcom/viatech/camera/CameraControlView; |
|
|
|
invoke-virtual {v0, v2, v2}, Lcom/viatech/camera/CameraControlView;->stopLiveStream(Ljava/lang/String;Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;)I |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method protected onPreExecute()V |
|
.locals 3 |
|
|
|
.prologue |
|
.line 1027 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->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 |
|
|
|
iget-object v1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$StartLiveEventTask;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
const v2, 0x7f0700ef |
|
|
|
invoke-virtual {v1, v2}, Lcom/viatech/camera/CreateLiveStreamActivity;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V |
|
|
|
.line 1028 |
|
return-void |
|
.end method
|
|
|