public class AdProperties
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AdProperties.AdType |
Modifier and Type | Field and Description |
---|---|
static int |
CAN_EXPAND1 |
static int |
CAN_EXPAND2 |
static int |
CAN_PLAY_AUDIO1 |
static int |
CAN_PLAY_AUDIO2 |
static int |
CAN_PLAY_VIDEO |
static int |
HTML |
static int |
INTERSTITIAL |
static int |
MRAID1 |
static int |
MRAID2 |
static int |
REQUIRES_TRANSPARENCY |
static int |
VIDEO_INTERSTITIAL |
Modifier and Type | Method and Description |
---|---|
boolean |
canExpand()
Gets whether the ad can be expanded.
|
boolean |
canPlayAudio()
Gets whether the ad plays audio when expanded.
|
boolean |
canPlayVideo()
Gets whether the ad plays video when expanded.
|
AdProperties.AdType |
getAdType()
Gets the type of ad.
|
public static final int CAN_PLAY_AUDIO1
public static final int CAN_PLAY_AUDIO2
public static final int CAN_EXPAND1
public static final int CAN_EXPAND2
public static final int HTML
public static final int INTERSTITIAL
public static final int CAN_PLAY_VIDEO
public static final int MRAID1
public static final int MRAID2
public static final int VIDEO_INTERSTITIAL
public static final int REQUIRES_TRANSPARENCY
public AdProperties.AdType getAdType()
public boolean canExpand()
public boolean canPlayAudio()
public boolean canPlayVideo()