firebase::gma::ump
Stay organized with collections
Save and categorize content based on your preferences.
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
ConsentDebugGeography
Debug values for testing geography.
Properties | |
---|---|
kConsentDebugGeographyDisabled
|
Disable geography debugging. |
kConsentDebugGeographyEEA
|
Geography appears as in EEA (European Economic Area) for debug devices. |
kConsentDebugGeographyNonEEA
|
Geography appears as not in EEA for debug devices. |
ConsentFormError
ConsentFormError
Errors 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
ConsentFormStatus
Status 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
ConsentRequestError
Errors that can occur during a RequestConsentInfoUpdate operation.
Properties | |
---|---|
kConsentRequestErrorInternal
|
An internal error occurred. |
kConsentRequestErrorInvalidAppId
|
Invalid GMA App 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
ConsentStatus
Consent status values.
Properties | |
---|---|
kConsentStatusNotRequired
|
Consent is not required. |
kConsentStatusObtained
|
Consent was required, and has been obtained. |
kConsentStatusRequired
|
Consent is required, but not obtained. |
kConsentStatusUnknown
|
Unknown status, e.g. prior to calling Request, or if the request fails. |
PrivacyOptionsRequirementStatus
PrivacyOptionsRequirementStatus
Whether 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
jobject
which references an Android Activity. - iOS: An
id
which references an iOS UIViewController.