ConsentDebugSettings

public class ConsentDebugSettings


Debug settings to hardcode in test requests to requestConsentInfoUpdate.

Summary

Nested types

Builder of ConsentDebugSettings.

@Retention(value = SOURCE)
@IntDef(value = [DebugGeography.DEBUG_GEOGRAPHY_DISABLED, DebugGeography.DEBUG_GEOGRAPHY_EEA, DebugGeography.DEBUG_GEOGRAPHY_NOT_EEA, DebugGeography.DEBUG_GEOGRAPHY_REGULATED_US_STATE, DebugGeography.DEBUG_GEOGRAPHY_OTHER])
public annotation ConsentDebugSettings.DebugGeography

Debug values for testing geography.

Public fields

final int
final boolean

Public methods

int

Gets the debug geography.

boolean

Returns true if this device is a test device.

Public fields

debugGeography

@ConsentDebugSettings.DebugGeography
public final int debugGeography

isTestDevice

public final boolean isTestDevice

Public methods

getDebugGeography

@ConsentDebugSettings.DebugGeography
public int getDebugGeography()

Gets the debug geography.

isTestDevice

public boolean isTestDevice()

Returns true if this device is a test device.