public static enum MediaHttpDownloader.DownloadState extends Enum<MediaHttpDownloader.DownloadState>
Enum Constant and Description |
---|
MEDIA_COMPLETE
Set after the complete media file is successfully downloaded.
|
MEDIA_IN_PROGRESS
Set after a media file chunk is downloaded.
|
NOT_STARTED
The download process has not started yet.
|
Modifier and Type | Method and Description |
---|---|
static MediaHttpDownloader.DownloadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaHttpDownloader.DownloadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaHttpDownloader.DownloadState NOT_STARTED
public static final MediaHttpDownloader.DownloadState MEDIA_IN_PROGRESS
public static final MediaHttpDownloader.DownloadState MEDIA_COMPLETE
public static MediaHttpDownloader.DownloadState[] values()
for (MediaHttpDownloader.DownloadState c : MediaHttpDownloader.DownloadState.values()) System.out.println(c);
public static MediaHttpDownloader.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 nullCopyright © 2010–2021 Google. All rights reserved.