Manage which security features are enabled. More...
Class to control the configuration of security features in the runtime.
Classes | |
enum | FeatureStatus |
Enumerator to describe the state of checks for a specific security feature. More... | |
Public Member Functions | |
FeatureStatus | getFeature (ThreatType aFeatureType) |
Returns whether a specific threat detection feature is being evaluated. More... | |
boolean | enableFeature (ThreatType aFeatureType) |
Enable a specific security feature of the library. More... | |
boolean | disableFeature (ThreatType aFeatureType) |
Prevent a specific threat type from being detected by the library. More... | |
FeatureStatus getFeature | ( | ThreatType | aFeatureType | ) |
Returns whether a specific security threat will be detected by the runtime. By default all features are enabled.
aFeatureType | The specific security feature to be checked. |
boolean enableFeature | ( | ThreatType | aFeatureType | ) |
By default all threat types are enabled and any threats detected can be monitored using the ThreatStatus interface. However if a specific feature has been manually disabled, call this method to re-enable it.
aFeatureType | The specific security feature to be enabled. |
true
if the operation was successful. false
if the operation failed. boolean disableFeature | ( | ThreatType | aFeatureType | ) |
To prevent being notified of specific threat type and disable the relevant checks, call this method indicating the ThreatType you wish to disable. For example to disable scanning of application for malware include 'AppMalware' as the ThreatType.
aFeatureType | The specific security feature to be disabled, e.g. SafeMessaging. |
true
if the operation was successful. false
if the operation failed.