EMTokenJailbreakPolicy
Objective-C
enum EMTokenJailbreakPolicy : NSInteger {}
Swift
enum EMTokenJailbreakPolicy : Int, @unchecked Sendable
The token policy of the Mobile Protector SDK when the physical device is detected as being jailbroken.
Since
4.0-
No action is taken when calling any token operation related method of Mobile Protector SDK even the physical device is jailbroken.
Declaration
Objective-C
EMTokenJailbreakPolicyIgnoreSwift
case ignore = 0 -
A EMJailbreakError is returned via the error parameter when calling a method in the Mobile Protector SDK that detects if the physical device is jailbroken.
Declaration
Objective-C
EMTokenJailbreakPolicyFailSwift
case fail = 1 -
A EMJailbreakError is returned via the error parameter and the associated token is silently removed when calling a method in the Mobile Protector SDK that detects if the physical device is jailbroken.
Declaration
Objective-C
EMTokenJailbreakPolicyRemoveTokenSwift
case removeToken = 2 -
A EMJailbreakErrorDomain is returned via the error parameter and all tokens are silently removed when calling a method in the Mobile Protector SDK that detects if the physical device is jailbroken.
Declaration
Objective-C
EMTokenJailbreakPolicyRemoveAllTokensSwift
case removeAllTokens = 3
EMTokenJailbreakPolicy Enumeration Reference