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