Package com.android.build
Interface VariantOutput
- All Known Subinterfaces:
AndroidArtifactOutput,OutputFile
Deprecated.
basic variant output information
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDeprecated.Split dimension typestatic enumDeprecated.Type of package file, either the main APK or a full split APK file containing resources for a particular split dimension. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.String representations of the FilterType enum which can be used for remote-able interfaces.Apstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.String representation of the OutputType enum which can be used for remote-able interfaces.static final StringDeprecated.An object representing the lack of filter. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns all the split information used to create the APK.Deprecated.Returns the split dimensions the referenced APK was created with.Deprecated.Returns the main file for this artifact which can be either theVariantOutput.OutputType.MAINorVariantOutput.OutputType.FULL_SPLITCollection<? extends OutputFile>Deprecated.Deprecated.Returns the output type of the referenced APK.intDeprecated.Returns the version code for this output.
-
Field Details
-
NO_FILTER
Deprecated.An object representing the lack of filter. -
MAIN
Deprecated.String representation of the OutputType enum which can be used for remote-able interfaces. -
FULL_SPLIT
Deprecated. -
DENSITY
Deprecated.String representations of the FilterType enum which can be used for remote-able interfaces.Ap -
ABI
Deprecated. -
LANGUAGE
Deprecated.
-
-
Method Details
-
getOutputType
Deprecated.Returns the output type of the referenced APK. -
getFilterTypes
Deprecated.Returns the split dimensions the referenced APK was created with. Each collection's value is the string representation of an element of theVariantOutput.FilterTypeenum. -
getFilters
Deprecated.Returns all the split information used to create the APK. -
getMainOutputFile
Deprecated.Returns the main file for this artifact which can be either theVariantOutput.OutputType.MAINorVariantOutput.OutputType.FULL_SPLIT -
getOutputs
Deprecated.All the output files for this artifacts, contains the main APK and optionally a list of split APKs. -
getVersionCode
int getVersionCode()Deprecated.Returns the version code for this output.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.
- Returns:
- the version code.
-