showConsentMode

개인 정보 사용 동의 UI 표시

Display consent UI for personal data usage


korean

개인 정보를 사용하는 데 최종 사용자 동의를 받기 위한 UI를 노출합니다.
기존에 동의한 내역에 따라 동의 상태 값이 설정되어 있습니다.
사용자 동의 UI에 구성되는 목적(Purpose)은 다음 3가지 입니다.

  • ad_user_data: 광고용 사용자 데이터 사용 동의

  • ad_personalized: 개인 맞춤형 광고 사용 동의

  • 하위 요소로 MMP("google", "adjust", "appsflyer", "singular", "airbridge") 업체가 포함됩니다.

  • analytics_storage: 분석 및 통계 데이터 수집 동의(현재 "google"만 지원)
    consentMode 파라미터를 null로 전달하면, Hive SDK가 Analytics Provider 추가 여부를 기반으로 동의 목록을 자동 생성합니다.


english

Shows a UI to obtain end-user consent for using personal data.
If prior consent exists, the UI will reflect the current consent status.
The consent UI includes the following purposes:

  • ad_user_data: Consent for using user data for advertising

  • ad_personalized: Consent for personalized ads

  • Sub-items include MMP vendors: "google", "adjust", "appsflyer", "singular", "airbridge"

  • analytics_storage: Consent for analytics and statistics data collection (currently only supports "google")
    Passing null for consentMode allows Hive SDK to automatically generate the consent list
    based on the presence of Analytics Providers.

Parameters

consentMode

consentMode Custom data to configure the consent UI. Passing null lets Hive SDK automatically generate the consent list (recommended)

listener

Receives the consent results from the UI as an array of ConsentMode.ConsentStatus. If the user cancels, ResultAPI.CANCELED and ResultAPI.Code.AnalyticsConsentModeCanceled are returned.