Class InsightDelegator

java.lang.Object
com.nagra.otvaa.sdk.insightwrapper.InsightDelegator

public class InsightDelegator extends Object
  • Constructor Details

    • InsightDelegator

      public InsightDelegator(Context xContext, @NonNull JSONObject xAAWrapperConfig)
  • Method Details

    • init

      public void 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 played
      xContentInfoHolder - the content metadata info container
      xUserInfoHolder - 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()