Apk

sealed class Apk

Represents an APK split.

Inheritors

Types

Link copied to clipboard
data class Base(val uri: Uri, val name: String, val size: Long, val packageName: String, val versionCode: Long, val versionName: String) : Apk

Base APK.

Link copied to clipboard
object Companion
Link copied to clipboard
data class Feature(val uri: Uri, val name: String, val size: Long, val packageName: String, val versionCode: Long) : Apk

Feature split.

Link copied to clipboard
data class Libs(val uri: Uri, val name: String, val size: Long, val packageName: String, val versionCode: Long, val abi: Abi) : Apk

APK split containing native libraries.

Link copied to clipboard
data class Localization(val uri: Uri, val name: String, val size: Long, val packageName: String, val versionCode: Long, val locale: Locale) : Apk

APK split containing localized resources.

Link copied to clipboard
data class Other(val uri: Uri, val name: String, val size: Long, val packageName: String, val versionCode: Long) : Apk

Unknown APK split.

Link copied to clipboard
data class ScreenDensity(val uri: Uri, val name: String, val size: Long, val packageName: String, val versionCode: Long, val dpi: Dpi) : Apk

APK split containing graphic resources tailored to specific screen density.

Properties

Link copied to clipboard
Link copied to clipboard
open val name: String
Link copied to clipboard
Link copied to clipboard
open val size: Long
Link copied to clipboard
open val uri: Uri
Link copied to clipboard
open val versionCode: Long

Functions

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

Returns whether this APK split is compatible with the device.