EMOobJailbreakPolicy

Objective-C

enum EMOobJailbreakPolicy : NSInteger {}

Swift

enum EMOobJailbreakPolicy : Int, @unchecked Sendable

The OOB behavior policy of the Mobile Protector SDK when the physical device is detected as being rooted.

Since

4.0
  • No action is taken when calling any OOB related API of Mobile Protector SDK even the physical device is jailbroken.

    Declaration

    Objective-C

    EMOobJailbreakPolicyIgnore

    Swift

    case ignore = 0
  • A RootPolicyException is thrown when calling a method in the Mobile Protector SDK that detects if the physical device is jailbroken. Notice! This is the default jailbroken policy.

    Declaration

    Objective-C

    EMOobJailbreakPolicyFail

    Swift

    case fail = 1
  • A RootPolicyException is thrown and client is silently unregistered when calling a method in the Mobile Protector SDK that detects if the physical device is jailbroken.

    Declaration

    Objective-C

    EMOobJailbreakPolicyUnregister

    Swift

    case unregister = 2