/// <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); }
/// <summary> /// Reads the data privacy consent from persistent storage. /// </summary> /// <returns>The data privacy consent.</returns> protected virtual ConsentStatus ReadDataPrivacyConsent() { return(ConsentStorage.ReadConsent(DataPrivacyConsentSaveKey)); }