QualifiedContent.DefaultContentType

Added in 4.2.0
Deprecated in 7.0.0

enum QualifiedContent.DefaultContentType : QualifiedContent.ContentType


The type of of the content.

Summary

Enum Values

CLASSES

The content is compiled Java code.

RESOURCES

The content is standard Java resources.

Public functions

java-static QualifiedContent.DefaultContentType!
valueOf(name: String!)

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

java-static Array<QualifiedContent.DefaultContentType!>!

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

Public properties

Int

Inherited functions

From com.android.build.api.transform.QualifiedContent.ContentType
abstract String!

Content type name, readable by humans.

Enum Values

CLASSES

val QualifiedContent.DefaultContentType.CLASSESQualifiedContent.DefaultContentType

The content is compiled Java code. This can be in a Jar file or in a folder. If in a folder, it is expected to in sub-folders matching package names.

RESOURCES

val QualifiedContent.DefaultContentType.RESOURCESQualifiedContent.DefaultContentType

The content is standard Java resources.

Public functions

valueOf

Added in 4.2.0
java-static fun valueOf(name: String!): QualifiedContent.DefaultContentType!

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.)

Returns
QualifiedContent.DefaultContentType!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 4.2.0
java-static fun values(): Array<QualifiedContent.DefaultContentType!>!

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.

Returns
Array<QualifiedContent.DefaultContentType!>!

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

Public properties

value

Added in 8.3.2
Deprecated in 8.3.2
val valueInt