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]

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 methods

final @NonNull EnumEntries<@NonNull RequestConfiguration.TagForUnderAgeOfConsent>

This method is deprecated. Use Builder.setAgeRestrictedTreatment instead.

final int

This method is deprecated. Use Builder.setAgeRestrictedTreatment instead.

final @NonNull RequestConfiguration.TagForUnderAgeOfConsent

This method is deprecated. Use Builder.setAgeRestrictedTreatment instead.

final @NonNull RequestConfiguration.TagForUnderAgeOfConsent[]

This method is deprecated. Use Builder.setAgeRestrictedTreatment instead.

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]

Use Builder.setAgeRestrictedTreatment instead.

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.