public class AdError
extends java.lang.Object
AdError.ErrorCode returned.
AdError.ErrorCode.NETWORK_ERROR - retry when network connectivity is availableAdError.ErrorCode.NETWORK_TIMEOUT - network connection timed out, retry if wantedAdError.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()