FRJailbreakDetector
@objc
public class FRJailbreakDetector : NSObject
JailbreakDetector is responsible to analyze and provide possibilities in score whether the device is suspicious for Jailbreak or not
-
Singleton instance of JailbreakDetector
Declaration
Swift
@objc public static let shared: FRJailbreakDetector
-
An array of JailbreakDetector to be analyzed
Declaration
Swift
@objc public var detectors: [JailbreakDetector]
-
Private initialization method which initializes default array of JailbreakDetector
Declaration
Swift
public override init()
-
Analyzes and returns the result of given JailbreakDetector
Note
Any detector returns the result value less than 0.0 or greater than 1.0 will be rounded to a range of 0.0 to 1.0.
Declaration
Swift
@objc public func analyze() -> Double
Return Value
returns result of analysis of all given detectors