ConsentSettings

@AutoValue
public 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 methods

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

public ConsentSettings()

Public methods

builder

public static ConsentSettings.Builder builder()

A builder for generating ConsentSettings objects.

directedForChildOrUnknownAge

public abstract Boolean directedForChildOrUnknownAge()

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

forceLimitedAds

public abstract boolean forceLimitedAds()

Gets whether Limited Ads mode was forced.

toBuilder

public abstract ConsentSettings.Builder toBuilder()

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