public enum PackageState extends Enum<PackageState>
Added in daily build 2016.2932.
Enum Constant and Description |
---|
DISABLED
Package is installed on the device, but disabled in Settings.
|
ENABLED
Package is installed on the device and enabled.
|
MISSING
The package is not installed on the device.
|
Modifier and Type | Method and Description |
---|---|
static PackageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageState ENABLED
public static final PackageState DISABLED
public static final PackageState MISSING
public static PackageState[] values()
for (PackageState c : PackageState.values()) System.out.println(c);
public static PackageState 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