public static enum Asset.AccessMode extends Enum<Asset.AccessMode>
Enum Constant and Description |
---|
ACCESS_BUFFER |
ACCESS_RANDOM |
ACCESS_STREAMING |
ACCESS_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Asset.AccessMode |
fromInt(int mode) |
int |
mode() |
static Asset.AccessMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Asset.AccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Asset.AccessMode ACCESS_UNKNOWN
public static final Asset.AccessMode ACCESS_RANDOM
public static final Asset.AccessMode ACCESS_STREAMING
public static final Asset.AccessMode ACCESS_BUFFER
public static Asset.AccessMode[] values()
for (Asset.AccessMode c : Asset.AccessMode.values()) System.out.println(c);
public static Asset.AccessMode 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 nullpublic int mode()
public static Asset.AccessMode fromInt(int mode)