Package 

Interface EloAdListener


  • 
    public interface EloAdListener
    
                        

    Opt-in lifecycle callbacks for Elo ad events.

    Set via Elo.setListener. The SDK holds the listener weakly — you must retain it yourself. All callbacks run on the main thread; safe to update UI directly. Default implementations are empty so callers only override the events they care about.

    Mirrors iOS Sources/EloAds/EloAdDelegate.swift.

    • Method Summary

      Modifier and Type Method Description
      Unit onAdDidLoad(EloAd ad) Called when Elo.loadAd returns a filled result.
      Unit onAdDidFail(EloError error) Called when an ad request fails (transport, server error, decoding).
      Unit onAdDidTrackImpression(EloAd ad) Called after the SDK fires an impression ping (post-viewability dwell).
      Unit onAdDidReceiveClick(EloAd ad) Called when the user taps an ad, before the click URL opens.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait