Package org.prebid.mobile.api.data
Enum Class FetchDemandResult
- All Implemented Interfaces:
- Serializable,- Comparable<FetchDemandResult>,- Constable
Enum fetch demand status for all ads.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe ad request failed due to empty account idGAM views supported onlyThe ad request failed due to empty config id on the ad unitInvalid context passedThe ad request failed because a CUSTOM host used without providing host urlSize is invalid or missingThe ad request failed due to a network error.No bids available from demand sourceServer responded with some error messagesThe attaching keywords was successful, which means there was demand and the demand was set on the ad object.The ad request took longer than set time out
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic FetchDemandResultparseErrorMessage(String msg) static FetchDemandResultReturns the enum constant of this class with the specified name.static FetchDemandResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
SUCCESSThe attaching keywords was successful, which means there was demand and the demand was set on the ad object.
- 
INVALID_ACCOUNT_IDThe ad request failed due to empty account id
- 
INVALID_CONFIG_IDThe ad request failed due to empty config id on the ad unit
- 
INVALID_SIZESize is invalid or missing
- 
INVALID_CONTEXTInvalid context passed
- 
INVALID_AD_OBJECTGAM views supported only
- 
INVALID_HOST_URLThe ad request failed because a CUSTOM host used without providing host url
- 
NETWORK_ERRORThe ad request failed due to a network error.
- 
TIMEOUTThe ad request took longer than set time out
- 
NO_BIDSNo bids available from demand source
- 
SERVER_ERRORServer responded with some error messages
 
- 
- 
Field Details- 
NO_BIDS_MESSAGE- See Also:
 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
parseErrorMessage
 
-