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()

تعرض هذه الطريقة نسخة من هذا العنصر بتنسيق سلسلة مناسبة للسجلات.