Feature

data class Feature(val uri: Uri, val name: String, val size: Long, val packageName: String, val versionCode: Long) : Apk

Feature split.

Constructors

Link copied to clipboard
constructor(uri: Uri, name: String, size: Long, packageName: String, versionCode: Long)

Properties

Link copied to clipboard

Description of the APK split.

Link copied to clipboard
open override val name: String

Split name of the APK.

Link copied to clipboard
open override val packageName: String

Package name of the APK file.

Link copied to clipboard
open override val size: Long

Size of the APK file in bytes.

Link copied to clipboard
open override val uri: Uri

Uri of the APK file.

Link copied to clipboard
open override val versionCode: Long

An internal version number of the APK file.

Functions

Link copied to clipboard
open override fun isCompatible(context: Context): Boolean

Returns whether this APK split is compatible with the device.