ConsentDebugSettings

public class ConsentDebugSettings


Cài đặt gỡ lỗi để mã hoá cứng trong các yêu cầu kiểm thử thành requestConsentInfoUpdate.

Tóm tắt

Loại lồng nhau

Trình tạo của 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

Giá trị gỡ lỗi để kiểm thử thông tin địa lý.

Trường công khai

final int
final boolean

Phương thức công khai

int

Lấy thông tin vị trí địa lý gỡ lỗi.

boolean

Trả về true nếu thiết bị này là thiết bị thử nghiệm.

Trường công khai

debugGeography

@ConsentDebugSettings.DebugGeography
public final int debugGeography

isTestDevice

public final boolean isTestDevice

Phương thức công khai

getDebugGeography

@ConsentDebugSettings.DebugGeography
public int getDebugGeography()

Lấy thông tin vị trí địa lý gỡ lỗi.

isTestDevice

public boolean isTestDevice()

Trả về true nếu thiết bị này là thiết bị thử nghiệm.