apkfuckery/com.discord/smali/j$a.smali

191 lines
4.4 KiB
Smali
Raw Normal View History

2020-03-27 22:23:51 +00:00
.class public final Lj$a;
2019-12-21 01:41:59 +00:00
.super Ljava/lang/Object;
.source "MediaEngineLegacy.kt"
# interfaces
.implements Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-03-27 22:23:51 +00:00
value = Lj;->a(JLcom/discord/rtcconnection/mediaengine/MediaEngine$a;ZLkotlin/jvm/functions/Function1;)Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;
2019-12-21 01:41:59 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
2020-03-27 22:23:51 +00:00
.field public final synthetic a:Lj;
2019-12-21 01:41:59 +00:00
# direct methods
2020-03-27 22:23:51 +00:00
.method public constructor <init>(Lj;Lcom/discord/rtcconnection/mediaengine/MediaEngine$a;ZJ)V
2019-12-21 01:41:59 +00:00
.locals 0
2020-03-27 22:23:51 +00:00
iput-object p1, p0, Lj$a;->a:Lj;
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onConnected(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;Ljava/util/List;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;",
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$TransportInfo;",
"Ljava/util/List<",
2020-01-30 10:23:52 +00:00
"Le/a/e/l/a;",
2019-12-21 01:41:59 +00:00
">;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_2
if-eqz p2, :cond_1
if-eqz p3, :cond_0
return-void
:cond_0
const-string p1, "supportedVideoCodecs"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
throw v0
:cond_1
const-string p1, "transportInfo"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
throw v0
:cond_2
const-string p1, "connection"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
throw v0
.end method
.method public onConnectionStateChange(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_2
if-eqz p2, :cond_1
2020-02-27 22:30:35 +00:00
sget-object v0, Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;->DISCONNECTED:Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$ConnectionState;
2019-12-21 01:41:59 +00:00
if-ne p2, v0, :cond_0
2020-03-27 22:23:51 +00:00
iget-object p2, p0, Lj$a;->a:Lj;
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
new-instance v0, Lj$a$b;
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v0, p0, p1}, Lj$a$b;-><init>(Lj$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
invoke-static {p2, v0}, Lj;->a(Lj;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
2019-12-21 01:41:59 +00:00
:cond_0
return-void
:cond_1
const-string p1, "connectionState"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
throw v0
:cond_2
const-string p1, "connection"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
throw v0
.end method
.method public onDestroy(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
.locals 2
if-eqz p1, :cond_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lj$a;->a:Lj;
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
new-instance v1, Lj$a$a;
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v1, p0, p1}, Lj$a$a;-><init>(Lj$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
invoke-static {v0, v1}, Lj;->a(Lj;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
2019-12-21 01:41:59 +00:00
return-void
:cond_0
const-string p1, "connection"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public onError(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$FailedConnectionException;)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
2020-03-27 22:23:51 +00:00
iget-object p2, p0, Lj$a;->a:Lj;
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
new-instance v0, Lj$a$c;
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v0, p0, p1}, Lj$a$c;-><init>(Lj$a;Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection;)V
2019-12-21 01:41:59 +00:00
2020-03-27 22:23:51 +00:00
invoke-static {p2, v0}, Lj;->a(Lj;Lkotlin/jvm/functions/Function0;)Ljava/util/concurrent/Future;
2019-12-21 01:41:59 +00:00
return-void
:cond_0
const-string p1, "exception"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
throw v0
:cond_1
const-string p1, "connection"
2020-03-27 22:23:51 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-21 01:41:59 +00:00
throw v0
.end method
.method public onSpeaking(JIZ)V
.locals 0
return-void
.end method
.method public onVideo(JLjava/lang/Integer;III)V
.locals 0
return-void
.end method