Platforms to show: All Mac Windows Linux Cross-Platform
UMPConsentInformationMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Mobile Ads | MBS iOS Plugin | 24.0 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
All methods must be called on the main thread.
- event ConsentInformationUpdateCompleted(Error as NSErrorMBS)
- 5 properties
- property canRequestAds as Boolean
- property consentStatus as Integer
- property formStatus as Integer
- property Handle as Integer
- property privacyOptionsRequirementStatus as Integer
- shared property sharedInstance as UMPConsentInformationMBS
- 4 methods
- method Constructor
- method Destructor
- method requestConsentInfoUpdateWithParameters(parameters as UMPRequestParametersMBS = nil)
- method Reset
- 10 constants
Consent Status
Constant | Value | Description |
---|---|---|
ConsentStatusNotRequired | 2 |
Consent not required. |
ConsentStatusObtained | 3 |
User consent obtained, personalized vs non-personalized undefined. |
ConsentStatusRequired | 1 |
User consent required but not yet obtained. |
ConsentStatusUnknown | 0 |
Unknown consent status. |
Form Status
Constant | Value | Description |
---|---|---|
FormStatusAvailable | 1 |
Consent forms are available and can be loaded using loadWithCompletionHandler. |
FormStatusUnavailable | 2 |
Consent forms are unavailable. Showing a consent form is not required. |
FormStatusUnknown | 0 |
Whether a consent form is available is unknown. An update should be requested using requestConsentInfoUpdateWithParameters(). |
Privacy options requirement status
Constant | Value | Description |
---|---|---|
PrivacyOptionsRequirementStatusNotRequired | 2 |
User does not need to modify their privacy options. Either consent is not required, or the consent type does not require modification. |
PrivacyOptionsRequirementStatusRequired | 1 |
A way must be provided for the user to modify their privacy options. |
PrivacyOptionsRequirementStatusUnknown | 0 |
Requirement unknown. |
This class has no sub classes.
Some properties using for this class:
- UMPConsentInformationMBS.sharedInstance as UMPConsentInformationMBS
Some examples using this class:
Blog Entries
Release notes
- Version 24.0
- Added new classes for consent dialog: UMPRequestParametersMBS, UMPDebugSettingsMBS, UMPConsentInformationMBS and UMPConsentFormMBS.
The items on this page are in the following plugins: MBS iOS Plugin.
UMPConsentFormMBS - UMPDebugSettingsMBS