com.ooyala.android.AdPodInfo Class Reference

A class to transfer ad pod information required to render ads. More...

Public Member Functions

 AdPodInfo (String title, String description, String clickUrl, int adsCount, int unplayedCount)
 Create a non-skippable ad pod info. More...
 
 AdPodInfo (String title, String description, String clickUrl, int adsCount, int unplayedCount, double skipoffset, boolean adbar, boolean controls, List< AdIconInfo > icons)
 Create a complete ad pod info. More...
 
boolean isAdbar ()
 
String getDescription ()
 
String getTitle ()
 
String getClickUrl ()
 
int getAdsCount ()
 
int getUnplayedCount ()
 
boolean isControls ()
 
double getSkipOffset ()
 
List< AdIconInfogetIcons ()
 
String toString ()
 

Detailed Description

A class to transfer ad pod information required to render ads.

Constructor & Destructor Documentation

com.ooyala.android.AdPodInfo.AdPodInfo ( String  title,
String  description,
String  clickUrl,
int  adsCount,
int  unplayedCount 
)

Create a non-skippable ad pod info.

Parameters
titlethe title of the ad
descriptionthe description of the ad
clickUrla click through url, if presented then the ad is clickable
adsCountthe number of total ads in the spot
unplayedCountthe number of ads, excluding the current one, that has not been played.
com.ooyala.android.AdPodInfo.AdPodInfo ( String  title,
String  description,
String  clickUrl,
int  adsCount,
int  unplayedCount,
double  skipoffset,
boolean  adbar,
boolean  controls,
List< AdIconInfo icons 
)

Create a complete ad pod info.

Parameters
titlethe title of the ad
descriptionthe description of the ad
clickUrla click through url, if presented then the ad is clickable
adsCountthe number of total ads in the spot
unplayedCountthe number of ads, excluding the current one, that has not been played.
adbarspecify if UI adbar is required
controlsspecify if
iconsa list of ad icons

Member Function Documentation

int com.ooyala.android.AdPodInfo.getAdsCount ( )
Returns
ads count
String com.ooyala.android.AdPodInfo.getClickUrl ( )
Returns
clickUrl
String com.ooyala.android.AdPodInfo.getDescription ( )
Returns
description
List<AdIconInfo> com.ooyala.android.AdPodInfo.getIcons ( )
Returns
icons
double com.ooyala.android.AdPodInfo.getSkipOffset ( )
Returns
skip offset, in seconds
String com.ooyala.android.AdPodInfo.getTitle ( )
Returns
title
int com.ooyala.android.AdPodInfo.getUnplayedCount ( )
Returns
unplayed count
boolean com.ooyala.android.AdPodInfo.isAdbar ( )
Returns
adbar
boolean com.ooyala.android.AdPodInfo.isControls ( )
Returns
controls
String com.ooyala.android.AdPodInfo.toString ( )