yieldprobe / com.yieldlab.yieldprobe.helper / ConsentHelper

ConsentHelper

class ConsentHelper

Read out the Consent string. The class uses the proposed identifiers: "IABConsent_CMPPresent" and "IABConsent_ConsentString"

Constructors

<init>

Read out the Consent string. The class uses the proposed identifiers: "IABConsent_CMPPresent" and "IABConsent_ConsentString"

ConsentHelper()

Functions

getString

Read out the consent string. Taken form here: https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/Mobile%20In-App%20Consent%20APIs%20v1.0%20Final.md#mobile-in-app-cmp-api-v10-

fun getString(context: Context): String?