Interface AdEventListener


public interface AdEventListener
Callback for different methods of loading ads.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFailedToReceiveAd(com.startapp.sdk.adsbase.Ad ad)
    Invoked in case of failure.
    void
    onReceiveAd(com.startapp.sdk.adsbase.Ad ad)
    Invoked when the ad instance is received.
  • Method Details

    • onReceiveAd

      void onReceiveAd(@NonNull com.startapp.sdk.adsbase.Ad ad)
      Invoked when the ad instance is received.
      Parameters:
      ad - not null
    • onFailedToReceiveAd

      void onFailedToReceiveAd(@Nullable com.startapp.sdk.adsbase.Ad ad)
      Invoked in case of failure. If the ad is not null, then it may contain an error message.
      Parameters:
      ad - may be null
      See Also:
      • Ad.getErrorMessage()