AdError contains the error information returned by Facebook.
Perpanjang: | Object |
Paket: | ads |
AdError(int, String)
Constructs an AdError using the given error code and error message
public AdError(int errorCode, String errorMessage)
Parameter | Keterangan |
---|---|
errorCode | The error code |
errorMessage | The error message |
getErrorCode()
Gets the error code
public int getErrorCode()
getErrorMessage()
Gets the error message
public String getErrorMessage()
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