Package 

Interface AdTracker


  • 
    public interface AdTracker
    
                        

    Knows how to fire render / impression / click telemetry for a single ad.

    Each network's adapter attaches a tracker to the ad.elo.androidsdk.EloAd it returns. The SDK never reads network-specific fields directly — it only calls these three methods. That's what lets Elo's URL-ping tracking and (eventually) AdMob's NativeAd.recordImpression() coexist inside the same EloAd type.

    Implementations are short-lived (one per ad). Methods may be called from any coroutine context.

    Mirrors iOS AdTracker.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit trackRender()
      abstract Unit trackImpression()
      abstract Unit trackClick()
      • Methods inherited from class java.lang.Object

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