Class BaseDisplayAdSessionManager

  • All Implemented Interfaces:
    com.inmobi.media.ads.common.omid.base.AdSessionManagerInterface , com.inmobi.media.ads.common.omid.base.ClickEventAdSessionInterface , com.inmobi.media.ads.common.omid.base.DisplayAdEventsInterface , com.inmobi.media.ads.common.omid.base.VideoAdEventsInterface

    
    public abstract class BaseDisplayAdSessionManager
    extends AdSessionManager
                        

    Abstract base class for managing OMID ad sessions specifically for display advertisements.

    This class extends AdSessionManager to provide specialized functionality for display ads (non-video advertisements). It implements the DisplayAdEventsInterface to handle display-specific events such as ad loading completion. The class ensures thread-safe event reporting through coroutine-based main thread execution.

    Concrete implementations should handle the initialization of ad sessions tailored for display ad formats and verification requirements.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit displayAdLoaded() Registers the display ad load event.
      • Methods inherited from class com.inmobi.media.ads.common.omid.manager.AdSessionManager

        addObstruction, initializeAdSession, isSessionActive, registerAdView, registerImpression, removeObstruction, startAdSession, stopAdSession, stopAdSessionFromMain, trackAdUserInteractionEvent
      • Methods inherited from class com.inmobi.media.ads.common.omid.base.VideoAdEventsInterface

        nonSkippableVideoAdLoaded, skippableVideoAdLoaded, trackAdVideoEvent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseDisplayAdSessionManager

        BaseDisplayAdSessionManager(CoroutineScope coroutineScope, InMobiLogger logger)
        Parameters:
        coroutineScope - The CoroutineScope used for managing coroutine-based operations