Platforms to show: All Mac Windows Linux Cross-Platform
Back to UMPConsentInformationMBS class.
UMPConsentInformationMBS.canRequestAds as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Mobile Ads | MBS iOS Plugin | 24.0 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Returns false until requestConsentInfoUpdateWithParameters is called. Returns true once requestConsentInfoUpdateWithParameters is called and when consentStatus is ConsentStatusNotRequired or ConsentStatusObtained.
(Read only property)
UMPConsentInformationMBS.consentStatus as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Mobile Ads | MBS iOS Plugin | 24.0 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This value defaults to ConsentStatusUnknown until requestConsentInfoUpdateWithParameters is called, and defaults to the previous session's value until your handler from requestConsentInfoUpdateWithParameters is called.
(Read only property)
Some examples using this property:
UMPConsentInformationMBS.formStatus as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Mobile Ads | MBS iOS Plugin | 24.0 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This value defaults to FormStatusUnknown and requires a call to requestConsentInfoUpdateWithParameters to update.
(Read only property)
Some examples using this property:
UMPConsentInformationMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Mobile Ads | MBS iOS Plugin | 24.0 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
(Read and Write property)
UMPConsentInformationMBS.privacyOptionsRequirementStatus as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Mobile Ads | MBS iOS Plugin | 24.0 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This value defaults to PrivacyOptionsRequirementStatusUnknown until requestConsentInfoUpdateWithParameters is called, and defaults to the previous session's value until your handler from requestConsentInfoUpdateWithParameters is called.
(Read only property)
The items on this page are in the following plugins: MBS iOS Plugin.