ConsentSettings

@AutoValue
abstract class ConsentSettings


Various settings to the PAL SDK related to privacy and regulations. The settings can help make decisions about the choice regarding the identifiers used while generating nonce signals.

Summary

Nested types

A builder for generating ConsentSettings objects.

Public constructors

Public functions

java-static ConsentSettings.Builder!

A builder for generating ConsentSettings objects.

abstract Boolean!

Sets whether PAL is used for an ad request directed to a child or user of unknown age, according to Google Play policy.

abstract Boolean

Gets whether Limited Ads mode was forced.

abstract ConsentSettings.Builder!

Returns a ConsentSettings.Builder with the same settings as the current instance of ConsentSettings.

Public constructors

ConsentSettings

ConsentSettings()

Public functions

builder

java-static fun builder(): ConsentSettings.Builder!

A builder for generating ConsentSettings objects.

directedForChildOrUnknownAge

abstract fun directedForChildOrUnknownAge(): Boolean!

Sets whether PAL is used for an ad request directed to a child or user of unknown age, according to Google Play policy.

forceLimitedAds

abstract fun forceLimitedAds(): Boolean

Gets whether Limited Ads mode was forced.

toBuilder

abstract fun toBuilder(): ConsentSettings.Builder!

Returns a ConsentSettings.Builder with the same settings as the current instance of ConsentSettings.