public enum PackageInstallerEvent extends java.lang.Enum<PackageInstallerEvent>
| Enum Constant and Description |
|---|
INSTALL_TERMINATED
Install termination event.
|
UNINSTALL_TERMINATED
Uninstall termination event.
|
UNKNOWN_TERMINATED
Unknown termination event.
|
UPGRADE_TERMINATED
Upgrade termination event.
|
| Modifier and Type | Method and Description |
|---|---|
static PackageInstallerEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PackageInstallerEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageInstallerEvent UNKNOWN_TERMINATED
public static final PackageInstallerEvent INSTALL_TERMINATED
public static final PackageInstallerEvent UNINSTALL_TERMINATED
public static final PackageInstallerEvent UPGRADE_TERMINATED
public static PackageInstallerEvent[] values()
for (PackageInstallerEvent c : PackageInstallerEvent.values()) System.out.println(c);
public static PackageInstallerEvent valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null