Enum VideoAdErrorCode
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum VideoAdErrorCode extends Enum<VideoAdErrorCode>
The types of error that can be encountered.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integercodeprivate final EnumEntries<VideoAdErrorCode>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNAL_ERRORan error internal to the SDK occurred.
VAST_PARSING_ERRORthe ad response was not recognized as a valid VAST ad.
VAST_TRAFFICKING_ERRORtrafficking error. Video player received an ad type that it was not expecting and/or cannot display.
VAST_LOAD_TIMEOUTat least one VAST wrapper ad loaded successfully and a subsequent wrapper or inline ad load has timed out.
VAST_TOO_MANY_REDIRECTSthe maximum number of VAST wrapper redirects has been reached.
VAST_EMPTY_RESPONSEa VAST response containing a single
<VAST>tag with no child tags.VIDEO_PLAY_ERRORthere was an error playing the video ad.
VAST_MEDIA_LOAD_TIMEOUTfailed to load media assets from a VAST response. The default timeout for media loading is 8 seconds.
LINEAR_ASSET_MISMATCHassets were found in the VAST ad response for a linear ad, but none of them matched the video player's capabilities.
NON_LINEAR_AD_RENDERING_FAILEDa linear ad failed to render.
NON_LINEAR_AD_FETCHING_FAILEDa linear ad failed to fetch.
NON_LINEAR_ASSET_MISMATCHassets were found in the VAST ad response for a nonlinear ad, but none of them matched the video player's capabilities.
COMPANION_AD_RENDERING_FAILEDa companion ad failed to render.
COMPANION_AD_REQUIRED_COMPANION_RENDERING_FAILEDa companion ad failed to display required companion.
COMPANION_AD_FETCHING_FAILEDa companion ad failed to fetch.
COMPANION_ASSET_MISMATCHassets were found in the VAST ad response for a companion ad, but none of them matched the video player's capabilities.
INVALID_ARGUMENTSinvalid arguments were provided to SDK methods.
FAILED_TO_REQUEST_ADSthere was a problem requesting ads from the server.
PLAYLIST_NO_CONTENT_TRACKINGads list was returned but ContentProgressProvider was not configured.
-
Method Summary
Modifier and Type Method Description final VideoAdErrorCodevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<VideoAdErrorCode>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetCode()the code which this error code is associated. final EnumEntries<VideoAdErrorCode>getEntries()The types of error that can be encountered. -
-
Method Detail
-
valueOf
final VideoAdErrorCode valueOf(String value)
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.)
-
values
final Array<VideoAdErrorCode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<VideoAdErrorCode> getEntries()
The types of error that can be encountered.
-
-
-
-