JailbreakDetector

@objc
public protocol JailbreakDetector

JailbreakDetector protocol represents definition of JailbreakDetector which is used as individual analyzer to detect whether the device is Jailbroken or not. Each detector should analyze its logic to determine whether the device is suspicious to be Jailbroken or not, and returns the result score with maximum of 1.0

  • Analyzes and returns the score of result

    Note

    analyze result MUST returns result in Double within range of 0.0 to 1.0; if the result value is less than 0.0 or greater than 1.0, the result will be forced to floor() or ceil()

    Declaration

    Swift

    @objc
    func analyze() -> Double

    Return Value

    returns result of analysis within range of 0.0 to 1.0