ConsentDebugSettings

public class ConsentDebugSettings


Hata ayıklama ayarlarını, test isteklerine requestConsentInfoUpdate olarak sabit kodlamanız gerekir.

Özet

İç içe yerleştirilmiş türler

ConsentDebugSettings binasının müteahhidi.

@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

Coğrafi konumu test etmek için değerleri hata ayıklayın.

Herkese açık alanlar

final int
final boolean

Herkese açık yöntemler

int

Hata ayıklama coğrafyasını alır.

boolean

Bu cihaz bir test cihazıysa true değerini döndürür.

Herkese açık alanlar

debugGeography

@ConsentDebugSettings.DebugGeography
public final int debugGeography

isTestDevice

public final boolean isTestDevice

Herkese açık yöntemler

getDebugGeography

@ConsentDebugSettings.DebugGeography
public int getDebugGeography()

Hata ayıklama coğrafyasını alır.

isTestDevice

public boolean isTestDevice()

Bu cihaz bir test cihazıysa true değerini döndürür.