Android 12 Developer Preview is here! Try it out, and give us your feedback!

DefaultContentType

class DefaultContentType : QualifiedContent.ContentType
kotlin.Any
   ↳ kotlin.Enum<com.android.build.api.transform.QualifiedContent.DefaultContentType>
   ↳ com.android.build.api.transform.QualifiedContent.DefaultContentType

The type of of the content.

Summary

Enum values

The content is compiled Java code.

The content is standard Java resources.

Public methods

Int

Enum values

CLASSES

enum val CLASSES : QualifiedContent.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

enum val RESOURCES : QualifiedContent.DefaultContentType

The content is standard Java resources.

Public methods

getValue

fun getValue(): Int