Package com.yandex.mobile.ads.nativeads
Interface NativeAdEventListener
-
- All Implemented Interfaces:
@MainThread() public interface NativeAdEventListener
A listener for receiving notifications during the lifecycle of a native ad.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonAdClicked()Called when user clicked on the ad. abstract UnitonLeftApplication()Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad. abstract UnitonReturnedToApplication()Called when user returned to application after click. abstract UnitonImpression(ImpressionData impressionData)Called when an impression was observed -
-
Method Detail
-
onAdClicked
abstract Unit onAdClicked()
Called when user clicked on the ad.
-
onLeftApplication
abstract Unit onLeftApplication()
Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.
-
onReturnedToApplication
abstract Unit onReturnedToApplication()
Called when user returned to application after click.
-
onImpression
abstract Unit onImpression(ImpressionData impressionData)
Called when an impression was observed
- Parameters:
impressionData-impression level revenue data
-
-
-
-