VariantOutputConfiguration.OutputType

Added in 4.2.0

enum VariantOutputConfiguration.OutputType : Enum


The type of an output.

When support for Splits/Multi-APKs is turned on, the output will change from one SINGLE output to multiple ONE_OF_MANY outputs, each with different filters values.

In addition, if universal mode is on, then an additional OutputType.UNIVERSAL output can be found in the list.

Summary

Enum Values

ONE_OF_MANY

Type of multiple output.

SINGLE

Type for single output.

UNIVERSAL

Output for Universal APK.

Public functions

VariantOutputConfiguration.OutputType
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<VariantOutputConfiguration.OutputType>

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

ONE_OF_MANY

val VariantOutputConfiguration.OutputType.ONE_OF_MANYVariantOutputConfiguration.OutputType

Type of multiple output. This type will be used by multiple outputs and each can be differentiated with VariantOutputConfiguration.filters

SINGLE

val VariantOutputConfiguration.OutputType.SINGLEVariantOutputConfiguration.OutputType

Type for single output. This is used when splits/multi-APK support is not turned on

UNIVERSAL

val VariantOutputConfiguration.OutputType.UNIVERSALVariantOutputConfiguration.OutputType

Output for Universal APK. This is only valid if Splits/Multi-APK is on and universal mode was turned on (see com.android.build.api.dsl.AbiSplit.isUniversalApk)

Public functions

valueOf

Added in 4.2.0
fun valueOf(value: String): VariantOutputConfiguration.OutputType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 4.2.0
fun values(): Array<VariantOutputConfiguration.OutputType>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.