public class MadvertiseMraidView
extends WebView
| Modifier and Type | Class and Description |
|---|---|
class |
MadvertiseMraidView.ExpandProperties |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
STATE_DEFAULT |
protected static int |
STATE_EXPANDED |
protected static int |
STATE_HIDDEN |
protected static int |
STATE_LOADING |
| Constructor and Description |
|---|
MadvertiseMraidView(Context context) |
MadvertiseMraidView(Context context,
MadvertiseView.MadvertiseViewCallbackListener listener,
MadvertiseView.AnimationEndListener animationEndListener,
Handler loadingCompletedHandler,
MadvertiseView madView) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireErrorEvent(java.lang.String message,
java.lang.String action) |
protected void |
fireEvent(java.lang.String event) |
protected MadvertiseMraidView.ExpandProperties |
getExpandProperties() |
int |
getPlacementType() |
protected void |
injectJs(java.lang.String jsCode) |
protected void |
loadAd(MadvertiseAd ad) |
void |
loadDataWithBaseURL(java.lang.String baseUrl,
java.lang.String data,
java.lang.String mimeType,
java.lang.String encoding,
java.lang.String historyUrl) |
void |
loadUrl(java.lang.String url) |
protected void |
onAnimationEnd() |
protected void |
onAttachedToWindow() |
protected void |
onDetachedFromWindow() |
void |
setPlacementType(int placementType) |
protected void |
setState(int state) |
void |
setVisibility(int visibility) |
protected static final int STATE_LOADING
protected static final int STATE_HIDDEN
protected static final int STATE_DEFAULT
protected static final int STATE_EXPANDED
public MadvertiseMraidView(Context context,
MadvertiseView.MadvertiseViewCallbackListener listener,
MadvertiseView.AnimationEndListener animationEndListener,
Handler loadingCompletedHandler,
MadvertiseView madView)
public MadvertiseMraidView(Context context)
protected void loadAd(MadvertiseAd ad)
public void loadUrl(java.lang.String url)
public void loadDataWithBaseURL(java.lang.String baseUrl,
java.lang.String data,
java.lang.String mimeType,
java.lang.String encoding,
java.lang.String historyUrl)
public int getPlacementType()
public void setPlacementType(int placementType)
protected void setState(int state)
protected void fireEvent(java.lang.String event)
protected void fireErrorEvent(java.lang.String message,
java.lang.String action)
protected MadvertiseMraidView.ExpandProperties getExpandProperties()
protected void injectJs(java.lang.String jsCode)
protected void onAttachedToWindow()
protected void onDetachedFromWindow()
public void setVisibility(int visibility)
protected void onAnimationEnd()