public class FullScreenBanner extends AbstractAlertView<BaseViewInterface> implements BannerStateListener
Modifier and Type | Class and Description |
---|---|
class |
FullScreenBanner.FullScreenView
Class used to handle a FullScreenBanner.
|
mAlertBannerStateListener, TAG
Constructor and Description |
---|
FullScreenBanner(Context context)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
protected AdListenerInterface |
createAdListener()
Should be implemented in children class in order to get the appropriate
AdListenerInterface . |
void |
dismiss()
Close the current dialog.
|
protected void |
init()
Initialize the class variables.
|
void |
onWillCloseLandingPage(BaseView sender)
Called when Landing page is about being closed.
|
void |
onWillOpenLandingPage(BaseView sender)
Called when landing page is about being called.
|
void |
setBackgroundColor(int color) |
addAdListener, asyncLoadNewBanner, getAlertBannerStateListener, getAlertDialog, getContext, getTitle, getUserSettings, isLocationUpdateEnabled, removeAdListener, setAdSpaceId, setAlertBannerStateListener, setAlertDialog, setContext, setLocationUpdateEnabled, setPublisherId, setTitle
public FullScreenBanner(Context context)
protected void init() throws FullScreenBannerInstantiationException
AbstractAlertView
init
in class AbstractAlertView<BaseViewInterface>
FullScreenBannerInstantiationException
public void setBackgroundColor(int color)
protected AdListenerInterface createAdListener()
AbstractAlertView
AdListenerInterface
.createAdListener
in class AbstractAlertView<BaseViewInterface>
AdListenerInterface
public void dismiss()
AbstractAlertView
dismiss
in class AbstractAlertView<BaseViewInterface>
public void onWillOpenLandingPage(BaseView sender)
onWillOpenLandingPage
in interface BannerStateListener
sender
- BaseView
public void onWillCloseLandingPage(BaseView sender) throws FullScreenBannerClosingLandingPageFailed
onWillCloseLandingPage
in interface BannerStateListener
sender
- BaseView
FullScreenBannerClosingLandingPageFailed