public enum ExopackageMode extends Enum<ExopackageMode>
Enum Constant and Description |
---|
ARCH64 |
MODULES |
NATIVE_LIBRARY |
RESOURCES |
SECONDARY_DEX |
Modifier and Type | Method and Description |
---|---|
static boolean |
enabledForArch64(EnumSet<ExopackageMode> modes) |
static boolean |
enabledForModules(EnumSet<ExopackageMode> modes) |
static boolean |
enabledForNativeLibraries(EnumSet<ExopackageMode> modes) |
static boolean |
enabledForResources(EnumSet<ExopackageMode> modes) |
static boolean |
enabledForSecondaryDexes(EnumSet<ExopackageMode> modes) |
static int |
toBitmask(EnumSet<ExopackageMode> modes) |
static ExopackageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExopackageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExopackageMode SECONDARY_DEX
public static final ExopackageMode NATIVE_LIBRARY
public static final ExopackageMode RESOURCES
public static final ExopackageMode MODULES
public static final ExopackageMode ARCH64
public static ExopackageMode[] values()
for (ExopackageMode c : ExopackageMode.values()) System.out.println(c);
public static ExopackageMode 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 static boolean enabledForSecondaryDexes(EnumSet<ExopackageMode> modes)
public static boolean enabledForNativeLibraries(EnumSet<ExopackageMode> modes)
public static boolean enabledForResources(EnumSet<ExopackageMode> modes)
public static boolean enabledForModules(EnumSet<ExopackageMode> modes)
public static boolean enabledForArch64(EnumSet<ExopackageMode> modes)
public static int toBitmask(EnumSet<ExopackageMode> modes)