Provide details on the applications scanned as part of malware threat detection. More...
Inherits Threat.
Detects malicious applications or malware on an Android device using AI and machine learning to analyze the app package.
By default malware is automatically scanned within applications targeting Android 10 and below. If your application targets Android 11 (API level 30) you will need to add the required Android permission for your application to be able to query all packages. See Android Developer - Package Visibility.
Public Member Functions | |
int | getAppsDetected () |
Get the number of APK files that were deemed to be malicious. More... | |
ApkInfo[] | getMaliciousApps () |
Get the details of malicious APK files. More... | |
Public Member Functions inherited from Threat | |
ThreatType | getType () |
Indicate the type of threat being checked. More... | |
long | getEvaluatedTime () |
Determine when the check last completed. More... | |
ThreatLevel | getRiskLevel () |
Return the level of risk posed by the threat. More... | |
boolean | getDetectionEnabled () |
Check whether the threat is being evaluated. More... | |
boolean | isEnabled () |
Return whether the detection for this threat is enabled by configuration. More... | |
String | getInfo () |
Get information on possible remediation actions to the threat. More... | |
boolean | isChecked () |
Return if the check has been executed by the runtime. More... | |
int getAppsDetected | ( | ) |
Get the number of APK files that were deemed to be malicious in the last scan. Malicious apps should be immediately uninstalled by the user.