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