Package org.prebid.mobile
Class AdSize
- java.lang.Object
-
- org.prebid.mobile.AdSize
-
public class AdSize extends java.lang.ObjectAdSize class defines the size of the ad slot to be made available for auction.
-
-
Constructor Summary
Constructors Constructor Description AdSize(int width, int height)Creates an ad size object with width and height as specified
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetHeight()Returns the height of the ad containerintgetWidth()Returns the width of the ad containerinthashCode()
-
-
-
Method Detail
-
getWidth
public int getWidth()
Returns the width of the ad container- Returns:
- width
-
getHeight
public int getHeight()
Returns the height of the ad container- Returns:
- height
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-