Interface ConsentPopupConfig.Builder

  • Method Details

    • enabled

      Whether the consent popup is enabled. When set to true, the popup is displayed to users on login.

      Parameters:
      enabled - Whether the consent popup is enabled. When set to true, the popup is displayed to users on login.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • header

      Header text displayed at the top of the consent popup. Maximum 100 characters.

      Parameters:
      header - Header text displayed at the top of the consent popup. Maximum 100 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      Body content of the consent popup in Markdown format. Maximum 5000 characters.

      Parameters:
      content - Body content of the consent popup in Markdown format. Maximum 5000 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • closeButtonLabel

      ConsentPopupConfig.Builder closeButtonLabel(String closeButtonLabel)

      Label for the close button on the consent popup. Maximum 20 characters. Defaults to "Acknowledge" if not provided.

      Parameters:
      closeButtonLabel - Label for the close button on the consent popup. Maximum 20 characters. Defaults to "Acknowledge" if not provided.
      Returns:
      Returns a reference to this object so that method calls can be chained together.