Class BuildTagsDetector
- java.lang.Object
-
- org.forgerock.android.auth.detector.BuildTagsDetector
-
- All Implemented Interfaces:
RootDetector
public class BuildTagsDetector extends java.lang.Object implements RootDetector
Release-Keys and Test-Keys has to do with how the kernel is signed when it is compiled. Test-Keys means it was signed with a custom key generated by a third-party developer.
-
-
Constructor Summary
Constructors Constructor Description BuildTagsDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleisRooted(android.content.Context context)Detect the device is rooted.
-
-
-
Method Detail
-
isRooted
public double isRooted(android.content.Context context)
Description copied from interface:RootDetectorDetect the device is rooted.- Specified by:
isRootedin interfaceRootDetector- Parameters:
context- The application context- Returns:
- 0 - 1 How likely the device is rooted, 0 - not likely, 0.5 - likely, 1 - Very likely
-
-