Package com.my.target.nativeads
Interface NativeBannerAd.NativeBannerAdListener
-
- Enclosing class:
- NativeBannerAd
public static interface NativeBannerAd.NativeBannerAdListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonClick(NativeBannerAd ad)Calls when user clicks on ad creativevoidonLoad(NativeBanner banner, NativeBannerAd ad)Calls if the data is loaded successfully.voidonNoAd(java.lang.String reason, NativeBannerAd ad)Calls if no data receivedvoidonShow(NativeBannerAd ad)Calls when ad appears on screen
-
-
-
Method Detail
-
onLoad
void onLoad(@NonNull NativeBanner banner, @NonNull NativeBannerAd ad)Calls if the data is loaded successfully.- Parameters:
banner- banner modelad- current instance- See Also:
NativeBanner
-
onNoAd
void onNoAd(@NonNull java.lang.String reason, @NonNull NativeBannerAd ad)Calls if no data received- Parameters:
reason- reason for not receiving adad- current instance
-
onClick
void onClick(@NonNull NativeBannerAd ad)Calls when user clicks on ad creative- Parameters:
ad- current instance
-
onShow
void onShow(@NonNull NativeBannerAd ad)Calls when ad appears on screen- Parameters:
ad- current instance
-
-