AdropBannerDelegate

protocol AdropBannerDelegate

A protocol defining those callbacks to be triggered by the AdropBanner under appropriate conditions.


Public functions

func onAdReceived(_ banner: AdropBanner)

func onAdReceived(_ banner: AdropBanner)

This method gets invoked in the UI thread when the AdropBanner receives an ad.

func onAdClicked(_ banner: AdropBanner)

func onAdClicked(_ banner: AdropBanner)

This method gets invoked in the UI thread when the AdropBanner is clicked.

func onAdFailedToReceive(_ banner: AdropBanner, _ error: AdropErrorCode)

func onAdFailedToReceive(_ banner: AdropBanner, _ error: AdropErrorCode)

This method gets invoked in the UI thread when the AdropBanner fails to receive an ad.