apkfuckery/com.discord/smali_classes2/org/webrtc/VideoCodecType.smali

143 lines
3.4 KiB
Smali

.class public final enum Lorg/webrtc/VideoCodecType;
.super Ljava/lang/Enum;
.source "VideoCodecType.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lorg/webrtc/VideoCodecType;",
">;"
}
.end annotation
# static fields
.field public static final synthetic $VALUES:[Lorg/webrtc/VideoCodecType;
.field public static final enum H264:Lorg/webrtc/VideoCodecType;
.field public static final enum VP8:Lorg/webrtc/VideoCodecType;
.field public static final enum VP9:Lorg/webrtc/VideoCodecType;
# instance fields
.field public final mimeType:Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.locals 6
new-instance v0, Lorg/webrtc/VideoCodecType;
const-string v1, "VP8"
const/4 v2, 0x0
const-string v3, "video/x-vnd.on2.vp8"
invoke-direct {v0, v1, v2, v3}, Lorg/webrtc/VideoCodecType;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v0, Lorg/webrtc/VideoCodecType;->VP8:Lorg/webrtc/VideoCodecType;
new-instance v0, Lorg/webrtc/VideoCodecType;
const-string v1, "VP9"
const/4 v3, 0x1
const-string v4, "video/x-vnd.on2.vp9"
invoke-direct {v0, v1, v3, v4}, Lorg/webrtc/VideoCodecType;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v0, Lorg/webrtc/VideoCodecType;->VP9:Lorg/webrtc/VideoCodecType;
new-instance v0, Lorg/webrtc/VideoCodecType;
const-string v1, "H264"
const/4 v4, 0x2
const-string v5, "video/avc"
invoke-direct {v0, v1, v4, v5}, Lorg/webrtc/VideoCodecType;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v0, Lorg/webrtc/VideoCodecType;->H264:Lorg/webrtc/VideoCodecType;
const/4 v1, 0x3
new-array v1, v1, [Lorg/webrtc/VideoCodecType;
sget-object v5, Lorg/webrtc/VideoCodecType;->VP8:Lorg/webrtc/VideoCodecType;
aput-object v5, v1, v2
sget-object v2, Lorg/webrtc/VideoCodecType;->VP9:Lorg/webrtc/VideoCodecType;
aput-object v2, v1, v3
aput-object v0, v1, v4
sput-object v1, Lorg/webrtc/VideoCodecType;->$VALUES:[Lorg/webrtc/VideoCodecType;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")V"
}
.end annotation
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
iput-object p3, p0, Lorg/webrtc/VideoCodecType;->mimeType:Ljava/lang/String;
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lorg/webrtc/VideoCodecType;
.locals 1
const-class v0, Lorg/webrtc/VideoCodecType;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lorg/webrtc/VideoCodecType;
return-object p0
.end method
.method public static values()[Lorg/webrtc/VideoCodecType;
.locals 1
sget-object v0, Lorg/webrtc/VideoCodecType;->$VALUES:[Lorg/webrtc/VideoCodecType;
invoke-virtual {v0}, [Lorg/webrtc/VideoCodecType;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lorg/webrtc/VideoCodecType;
return-object v0
.end method
# virtual methods
.method public mimeType()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lorg/webrtc/VideoCodecType;->mimeType:Ljava/lang/String;
return-object v0
.end method