public static enum AdSettings.IntegrationErrorMode extends java.lang.Enum<AdSettings.IntegrationErrorMode>
Enum Constant and Description |
---|
INTEGRATION_ERROR_CALLBACK_MODE
Value for
AdSettings.setIntegrationErrorMode(IntegrationErrorMode) : call AdListener.onError(Ad, AdError) callback if an integration error is discovered. |
INTEGRATION_ERROR_CRASH_DEBUG_MODE
Value for
AdSettings.setIntegrationErrorMode(IntegrationErrorMode) : throw IllegalStateException when there is an integration error. |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Modifier and Type | Method and Description |
---|---|
static AdSettings.IntegrationErrorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdSettings.IntegrationErrorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdSettings.IntegrationErrorMode INTEGRATION_ERROR_CRASH_DEBUG_MODE
AdSettings.setIntegrationErrorMode(IntegrationErrorMode)
: throw IllegalStateException
when there is an integration error. This mode will only work if your
build has android.content.pm.ApplicationInfo#FLAG_DEBUGGABLE
otherwise INTEGRATION_ERROR_CALLBACK_MODE
will be used.public static final AdSettings.IntegrationErrorMode INTEGRATION_ERROR_CALLBACK_MODE
AdSettings.setIntegrationErrorMode(IntegrationErrorMode)
: call AdListener.onError(Ad, AdError)
callback if an integration error is discovered.public static final long serialVersionUID
public static AdSettings.IntegrationErrorMode[] values()
for (AdSettings.IntegrationErrorMode c : AdSettings.IntegrationErrorMode.values()) System.out.println(c);
public static AdSettings.IntegrationErrorMode 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