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 หากอุปกรณ์นี้เป็นอุปกรณ์ทดสอบ