com.android.build
Interface SplitOutput


public interface SplitOutput

An output with an associated set of filters.


Field Summary
static java.lang.String NO_FILTER
          An object representing the lack of filter.
 
Method Summary
 java.lang.String getAbiFilter()
          The ABI filter if applicable.
 java.lang.String getDensityFilter()
          The density filter if applicable.
 java.io.File getOutputFile()
          Returns the output file for this artifact's output.
 int getVersionCode()
          The output versionCode.
 

Field Detail

NO_FILTER

static final java.lang.String NO_FILTER
An object representing the lack of filter.

Method Detail

getOutputFile

@NonNull
java.io.File getOutputFile()
Returns the output file for this artifact's output. Depending on whether the project is an app or a library project, this could be an apk or an aar file. For test artifact for a library project, this would also be an apk.

Returns:
the output file.

getDensityFilter

@Nullable
java.lang.String getDensityFilter()
The density filter if applicable.

Returns:
the density filter or null if not applicable.

getAbiFilter

@Nullable
java.lang.String getAbiFilter()
The ABI filter if applicable.

Returns:
the ABI filter or null if not applicable.

getVersionCode

int getVersionCode()
The output versionCode. In case of multi-apk, the version code of each apk is different.

Returns:
the versionCode