public static enum AdError.ErrorCode extends java.lang.Enum<AdError.ErrorCode>
| Enum Constant and Description |
|---|
INTERNAL_ERROR |
NETWORK_ERROR |
NETWORK_TIMEOUT |
NO_ERROR |
NO_FILL |
REQUEST_ERROR |
| 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 NO_ERROR
public static final AdError.ErrorCode NETWORK_ERROR
public static final AdError.ErrorCode NETWORK_TIMEOUT
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