高级设置 - GDPR

《通用数据保护条例》(GDPR) 将于 5 月 25 日在欧盟生效。为了遵守 GDPR,Vungle提供了如下方法。 The consentMessageVersion indicates publisher controlled consent policy version to allow publisher getting consent again when GDPR policy changes by pooling users by the message version.


// Usage example of GDPR API
// Vungle.Consent.OPTED_IN To set the user's consent status to opted in
Vungle.updateConsentStatus(Vungle.Consent.OPTED_IN, “1.0.0”);
// Vungle.Consent.OPTED_OUT To set the user's consent status to opted out
Vungle.updateConsentStatus(Vungle.Consent.OPTED_OUT, “1.0.0”);

// To find out what the user's current consent status is:
// This will return null if the GDPR Consent status has not been set
// Otherwise, it will return Vungle.Consent.OPTED_IN or Vungle.Consent.OPTED_OUT
Vungle.Consent currentStatus = Vungle.getConsentStatus();
String consentMessageVersion = Vungle.getConsentMessageVersion();
这篇文章有帮助吗?

Questions?

Need further assistance, feel free to reach out to us, we’re here to help!