FileDetector

abstract class FileDetector : RootDetector

Check file exists in predefined path

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
protected val PATHS: Array<String>

Functions

Link copied to clipboard
private open fun exists(filename: String): Boolean
Link copied to clipboard
protected abstract fun getFilenames(): Array<String>
Link copied to clipboard
private open fun getPaths(): Array<String>
Link copied to clipboard
open fun isRooted(context: Context): Double
Detect the device is rooted.