public static enum DownloadManagerState.DownloadState extends Enum<DownloadManagerState.DownloadState>
Enum Constant and Description |
---|
CANCELED |
COMPLETED |
FAILED |
IN_PROGRESS |
NOT_STARTED |
Modifier and Type | Method and Description |
---|---|
static DownloadManagerState.DownloadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadManagerState.DownloadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadManagerState.DownloadState NOT_STARTED
public static final DownloadManagerState.DownloadState IN_PROGRESS
public static final DownloadManagerState.DownloadState COMPLETED
public static final DownloadManagerState.DownloadState CANCELED
public static final DownloadManagerState.DownloadState FAILED
public static DownloadManagerState.DownloadState[] values()
for (DownloadManagerState.DownloadState c : DownloadManagerState.DownloadState.values()) System.out.println(c);
public static DownloadManagerState.DownloadState 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 nullThis work is licensed under a Creative Commons Attribution 4.0 International License.