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]

Use Builder.setAgeRestrictedTreatment instead.

Summary

Enum Values

TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE

This enum value is deprecated. Use Builder.setAgeRestrictedTreatment instead.

TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE

This enum value is deprecated. Use Builder.setAgeRestrictedTreatment instead.

TAG_FOR_UNDER_AGE_OF_CONSENT_UNSPECIFIED

This enum value is deprecated. Use Builder.setAgeRestrictedTreatment instead.

Public functions

RequestConfiguration.TagForUnderAgeOfConsent
valueOf(value: String)

This function is deprecated. Use Builder.setAgeRestrictedTreatment instead.

Array<RequestConfiguration.TagForUnderAgeOfConsent>

This function is deprecated. Use Builder.setAgeRestrictedTreatment instead.

Public properties

EnumEntries<RequestConfiguration.TagForUnderAgeOfConsent>

This property is deprecated. Use Builder.setAgeRestrictedTreatment instead.

Int

This property is deprecated. Use Builder.setAgeRestrictedTreatment instead.

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