RequestConfiguration.TagForChildDirectedTreatment

public enum RequestConfiguration.TagForChildDirectedTreatment extends Enum


Allowed constants for Builder.setTagForChildDirectedTreatment.

Supported constants:

  • [TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED]
  • [TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE]
  • [TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE]

Use Builder.setAgeRestrictedTreatment instead.

Summary

Enum Values

TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE

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

TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE

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

TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED

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

Public methods

final @NonNull EnumEntries<@NonNull RequestConfiguration.TagForChildDirectedTreatment>

This method is deprecated. Use Builder.setAgeRestrictedTreatment instead.

final int

This method is deprecated. Use Builder.setAgeRestrictedTreatment instead.

final @NonNull RequestConfiguration.TagForChildDirectedTreatment

This method is deprecated. Use Builder.setAgeRestrictedTreatment instead.

final @NonNull RequestConfiguration.TagForChildDirectedTreatment[]

This method is deprecated. Use Builder.setAgeRestrictedTreatment instead.

Enum Values

TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE

RequestConfiguration.TagForChildDirectedTreatment RequestConfiguration.TagForChildDirectedTreatment.TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE

Indicates that ad requests should not be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE

RequestConfiguration.TagForChildDirectedTreatment RequestConfiguration.TagForChildDirectedTreatment.TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE

Indicates that ad requests should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED

RequestConfiguration.TagForChildDirectedTreatment RequestConfiguration.TagForChildDirectedTreatment.TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED

Provides no indication whether ad requests should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

Public methods

getEntries

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

Allowed constants for Builder.setTagForChildDirectedTreatment.

Supported constants:

  • [TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED]
  • [TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE]
  • [TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE]

Use Builder.setAgeRestrictedTreatment instead.

getValue

public final int getValue()

valueOf

public final @NonNull RequestConfiguration.TagForChildDirectedTreatment 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.TagForChildDirectedTreatment[] 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.