com.ooyala.android.AdIconInfo Class Reference

Created by zchen on 3/3/16. More...

Public Member Functions

 AdIconInfo (int index, int width, int height, int x, int y, double offset, double duration, String resourceUrl)
 Create an ad icon info. More...
 
int getIndex ()
 
int getWidth ()
 
int getHeight ()
 
int getxPosition ()
 
int getyPosition ()
 
double getOffset ()
 
double getDuration ()
 
String getResourceUrl ()
 

Detailed Description

Created by zchen on 3/3/16.

A class to transfer ad icon information required to render ad icon

Constructor & Destructor Documentation

com.ooyala.android.AdIconInfo.AdIconInfo ( int  index,
int  width,
int  height,
int  x,
int  y,
double  offset,
double  duration,
String  resourceUrl 
)

Create an ad icon info.

Parameters
indexthe index of the icon in the list
widththe width of icon, in pixels
heighta click through url, if presented then the ad is clickable
xthe x position, in pixels, top is 0
ythe y position, in pixels, left is 0
offsetthe time offset, in seconds, when icon should start displaying
durationthe duration for the icon to display
resourceUrlthe url for the icon

Member Function Documentation

double com.ooyala.android.AdIconInfo.getDuration ( )
Returns
the duration
int com.ooyala.android.AdIconInfo.getHeight ( )
Returns
the height
int com.ooyala.android.AdIconInfo.getIndex ( )
Returns
the index
double com.ooyala.android.AdIconInfo.getOffset ( )
Returns
the offset
String com.ooyala.android.AdIconInfo.getResourceUrl ( )
Returns
the resource url
int com.ooyala.android.AdIconInfo.getWidth ( )
Returns
the width
int com.ooyala.android.AdIconInfo.getxPosition ( )
Returns
the x position
int com.ooyala.android.AdIconInfo.getyPosition ( )
Returns
the y position