public class InterstitialImageViewProtocol extends CBViewProtocol
| Modifier and Type | Class and Description |
|---|---|
class |
InterstitialImageViewProtocol.InterstitialImageView |
CBViewProtocol.CBViewBase, CBViewProtocol.ImpressionAsset| Modifier and Type | Field and Description |
|---|---|
protected float |
globalFrameScale |
animationRunnables, assets, impression, orientation, supportsLandscape, supportsPortrait, uiHandler, uiManager, viewOnPaused| Constructor and Description |
|---|
InterstitialImageViewProtocol(CBImpression impression,
Handler uiHandler,
CBUIManager uiManager) |
| Modifier and Type | Method and Description |
|---|---|
protected CBViewProtocol.CBViewBase |
createViewObject(Context context)
create the actual view object
|
void |
destroy()
make the view and its data ready for GC.
|
CBImpression |
getImpression() |
protected Point |
getOffset(java.lang.String param) |
boolean |
prepare(JSONObject response)
prepare this view to load the given server JSON response
|
void |
setImageSize(ViewGroup.LayoutParams lp,
MemoryBitmap image,
float scale) |
click, clickExchange, close, destroyView, display, fadeView, fail, getAssets, getOrientation, getVideoDuration, getVideoPostion, getView, hexToColor, isBigScreen, onBackPressed, onPause, onResume, runDisplayTask, setReadyToDisplay, showView, tryCreatingViewOnActivity, tryCreatingViewOnHostViewpublic InterstitialImageViewProtocol(CBImpression impression, Handler uiHandler, CBUIManager uiManager)
protected CBViewProtocol.CBViewBase createViewObject(Context context)
CBViewProtocolcreateViewObject in class CBViewProtocolpublic boolean prepare(JSONObject response)
CBViewProtocolprepare in class CBViewProtocolprotected Point getOffset(java.lang.String param)
public CBImpression getImpression()
public void setImageSize(ViewGroup.LayoutParams lp,
MemoryBitmap image,
float scale)
public void destroy()
CBViewProtocolCBViewProtocol.destroyView()destroy in class CBViewProtocol