yieldprobe / com.yieldlab.yieldprobe.helper / ConsentHelper / getString

getString

fun getString(context: Context): String?

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-

Parameters

context - pass a context

Return
Consent string