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

ContentType

interface ContentType
com.android.build.api.transform.QualifiedContent.ContentType

A content type that is requested through the transform API.

Summary

Public methods

abstract Int

A unique value for a content type.

abstract String!

Content type name, readable by humans.

Public methods

getValue

abstract fun getValue(): Int

A unique value for a content type.

name

abstract fun name(): String!

Content type name, readable by humans.

Return
String!: the string content type name