AdInspectorError

public final class AdInspectorError extends AdError


विज्ञापन की जांच करने वाले टूल के काम न करने की वजह की जानकारी.

खास जानकारी

नेस्ट किए गए टाइप

@Retention(value = SOURCE)
@IntDef(value = )
public annotation AdInspectorError.AdInspectorErrorCode

AdInspectorError के साथ काम करने वाले कॉन्स्टेंट.

कॉन्स्टेंट

static final int

विज्ञापन जांचने वाला टूल नहीं खोला जा सकता, क्योंकि यह पहले से ही खुला है.

static final int

विज्ञापन जांचने वाला टूल लोड नहीं हो सका.

static final int

विज्ञापन जांचने वाले टूल में कोई आंतरिक गड़बड़ी हुई.

static final int

विज्ञापन जांचने वाला टूल नहीं खोला जा सकता, क्योंकि डिवाइस टेस्ट मोड में नहीं है.

पब्लिक कंस्ट्रक्टर

AdInspectorError(
    @AdInspectorError.AdInspectorErrorCode int code,
    @NonNull String message,
    @NonNull String domain
)

AdInspectorError बनाता है.

सार्वजनिक तरीके

int

गड़बड़ी का कोड दिखाता है.

इनहेरिट किए गए कॉन्स्टेंट

com.google.android.gms.ads.AdError से
static final String
UNDEFINED_DOMAIN = "undefined"

गड़बड़ी का डोमेन, जिसकी जानकारी नहीं दी गई है.

इनहेरिट किए गए फ़ील्ड

com.google.android.gms.ads.AdError से

इनहेरिट किए गए तरीके

com.google.android.gms.ads.AdError से
@Nullable AdError

इस गड़बड़ी की वजह दिखाता है. अगर वजह मौजूद नहीं है या पता नहीं है, तो null दिखाता है.

@NonNull String

गड़बड़ी का डोमेन पता लगाता है.

@NonNull String

गड़बड़ी के बारे में बताने वाला मैसेज मिलता है.

String

इस ऑब्जेक्ट का लॉग के हिसाब से स्ट्रिंग वर्शन दिखाता है.

कॉन्स्टेंट

ERROR_CODE_ALREADY_OPEN

public static final int ERROR_CODE_ALREADY_OPEN = 3

विज्ञापन जांचने वाला टूल नहीं खोला जा सकता, क्योंकि यह पहले से ही खुला है.

ERROR_CODE_FAILED_TO_LOAD

public static final int ERROR_CODE_FAILED_TO_LOAD = 1

विज्ञापन जांचने वाला टूल लोड नहीं हो सका.

ERROR_CODE_INTERNAL_ERROR

public static final int ERROR_CODE_INTERNAL_ERROR = 0

विज्ञापन जांचने वाले टूल में कोई आंतरिक गड़बड़ी हुई.

ERROR_CODE_NOT_IN_TEST_MODE

public static final int ERROR_CODE_NOT_IN_TEST_MODE = 2

विज्ञापन जांचने वाला टूल नहीं खोला जा सकता, क्योंकि डिवाइस टेस्ट मोड में नहीं है. ज़्यादा जानकारी के लिए, https://developers.google.com/admob/android/test-ads#enable_test_devices पर जाएं.

पब्लिक कंस्ट्रक्टर

AdInspectorError

public AdInspectorError(
    @AdInspectorError.AdInspectorErrorCode int code,
    @NonNull String message,
    @NonNull String domain
)

AdInspectorError बनाता है.

पैरामीटर
@AdInspectorError.AdInspectorErrorCode int code

गड़बड़ी का कोड.

@NonNull String message

गड़बड़ी की जानकारी देने वाला मैसेज.

@NonNull String domain

गड़बड़ी का डोमेन.

सार्वजनिक तरीके

getCode

@AdInspectorError.AdInspectorErrorCode
public int getCode()

गड़बड़ी का कोड दिखाता है.