ApplicationMetadata

data class ApplicationMetadata(val package: String, val name: String, val system: String, val versionCode: Int, val version: String, binaryPath: Path)

Data class for the metadata of an application

Parameters

package

String — name of the package

name

String — name of the application

system

String — name of the operating system (Android or iOS)

versionCode

Int — number of the version code

version

String — value of the application version

binaryPath

Path — path of the application file

Constructors

Link copied to clipboard
constructor(package: String, name: String, system: String, versionCode: Int, version: String, binaryPath: Path)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun binary(): File

Get the application binary file.

Link copied to clipboard
suspend fun isVirus(rasp: RASP, threshold: Int = 3): VirusScanStatus

Checks whether the application is a virus or not.

Link copied to clipboard
fun md5(): String

Get the md5 application.

Link copied to clipboard
fun sha1(): String

Get the sha1 application.

Link copied to clipboard
fun sha256(): String

Get the sha256 application.

Link copied to clipboard
fun shrink(context: Context): File

Shrink an application.

Link copied to clipboard
fun size(): Long

Get the application size.