Class ConsentManager
Inheritance
System.Object
ConsentManager
Implements
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
public abstract class ConsentManager : IConsentRequirable
Fields
mDataPrivacyConsentKey
Declaration
protected string mDataPrivacyConsentKey
Field Value
Type | Description |
---|---|
System.String |
Properties
DataPrivacyConsent
The status of the consent on data privacy of this object, default to ConsentStatus.Unknown. This value persists across app launches.
Declaration
public virtual ConsentStatus DataPrivacyConsent { get; }
Property Value
Type | Description |
---|---|
ConsentStatus |
Methods
GrantDataPrivacyConsent()
Sets DataPrivacyConsent to ConsentStatus.Granted and stores this value so that it persists across app launches.
Declaration
public virtual void GrantDataPrivacyConsent()
RevokeDataPrivacyConsent()
Sets DataPrivacyConsent to ConsentStatus.Revoked and stores this value so that it persists across app launches.
Declaration
public virtual void RevokeDataPrivacyConsent()
Events
DataPrivacyConsentUpdated
Raised when the consent status is changed.
Declaration
public event Action<ConsentStatus> DataPrivacyConsentUpdated
Event Type
Type | Description |
---|---|
System.Action<ConsentStatus> |