ScreenDensity

data class ScreenDensity @JvmOverloads constructor(val uri: Uri, val name: String, val size: Long, val packageName: String, val versionCode: Long, val dpi: Dpi, val configForSplit: String = "") : Apk, Apk.ConfigSplit

APK split containing graphic resources tailored to specific screen density.

Constructors

Link copied to clipboard
constructor(uri: Uri, name: String, size: Long, packageName: String, versionCode: Long, dpi: Dpi, configForSplit: String = "")

Properties

Link copied to clipboard
open override val configForSplit: String

Name of the split which this configuration APK is intended for.

Link copied to clipboard

Description of the APK split.

Link copied to clipboard
val dpi: Dpi

A Dpi of the graphical resources contained in this APK file.

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.