.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 ()V .locals 6 new-instance v0, Lorg/webrtc/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/VideoCodecType;->(Ljava/lang/String;ILjava/lang/String;)V sput-object v0, Lorg/webrtc/VideoCodecType;->VP8:Lorg/webrtc/VideoCodecType; new-instance v0, Lorg/webrtc/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/VideoCodecType;->(Ljava/lang/String;ILjava/lang/String;)V sput-object v0, Lorg/webrtc/VideoCodecType;->VP9:Lorg/webrtc/VideoCodecType; new-instance v0, Lorg/webrtc/VideoCodecType; const/4 v3, 0x2 const-string v4, "H264" const-string v5, "video/avc" invoke-direct {v0, v4, v3, v5}, Lorg/webrtc/VideoCodecType;->(Ljava/lang/String;ILjava/lang/String;)V sput-object v0, Lorg/webrtc/VideoCodecType;->H264:Lorg/webrtc/VideoCodecType; const/4 v0, 0x3 new-array v0, v0, [Lorg/webrtc/VideoCodecType; sget-object v4, Lorg/webrtc/VideoCodecType;->VP8:Lorg/webrtc/VideoCodecType; aput-object v4, v0, v1 sget-object v1, Lorg/webrtc/VideoCodecType;->VP9:Lorg/webrtc/VideoCodecType; aput-object v1, v0, v2 sget-object v1, Lorg/webrtc/VideoCodecType;->H264:Lorg/webrtc/VideoCodecType; aput-object v1, v0, v3 sput-object v0, Lorg/webrtc/VideoCodecType;->$VALUES:[Lorg/webrtc/VideoCodecType; return-void .end method .method public constructor (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;->(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