public static enum DownloadEvent.EventId extends java.lang.Enum<DownloadEvent.EventId>
Enum Constant and Description |
---|
DOWNLOAD_CANCELED |
DOWNLOAD_COMPLETE |
DOWNLOAD_FAILED |
DOWNLOAD_PAUSED |
DOWNLOAD_PROGRESS |
DOWNLOAD_RESUMED |
DOWNLOAD_STARTED |
Modifier and Type | Method and Description |
---|---|
static DownloadEvent.EventId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DownloadEvent.EventId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadEvent.EventId DOWNLOAD_STARTED
public static final DownloadEvent.EventId DOWNLOAD_COMPLETE
public static final DownloadEvent.EventId DOWNLOAD_FAILED
public static final DownloadEvent.EventId DOWNLOAD_PROGRESS
public static final DownloadEvent.EventId DOWNLOAD_CANCELED
public static final DownloadEvent.EventId DOWNLOAD_PAUSED
public static final DownloadEvent.EventId DOWNLOAD_RESUMED
public static DownloadEvent.EventId[] values()
for (DownloadEvent.EventId c : DownloadEvent.EventId.values()) System.out.println(c);
public static DownloadEvent.EventId valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null