LoadAdError

public final class LoadAdError extends AdError


광고 로드 작업이 실패한 이유에 관한 오류 정보입니다.

요약

공개 필드

final @Nullable ResponseInfo

공개 생성자

LoadAdError(
    int code,
    @NonNull String message,
    @NonNull String domain,
    @Nullable AdError cause,
    @Nullable ResponseInfo responseInfo
)

LoadAdError를 만듭니다.

공개 메서드

@Nullable ResponseInfo

오류의 ResponseInfo를 가져옵니다.

String

이 객체의 로그 친화적인 문자열 버전을 반환합니다.

상속된 상수

com.google.android.gms.ads.AdError에서 가져옴
static final String
UNDEFINED_DOMAIN = "undefined"

정의되지 않은 오류 도메인입니다.

상속된 필드

com.google.android.gms.ads.AdError에서 가져옴
final @Nullable AdError
final int
final @NonNull String
final @NonNull String

상속된 메서드

com.google.android.gms.ads.AdError에서 가져옴
@Nullable AdError

이 오류의 원인을 가져옵니다. 원인이 존재하지 않거나 알 수 없는 경우에는 null을 가져옵니다.

int

오류 코드를 가져옵니다.

@NonNull String

오류의 도메인을 가져옵니다.

@NonNull String

오류를 설명하는 메시지를 가져옵니다.

공개 필드

responseInfo

public final @Nullable ResponseInfo responseInfo

공개 생성자

LoadAdError

public LoadAdError(
    int code,
    @NonNull String message,
    @NonNull String domain,
    @Nullable AdError cause,
    @Nullable ResponseInfo responseInfo
)

LoadAdError를 만듭니다.

매개변수
int code

오류 코드

@NonNull String message

오류에 관한 메시지

@NonNull String domain

오류 도메인

@Nullable AdError cause

이 오류의 원인 또는 원인이 존재하지 않거나 알 수 없는 경우 null을 반환합니다.

@Nullable ResponseInfo responseInfo

광고 응답 정보를 가져옵니다.

공개 메서드

getResponseInfo

public @Nullable ResponseInfo getResponseInfo()

오류의 ResponseInfo를 가져옵니다.

toString

public String toString()

이 객체의 로그 친화적인 문자열 버전을 반환합니다.