RequestConfiguration.TagForChildDirectedTreatment

enum RequestConfiguration.TagForChildDirectedTreatment : 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 functions

RequestConfiguration.TagForChildDirectedTreatment
valueOf(value: String)

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

Array<RequestConfiguration.TagForChildDirectedTreatment>

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

Public properties

EnumEntries<RequestConfiguration.TagForChildDirectedTreatment>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Int

Enum Values

TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE

val RequestConfiguration.TagForChildDirectedTreatment.TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSERequestConfiguration.TagForChildDirectedTreatment

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

val RequestConfiguration.TagForChildDirectedTreatment.TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUERequestConfiguration.TagForChildDirectedTreatment

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

val RequestConfiguration.TagForChildDirectedTreatment.TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIEDRequestConfiguration.TagForChildDirectedTreatment

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

Public functions

valueOf

fun valueOf(value: String): RequestConfiguration.TagForChildDirectedTreatment

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.TagForChildDirectedTreatment>

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.TagForChildDirectedTreatment>

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