Stay organized with collections
Save and categorize content based on your preferences.
firebase::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.
Constructors and Destructors
|
ConsentDebugSettings()
Create a default debug setting, with debugging disabled.
|
Public attributes
|
debug_device_ids
|
std::vector< std::string >
A list of all device IDs that are allowed to use debug settings.
|
debug_geography
|
The geographical location, for debugging.
|
Public attributes
debug_device_ids
std::vector< std::string > firebase::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::ump::ConsentDebugSettings::debug_geography
The geographical location, for debugging.
Public functions
ConsentDebugSettings
firebase::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.
[null,null,["Last updated 2025-08-20 UTC."],[],[],null,["# firebase::ump::ConsentDebugSettings Struct Reference\n\nfirebase::ump::ConsentDebugSettings\n===================================\n\n\n`#include \u003ctypes.h\u003e`\n\nDebug settings for [ConsentInfo::RequestConsentInfoUpdate()](/admob/cpp/reference/class/firebase/ump/consent-info#classfirebase_1_1ump_1_1_consent_info_1a38f38f22b70b35732c3cd63b18dd26d2).\n\nSummary\n-------\n\nThese 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.\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ConsentDebugSettings](#structfirebase_1_1ump_1_1_consent_debug_settings_1a8d8db19ba7b5b938cfdbac1add730c8c)`()` Create a default debug setting, with debugging disabled. ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [debug_device_ids](#structfirebase_1_1ump_1_1_consent_debug_settings_1aa5bbfbd54413b097490804d2efc833a2) | `std::vector\u003c std::string \u003e` A list of all device IDs that are allowed to use debug settings. |\n| [debug_geography](#structfirebase_1_1ump_1_1_consent_debug_settings_1a9654f654473af102491a0f9a07b92262) | [ConsentDebugGeography](/admob/cpp/reference/namespace/firebase/ump#namespacefirebase_1_1ump_1a31571b292445fe90e7dd4755f8ff93b6) The geographical location, for debugging. |\n\nPublic attributes\n-----------------\n\n### debug_device_ids\n\n```c++\nstd::vector\u003c std::string \u003e firebase::ump::ConsentDebugSettings::debug_device_ids\n``` \nA list of all device IDs that are allowed to use debug settings.\n\nYou can obtain this from the device log after running with debug settings enabled. \n\n### debug_geography\n\n```c++\nConsentDebugGeography firebase::ump::ConsentDebugSettings::debug_geography\n``` \nThe geographical location, for debugging.\n\nPublic functions\n----------------\n\n### ConsentDebugSettings\n\n```c++\n firebase::ump::ConsentDebugSettings::ConsentDebugSettings()\n``` \nCreate a default debug setting, with debugging disabled."]]