Package com.yandex.mobile.ads.nativeads
Interface NativeAdEventListener
-
- All Known Subinterfaces:
ClosableNativeAdEventListener
public interface NativeAdEventListener
A listener for receiving notifications during the lifecycle of a native ad.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAdClicked()
Called when user clicked on the ad.void
onImpression(ImpressionData impressionData)
Called when an impression was observedvoid
onLeftApplication()
Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.void
onReturnedToApplication()
Called when user returned to application after click.
-
-
-
Method Detail
-
onAdClicked
void onAdClicked()
Called when user clicked on the ad.
-
onLeftApplication
void 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
void onReturnedToApplication()
Called when user returned to application after click.
-
onImpression
void onImpression(@Nullable ImpressionData impressionData)
Called when an impression was observed- Parameters:
impressionData
- - impression level revenue data
-
-