java.lang.Object | |
↳ | com.applovin.sdk.AppLovinAdSize |
This class defines a size of an ad to be displayed. It is recommended to use default sizes that are declared in this class (BANNER
, MREC
, INTERSTITIAL
)
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | SPAN |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BANNER | Represents a 350x50 banner advertisement. | ||||||||||
INTERSTITIAL | Represents a full-screen advertisement with high click-through rates that covers the underlying activity. | ||||||||||
LEADER | Represents a 728x90 leaderboard advertisement indented for tablets. | ||||||||||
MREC | Represents a 320x250, mostly square advertisement. | ||||||||||
NATIVE | Represents a native advertisement |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtain a set of all available Ad Sizes.
| |||||||||||
Create a size object from a string representation
| |||||||||||
Get requested ad height
| |||||||||||
Get a name of the ad size
| |||||||||||
Get requested ad width
| |||||||||||
Simply calls
getLabel() . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Represents a full-screen advertisement with high click-through rates that covers the underlying activity.
Represents a 728x90 leaderboard advertisement indented for tablets.
Obtain a set of all available Ad Sizes.
Create a size object from a string representation
sizeName | Name of the size. |
---|
Get requested ad height
Get a name of the ad size
Get requested ad width
Simply calls getLabel()
.