RequestConfiguration.TagForUnderAgeOfConsent

enum RequestConfiguration.TagForUnderAgeOfConsent : Enum


Allowed constants for Builder.setTagForUnderAgeOfConsent.

Supported constants:

  • [TAG_FOR_UNDER_AGE_OF_CONSENT_UNSPECIFIED]
  • [TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE]
  • [TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE]

Summary

Enum Values

TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE

Indicates the publisher specified that the ad request should not receive treatment for users in the European Economic Area (EEA) under the age of consent.

TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE

Indicates the publisher specified that the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent.

TAG_FOR_UNDER_AGE_OF_CONSENT_UNSPECIFIED

Indicates that the publisher has not specified whether the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent.

Public functions

RequestConfiguration.TagForUnderAgeOfConsent
valueOf(value: String)

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

Array<RequestConfiguration.TagForUnderAgeOfConsent>

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

Public properties

EnumEntries<RequestConfiguration.TagForUnderAgeOfConsent>

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

Int

Enum Values

val RequestConfiguration.TagForUnderAgeOfConsent.TAG_FOR_UNDER_AGE_OF_CONSENT_FALSERequestConfiguration.TagForUnderAgeOfConsent

Indicates the publisher specified that the ad request should not receive treatment for users in the European Economic Area (EEA) under the age of consent.

val RequestConfiguration.TagForUnderAgeOfConsent.TAG_FOR_UNDER_AGE_OF_CONSENT_TRUERequestConfiguration.TagForUnderAgeOfConsent

Indicates the publisher specified that the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent.

val RequestConfiguration.TagForUnderAgeOfConsent.TAG_FOR_UNDER_AGE_OF_CONSENT_UNSPECIFIEDRequestConfiguration.TagForUnderAgeOfConsent

Indicates that the publisher has not specified whether the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent.

Public functions

valueOf

fun valueOf(value: String): RequestConfiguration.TagForUnderAgeOfConsent

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

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

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 valueInt