Monitor Threats

Monitor the status of current threats and receive notifications when the status changes.

  • This class provides the status for all threats or specific threat types. It also includes the overall risk level.

    Add an observer for threatStatusChangedNotification using NotificationCenter to be alerted of new threats. Check ThreatStatus.threatStatusChangedNotification for the details.

    See more

    Declaration

    Swift

    @objc
    public class ThreatStatus : NSObject, InitializationStateProvider
  • Interface for retrieving threat details for a specific threat type.

    This is an abstract class and it shoud not be used directly. Create your own subclass to use the functionality of this class.

    See more

    Declaration

    Swift

    @objc
    public class Threat : NSObject, InitializationStateProvider
  • Enumeration to indicate the level of risk posed by a threat.

    The overall threat level is returned as part of overallThreatLevel property of ThreatStatus. The risk for some specific threat (in code they’re represented as Threat subclasses) can be found in riskLevel property.

    To determine if the specific threat is being evaluated you can use isDetectionEnabled property of the Threat subclass

    See more

    Declaration

    Swift

    @objc
    public enum ThreatLevel : Int, CaseIterable
  • The enumeration for types of threats detected by the runtime.

    See more

    Declaration

    Swift

    @objc
    public enum ThreatType : Int, CaseIterable
  • Provide details of a possible threat due to the device being offline and unable to communicate with BlackBerry servers.

    See more

    Declaration

    Swift

    @objc
    public final class ThreatDeviceOffline : Threat
  • Provide details of threats related to the device. A range of checks are performed to determine the security health of the user’s device. For example, if the device is jailbroken, if the user has set a screen lock or if a debugger is attached to the process.

    See more

    Declaration

    Swift

    @objc
    public final class ThreatDeviceSecurity : Threat
  • Provides details of threats related to the device operating system software.

    Checks are made against the device OS version and model of the device to confirm they meet the minimum standards required.

    See more

    Declaration

    Swift

    @objc
    public final class ThreatDeviceSoftware : Threat