RequestConfiguration.MaxAdContentRating

enum RequestConfiguration.MaxAdContentRating : Enum


Allowed constants for Builder.setMaxAdContentRating.

Supported constants:

  • [MAX_AD_CONTENT_RATING_UNSPECIFIED]
  • [MAX_AD_CONTENT_RATING_G]
  • [MAX_AD_CONTENT_RATING_PG]
  • [MAX_AD_CONTENT_RATING_T]
  • [MAX_AD_CONTENT_RATING_MA]

Summary

Enum Values

MAX_AD_CONTENT_RATING_G

Content suitable for general audiences, including families.

MAX_AD_CONTENT_RATING_MA

Content suitable only for mature audiences.

MAX_AD_CONTENT_RATING_PG

Content suitable for most audiences with parental guidance.

MAX_AD_CONTENT_RATING_T

Content suitable for teen and older audiences.

MAX_AD_CONTENT_RATING_UNSPECIFIED

No specified content rating.

Public functions

RequestConfiguration.MaxAdContentRating
valueOf(value: String)

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

Array<RequestConfiguration.MaxAdContentRating>

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

Public properties

EnumEntries<RequestConfiguration.MaxAdContentRating>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

String

Enum Values

MAX_AD_CONTENT_RATING_G

val RequestConfiguration.MaxAdContentRating.MAX_AD_CONTENT_RATING_GRequestConfiguration.MaxAdContentRating

Content suitable for general audiences, including families.

MAX_AD_CONTENT_RATING_MA

val RequestConfiguration.MaxAdContentRating.MAX_AD_CONTENT_RATING_MARequestConfiguration.MaxAdContentRating

Content suitable only for mature audiences.

MAX_AD_CONTENT_RATING_PG

val RequestConfiguration.MaxAdContentRating.MAX_AD_CONTENT_RATING_PGRequestConfiguration.MaxAdContentRating

Content suitable for most audiences with parental guidance.

MAX_AD_CONTENT_RATING_T

val RequestConfiguration.MaxAdContentRating.MAX_AD_CONTENT_RATING_TRequestConfiguration.MaxAdContentRating

Content suitable for teen and older audiences.

Public functions

valueOf

fun valueOf(value: String): RequestConfiguration.MaxAdContentRating

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

fun values(): Array<RequestConfiguration.MaxAdContentRating>

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.

Public properties

entries

val entriesEnumEntries<RequestConfiguration.MaxAdContentRating>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

value

val valueString