public enum DownloadState extends Enum<DownloadState>
Enum Constant and Description |
---|
DOWNLOADING
ダウンロード中であることを示します。
|
INITIALIZED
ダウンロードが初期化されたことを示します。
|
START_DOWNLOADING
ダウンロードが開始中であることを示します。
|
Modifier and Type | Method and Description |
---|---|
static DownloadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadState INITIALIZED
public static final DownloadState START_DOWNLOADING
public static final DownloadState DOWNLOADING
public static DownloadState[] values()
for (DownloadState c : DownloadState.values()) System.out.println(c);
public static 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 © 2023. All rights reserved.