ConsentRequestParameters.Builder

class ConsentRequestParameters.Builder


Builder of ConsentRequestParameters.

Summary

Public constructors

Public functions

ConsentRequestParameters!
ConsentRequestParameters.Builder!

Sets the ConsentDebugSettings.

ConsentRequestParameters.Builder!

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

Public constructors

Builder

Builder()

Public functions

setConsentDebugSettings

@CanIgnoreReturnValue
fun setConsentDebugSettings(consentDebugSettings: ConsentDebugSettings?): ConsentRequestParameters.Builder!

Sets the ConsentDebugSettings.

If null, no debug setting will be used.

setTagForUnderAgeOfConsent

@CanIgnoreReturnValue
fun setTagForUnderAgeOfConsent(tagForUnderAgeOfConsent: Boolean): ConsentRequestParameters.Builder!

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

Default value is false.