ConsentRequestParameters.Builder

public final class ConsentRequestParameters.Builder


Builder of ConsentRequestParameters.

Summary

Public constructors

Public methods

ConsentRequestParameters
ConsentRequestParameters.Builder

Sets the ConsentDebugSettings.

ConsentRequestParameters.Builder
@CanIgnoreReturnValue
setTagForUnderAgeOfConsent(boolean tagForUnderAgeOfConsent)

Sets whether the user is tagged for under age of consent.

Public constructors

Builder

public Builder()

Public methods

build

public ConsentRequestParameters build()

setConsentDebugSettings

@CanIgnoreReturnValue
public ConsentRequestParameters.Builder setConsentDebugSettings(
    @Nullable ConsentDebugSettings consentDebugSettings
)

Sets the ConsentDebugSettings.

If null, no debug setting will be used.

setTagForUnderAgeOfConsent

@CanIgnoreReturnValue
public ConsentRequestParameters.Builder setTagForUnderAgeOfConsent(boolean tagForUnderAgeOfConsent)

Sets whether the user is tagged for under age of consent.

Default value is false.