Class AdResponseParserVast
java.lang.Object
org.prebid.mobile.rendering.parser.AdResponseParserBase
org.prebid.mobile.rendering.parser.AdResponseParserVast
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrackingfindTracking(ArrayList<Tracking> trackingEvents) Searches through ArrayList of Tracking for a specific eventgetAdVerification(AdResponseParserVast parserVast, int index) getAllTrackings(AdResponseParserVast parserVast, int index) getClickThroughUrl(AdResponseParserVast parserVast, int index) getClickTrackings(AdResponseParserVast parserVast, int index) static CompaniongetCompanionAd(InLine inline) Returns best companion inside InLinestatic IntegergetCompanionResourceFormat(Companion companion) Returns companion ad's resource formatgetError(AdResponseParserVast parserVast, int index) intprotected ArrayList<Impression> getImpressionEvents(VAST vast, int index) getImpressions(AdResponseParserVast parserVast, int index) getMediaFileUrl(AdResponseParserVast parserVast, int index) getSkipOffset(AdResponseParserVast parserVast, int index) getTrackingEvents(VAST vast, int index) getVast()getVideoDuration(AdResponseParserVast parserVast, int index) intgetWidth()booleanisReady()voidsetWrapper(AdResponseParserVast vastXml)
-
Field Details
-
RESOURCE_FORMAT_HTML
public static final int RESOURCE_FORMAT_HTML- See Also:
-
RESOURCE_FORMAT_IFRAME
public static final int RESOURCE_FORMAT_IFRAME- See Also:
-
RESOURCE_FORMAT_STATIC
public static final int RESOURCE_FORMAT_STATIC- See Also:
-
-
Constructor Details
-
AdResponseParserVast
- Throws:
VastParseError
-
-
Method Details
-
getTrackings
-
getImpressions
-
getClickTrackings
-
getVast
-
getImpressionTrackerUrl
-
getVastUrl
-
getMediaFileUrl
-
getImpressions
-
getTrackingEvents
-
getImpressionEvents
-
getAllTrackings
-
getTrackingByType
-
getSkipOffset
-
getVideoDuration
-
getAdVerification
-
getError
-
getClickThroughUrl
-
getClickTrackings
-
getClickTrackingUrl
-
getCompanionAd
Returns best companion inside InLine -
getCompanionResourceFormat
Returns companion ad's resource format -
findTracking
Searches through ArrayList of Tracking for a specific event -
isReady
public boolean isReady() -
setWrapper
-
getWrappedVASTXml
- Returns:
- null if no wrapped XML is present, a reference to a wrapped VASTXmlParse if it is
-
getWidth
public int getWidth() -
getHeight
public int getHeight()
-