예제 #1
0
        public void SetConsentStatus(bool personal)
        {
            Consent consentInfo   = Consent.getInstance(new Context());
            var     consentStatus = personal ? ConsentStatus.PERSONALIZED : ConsentStatus.NON_PERSONALIZED;

            consentInfo.setConsentStatus(consentStatus);
            Util.showToast($"set consent status as {consentStatus}");
        }
예제 #2
0
        public void checkConsentStatus()
        {
            Consent consentInfo = Consent.getInstance(new Context());

            consentInfo.requestConsentUpdate(new MConsentUpdateListener());
        }