public enum DownloadStatus extends Enum<DownloadStatus>
Enum Constant and Description |
---|
COMPLETED |
FAILED |
FAILED_FULL_SYNC_REQUIRED |
IN_PROGRESS |
Modifier and Type | Method and Description |
---|---|
static DownloadStatus |
fromValue(String v) |
String |
value() |
static DownloadStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadStatus COMPLETED
public static final DownloadStatus IN_PROGRESS
public static final DownloadStatus FAILED
public static final DownloadStatus FAILED_FULL_SYNC_REQUIRED
public static DownloadStatus[] values()
for (DownloadStatus c : DownloadStatus.values()) System.out.println(c);
public static DownloadStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static DownloadStatus fromValue(String v)
Copyright © 2024. All rights reserved.