TWMAdViewListener

interface TWMAdViewListener

TWMAdViewListener.

A listener for receiving notifications during the lifecycle of an ad.

Functions

onDismissScreen
Link copied to clipboard
abstract fun onDismissScreen(ad: TWMAd)
Called when an ad is dismissed.
onFailedToReceiveAd
Link copied to clipboard
abstract fun onFailedToReceiveAd(ad: TWMAd, errorCode: TWMAdRequest.ErrorCode)
Called when an app open ad has failed to load.
onLeaveApplication
Link copied to clipboard
abstract fun onLeaveApplication(ad: TWMAd)
Called when the ad is causing the device to switch to a different application, such as a web browser when the ad is clicked.
onPresentScreen
Link copied to clipboard
abstract fun onPresentScreen(ad: TWMAd)
Called when an ad is presented.
onReceiveAd
Link copied to clipboard
abstract fun onReceiveAd(ad: TWMAd)
Called when an ad is received.