AdError
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

AdError contains the error information returned by Facebook.

Mở rộng:Object
Gói:ads
Xây dựng
AdError(int, String)

Constructs an AdError using the given error code and error message

public AdError(int errorCode, String errorMessage)
Thông sốMô tả
errorCodeThe error code
errorMessageThe error message
Phương thức thực thể
getErrorCode()

Gets the error code

public int getErrorCode()
Returns
The error code
getErrorMessage()

Gets the error message

public String getErrorMessage()
Returns
The error message
Hằng
NETWORK_ERROR_CODE
public static final int NETWORK_ERROR_CODE
NO_FILL_ERROR_CODE
public static final int NO_FILL_ERROR_CODE
LOAD_TOO_FREQUENTLY_ERROR_CODE
public static final int LOAD_TOO_FREQUENTLY_ERROR_CODE
SERVER_ERROR_CODE
public static final int SERVER_ERROR_CODE
INTERNAL_ERROR_CODE
public static final int INTERNAL_ERROR_CODE
NETWORK_ERROR
public static final AdError NETWORK_ERROR
NO_FILL
public static final AdError NO_FILL
LOAD_TOO_FREQUENTLY
public static final AdError LOAD_TOO_FREQUENTLY
SERVER_ERROR
public static final AdError SERVER_ERROR
INTERNAL_ERROR
public static final AdError INTERNAL_ERROR
MISSING_PROPERTIES
public static final AdError MISSING_PROPERTIES