TamperDetectorProtocol

@MainActor
public protocol TamperDetectorProtocol

A protocol that defines a tamper detector. Each detector is responsible for a specific check to determine if the device is suspicious of being jailbroken.

  • Analyzes the device for a specific tampering indicator.

    Declaration

    Swift

    @MainActor
    func analyze() -> Double

    Return Value

    A score between 0.0 and 1.0, where 1.0 indicates a high probability of tampering.