Package com.android.build.gradle.api
Class ApkOutputFile
java.lang.Object
com.android.build.gradle.api.ApkOutputFile
- All Implemented Interfaces:
com.android.build.OutputFile,com.android.build.VariantOutput,Serializable
@Deprecated
public class ApkOutputFile
extends Object
implements com.android.build.OutputFile, Serializable
Deprecated.
Represents a resource output from a variant configuration.
Depending on split requirements, there can be more than one output from aapt tool and each output file is represented by an instance of this class.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.android.build.VariantOutput
com.android.build.VariantOutput.FilterType, com.android.build.VariantOutput.OutputType -
Field Summary
Fields inherited from interface com.android.build.VariantOutput
ABI, DENSITY, FULL_SPLIT, LANGUAGE, MAIN, NO_FILTER -
Constructor Summary
ConstructorsConstructorDescriptionApkOutputFile(com.android.build.VariantOutput.OutputType outputType, Collection<com.android.build.FilterData> filters, Callable<File> outputFile, int versionCode) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the split identifier (like "hdpi" for a density split) given the split dimension.getFilterByType(com.android.build.VariantOutput.FilterType filterType) Deprecated.Collection<com.android.build.FilterData>Deprecated.Deprecated.com.android.build.OutputFileDeprecated.Deprecated.Collection<? extends com.android.build.OutputFile>Deprecated.Deprecated.com.android.build.VariantOutput.OutputTypegetType()Deprecated.intDeprecated.toString()Deprecated.
-
Constructor Details
-
ApkOutputFile
public ApkOutputFile(@NonNull com.android.build.VariantOutput.OutputType outputType, @NonNull Collection<com.android.build.FilterData> filters, @NonNull Callable<File> outputFile, int versionCode) Deprecated.
-
-
Method Details
-
getMainOutputFile
@NonNull public com.android.build.OutputFile getMainOutputFile()Deprecated.- Specified by:
getMainOutputFilein interfacecom.android.build.VariantOutput
-
getOutputs
Deprecated.- Specified by:
getOutputsin interfacecom.android.build.VariantOutput
-
getType
@NonNull public com.android.build.VariantOutput.OutputType getType()Deprecated. -
getOutputFile
Deprecated.- Specified by:
getOutputFilein interfacecom.android.build.OutputFile
-
getFilters
Deprecated.- Specified by:
getFiltersin interfacecom.android.build.VariantOutput
-
toString
Deprecated. -
getOutputType
Deprecated.- Specified by:
getOutputTypein interfacecom.android.build.VariantOutput
-
getFilterTypes
Deprecated.- Specified by:
getFilterTypesin interfacecom.android.build.VariantOutput
-
getFilterByType
Deprecated. -
getFilter
Deprecated.Returns the split identifier (like "hdpi" for a density split) given the split dimension.- Parameters:
filterType- the string representation ofSplitTypesplit dimension used to create the APK.- Returns:
- the split identifier or null if there was not split of that dimension.
-
getVersionCode
public int getVersionCode()Deprecated.- Specified by:
getVersionCodein interfacecom.android.build.VariantOutput
-