GoogleUMPPackage/Packages/com.bywaystudios.googleump/Runtime/Api/Core/ConsentDebugSettings.cs
2026-02-28 16:39:44 +08:00

46 lines
1.7 KiB
C#

// Copyright (C) 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using System.Collections.Generic;
namespace GoogleMobileAds.Ump.Api
{
/// <summary>
/// Debug settings for testing User Messaging Platform.
/// </summary>
[System.Serializable]
public class ConsentDebugSettings
{
/// <summary>
/// The debug geography for testing purposes.
/// </summary>
public DebugGeography DebugGeography = DebugGeography.Disabled;
/// <summary>
/// <para>
/// Registers a device as a test device.
/// Test devices respect debug geography settings to enable easier testing.
/// Test devices must be added individually so that debug geography
/// settings won't accidentally get released to all users.
/// </para>
/// <para>
/// You can access the hashedDeviceId from the console logs once your app calls
/// ConsentInformation.
/// </para>
/// </summary>
/// <typeparam name="string">hashedId The hashed device ID that
/// should be considered a debug device.</typeparam>
public List<string> TestDeviceHashedIds = new List<string>();
}
}