com.ooyala.android.ads.vast.VastParser Class Reference

Class for exposing VAST utils. More...

Public Member Functions

 VastParser (Element node)
 
double getLinearDuration ()
 Get the duration of the ad. More...
 
Map< String, Set< String > > getLinearTrackingEvents ()
 Get the linear tracking events for the VAST. More...
 
String getTitle ()
 Get the title of the ad. More...
 
String getAdId ()
 Get the ad identifier. More...
 
String getLinearClickThroughUrl ()
 Get URL for the click through. More...
 
String getDescription ()
 Get the description of the ad. More...
 

Detailed Description

Class for exposing VAST utils.

Constructor & Destructor Documentation

com.ooyala.android.ads.vast.VastParser.VastParser ( Element  node)

Member Function Documentation

String com.ooyala.android.ads.vast.VastParser.getAdId ( )

Get the ad identifier.

Returns
the ad identifier
String com.ooyala.android.ads.vast.VastParser.getDescription ( )

Get the description of the ad.

Returns
description of the ad
String com.ooyala.android.ads.vast.VastParser.getLinearClickThroughUrl ( )

Get URL for the click through.

Returns
URL for the click through
double com.ooyala.android.ads.vast.VastParser.getLinearDuration ( )

Get the duration of the ad.

Returns
duration of the ad
Map<String, Set<String> > com.ooyala.android.ads.vast.VastParser.getLinearTrackingEvents ( )

Get the linear tracking events for the VAST.

Returns
tracking events for the VAST
String com.ooyala.android.ads.vast.VastParser.getTitle ( )

Get the title of the ad.

Returns
title of the ad