public static enum RealTimeLocationConstant.RealTimeLocationStatus extends java.lang.Enum<RealTimeLocationConstant.RealTimeLocationStatus>
枚举常量和说明 |
---|
RC_REAL_TIME_LOCATION_STATUS_CONNECTED
连接状态 (自己加入)
对方加入了自己发起的位置共享,或者自己加入了对方发起的位置共享。
|
RC_REAL_TIME_LOCATION_STATUS_IDLE
空闲状态 (默认状态)
对方或者自己都未发起位置共享业务,或者位置共享业务已结束。
|
RC_REAL_TIME_LOCATION_STATUS_INCOMING
呼入状态 (待加入)
1.
|
RC_REAL_TIME_LOCATION_STATUS_OUTGOING
呼出状态 (自己创建)
1.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMessage() |
int |
getValue() |
static RealTimeLocationConstant.RealTimeLocationStatus |
valueOf(int value) |
static RealTimeLocationConstant.RealTimeLocationStatus |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RealTimeLocationConstant.RealTimeLocationStatus[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RealTimeLocationConstant.RealTimeLocationStatus RC_REAL_TIME_LOCATION_STATUS_IDLE
public static final RealTimeLocationConstant.RealTimeLocationStatus RC_REAL_TIME_LOCATION_STATUS_INCOMING
public static final RealTimeLocationConstant.RealTimeLocationStatus RC_REAL_TIME_LOCATION_STATUS_OUTGOING
public static final RealTimeLocationConstant.RealTimeLocationStatus RC_REAL_TIME_LOCATION_STATUS_CONNECTED
public static RealTimeLocationConstant.RealTimeLocationStatus[] values()
for (RealTimeLocationConstant.RealTimeLocationStatus c : RealTimeLocationConstant.RealTimeLocationStatus.values()) System.out.println(c);
public static RealTimeLocationConstant.RealTimeLocationStatus valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public java.lang.String getMessage()
public int getValue()
public static RealTimeLocationConstant.RealTimeLocationStatus valueOf(int value)