RequestConfiguration.TagForUnderAgeOfConsent

public enum RequestConfiguration.TagForUnderAgeOfConsent extends 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 methods

final @NonNull EnumEntries<@NonNull RequestConfiguration.TagForUnderAgeOfConsent>

Allowed constants for Builder.setTagForUnderAgeOfConsent.

final int
final @NonNull RequestConfiguration.TagForUnderAgeOfConsent

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

final @NonNull RequestConfiguration.TagForUnderAgeOfConsent[]

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

Enum Values

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

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

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

getEntries

public final @NonNull EnumEntries<@NonNull RequestConfiguration.TagForUnderAgeOfConsentgetEntries()

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]

getValue

public final int getValue()

valueOf

public final @NonNull RequestConfiguration.TagForUnderAgeOfConsent valueOf(@NonNull String value)

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

public final @NonNull RequestConfiguration.TagForUnderAgeOfConsent[] values()

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.