Serializable, Comparable<ImageFrom>public enum ImageFrom extends Enum<ImageFrom>
| Enum Constant | Description |
|---|---|
MEMORY |
|
NETWORK_URL |
|
SDCARD |
| Modifier and Type | Method | Description |
|---|---|---|
static ImageFrom |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImageFrom[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageFrom SDCARD
public static final ImageFrom NETWORK_URL
public static final ImageFrom MEMORY
public static ImageFrom[] values()
for (ImageFrom c : ImageFrom.values()) System.out.println(c);
public static ImageFrom 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 © 2025. All rights reserved.