firebase::gma::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.

Deprecated. This class has been moved to the firebase::ump namespace.

Constructors and Destructors

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

Public functions

CanRequestAds()
bool
Deprecated. This class has been moved to the firebase::ump namespace.
Indicates whether the app has completed the necessary steps for gathering updated user consent.
GetConsentFormStatus() Deprecated. This class has been moved to the firebase::ump namespace.
Consent form status.
GetConsentStatus() Deprecated. This class has been moved to the firebase::ump namespace.
The user’s consent status.
GetPrivacyOptionsRequirementStatus() Deprecated. This class has been moved to the firebase::ump namespace.
Check whether the privacy options form needs to be displayed.
LoadAndShowConsentFormIfRequired(FormParent parent)
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Loads a consent form and immediately presents it using the given FormParent, if ConsentStatus is kConsentStatusRequired.
LoadAndShowConsentFormIfRequiredLastResult()
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Get the Future from the most recent call to LoadAndShowConsentFormIfRequired().
LoadConsentForm()
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Loads a consent form.
LoadConsentFormLastResult()
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Get the Future from the most recent call to LoadConsentForm().
RequestConsentInfoUpdate(const ConsentRequestParameters & params)
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Requests consent information update.
RequestConsentInfoUpdateLastResult()
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Get the Future from the most recent call to RequestConsentInfoUpdate().
Reset()
void
Deprecated. This class has been moved to the firebase::ump namespace.
Clears all consent state from persistent storage.
ShowConsentForm(FormParent parent)
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Presents the full screen consent form using the given FormParent, which is defined as an Activity on Android and a UIViewController on iOS.
ShowConsentFormLastResult()
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Get the Future from the most recent call to ShowConsentForm().
ShowPrivacyOptionsForm(FormParent parent)
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
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.
ShowPrivacyOptionsFormLastResult()
Future< void >
Deprecated. This class has been moved to the firebase::ump namespace.
Get the Future from the most recent call to ShowPrivacyOptionsForm().

Public static functions

GetInstance(const ::firebase::App & app, InitResult *init_result_out) Deprecated. This class has been moved to the firebase::ump namespace.
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) Deprecated. This class has been moved to the firebase::ump namespace.
Initializes User Messaging Platform for iOS without Firebase.

Public functions

Public static functions