public static enum RootDetector.RootStatus extends Enum<RootDetector.RootStatus>
Enum Constant and Description |
---|
NOT_ROOTED
Non rooted device.
|
ROOTED
Rooted device.
|
Modifier and Type | Method and Description |
---|---|
static RootDetector.RootStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RootDetector.RootStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RootDetector.RootStatus NOT_ROOTED
public static final RootDetector.RootStatus ROOTED
public static RootDetector.RootStatus[] values()
for (RootDetector.RootStatus c : RootDetector.RootStatus.values()) System.out.println(c);
public static RootDetector.RootStatus 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