HeliumBannerAdListener

Use to listen to Helium banner ad events.

Functions

Link copied to clipboard
abstract fun onAdCached(placementName: String, loadId: String, winningBidInfo: Map<String, String>, error: ChartboostMediationAdException?)

Called when an ad is cached or fails to cache.

open fun onAdCached(placementName: String, loadId: String, winningBidInfo: Map<String, String>, error: ChartboostMediationAdException?, bannerSize: Size)

Called when an ad is cached or fails to cache. By default this overload calls the function without the bannerSize parameter.

Link copied to clipboard
abstract fun onAdClicked(placementName: String)

Called when the ad executes its clickthrough. This may happen multiple times for the same ad.

Link copied to clipboard
abstract fun onAdImpressionRecorded(placementName: String)

Called when an ad impression occurs. This signal is when Helium fires an impression and is independent of any partner impression.

Link copied to clipboard
open fun onAdViewAdded(placementName: String, child: View?)

Called when an ad View is added to this HeliumBannerAd.