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
常數
NO_FILL
public static final AdError NO_FILL
LOAD_TOO_FREQUENTLY
public static final AdError LOAD_TOO_FREQUENTLY
INTERNAL_ERROR
public static final AdError INTERNAL_ERROR
MISSING_PROPERTIES
public static final AdError MISSING_PROPERTIES
INVALID_ERROR_CODE
public static final int INVALID_ERROR_CODE