Interface VariantOutput

All Known Subinterfaces:
AndroidArtifactOutput, OutputFile

@Deprecated public interface VariantOutput
Deprecated.
basic variant output information
  • Field Details

    • NO_FILTER

      static final String NO_FILTER
      Deprecated.
      An object representing the lack of filter.
    • MAIN

      static final String MAIN
      Deprecated.
      String representation of the OutputType enum which can be used for remote-able interfaces.
    • FULL_SPLIT

      static final String FULL_SPLIT
      Deprecated.
    • DENSITY

      static final String DENSITY
      Deprecated.
      String representations of the FilterType enum which can be used for remote-able interfaces.Ap
    • ABI

      static final String ABI
      Deprecated.
    • LANGUAGE

      static final String LANGUAGE
      Deprecated.
  • Method Details

    • getOutputType

      @NonNull String getOutputType()
      Deprecated.
      Returns the output type of the referenced APK.
    • getFilterTypes

      @NonNull Collection<String> getFilterTypes()
      Deprecated.
      Returns the split dimensions the referenced APK was created with. Each collection's value is the string representation of an element of the VariantOutput.FilterType enum.
    • getFilters

      @NonNull Collection<FilterData> getFilters()
      Deprecated.
      Returns all the split information used to create the APK.
    • getMainOutputFile

      @NonNull OutputFile getMainOutputFile()
      Deprecated.
      Returns the main file for this artifact which can be either the VariantOutput.OutputType.MAIN or VariantOutput.OutputType.FULL_SPLIT
    • getOutputs

      @NonNull @Deprecated Collection<? extends OutputFile> 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.