Class JavaScriptSessionService

java.lang.Object
com.iab.omid.library.adsession.JavaScriptSessionService

public class JavaScriptSessionService extends Object
Service supporting ad sessions managed (started/finished) via JavaScript Session Client APIs by providing native-layer measurement signals. If the JS Session Client is running in a web view, an instance of this service must be initialized with the web view before starting or finishing ad sessions using JS APIs. Only one instance of this service may be initialized at a time for a given web view; to reuse a web view the current instance must be torn down (see `tearDown`).