public static enum RealTimeLocationConstant.RealTimeLocationErrorCode extends java.lang.Enum<RealTimeLocationConstant.RealTimeLocationErrorCode>
枚举常量和说明 |
---|
RC_REAL_TIME_LOCATION_CONVERSATION_NOT_SUPPORT
获取 RealTimeLocation 实例时返回
当前会话不支持位置共享。
|
RC_REAL_TIME_LOCATION_EXCEED_MAX_PARTICIPANT
Join 时返回
当前位置共享已超过最大支持人数。
|
RC_REAL_TIME_LOCATION_GPS_DISABLED
获取 RealTimeLocation 实例时返回
GPS 未打开。
|
RC_REAL_TIME_LOCATION_IS_ON_GOING
获取 RealTimeLocation 实例时返回
对方已发起位置共享。
|
RC_REAL_TIME_LOCATION_JOIN_FAILURE
Join 时返回
加入位置共享失败。
|
RC_REAL_TIME_LOCATION_NETWORK_UNAVAILABLE
网络不可用。
|
RC_REAL_TIME_LOCATION_NOT_INIT
未初始化 RealTimeLocation 实例
|
RC_REAL_TIME_LOCATION_START_FAILURE
Start 时返回
发起位置共享失败。
|
RC_REAL_TIME_LOCATION_SUCCESS
执行成功。
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMessage() |
int |
getValue() |
static RealTimeLocationConstant.RealTimeLocationErrorCode |
valueOf(int value) |
static RealTimeLocationConstant.RealTimeLocationErrorCode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RealTimeLocationConstant.RealTimeLocationErrorCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_NOT_INIT
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_SUCCESS
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_GPS_DISABLED
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_CONVERSATION_NOT_SUPPORT
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_IS_ON_GOING
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_EXCEED_MAX_PARTICIPANT
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_JOIN_FAILURE
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_START_FAILURE
public static final RealTimeLocationConstant.RealTimeLocationErrorCode RC_REAL_TIME_LOCATION_NETWORK_UNAVAILABLE
public static RealTimeLocationConstant.RealTimeLocationErrorCode[] values()
for (RealTimeLocationConstant.RealTimeLocationErrorCode c : RealTimeLocationConstant.RealTimeLocationErrorCode.values()) System.out.println(c);
public static RealTimeLocationConstant.RealTimeLocationErrorCode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public java.lang.String getMessage()
public int getValue()
public static RealTimeLocationConstant.RealTimeLocationErrorCode valueOf(int value)