GoogleMobileAds. Ump. Api. ConsentInformation
Utility methods for managing consent information from users.
Summary
Properties |
|
---|---|
ConsentStatus
|
static ConsentStatus
The user's consent status.
|
PrivacyOptionsRequirementStatus
|
Privacy options requirement status.
|
Public static functions |
|
---|---|
CanRequestAds()
|
bool
Check if the app has finished all the required consent flow and can request ads now.
|
IsConsentFormAvailable()
|
bool
|
Reset()
|
void
Clears all consent status from persistent storage.
|
Update(ConsentRequestParameters request, Action< FormError > consentInfoUpdateCallback)
|
void
Requests consent information update.
|
Properties
ConsentStatus
static ConsentStatus ConsentStatus
The user's consent status.
This value is cached between app sessions and can be read before requesting updated parameters.
PrivacyOptionsRequirementStatus
static PrivacyOptionsRequirementStatus PrivacyOptionsRequirementStatus
Privacy options requirement status.
Public static functions
CanRequestAds
bool CanRequestAds()
Check if the app has finished all the required consent flow and can request ads now.
IsConsentFormAvailable
bool IsConsentFormAvailable()
Returns true
if a ConsentForm is available, otherwise returns false
.
Reset
void Reset()
Clears all consent status from persistent storage.
Update
void Update( ConsentRequestParameters request, Action< FormError > consentInfoUpdateCallback )
Requests consent information update.
Details | |||||
---|---|---|---|---|---|
Parameters |
|