public static enum Bitmap.CompressFormat extends Enum<Bitmap.CompressFormat>
Modifier and Type | Method and Description |
---|---|
static Bitmap.CompressFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bitmap.CompressFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bitmap.CompressFormat JPEG
public static final Bitmap.CompressFormat PNG
public static final Bitmap.CompressFormat WEBP
public static Bitmap.CompressFormat[] values()
for (Bitmap.CompressFormat c : Bitmap.CompressFormat.values()) System.out.println(c);
public static Bitmap.CompressFormat 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 null