Class POBHTMLMeasurement

  • All Implemented Interfaces:
    com.pubmatic.sdk.common.viewability.POBHTMLMeasurementProvider , com.pubmatic.sdk.common.viewability.POBMeasurementProvider , com.pubmatic.sdk.common.viewability.POBObstructionUpdateListener

    
    public class POBHTMLMeasurement
    extends POBMeasurement implements POBHTMLMeasurementProvider
                        

    POBHTMLMeasurement is responsible for maintaining the lifecycle of OM SDK.

    • 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
      void startAdSession(@NonNull() WebView webView) Handles activation of OMID SDK and starts an Ad session for an Ad view.
      void signalAdEvent(@NonNull() POBHTMLMeasurementProvider.POBHTMLAdEventType event) Handles the signaling of different event to OMID SDK.
      • Methods inherited from class com.pubmatic.sdk.omsdk.POBMeasurement

        addFriendlyObstructions, finishAdSession, omSDKVersion, omidJsServiceScript, removeFriendlyObstructions, setTrackView
      • Methods inherited from class com.pubmatic.sdk.common.viewability.POBMeasurementProvider

        finishAdSession, omSDKVersion, omidJsServiceScript, setTrackView
      • Methods inherited from class com.pubmatic.sdk.common.viewability.POBObstructionUpdateListener

        addFriendlyObstructions, removeFriendlyObstructions
      • Methods inherited from class java.lang.Object

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

      • POBHTMLMeasurement

        POBHTMLMeasurement()
    • Method Detail

      • startAdSession

         void startAdSession(@NonNull() WebView webView)

        Handles activation of OMID SDK and starts an Ad session for an Ad view. This method should be called immediately after Ad is loaded.

        Parameters:
        webView - Ad view.
      • signalAdEvent

         void signalAdEvent(@NonNull() POBHTMLMeasurementProvider.POBHTMLAdEventType event)

        Handles the signaling of different event to OMID SDK.

        Parameters:
        event - type of event to signal