public class FRRootDetector extends java.lang.Object implements RootDetector
| Modifier and Type | Class and Description |
|---|---|
static class |
FRRootDetector.FRRootDetectorBuilder |
| Modifier and Type | Field and Description |
|---|---|
static RootDetector |
DEFAULT |
static java.util.List<RootDetector> |
DEFAULT_DETECTORS |
| Modifier and Type | Method and Description |
|---|---|
static FRRootDetector.FRRootDetectorBuilder |
builder() |
java.util.List<RootDetector> |
getDetectors() |
double |
isRooted(android.content.Context context)
Detect the device is rooted.
|
public static final java.util.List<RootDetector> DEFAULT_DETECTORS
public static final RootDetector DEFAULT
public double isRooted(android.content.Context context)
RootDetectorisRooted in interface RootDetectorcontext - The application contextpublic static FRRootDetector.FRRootDetectorBuilder builder()
public java.util.List<RootDetector> getDetectors()