Ejemplo n.º 1
0
 /// <summary>
 /// Saves the data privacy consent to persistent storage.
 /// </summary>
 /// <param name="consent">Consent.</param>
 protected virtual void SaveDataPrivacyConsent(ConsentStatus consent)
 {
     ConsentStorage.SaveConsent(DataPrivacyConsentSaveKey, consent);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Reads the data privacy consent from persistent storage.
 /// </summary>
 /// <returns>The data privacy consent.</returns>
 protected virtual ConsentStatus ReadDataPrivacyConsent()
 {
     return(ConsentStorage.ReadConsent(DataPrivacyConsentSaveKey));
 }