-
- 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 voidonAdClicked()Called when user clicked on the ad. abstract voidonLeftApplication()Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad. abstract voidonReturnedToApplication()Called when user returned to application after click. abstract voidonImpression(@Nullable() ImpressionData impressionData)Called when an impression was observed -
-
Method Detail
-
onAdClicked
abstract void onAdClicked()
Called when user clicked on the ad.
-
onLeftApplication
abstract 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
abstract void onReturnedToApplication()
Called when user returned to application after click.
-
onImpression
abstract void onImpression(@Nullable() ImpressionData impressionData)
Called when an impression was observed
- Parameters:
impressionData- - impression level revenue data
-
-
-
-