public interface ApkInfo
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.Collection<com.android.build.FilterData> |
getFilters()
Returns all the split information used to create the APK.
|
com.android.build.VariantOutput.OutputType |
getType()
Returns the output type of the referenced APK.
|
int |
getVersionCode()
Returns the version code for this output.
|
static ApkInfo |
of(com.android.build.VariantOutput.OutputType outputType,
java.util.Collection<com.android.build.FilterData> filters,
int versionCode) |
@NonNull com.android.build.VariantOutput.OutputType getType()
@NonNull java.util.Collection<com.android.build.FilterData> getFilters()
int getVersionCode()
This is convenient method that returns the final version code whether it's coming from the override set in the output or from the variant's merged flavor.
static ApkInfo of(com.android.build.VariantOutput.OutputType outputType, java.util.Collection<com.android.build.FilterData> filters, int versionCode)