public static enum ChartboostShowError.Code extends java.lang.Enum<ChartboostShowError.Code>
| Enum Constant and Description |
|---|
AD_ALREADY_VISIBLE |
BANNER_DISABLED |
BANNER_VIEW_IS_DETACHED |
INTERNAL |
INTERNET_UNAVAILABLE |
NO_CACHED_AD |
PRESENTATION_FAILURE |
SESSION_NOT_STARTED |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
static ChartboostShowError.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChartboostShowError.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChartboostShowError.Code INTERNAL
public static final ChartboostShowError.Code SESSION_NOT_STARTED
public static final ChartboostShowError.Code AD_ALREADY_VISIBLE
public static final ChartboostShowError.Code INTERNET_UNAVAILABLE
public static final ChartboostShowError.Code PRESENTATION_FAILURE
public static final ChartboostShowError.Code NO_CACHED_AD
public static final ChartboostShowError.Code BANNER_DISABLED
public static final ChartboostShowError.Code BANNER_VIEW_IS_DETACHED
public static ChartboostShowError.Code[] values()
for (ChartboostShowError.Code c : ChartboostShowError.Code.values()) System.out.println(c);
public static ChartboostShowError.Code 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 nullpublic int getErrorCode()