Package com.pubmatic.sdk.omsdk
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.
-
-
Constructor Summary
Constructors Constructor Description POBHTMLMeasurement()
-
Method Summary
Modifier and Type Method Description voidstartAdSession(@NonNull() WebView webView)Handles activation of OMID SDK and starts an Ad session for an Ad view. voidsignalAdEvent(@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
-
-
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
-
-
-
-