114 lines
3 KiB
Smali
114 lines
3 KiB
Smali
.class public final enum Lco/discord/media_engine/DeviceType;
|
|
.super Ljava/lang/Enum;
|
|
.source "DeviceDescription.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lco/discord/media_engine/DeviceType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $VALUES:[Lco/discord/media_engine/DeviceType;
|
|
|
|
.field public static final enum AudioInput:Lco/discord/media_engine/DeviceType;
|
|
|
|
.field public static final enum AudioOutput:Lco/discord/media_engine/DeviceType;
|
|
|
|
.field public static final enum VideoInput:Lco/discord/media_engine/DeviceType;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
const/4 v0, 0x3
|
|
|
|
new-array v0, v0, [Lco/discord/media_engine/DeviceType;
|
|
|
|
new-instance v1, Lco/discord/media_engine/DeviceType;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const-string v3, "AudioInput"
|
|
|
|
invoke-direct {v1, v3, v2}, Lco/discord/media_engine/DeviceType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v1, Lco/discord/media_engine/DeviceType;->AudioInput:Lco/discord/media_engine/DeviceType;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lco/discord/media_engine/DeviceType;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-string v3, "AudioOutput"
|
|
|
|
invoke-direct {v1, v3, v2}, Lco/discord/media_engine/DeviceType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v1, Lco/discord/media_engine/DeviceType;->AudioOutput:Lco/discord/media_engine/DeviceType;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lco/discord/media_engine/DeviceType;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const-string v3, "VideoInput"
|
|
|
|
invoke-direct {v1, v3, v2}, Lco/discord/media_engine/DeviceType;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v1, Lco/discord/media_engine/DeviceType;->VideoInput:Lco/discord/media_engine/DeviceType;
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lco/discord/media_engine/DeviceType;->$VALUES:[Lco/discord/media_engine/DeviceType;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lco/discord/media_engine/DeviceType;
|
|
.locals 1
|
|
|
|
const-class v0, Lco/discord/media_engine/DeviceType;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lco/discord/media_engine/DeviceType;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lco/discord/media_engine/DeviceType;
|
|
.locals 1
|
|
|
|
sget-object v0, Lco/discord/media_engine/DeviceType;->$VALUES:[Lco/discord/media_engine/DeviceType;
|
|
|
|
invoke-virtual {v0}, [Lco/discord/media_engine/DeviceType;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lco/discord/media_engine/DeviceType;
|
|
|
|
return-object v0
|
|
.end method
|