Class InsightDelegator
java.lang.Object
com.nagra.otvaa.sdk.insightwrapper.InsightDelegator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
init
(int xPlayerType) void
release()
Stops the session and releases all agent resources.void
startSession
(Object xPlayerHandler, ContentInfoHolder xContentInfoHolder, UserInfoHolder xUserInfoHolder) Starts the session.void
Stops the session.
-
Constructor Details
-
InsightDelegator
-
-
Method Details
-
init
public boolean init(int xPlayerType) -
startSession
public void startSession(Object xPlayerHandler, ContentInfoHolder xContentInfoHolder, UserInfoHolder xUserInfoHolder) Starts the session.- Parameters:
xPlayerHandler
- the PlayerHandler instance on which the content is playedxContentInfoHolder
- the content metadata info containerxUserInfoHolder
- the user metadata info container
-
stopSession
public void stopSession()Stops the session. -
release
public void release()Stops the session and releases all agent resources. Note: to be able to use the agent again then you would need to instantiate a new wrapper. -
getPlayerType
public int getPlayerType()
-