RealTimeLocationConstant$RealTimeLocationErrorCode.smali

.class public final enum Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;
.super Ljava/lang/Enum;
.source "RealTimeLocationConstant.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lio/rong/imlib/location/RealTimeLocationConstant;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4019
    name = "RealTimeLocationErrorCode"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Enum<",
        "Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;",
        ">;"
    }
.end annotation


# static fields
.field private static final synthetic $VALUES:[Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_CONVERSATION_NOT_SUPPORT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_EXCEED_MAX_PARTICIPANT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_GPS_DISABLED:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_IS_ON_GOING:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_JOIN_FAILURE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_NETWORK_UNAVAILABLE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_NOT_INIT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_START_FAILURE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

.field public static final enum RC_REAL_TIME_LOCATION_SUCCESS:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;


# instance fields
.field code:I

.field msg:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .registers 12

    .line 1
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/4 v1, 0x0

    const-string v2, "RC_REAL_TIME_LOCATION_NOT_INIT"

    const/4 v3, -0x1

    const-string v4, "Not init"

    invoke-direct {v0, v2, v1, v3, v4}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_NOT_INIT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    .line 2
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/4 v2, 0x1

    const-string v3, "RC_REAL_TIME_LOCATION_SUCCESS"

    const-string v4, "Success"

    invoke-direct {v0, v3, v2, v1, v4}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_SUCCESS:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    .line 3
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/4 v3, 0x2

    const-string v4, "RC_REAL_TIME_LOCATION_GPS_DISABLED"

    const-string v5, "GPS disabled"

    invoke-direct {v0, v4, v3, v2, v5}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_GPS_DISABLED:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    .line 4
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/4 v4, 0x3

    const-string v5, "RC_REAL_TIME_LOCATION_CONVERSATION_NOT_SUPPORT"

    const-string v6, "Conversation not support"

    invoke-direct {v0, v5, v4, v3, v6}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_CONVERSATION_NOT_SUPPORT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    .line 5
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/4 v5, 0x4

    const-string v6, "RC_REAL_TIME_LOCATION_IS_ON_GOING"

    const-string v7, "Real-Time location is on going"

    invoke-direct {v0, v6, v5, v4, v7}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_IS_ON_GOING:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    .line 6
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/4 v6, 0x5

    const-string v7, "RC_REAL_TIME_LOCATION_EXCEED_MAX_PARTICIPANT"

    const-string v8, "Exceed max participants"

    invoke-direct {v0, v7, v6, v5, v8}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_EXCEED_MAX_PARTICIPANT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    .line 7
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/4 v7, 0x6

    const-string v8, "RC_REAL_TIME_LOCATION_JOIN_FAILURE"

    const-string v9, "Join fail"

    invoke-direct {v0, v8, v7, v6, v9}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_JOIN_FAILURE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    .line 8
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/4 v8, 0x7

    const-string v9, "RC_REAL_TIME_LOCATION_START_FAILURE"

    const-string v10, "Start fail"

    invoke-direct {v0, v9, v8, v7, v10}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_START_FAILURE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    .line 9
    new-instance v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/16 v9, 0x8

    const-string v10, "RC_REAL_TIME_LOCATION_NETWORK_UNAVAILABLE"

    const-string v11, "Network unavailable."

    invoke-direct {v0, v10, v9, v8, v11}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;-><init>(Ljava/lang/String;IILjava/lang/String;)V

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_NETWORK_UNAVAILABLE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    const/16 v0, 0x9

    .line 10
    new-array v0, v0, [Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    sget-object v10, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_NOT_INIT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v10, v0, v1

    sget-object v1, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_SUCCESS:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v1, v0, v2

    sget-object v1, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_GPS_DISABLED:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v1, v0, v3

    sget-object v1, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_CONVERSATION_NOT_SUPPORT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v1, v0, v4

    sget-object v1, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_IS_ON_GOING:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v1, v0, v5

    sget-object v1, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_EXCEED_MAX_PARTICIPANT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v1, v0, v6

    sget-object v1, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_JOIN_FAILURE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v1, v0, v7

    sget-object v1, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_START_FAILURE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v1, v0, v8

    sget-object v1, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_NETWORK_UNAVAILABLE:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    aput-object v1, v0, v9

    sput-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->$VALUES:[Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;IILjava/lang/String;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .line 1
    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V

    .line 2
    iput p3, p0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->code:I

    .line 3
    iput-object p4, p0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->msg:Ljava/lang/String;

    return-void
.end method

.method public static valueOf(I)Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;
    .registers 6

    .line 2
    invoke-static {}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->values()[Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    move-result-object v0

    array-length v1, v0

    const/4 v2, 0x0

    :goto_6
    if-ge v2, v1, :cond_14

    aget-object v3, v0, v2

    .line 3
    invoke-virtual {v3}, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->getValue()I

    move-result v4

    if-ne v4, p0, :cond_11

    return-object v3

    :cond_11
    add-int/lit8 v2, v2, 0x1

    goto :goto_6

    .line 4
    :cond_14
    sget-object p0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->RC_REAL_TIME_LOCATION_CONVERSATION_NOT_SUPPORT:Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    return-object p0
.end method

.method public static valueOf(Ljava/lang/String;)Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;
    .registers 2

    .line 1
    const-class v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;

    move-result-object p0

    check-cast p0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    return-object p0
.end method

.method public static values()[Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;
    .registers 1

    .line 1
    sget-object v0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->$VALUES:[Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    invoke-virtual {v0}, [Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;

    return-object v0
.end method


# virtual methods
.method public getMessage()Ljava/lang/String;
    .registers 2

    .line 1
    iget-object v0, p0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->msg:Ljava/lang/String;

    return-object v0
.end method

.method public getValue()I
    .registers 2

    .line 1
    iget v0, p0, Lio/rong/imlib/location/RealTimeLocationConstant$RealTimeLocationErrorCode;->code:I

    return v0
.end method