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 ( int  index,
int  width,
int  height,
int  x,
int  y,
double  offset,
double  duration,
String  resourceUrl 

Create an ad icon info.

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 ( )
the duration
int ( )
the height
int ( )
the index
double ( )
the offset
String ( )
the resource url
int ( )
the width
int ( )
the x position
int ( )
the y position