public class POBAdSize
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static POBAdSize |
BANNER_SIZE_120x600 |
static POBAdSize |
BANNER_SIZE_250x250 |
static POBAdSize |
BANNER_SIZE_300x250 |
static POBAdSize |
BANNER_SIZE_300x300 |
static POBAdSize |
BANNER_SIZE_320x100 |
static POBAdSize |
BANNER_SIZE_320x50 |
static POBAdSize |
BANNER_SIZE_468x60 |
static POBAdSize |
BANNER_SIZE_728x90 |
static POBAdSize |
INTERSTITIAL_1024x768 |
static POBAdSize |
INTERSTITIAL_320x480 |
static POBAdSize |
INTERSTITIAL_480x320 |
static POBAdSize |
INTERSTITIAL_768x1024 |
Constructor and Description |
---|
POBAdSize(int adWidth,
int adHeight)
Parameterised constructor for defining the custom ad size
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getAdHeight()
Returns the height of an ad
|
int |
getAdWidth()
Returns the width of an ad
|
int |
hashCode() |
boolean |
isMREC()
Function to check if the ad size is MREC
|
java.lang.String |
toString() |
public static final POBAdSize BANNER_SIZE_320x50
public static final POBAdSize BANNER_SIZE_320x100
public static final POBAdSize BANNER_SIZE_300x250
public static final POBAdSize BANNER_SIZE_300x300
public static final POBAdSize BANNER_SIZE_250x250
public static final POBAdSize BANNER_SIZE_468x60
public static final POBAdSize BANNER_SIZE_728x90
public static final POBAdSize BANNER_SIZE_120x600
public static final POBAdSize INTERSTITIAL_320x480
public static final POBAdSize INTERSTITIAL_480x320
public static final POBAdSize INTERSTITIAL_768x1024
public static final POBAdSize INTERSTITIAL_1024x768
public POBAdSize(int adWidth, int adHeight)
adWidth
- width of an adadHeight
- height of an adpublic boolean isMREC()
public int getAdWidth()
public int getAdHeight()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
@NonNull public java.lang.String toString()
toString
in class java.lang.Object