Builder

public final class Builder

The ACConfiguration constructor, which lets you define certain parameters and build the ACConfiguration object.

Constructors

Functions

Link copied to clipboard
public final ACConfiguration build()

This is the method used to aggregate all the data and build the ACConfiguration object.

Link copied to clipboard

Customize your images from internal resources or from a URL, and assign your own theme as an @style

Link copied to clipboard
public final ACConfiguration.Builder setForceApplyGDPR(Boolean forceApplyGDPR)

If set to true, CMP will force its display regardless of the user's region. The default value is false

Link copied to clipboard
public final ACConfiguration.Builder setFullScreenMode(Boolean fullScreenMode)

Defined if you prefer to choose a full screen mode of the GDPR display or in window mode.

public final ACConfiguration.Builder setNeedToDisplayValidationButtonsVertically(Boolean isNeedToDisplayButtonsAtVertical)

Allows you to modify the display of validation buttons on layer 1. By setting the value to true, the buttons will be displayed vertically; in all other cases, the buttons will be displayed horizontally.