AdError
有此級別的更新版本。前往查看 最新版本。

AdError contains the error information returned by Facebook.

延伸:Object
套件:ads
建構函式
AdError(int, String)

Constructs an AdError using the given error code and error message

public AdError(int errorCode, String errorMessage)
參數說明
errorCodeThe error code
errorMessageThe error message
執行個體方法
getErrorCode()

Gets the error code

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

Gets the error message

public String getErrorMessage()
Returns
The error message
常數
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