Package com.inmobi.ads
Enum InMobiAdRequestStatus.StatusCode
- java.lang.Object
-
- java.lang.Enum<InMobiAdRequestStatus.StatusCode>
-
- com.inmobi.ads.InMobiAdRequestStatus.StatusCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InMobiAdRequestStatus.StatusCode>
- Enclosing class:
- InMobiAdRequestStatus
public static enum InMobiAdRequestStatus.StatusCode extends java.lang.Enum<InMobiAdRequestStatus.StatusCode>
Collection of codes indicating the status of an ad request.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_ACTIVE
User clicked on an ad and its in the expanded/resized state.AD_NO_LONGER_AVAILABLE
The availability of ad markup backing this ad unit changed.CALLED_FROM_WRONG_THREAD
An API called from non-ui threadCONFIGURATION_ERROR
load(byte[]) or getSignals() called with invalid configurationEARLY_REFRESH_REQUEST
User attempted to load an ad again before the minimum refresh request intervalGDPR_COMPLIANCE_ENFORCED
GDPR compliance enforced.GET_SIGNALS_CALLED_WHILE_LOADING
Load() called after load(byte[])INTERNAL_ERROR
An internal SDK error occurred.INVALID_RESPONSE_IN_LOAD
LOAD_WITH_RESPONSE_CALLED_WHILE_LOADING
LOW_MEMORY
MISSING_REQUIRED_DEPENDENCIES
Dependent libraries are missing for this ad formatMONETIZATION_DISABLED
Load() called when monetization is disabledNETWORK_UNREACHABLE
The ad network is not reachable.NO_ERROR
No error.NO_FILL
The ad request succeeded but no ad was returned.REPETITIVE_LOAD
Multiple load on the same object is calledREQUEST_INVALID
The ad network could not handle this request.REQUEST_PENDING
An ad request is already pending response.REQUEST_TIMED_OUT
An ad request timed out waiting for a response from the network.SERVER_ERROR
An Ad Server error occurred.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InMobiAdRequestStatus.StatusCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InMobiAdRequestStatus.StatusCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_ERROR
public static final InMobiAdRequestStatus.StatusCode NO_ERROR
No error.
-
NETWORK_UNREACHABLE
public static final InMobiAdRequestStatus.StatusCode NETWORK_UNREACHABLE
The ad network is not reachable.
-
NO_FILL
public static final InMobiAdRequestStatus.StatusCode NO_FILL
The ad request succeeded but no ad was returned.
-
REQUEST_INVALID
public static final InMobiAdRequestStatus.StatusCode REQUEST_INVALID
The ad network could not handle this request.
-
REQUEST_PENDING
public static final InMobiAdRequestStatus.StatusCode REQUEST_PENDING
An ad request is already pending response.
-
REQUEST_TIMED_OUT
public static final InMobiAdRequestStatus.StatusCode REQUEST_TIMED_OUT
An ad request timed out waiting for a response from the network.
-
INTERNAL_ERROR
public static final InMobiAdRequestStatus.StatusCode INTERNAL_ERROR
An internal SDK error occurred.
-
SERVER_ERROR
public static final InMobiAdRequestStatus.StatusCode SERVER_ERROR
An Ad Server error occurred.
-
AD_ACTIVE
public static final InMobiAdRequestStatus.StatusCode AD_ACTIVE
User clicked on an ad and its in the expanded/resized state.
-
EARLY_REFRESH_REQUEST
public static final InMobiAdRequestStatus.StatusCode EARLY_REFRESH_REQUEST
User attempted to load an ad again before the minimum refresh request interval
-
AD_NO_LONGER_AVAILABLE
public static final InMobiAdRequestStatus.StatusCode AD_NO_LONGER_AVAILABLE
The availability of ad markup backing this ad unit changed.
-
MISSING_REQUIRED_DEPENDENCIES
public static final InMobiAdRequestStatus.StatusCode MISSING_REQUIRED_DEPENDENCIES
Dependent libraries are missing for this ad format
-
REPETITIVE_LOAD
public static final InMobiAdRequestStatus.StatusCode REPETITIVE_LOAD
Multiple load on the same object is called
-
GDPR_COMPLIANCE_ENFORCED
public static final InMobiAdRequestStatus.StatusCode GDPR_COMPLIANCE_ENFORCED
GDPR compliance enforced.
-
GET_SIGNALS_CALLED_WHILE_LOADING
public static final InMobiAdRequestStatus.StatusCode GET_SIGNALS_CALLED_WHILE_LOADING
Load() called after load(byte[])
-
LOAD_WITH_RESPONSE_CALLED_WHILE_LOADING
public static final InMobiAdRequestStatus.StatusCode LOAD_WITH_RESPONSE_CALLED_WHILE_LOADING
-
INVALID_RESPONSE_IN_LOAD
public static final InMobiAdRequestStatus.StatusCode INVALID_RESPONSE_IN_LOAD
-
MONETIZATION_DISABLED
public static final InMobiAdRequestStatus.StatusCode MONETIZATION_DISABLED
Load() called when monetization is disabled
-
CALLED_FROM_WRONG_THREAD
public static final InMobiAdRequestStatus.StatusCode CALLED_FROM_WRONG_THREAD
An API called from non-ui thread
-
CONFIGURATION_ERROR
public static final InMobiAdRequestStatus.StatusCode CONFIGURATION_ERROR
load(byte[]) or getSignals() called with invalid configuration
-
LOW_MEMORY
public static final InMobiAdRequestStatus.StatusCode LOW_MEMORY
-
-
Method Detail
-
values
public static InMobiAdRequestStatus.StatusCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InMobiAdRequestStatus.StatusCode c : InMobiAdRequestStatus.StatusCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InMobiAdRequestStatus.StatusCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-