-
- All Implemented Interfaces:
public interface InlineAdView.InlineAdListener
Interface for receiving notifications from the InlineAdView
-
-
Method Summary
Modifier and Type Method Description abstract void
onLoaded(InlineAdView inlineAd)
Called when the ) has been loaded the { } that was loaded abstract void
onLoadFailed(InlineAdView inlineAd, ErrorInfo errorInfo)
Called when the InlineAdView failed to load abstract void
onError(InlineAdView inlineAd, ErrorInfo errorInfo)
Called when an error occurs during the InlineAdView lifecycle. abstract void
onResized(InlineAdView inlineAd)
Called when the InlineAdView has been resized abstract void
onExpanded(InlineAdView inlineAd)
Called when the InlineAdView has been expanded abstract void
onCollapsed(InlineAdView inlineAd)
Called when the InlineAdView has been collapsed abstract void
onClicked(InlineAdView inlineAd)
Called when the InlineAdView has been clicked abstract void
onAdLeftApplication(InlineAdView inlineAd)
Called when the InlineAdView causes the user to leave the application. abstract void
onAdRefreshed(InlineAdView inlineAd)
Called when the InlineAdView has been refreshed abstract 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 -
-
Method Detail
-
onLoaded
abstract void onLoaded(InlineAdView inlineAd)
Called when the ) has been loaded the { } that was loaded
-
onLoadFailed
abstract void onLoadFailed(InlineAdView inlineAd, ErrorInfo errorInfo)
Called when the InlineAdView failed to load
- Parameters:
inlineAd
- the InlineAdView that failed to load
-
onError
abstract void onError(InlineAdView inlineAd, ErrorInfo errorInfo)
Called when an error occurs during the InlineAdView lifecycle. An ErrorInfo object provides detail about the error
- Parameters:
inlineAd
- the InlineAdView that experienced the errorerrorInfo
- the ErrorInfo that describes the error that occurred
-
onResized
abstract void onResized(InlineAdView inlineAd)
Called when the InlineAdView has been resized
- Parameters:
inlineAd
- the InlineAdView that was resized
-
onExpanded
abstract void onExpanded(InlineAdView inlineAd)
Called when the InlineAdView has been expanded
- Parameters:
inlineAd
- the InlineAdView that was expanded
-
onCollapsed
abstract void onCollapsed(InlineAdView inlineAd)
Called when the InlineAdView has been collapsed
- Parameters:
inlineAd
- the InlineAdView that was collapsed
-
onClicked
abstract void onClicked(InlineAdView inlineAd)
Called when the InlineAdView has been clicked
- Parameters:
inlineAd
- the InlineAdView that was clicked
-
onAdLeftApplication
abstract 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:
inlineAd
- the InlineAdView that caused the application exit
-
onAdRefreshed
abstract void onAdRefreshed(InlineAdView inlineAd)
Called when the InlineAdView has been refreshed
- Parameters:
inlineAd
- the InlineAdView that was refreshed
-
onEvent
abstract 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:
inlineAd
- the InlineAdView that was relaying the eventsource
- the identifier of the event sourceeventId
- the event identifierarguments
- a map of key/value pairs of arguments related to the event
-
-
-
-