Android Verizon Ads SDK Standard Edition Documentation  1.1
Public Member Functions | List of all members
InterstitialAd.InterstitialAdListener Interface Reference

Interface for receiving notifications from the InterstitialAd. More...

Public Member Functions

void onAdLeftApplication (InterstitialAd interstitialAd)
 Called when the InterstitialAd causes the user to leave the application. More...
 
void onClicked (InterstitialAd interstitialAd)
 Called when the InterstitialAd has been clicked. More...
 
void onClosed (InterstitialAd interstitialAd)
 Called when the InterstitialAd has been closed. More...
 
void onError (InterstitialAd interstitialAd, ErrorInfo errorInfo)
 Called when an error occurs during the InterstitialAd lifecycle. More...
 
void onEvent (InterstitialAd interstitialAd, String source, String eventId, Map< String, Object > arguments)
 This callback is used to surface additional events to the publisher from the SDK. More...
 
void onShown (InterstitialAd interstitialAd)
 Called when the InterstitialAd has been shown. More...
 

Detailed Description

Interface for receiving notifications from the InterstitialAd.

Member Function Documentation

◆ onAdLeftApplication()

void onAdLeftApplication ( InterstitialAd  interstitialAd)

Called when the InterstitialAd causes the user to leave the application.

For example, tapping a InterstitialAd may launch an external browser.

Parameters
interstitialAdthe InterstitialAd that caused the application exit

◆ onClicked()

void onClicked ( InterstitialAd  interstitialAd)

Called when the InterstitialAd has been clicked.

Parameters
interstitialAdthe InterstitialAd that was clicked

◆ onClosed()

void onClosed ( InterstitialAd  interstitialAd)

Called when the InterstitialAd has been closed.

Parameters
interstitialAdthe InterstitialAd that was closed

◆ onError()

void onError ( InterstitialAd  interstitialAd,
ErrorInfo  errorInfo 
)

Called when an error occurs during the InterstitialAd lifecycle.

An ErrorInfo object provides detail about the error

Parameters
interstitialAdthe InterstitialAd that experienced the error
errorInfothe ErrorInfo that describes the error that occurred

◆ onEvent()

void onEvent ( InterstitialAd  interstitialAd,
String  source,
String  eventId,
Map< String, Object arguments 
)

This callback is used to surface additional events to the publisher from the SDK.

Parameters
interstitialAdthe InterstitialAd that is relaying the event
sourcethe identifier of the event source
eventIdthe event identifier
argumentsa map of key/value pairs of arguments related to the event

◆ onShown()

void onShown ( InterstitialAd  interstitialAd)

Called when the InterstitialAd has been shown.

Parameters
interstitialAdthe InterstitialAd that was shown