firebase:: ump:: ConsentInfo

#include <consent_info.h>

Consent Information class for the User Messaging Platform SDK.

Summary

The User Messaging Platform (UMP) SDK is Google’s option to handle user privacy and consent in mobile apps.

This class contains all of the methods necessary for obtaining consent from the user.

Constructors and Destructors

~ConsentInfo ()
Shut down the User Messaging Platform Consent SDK.

Public functions

bool
Indicates whether the app has completed the necessary steps for gathering updated user consent.
Consent form status.
The user’s consent status.
Check whether the privacy options form needs to be displayed.
Future < void >
Loads a consent form and immediately presents it using the given FormParent, if ConsentStatus is kConsentStatusRequired.
Future < void >
Loads a consent form.
Future < void >
Get the Future from the most recent call to LoadConsentForm() .
Future < void >
Requests consent information update.
Future < void >
Get the Future from the most recent call to RequestConsentInfoUpdate() .
Reset ()
void
Clears all consent state from persistent storage.
Future < void >
Presents the full screen consent form using the given FormParent, which is defined as an Activity on Android and a UIViewController on iOS.
Future < void >
Get the Future from the most recent call to ShowConsentForm() .
Future < void >
If GetPrivacyOptionsRequirementStatus() is kPrivacyOptionsRequirementStatusRequired, presents a privacy options form from the provided FormParent, which is defined as an Activity on Android and a UIViewController on iOS.
Future < void >
Get the Future from the most recent call to ShowPrivacyOptionsForm() .

Public static functions

GetInstance (const :: firebase::App & app, InitResult *init_result_out)
Initializes the User Messaging Platform Consent SDK.
GetInstance (JNIEnv *jni_env, jobject activity, InitResult *init_result_out)
Initializes the User Messaging Platform Consent SDK without Firebase for Android.
GetInstance (InitResult *init_result_out)
Initializes User Messaging Platform for iOS without Firebase.

Public functions

Public static functions

Create a Mobile Website
View Site in Mobile | Classic
Share by: