SplitPackage

Constructors

Types

Link copied to clipboard
object Companion

This companion object contains factories of SplitPackage.Provider.

Link copied to clipboard
data class DynamicFeature(val feature: Apk.Feature, val libs: List<SplitPackage.Entry<Apk.Libs>>, val screenDensity: List<SplitPackage.Entry<Apk.ScreenDensity>>, val localization: List<SplitPackage.Entry<Apk.Localization>>)

APK splits of a dynamic feature.

Link copied to clipboard
data class Entry<out T : Apk>(val isPreferred: Boolean, val apk: T)

A SplitPackage entry.

Link copied to clipboard
fun interface Provider

A lazy provider of SplitPackage which also allows to form a transformation pipeline before actual creation will take place.

Properties

Link copied to clipboard

A list of all base APKs inside of the split package.

Link copied to clipboard

A list of all dynamic features inside of the split package.

Link copied to clipboard

A list of all APKs with native libraries inside of the split package.

Link copied to clipboard

A list of all APKs with localized resources inside of the split package.

Link copied to clipboard

A list of all unknown APK splits inside of the split package.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Returns a SplitPackage containing only APK splits which are the most preferred for the device by examining every entry's isPreferred flag.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns a new list populated with all APK splits contained in this split package.

Link copied to clipboard
open override fun toString(): String