Platforms to show: All Mac Windows Linux Cross-Platform

Back to UMPConsentFormMBS class.

UMPConsentFormMBS.load(handler as ConsentFormLoadCompletedMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Mobile Ads MBS iOS Plugin 24.0 ❌ No ❌ No ❌ No ✅ Yes iOS only
Loads a consent form and calls completionHandler on completion.

Must be called on the main queue.

UMPConsentFormMBS.loadAndPresentIfRequiredFromViewController(viewController as UIViewControllerMBS, handler as ConsentFormPresentCompletedMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Mobile Ads MBS iOS Plugin 24.0 ❌ No ❌ No ❌ No ✅ Yes iOS only
Loads a consent form and immediately presents it.

Loads a consent form and immediately presents it from the provided viewController if ConsentInformation.sharedInstance.consentStatus is UMPConsentStatusRequired. Calls handler after the user selects an option and the form is dismissed, or on the next run loop if no form is presented.
Must be called on the main queue.

UMPConsentFormMBS.presentPrivacyOptionsFormFromViewController(viewController as UIViewControllerMBS, handler as ConsentFormPresentCompletedMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Mobile Ads MBS iOS Plugin 24.0 ❌ No ❌ No ❌ No ✅ Yes iOS only
Presents a privacy options form.

Presents a privacy options form from the provided viewController if ConsentInformation.sharedInstance.privacyOptionsRequirementStatus is
PrivacyOptionsRequirementStatusRequired.

Calls handler with nil error after the user selects an option and the form is dismissed, or on the next run loop with a non-nil error if no form is presented. Must be called on the main queue.

This method should only be called in response to a user input to request a privacy options form to be shown. The privacy options form is preloaded by the SDK automatically when a form becomes available. If no form is preloaded, the SDK will invoke the handler on the next run loop, but will asynchronously retry to load one.

UMPConsentFormMBS.UMPErrorDomain as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Mobile Ads MBS iOS Plugin 24.0 ❌ No ❌ No ❌ No ✅ Yes iOS only
Error domain for all SDK errors.

The items on this page are in the following plugins: MBS iOS Plugin.


The biggest plugin in space...