DeviceSecurityRules

@objc
public class DeviceSecurityRules : NSObject, InitializationStateProvider

Control which device security checks will be evaluated.

Control which device security checks will be evaluated when the application launches and when checkDeviceSecurity() is called.

The following demonstrates how to only enable jailbreak detection:

    // Initialize rules
    var deviceSecurityRules = DeviceSecurityRules(featureStatus: .disabled)

    // Enable jailbreak detection.
    deviceSecurityRules = deviceSecurityRule.enableCheck(.jailbreakDetection)

    // Set the new rules.
    ManageRules.setDeviceSecurityRules(deviceSecurityRules)