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

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

Public Member Functions

void onAdLeftApplication (InlineAdView inlineAd)
 Called when the InlineAdView causes the user to leave the application. More...
 
void onAdRefreshed (InlineAdView inlineAd)
 Called when the InlineAdView has been refreshed. More...
 
void onClicked (InlineAdView inlineAd)
 Called when the InlineAdView has been clicked. More...
 
void onCollapsed (InlineAdView inlineAd)
 Called when the InlineAdView has been collapsed. More...
 
void onError (InlineAdView inlineAd, final ErrorInfo errorInfo)
 Called when an error occurs during the InlineAdView lifecycle. More...
 
void onEvent (InlineAdView inlineAd, String source, String eventId, Map< String, Object > arguments)
 This callback is used to surface additional events to the publisher from the SDK. More...
 
void onExpanded (InlineAdView inlineAd)
 Called when the InlineAdView has been expanded. More...
 
void onResized (InlineAdView inlineAd)
 Called when the InlineAdView has been resized. More...
 

Detailed Description

Interface for receiving notifications from the InlineAdView.

Member Function Documentation

◆ onAdLeftApplication()

void onAdLeftApplication ( InlineAdView  inlineAd)

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

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

Parameters
inlineAdthe InlineAdView that caused the application exit

◆ onAdRefreshed()

void onAdRefreshed ( InlineAdView  inlineAd)

Called when the InlineAdView has been refreshed.

Parameters
inlineAdthe InlineAdView that was refreshed

◆ onClicked()

void onClicked ( InlineAdView  inlineAd)

Called when the InlineAdView has been clicked.

Parameters
inlineAdthe InlineAdView that was clicked

◆ onCollapsed()

void onCollapsed ( InlineAdView  inlineAd)

Called when the InlineAdView has been collapsed.

Parameters
inlineAdthe InlineAdView that was collapsed

◆ onError()

void onError ( InlineAdView  inlineAd,
final ErrorInfo  errorInfo 
)

Called when an error occurs during the InlineAdView lifecycle.

An ErrorInfo object provides detail about the error

Parameters
inlineAdthe InlineAdView that experienced the error
errorInfothe ErrorInfo that describes the error that occurred

◆ onEvent()

void onEvent ( InlineAdView  inlineAd,
String  source,
String  eventId,
Map< String, Object arguments 
)

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

Parameters
inlineAdthe InlineAdView that was relaying the event
sourcethe identifier of the event source
eventIdthe event identifier
argumentsa map of key/value pairs of arguments related to the event

◆ onExpanded()

void onExpanded ( InlineAdView  inlineAd)

Called when the InlineAdView has been expanded.

Parameters
inlineAdthe InlineAdView that was expanded

◆ onResized()

void onResized ( InlineAdView  inlineAd)

Called when the InlineAdView has been resized.

Parameters
inlineAdthe InlineAdView that was resized