PackageDetector

abstract class PackageDetector : RootDetector

User Package Manager and see if application is installed.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
private val TAG: String

Functions

Link copied to clipboard
open fun exists(context: Context, packages: Array<String>): Boolean
Link copied to clipboard
protected abstract fun getPackages(): Array<String>
Link copied to clipboard
open fun isRooted(context: Context): Double
Detect the device is rooted.