Helps to construct MalwareScanRules that control how malware is scanned. More...
The following sample code demonstrates how to update the rules.
Public Member Functions | |
Builder | scanningEnabled (boolean enabled) |
Set to true to enable malware scanning. More... | |
Builder | allowedUploadType (UploadType uploadType) |
Set which network will be used to upload applications for scanning. More... | |
Builder | scanTrigger (MalwareScanTrigger scanTrigger) |
Set how a scan will be triggered. More... | |
Builder | setUploadSizeLimits (UploadType uploadType, int perAPK, int monthlyLimit) |
Set data upload limits. More... | |
MalwareScanRules | build () |
Creates a MalwareScanRules instance. More... | |
Builder scanningEnabled | ( | boolean | enabled | ) |
Set to true to enable malware scanning.
Builder allowedUploadType | ( | UploadType | uploadType | ) |
Set to either use Wi-Fi, Cellular or both types of networks when uploading applications which require scanning.
Builder scanTrigger | ( | MalwareScanTrigger | scanTrigger | ) |
Set whether to trigger a malware scan when other applications on the device are installed or updated (CONTINUOUS), or just once when this application starts (INITIAL)
Builder setUploadSizeLimits | ( | UploadType | uploadType, |
int | perAPK, | ||
int | monthlyLimit | ||
) |
Set per item and monthly data upload limits for WiFi and Cellar in MBs.
MalwareScanRules build | ( | ) |
Creates a MalwareScanRules instance.