ConsentDebugSettings

public class ConsentDebugSettings


デバッグ設定をハードコードして、テスト リクエストで requestConsentInfoUpdate に設定します。

概要

ネストされた型

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

地域をテストするためのデバッグ値。

公開フィールド

final int
final boolean

パブリック メソッド

int

デバッグ対象の地域を取得します。

boolean

このデバイスがテストデバイスの場合は true を返します。

公開フィールド

debugGeography

@ConsentDebugSettings.DebugGeography
public final int debugGeography

isTestDevice

public final boolean isTestDevice

パブリック メソッド

getDebugGeography

@ConsentDebugSettings.DebugGeography
public int getDebugGeography()

デバッグ対象の地域を取得します。

isTestDevice

public boolean isTestDevice()

このデバイスがテストデバイスの場合は true を返します。