ConsentDebugSettings

public class ConsentDebugSettings


Setelan debug untuk melakukan hardcode dalam permintaan pengujian ke requestConsentInfoUpdate.

Ringkasan

Jenis bertingkat

Builder 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

Nilai debug untuk menguji geografi.

Kolom publik

final int
final boolean

Metode publik

int

Mendapatkan geografi debug.

boolean

Menampilkan true jika perangkat ini adalah perangkat pengujian.

Kolom publik

debugGeography

@ConsentDebugSettings.DebugGeography
public final int debugGeography

isTestDevice

public final boolean isTestDevice

Metode publik

getDebugGeography

@ConsentDebugSettings.DebugGeography
public int getDebugGeography()

Mendapatkan geografi debug.

isTestDevice

public boolean isTestDevice()

Menampilkan true jika perangkat ini adalah perangkat pengujian.