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]

Summary

Enum Values

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

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

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

final @NonNull EnumEntries<@NonNull RequestConfiguration.TagForChildDirectedTreatment>

Allowed constants for Builder.setTagForChildDirectedTreatment.

final int
final @NonNull RequestConfiguration.TagForChildDirectedTreatment

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

final @NonNull RequestConfiguration.TagForChildDirectedTreatment[]

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

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]

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.