PushChannelRegion.smali
.class public final enum Lcom/xiaomi/push/service/module/PushChannelRegion;
.super Ljava/lang/Enum;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum",
"<",
"Lcom/xiaomi/push/service/module/PushChannelRegion;",
">;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# static fields
.field public static final enum China:Lcom/xiaomi/push/service/module/PushChannelRegion;
.field public static final enum Europe:Lcom/xiaomi/push/service/module/PushChannelRegion;
.field public static final enum Global:Lcom/xiaomi/push/service/module/PushChannelRegion;
.field public static final enum India:Lcom/xiaomi/push/service/module/PushChannelRegion;
.field public static final enum Russia:Lcom/xiaomi/push/service/module/PushChannelRegion;
.field private static final synthetic a:[Lcom/xiaomi/push/service/module/PushChannelRegion;
# direct methods
.method static constructor <clinit>()V
.registers 7
const/4 v6, 0x4
const/4 v5, 0x3
const/4 v4, 0x2
const/4 v3, 0x1
const/4 v2, 0x0
new-instance v0, Lcom/xiaomi/push/service/module/PushChannelRegion;
const-string v1, "China"
invoke-direct {v0, v1, v2}, Lcom/xiaomi/push/service/module/PushChannelRegion;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/xiaomi/push/service/module/PushChannelRegion;->China:Lcom/xiaomi/push/service/module/PushChannelRegion;
new-instance v0, Lcom/xiaomi/push/service/module/PushChannelRegion;
const-string v1, "Global"
invoke-direct {v0, v1, v3}, Lcom/xiaomi/push/service/module/PushChannelRegion;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/xiaomi/push/service/module/PushChannelRegion;->Global:Lcom/xiaomi/push/service/module/PushChannelRegion;
new-instance v0, Lcom/xiaomi/push/service/module/PushChannelRegion;
const-string v1, "Europe"
invoke-direct {v0, v1, v4}, Lcom/xiaomi/push/service/module/PushChannelRegion;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/xiaomi/push/service/module/PushChannelRegion;->Europe:Lcom/xiaomi/push/service/module/PushChannelRegion;
new-instance v0, Lcom/xiaomi/push/service/module/PushChannelRegion;
const-string v1, "Russia"
invoke-direct {v0, v1, v5}, Lcom/xiaomi/push/service/module/PushChannelRegion;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/xiaomi/push/service/module/PushChannelRegion;->Russia:Lcom/xiaomi/push/service/module/PushChannelRegion;
new-instance v0, Lcom/xiaomi/push/service/module/PushChannelRegion;
const-string v1, "India"
invoke-direct {v0, v1, v6}, Lcom/xiaomi/push/service/module/PushChannelRegion;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/xiaomi/push/service/module/PushChannelRegion;->India:Lcom/xiaomi/push/service/module/PushChannelRegion;
const/4 v0, 0x5
new-array v0, v0, [Lcom/xiaomi/push/service/module/PushChannelRegion;
sget-object v1, Lcom/xiaomi/push/service/module/PushChannelRegion;->China:Lcom/xiaomi/push/service/module/PushChannelRegion;
aput-object v1, v0, v2
sget-object v1, Lcom/xiaomi/push/service/module/PushChannelRegion;->Global:Lcom/xiaomi/push/service/module/PushChannelRegion;
aput-object v1, v0, v3
sget-object v1, Lcom/xiaomi/push/service/module/PushChannelRegion;->Europe:Lcom/xiaomi/push/service/module/PushChannelRegion;
aput-object v1, v0, v4
sget-object v1, Lcom/xiaomi/push/service/module/PushChannelRegion;->Russia:Lcom/xiaomi/push/service/module/PushChannelRegion;
aput-object v1, v0, v5
sget-object v1, Lcom/xiaomi/push/service/module/PushChannelRegion;->India:Lcom/xiaomi/push/service/module/PushChannelRegion;
aput-object v1, v0, v6
sput-object v0, Lcom/xiaomi/push/service/module/PushChannelRegion;->a:[Lcom/xiaomi/push/service/module/PushChannelRegion;
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/xiaomi/push/service/module/PushChannelRegion;
.registers 2
const-class v0, Lcom/xiaomi/push/service/module/PushChannelRegion;
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/xiaomi/push/service/module/PushChannelRegion;
return-object v0
.end method
.method public static values()[Lcom/xiaomi/push/service/module/PushChannelRegion;
.registers 1
sget-object v0, Lcom/xiaomi/push/service/module/PushChannelRegion;->a:[Lcom/xiaomi/push/service/module/PushChannelRegion;
invoke-virtual {v0}, [Lcom/xiaomi/push/service/module/PushChannelRegion;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/xiaomi/push/service/module/PushChannelRegion;
return-object v0
.end method