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.
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::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 2024-01-23 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 2024-01-23 UTC."],[[["`ConsentDebugSettings` allows developers to force a specific geographic location for testing purposes."],["Debug features are automatically enabled in simulators but require specific device IDs to be included for debugging on hardware."],["`debug_device_ids` is a list of device identifiers allowed to utilize debug settings, retrievable from device logs after enabling debugging."],["`debug_geography` enables the forcing of a geographic location for debugging User Messaging Platform (UMP) consent flows."],["Default `ConsentDebugSettings` are initialized with debugging disabled."]]],["`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"]]