com.ooyala.android.AdOverlayInfo Class Reference

A class to transfer ad information required to render overlays. More...

Public Member Functions

 AdOverlayInfo (int width, int height, int expandedWidth, int expandedHeight, String resourceUrl, String clickUrl)
 create an ad overlay info More...
 
 AdOverlayInfo (NonLinear nonLinear)
 create an ad overlay info by VAST nonlinear More...
 
int getWidth ()
 
int getHeight ()
 
int getExpandedWidth ()
 
int getExpandedHeight ()
 
String getResourceUrl ()
 
String getClickUrl ()
 

Detailed Description

A class to transfer ad information required to render overlays.

Constructor & Destructor Documentation

com.ooyala.android.AdOverlayInfo.AdOverlayInfo ( int  width,
int  height,
int  expandedWidth,
int  expandedHeight,
String  resourceUrl,
String  clickUrl 
)

create an ad overlay info

Parameters
widththe width in pixels
heightthe height in pixels
expandedWidththe expandedWidth in pixels
expandedHeightthe expandedHeight in pixels
resourceUrlthe resource url
clickUrlthe click url
com.ooyala.android.AdOverlayInfo.AdOverlayInfo ( NonLinear  nonLinear)

create an ad overlay info by VAST nonlinear

Parameters
nonLinearthe VAST nonlinear object

Member Function Documentation

String com.ooyala.android.AdOverlayInfo.getClickUrl ( )
Returns
the click url
int com.ooyala.android.AdOverlayInfo.getExpandedHeight ( )
Returns
the expanded height
int com.ooyala.android.AdOverlayInfo.getExpandedWidth ( )
Returns
the expanded width
int com.ooyala.android.AdOverlayInfo.getHeight ( )
Returns
the height
String com.ooyala.android.AdOverlayInfo.getResourceUrl ( )
Returns
the resource url
int com.ooyala.android.AdOverlayInfo.getWidth ( )
Returns
the width