public static enum ApplicationEvent.Type extends Enum<ApplicationEvent.Type>
Enum Constant and Description |
---|
APP_ACTIVATED
Signifies that an application has been activated.
|
APP_DEACTIVATED
Signifies that an application has been deactivated.
|
APP_INSTALLED
Signifies that an application has been installed.
|
APP_PERMISSIONS_CHANGED
Signifies that application granted permissions have changed.
|
APP_UNINSTALLED
Signifies that an application has been uninstalled.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationEvent.Type APP_INSTALLED
public static final ApplicationEvent.Type APP_ACTIVATED
public static final ApplicationEvent.Type APP_DEACTIVATED
public static final ApplicationEvent.Type APP_UNINSTALLED
public static final ApplicationEvent.Type APP_PERMISSIONS_CHANGED
public static ApplicationEvent.Type[] values()
for (ApplicationEvent.Type c : ApplicationEvent.Type.values()) System.out.println(c);
public static ApplicationEvent.Type 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