public final class AdError
extends java.lang.Object
AdListener.onAdFailedToLoad(AdLayout, AdError) event.
AdLayout.loadAd(AdTargetingOptions) again depending on the
AdError.ErrorCode returned.
AdError.ErrorCode.NETWORK_ERROR - retry when network connectivity is availableAdError.ErrorCode.NO_FILL - no ads were available, don't retry immediatelyAdError.ErrorCode.INTERNAL_ERROR - retry immediately, but limit the number of retry attemptsAdError.ErrorCode.REQUEST_ERROR - don't retry because there is something wrong with your request| Modifier and Type | Class and Description |
|---|---|
static class |
AdError.ErrorCode
Represents an error type returned when loading an ad.
|
| Modifier and Type | Method and Description |
|---|---|
AdError.ErrorCode |
getCode()
Gets the error code.
|
java.lang.String |
getMessage()
Gets the error message.
|
public AdError.ErrorCode getCode()
public java.lang.String getMessage()