572 lines
20 KiB
Smali
572 lines
20 KiB
Smali
.class public final Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;
|
|
.super Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState;
|
|
.source "WidgetGlobalStatusIndicatorViewModel.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "CallOngoing"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
.field public final connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
.field public final guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
.field public final hasVideo:Z
|
|
|
|
.field public final participants:I
|
|
|
|
.field public final selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
.field public final streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;Lcom/discord/rtcconnection/RtcConnection$State;Lcom/discord/rtcconnection/RtcConnection$Quality;Lcom/discord/models/domain/ModelGuild;IZLcom/discord/utilities/streams/StreamContext;)V
|
|
.locals 1
|
|
|
|
const-string v0, "selectedVoiceChannel"
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "connectionState"
|
|
|
|
invoke-static {p2, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "connectionQuality"
|
|
|
|
invoke-static {p3, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p0, v0}, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
iput-object p3, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
iput-object p4, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
iput p5, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->participants:I
|
|
|
|
iput-boolean p6, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->hasVideo:Z
|
|
|
|
iput-object p7, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;Lcom/discord/models/domain/ModelChannel;Lcom/discord/rtcconnection/RtcConnection$State;Lcom/discord/rtcconnection/RtcConnection$Quality;Lcom/discord/models/domain/ModelGuild;IZLcom/discord/utilities/streams/StreamContext;ILjava/lang/Object;)Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;
|
|
.locals 5
|
|
|
|
and-int/lit8 p9, p8, 0x1
|
|
|
|
if-eqz p9, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
:cond_0
|
|
and-int/lit8 p9, p8, 0x2
|
|
|
|
if-eqz p9, :cond_1
|
|
|
|
iget-object p2, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
:cond_1
|
|
move-object p9, p2
|
|
|
|
and-int/lit8 p2, p8, 0x4
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
iget-object p3, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
:cond_2
|
|
move-object v0, p3
|
|
|
|
and-int/lit8 p2, p8, 0x8
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-object p4, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
:cond_3
|
|
move-object v1, p4
|
|
|
|
and-int/lit8 p2, p8, 0x10
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
iget p5, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->participants:I
|
|
|
|
:cond_4
|
|
move v2, p5
|
|
|
|
and-int/lit8 p2, p8, 0x20
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
iget-boolean p6, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->hasVideo:Z
|
|
|
|
:cond_5
|
|
move v3, p6
|
|
|
|
and-int/lit8 p2, p8, 0x40
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
iget-object p7, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
:cond_6
|
|
move-object v4, p7
|
|
|
|
move-object p2, p0
|
|
|
|
move-object p3, p1
|
|
|
|
move-object p4, p9
|
|
|
|
move-object p5, v0
|
|
|
|
move-object p6, v1
|
|
|
|
move p7, v2
|
|
|
|
move p8, v3
|
|
|
|
move-object p9, v4
|
|
|
|
invoke-virtual/range {p2 .. p9}, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->copy(Lcom/discord/models/domain/ModelChannel;Lcom/discord/rtcconnection/RtcConnection$State;Lcom/discord/rtcconnection/RtcConnection$Quality;Lcom/discord/models/domain/ModelGuild;IZLcom/discord/utilities/streams/StreamContext;)Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Lcom/discord/models/domain/ModelChannel;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()Lcom/discord/rtcconnection/RtcConnection$State;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component3()Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component4()Lcom/discord/models/domain/ModelGuild;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component5()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->participants:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component6()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->hasVideo:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component7()Lcom/discord/utilities/streams/StreamContext;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(Lcom/discord/models/domain/ModelChannel;Lcom/discord/rtcconnection/RtcConnection$State;Lcom/discord/rtcconnection/RtcConnection$Quality;Lcom/discord/models/domain/ModelGuild;IZLcom/discord/utilities/streams/StreamContext;)Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;
|
|
.locals 9
|
|
|
|
const-string v0, "selectedVoiceChannel"
|
|
|
|
move-object v2, p1
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "connectionState"
|
|
|
|
move-object v3, p2
|
|
|
|
invoke-static {p2, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "connectionQuality"
|
|
|
|
move-object v4, p3
|
|
|
|
invoke-static {p3, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v5, p4
|
|
|
|
move v6, p5
|
|
|
|
move v7, p6
|
|
|
|
move-object/from16 v8, p7
|
|
|
|
invoke-direct/range {v1 .. v8}, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;-><init>(Lcom/discord/models/domain/ModelChannel;Lcom/discord/rtcconnection/RtcConnection$State;Lcom/discord/rtcconnection/RtcConnection$Quality;Lcom/discord/models/domain/ModelGuild;IZLcom/discord/utilities/streams/StreamContext;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->participants:I
|
|
|
|
iget v1, p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->participants:I
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->hasVideo:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->hasVideo:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
iget-object p1, p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
invoke-static {v0, p1}, Lc0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final getConnectionQuality()Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getConnectionState()Lcom/discord/rtcconnection/RtcConnection$State;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getGuild()Lcom/discord/models/domain/ModelGuild;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getHasVideo()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->hasVideo:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getParticipants()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->participants:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getSelectedVoiceChannel()Lcom/discord/models/domain/ModelChannel;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getStreamContext()Lcom/discord/utilities/streams/StreamContext;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelGuild;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v2, 0x0
|
|
|
|
:goto_3
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->participants:I
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->hasVideo:Z
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_4
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-virtual {v2}, Lcom/discord/utilities/streams/StreamContext;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_5
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "CallOngoing(selectedVoiceChannel="
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->selectedVoiceChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", connectionState="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionState:Lcom/discord/rtcconnection/RtcConnection$State;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", connectionQuality="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->connectionQuality:Lcom/discord/rtcconnection/RtcConnection$Quality;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", guild="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", participants="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->participants:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", hasVideo="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->hasVideo:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", streamContext="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorViewModel$ViewState$CallOngoing;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|