public enum DownloadStatusCode extends java.lang.Enum<DownloadStatusCode>
枚举常量和说明 |
---|
BUILDING_ID_ERROR
建筑物ID错误
|
CACHE_PATH_ERROR
存储路径错误
|
DOWNLOAD_SUCCESS
下载成功
|
LBS_KEY_ERROR
LBS Key错误
|
NETWORK_ERROR
网络错误
|
REQUEST_ERROR
请求错误
|
SERVICE_NO_RESPONSE
服务器没有响应
|
STORAGE_NO_SPACE
没有存储空间
|
限定符和类型 | 方法和说明 |
---|---|
static DownloadStatusCode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static DownloadStatusCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DownloadStatusCode DOWNLOAD_SUCCESS
public static final DownloadStatusCode NETWORK_ERROR
public static final DownloadStatusCode REQUEST_ERROR
public static final DownloadStatusCode SERVICE_NO_RESPONSE
public static final DownloadStatusCode BUILDING_ID_ERROR
public static final DownloadStatusCode LBS_KEY_ERROR
public static final DownloadStatusCode STORAGE_NO_SPACE
public static final DownloadStatusCode CACHE_PATH_ERROR
public static DownloadStatusCode[] values()
for (DownloadStatusCode c : DownloadStatusCode.values()) System.out.println(c);
public static DownloadStatusCode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值