firebase:: ump
API for User Messaging Platform.
Summary
The User Messaging Platform (UMP) SDK is Google’s option to handle user privacy and consent in mobile apps.
Typedefs | |
|---|---|
FormParent | typedefvoid *This is a platform specific datatype that is required to show a consent form on screen. |
Classes | |
|---|---|
| firebase:: | Consent Information class for the User Messaging Platform SDK. |
Structs | |
|---|---|
| firebase:: | Debug settings for |
| firebase:: | Parameters for the |
Enumerations
ConsentDebugGeography
ConsentDebugGeographyConsentFormError
ConsentFormErrorErrors when loading or showing the consent form.
| Properties | |
|---|---|
kConsentFormErrorAlreadyUsed | This form was already used. |
kConsentFormErrorInternal | An internal error occurred. |
kConsentFormErrorInvalidOperation | An invalid operation occurred. Try again. |
kConsentFormErrorOperationInProgress | The operation is already in progress. Call |
kConsentFormErrorTimeout | The load request timed out. Try again. |
kConsentFormErrorUnavailable | The form is unavailable. |
kConsentFormErrorUnknown | An unknown error occurred. |
kConsentFormSuccess | The operation succeeded. |
ConsentFormStatus
ConsentFormStatusStatus of the consent form, whether it is available to show or not.
| Properties | |
|---|---|
kConsentFormStatusAvailable | The consent form is available. Call |
kConsentFormStatusUnavailable | The consent form is unavailable. Call |
kConsentFormStatusUnknown | Status is unknown. Call |
ConsentRequestError
ConsentRequestErrorErrors that can occur during a RequestConsentInfoUpdate operation.
| Properties | |
|---|---|
kConsentRequestErrorInternal | An internal error occurred. |
kConsentRequestErrorInvalidAppId | Invalid GMAApp ID specified in AndroidManifest.xml or Info.plist. |
kConsentRequestErrorInvalidOperation | An invalid operation occurred. Try again. |
kConsentRequestErrorMisconfiguration | A misconfiguration exists in the UI. |
kConsentRequestErrorNetwork | A network error occurred. |
kConsentRequestErrorOperationInProgress | The operation is already in progress. Use |
kConsentRequestErrorUnknown | An unknown error occurred. |
kConsentRequestSuccess | The operation succeeded. |
ConsentStatus
ConsentStatusPrivacyOptionsRequirementStatus
PrivacyOptionsRequirementStatusWhether the privacy options need to be displayed.
| Properties | |
|---|---|
kPrivacyOptionsRequirementStatusNotRequired | Privacy options are not required to be shown. |
kPrivacyOptionsRequirementStatusRequired | Privacy options must be shown. Call |
kPrivacyOptionsRequirementStatusUnknown | Privacy options requirement status is unknown. Call |
Typedefs
FormParent
void*FormParent
This is a platform specific datatype that is required to show a consent form on screen.
The following defines the datatype on each platform:
- Android: A
jobjectwhich references an Android Activity. - iOS: An
idwhich references an iOS UIViewController.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-10 UTC.