public class MaxAdFormat
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static MaxAdFormat |
BANNER
Represents a 320x50 banner advertisement.
|
static MaxAdFormat |
INTERSTITIAL
Represents a full-screen advertisement.
|
static MaxAdFormat |
LEADER
Represents a 728x90 leaderboard advertisement (for tablets).
|
static MaxAdFormat |
MREC
Represents a 300x250 rectangular advertisement.
|
static MaxAdFormat |
NATIVE
Represents a native advertisement.
|
static MaxAdFormat |
REWARDED
Similar to
INTERSTITIAL, except that users are given a reward at the end of the advertisement. |
static MaxAdFormat |
REWARDED_INTERSTITIAL
Represents a fullscreen ad which the user can skip and be granted a reward upon successful completion of the ad.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel() |
AppLovinSdkUtils.Size |
getSize() |
boolean |
isAdViewAd() |
boolean |
isFullscreenAd() |
java.lang.String |
toString() |
public static final MaxAdFormat BANNER
public static final MaxAdFormat MREC
public static final MaxAdFormat LEADER
public static final MaxAdFormat INTERSTITIAL
public static final MaxAdFormat REWARDED
INTERSTITIAL, except that users are given a reward at the end of the advertisement.public static final MaxAdFormat REWARDED_INTERSTITIAL
public static final MaxAdFormat NATIVE
public java.lang.String getLabel()
public AppLovinSdkUtils.Size getSize()
public boolean isFullscreenAd()
true if the ad format is an interstitial, rewarded, or rewarded interstitial.public boolean isAdViewAd()
true if the ad format is a banner, leader, or MREC.public java.lang.String toString()
toString in class java.lang.Object