KsMediaPlayer$PlayerState.smali
.class final enum Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.super Ljava/lang/Enum;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/kwai/video/player/KsMediaPlayer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x401a
name = "PlayerState"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum",
"<",
"Lcom/kwai/video/player/KsMediaPlayer$PlayerState;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_COMPLETED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_END:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_ERROR:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_IDLE:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_INITIALIZED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_PAUSED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_PLAYING:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_PREPARED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_PREPARING:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.field public static final enum STATE_STOPPED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
# direct methods
.method static constructor <clinit>()V
.registers 8
const/4 v7, 0x4
const/4 v6, 0x3
const/4 v5, 0x2
const/4 v4, 0x1
const/4 v3, 0x0
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_IDLE"
invoke-direct {v0, v1, v3}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_IDLE:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_INITIALIZED"
invoke-direct {v0, v1, v4}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_INITIALIZED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_PREPARING"
invoke-direct {v0, v1, v5}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_PREPARING:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_PREPARED"
invoke-direct {v0, v1, v6}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_PREPARED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_PLAYING"
invoke-direct {v0, v1, v7}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_PLAYING:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_PAUSED"
const/4 v2, 0x5
invoke-direct {v0, v1, v2}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_PAUSED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_STOPPED"
const/4 v2, 0x6
invoke-direct {v0, v1, v2}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_STOPPED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_COMPLETED"
const/4 v2, 0x7
invoke-direct {v0, v1, v2}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_COMPLETED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_ERROR"
const/16 v2, 0x8
invoke-direct {v0, v1, v2}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_ERROR:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
new-instance v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const-string v1, "STATE_END"
const/16 v2, 0x9
invoke-direct {v0, v1, v2}, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_END:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
const/16 v0, 0xa
new-array v0, v0, [Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
sget-object v1, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_IDLE:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v1, v0, v3
sget-object v1, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_INITIALIZED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v1, v0, v4
sget-object v1, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_PREPARING:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v1, v0, v5
sget-object v1, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_PREPARED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v1, v0, v6
sget-object v1, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_PLAYING:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v1, v0, v7
const/4 v1, 0x5
sget-object v2, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_PAUSED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v2, v0, v1
const/4 v1, 0x6
sget-object v2, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_STOPPED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v2, v0, v1
const/4 v1, 0x7
sget-object v2, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_COMPLETED:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v2, v0, v1
const/16 v1, 0x8
sget-object v2, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_ERROR:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v2, v0, v1
const/16 v1, 0x9
sget-object v2, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->STATE_END:Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
aput-object v2, v0, v1
sput-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->$VALUES:[Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.registers 3
.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;)Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.registers 2
const-class v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object v0
check-cast v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
return-object v0
.end method
.method public static values()[Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
.registers 1
sget-object v0, Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->$VALUES:[Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
invoke-virtual {v0}, [Lcom/kwai/video/player/KsMediaPlayer$PlayerState;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/kwai/video/player/KsMediaPlayer$PlayerState;
return-object v0
.end method