ConsentForm

class ConsentForm(var id: String = "")

동의 항목을 표현하는 데이터 클래스

Data class representing a consent item


korean

사용자 동의 UI를 구성할 때 개별 동의 항목을 나타내는 클래스입니다.
각 항목은 고유 ID, 보관 기간, 제목, 설명, 동의 상태, 그리고 하위 동의 항목(subForm)을 포함할 수 있습니다.

  • id: 동의 항목의 고유 식별자.
    큰 범주로 목적(Purpose)에는 ad_user_data, ad_personalization, analytics_storage가 포함됩니다.
    ad_personalization일 경우, 하위 항목(subForms)으로 MMP("google", "adjust", "appsflyer", "singular", "airbridge") 업체가 포함될 수 있습니다.

  • retentionPeriod: 데이터 보관 기간(월 단위)

  • title: 동의 항목 제목

  • content: 동의 항목 설명

  • consentStatus: 현재 동의 상태(UI에 반영됨, 일반적으로 외부에서 설정할 필요 없음)

  • subForms: 하위 동의 항목 리스트(있을 경우)


english

Class representing an individual consent item used in the consent UI.
Each item can contain a unique ID, retention period, title, content, consent status, and optionally a list of sub-consent forms.

  • id: Unique identifier of the consent item.
    Main purposes include ad_user_data, ad_personalization, and analytics_storage.
    In the case of ad_personalization, sub-forms may include MMP vendors: "google", "adjust", "appsflyer", "singular", "airbridge".

  • retentionPeriod: Retention period in months.

  • title: Title of the consent item

  • content: Description of the consent item

  • consentStatus: Current consent status (reflected in the UI, usually no need to set externally)

  • subForms: List of sub-consent forms (if any)

Parameters

id

Unique identifier of the consent form (main purposes: ad_user_data, ad_personalization, analytics_storage. If ad_personalization, subForms may include MMP vendors: "google", "adjust", "appsflyer", "singular", "airbridge")

retentionPeriod

Retention period in months

title

Title of the consent form

content

Description of the consent form

consentStatus

Current consent status (UI binding, usually not set externally)

subForms

Sub-consent forms if present

Constructors

Link copied to clipboard
constructor(id: String = "")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
var id: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String