OTVInsightAgent
The OTVInsightAgent
class is a wrapper for Insight Agent.
The class can be used to enable the reporting of playback metrics to the Insight servers.
-
Constructor for
OTVInsightAgent
class.@param xConfig The Insight Config details
-
Starts a session without user information. User Information can be set using API
setUserInfo
@param xPlayer The player Instance @param xContentInfoHolder The Content Info Holder
-
Starts a session with user information.
@param xPlayer The player Instance @param xContentInfoHolder The Content Info Holder @param xUserInfoHolder The User Info Holder
-
Stop the session (if started)
-
Terminates the session
-
Sets the live offset of the playback, as in when Seeking on Linear TV
@param xOffsetLive The offset from live point
-
Sets the Audio Language (may change during the course of a session)
@param xAudioLanguage The audio language
-
Sets the Subtitle Language (may change during the course of a session)
@param xSubtitleLanguage The subtitle language
-
Sets the user info @param xUserInfoHolder The user Info Holder
-
Sets the named event.
@param xName The name of the event @param xDescription The description of the event