public static enum AdError.ErrorCode extends java.lang.Enum<AdError.ErrorCode>
Enum Constant and Description |
---|
INTERNAL_ERROR
The ad request failed due to an error on the Amazon Mobile Ad Network.
|
NETWORK_ERROR
The ad request failed due to problems with network connectivity.
|
NO_FILL
The ad request succeeded but no ads were available.
|
REQUEST_ERROR
There was a problem with the ad request parameters.
|
Modifier and Type | Method and Description |
---|---|
static AdError.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdError.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdError.ErrorCode NETWORK_ERROR
public static final AdError.ErrorCode NO_FILL
public static final AdError.ErrorCode INTERNAL_ERROR
public static final AdError.ErrorCode REQUEST_ERROR
public static AdError.ErrorCode[] values()
for (AdError.ErrorCode c : AdError.ErrorCode.values()) System.out.println(c);
public static AdError.ErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null