public enum ApplicationStatus extends java.lang.Enum<ApplicationStatus>
Created by sanghoonkwon on 2018. 1. 10..
| Enum Constant and Description |
|---|
BACKGROUND
app is background
|
FOREGROUND
app is foreground
|
RETURNED_TO_FOREGROUND
app returned to foreground(or first launch)
|
| Modifier and Type | Method and Description |
|---|---|
static ApplicationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationStatus BACKGROUND
public static final ApplicationStatus RETURNED_TO_FOREGROUND
public static final ApplicationStatus FOREGROUND
public static ApplicationStatus[] values()
for (ApplicationStatus c : ApplicationStatus.values()) System.out.println(c);
public static ApplicationStatus 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