Libs

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

APK split containing native libraries.

Constructors

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

Properties

Link copied to clipboard
val abi: Abi

An Abi of the native code contained in this APK file.

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
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.