• BlackBerry Spark
  • Security library for Android applications
  • 0.6.0.1366-beta
ManageRules Class Reference

Class to manage the behavior of specific security features.

Public Member Functions

boolean setPasswordStrengthRules (PasswordStrengthRules rules)
 Update the rules defining password strength criteria. More...
 
PasswordStrengthRules getPasswordStrengthRules ()
 Return the rules for password strength checking.
 
boolean setMalwareScanRules (MalwareScanRules rules)
 Update the rules defining when and how malware is scanned. More...
 
MalwareScanRules getMalwareScanRules ()
 Return the rules for scanning malware.
 
boolean setContentCheckerRules (ContentCheckerRules rules)
 Update the rules on how content is checked.
 
ContentCheckerRules getContentCheckerRules ()
 Return the rules which define how content is checked.
 
boolean setDeviceOfflineRules (DeviceOfflineRules rules)
 Update the rules for connectivity loss.
 
DeviceOfflineRules getDeviceOfflineRules ()
 Return the rules for connectivity loss.
 
boolean setDeviceSecurityRules (DeviceSecurityRules rules)
 Update how the device security is evaluated.
 
DeviceSecurityRules getDeviceSecurityRules ()
 Return the rules which define how the device security is evaluated.
 
boolean setDeviceSoftwareRules (DeviceSoftwareRules rules)
 Set the minimum version of operating system or security patch levels permitted on the device.
 
DeviceSoftwareRules getDeviceSoftwareRules ()
 Return the minimum versions of software or security patches which are permitted on the device.
 
boolean setDataCollectionRules (DataCollectionRules rules)
 Set data collection rules (enabled, month upload limit, upload type)
 
DataCollectionRules getDataCollectionRules ()
 Return data collection rules (enabled, month upload limit, upload type)
 

Member Function Documentation

◆ setPasswordStrengthRules()

boolean setPasswordStrengthRules ( PasswordStrengthRules  rules)

Update the rules defining password strength criteria

Parameters
rulesPasswordStrengthRules object containing the new rules to be set.

◆ setMalwareScanRules()

boolean setMalwareScanRules ( MalwareScanRules  rules)

Update the rules on how the scan is triggered and how applications are uploaded for scanning.

Parameters
rulesMalwareScanRules object containing the new rules to be set.