Stay organized with collections
Save and categorize content based on your preferences.
firebase::
gma::
ump::
ConsentDebugSettings
#include <types.h>
Debug settings for ConsentInfo::RequestConsentInfoUpdate()
.
Summary
These let you force a specific geographic location. Be sure to include debug device IDs to enable this on hardware. Debug features are always enabled for simulators.
Deprecated.
This struct has been moved to the firebase::ump
namespace.
Constructors and Destructors
std::vector< std::string >
A list of all device IDs that are allowed to use debug settings.
The geographical location, for debugging.
Public attributes
debug_device_ids
std
::
vector
<
std
::
string
>
firebase
::
gma
::
ump
::
ConsentDebugSettings
::
debug_device_ids
A list of all device IDs that are allowed to use debug settings.
You can obtain this from the device log after running with debug settings enabled.
debug_geography
ConsentDebugGeography
firebase
::
gma
::
ump
::
ConsentDebugSettings
::
debug_geography
The geographical location, for debugging.
Public functions
ConsentDebugSettings
firebase
::
gma
::
ump
::
ConsentDebugSettings
::
ConsentDebugSettings
()
Create a default debug setting, with debugging disabled.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],["`ConsentDebugSettings` manages debugging for consent information updates. It allows you to force a specific geographic location for testing purposes. To enable this on hardware, include debug device IDs in the `debug_device_ids` list, accessible through device logs. `debug_geography` attribute sets the target location. Debugging is always on for simulators, and the `ConsentDebugSettings()` creates a debug setting, disabled by default.\n"]]