Interface for retrieving threat details for a specific BBDThreatType.
#import <BlackBerryDynamics/GD/GDThreat.h>
◆ getType
Indicate the specific type of threat being checked.
- Returns
- BBDThreatType.
◆ getEvaluatedTime
- (long) getEvaluatedTime |
|
|
|
Return the timestamp of when the threat was last evaluated. For example, when a malware scan was last completed.
- Returns
long
Unix timestamp in milliseconds of when the check last ran. The result is 0 if checks have not yet been performed, for example after the app hosting the runtime has just been installed.
◆ getRiskLevel
Return the level of risk posed by the threat.
- Returns
- BBDThreatLevel
◆ getDetectionEnabled
- (BOOL) getDetectionEnabled |
|
|
|
Check whether the threat is being evaluated by the runtime. If detection is not enabled it may be because the feature hasn't been enabled by the enterprise administrator. Alternatively for some threats, like GeoZone, the end user is required to allow a specific a system permission, e.g. location, in order for the runtime to be able to perform checks. If a required permission is not allowed by the user the threat detection will be disabled.
- Returns
YES
if the detection is enabled.
-
NO
if detection is disabled.
◆ getInfo
Return a string providing any possible remediation actions or further details about the threat.
- Returns
NSString
providing remediation information.
◆ NS_UNAVAILABLE [1/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [2/2]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
The documentation for this class was generated from the following file: