public abstract class PackageDetector extends java.lang.Object implements RootDetector
| Constructor and Description |
|---|
PackageDetector() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String[] |
getPackages() |
double |
isRooted(android.content.Context context)
Detect the device is rooted.
|
public double isRooted(android.content.Context context)
RootDetectorisRooted in interface RootDetectorcontext - The application contextprotected abstract java.lang.String[] getPackages()