OmnitureComponent

constructor(emitter: EventEmitter, context: Context, playerName: String, playerId: String)

For the Omniture component to be able to properly track video playback events in Omniture, the following parameters must be properly specified:

Parameters

emitter

the EventEmitter used by the current player or application

context

the Context for the current application (could be the current Activity)

playerName

the name of the video player to be used in video tracking; if set to null then the DEFAULT_PLAYER_NAME will be used

playerId

the unique identifier of the video player to be used in video tracking

See also

android.content.Context

constructor(emitter: EventEmitter, context: Context, playerName: String, playerId: String, baseVideoView: BaseVideoView, useHeartbeat: Boolean)

To support video heartbeat tracking with the omniture plugin, the following parameters must be specified:

Parameters

emitter

the EventEmitter used by the current player or application

context

the Context for the current application (could be the current Activity)

playerName

the name of the video player to be used in video tracking; if set to null then the DEFAULT_PLAYER_NAME will be used

playerId

the unique identifier of the video player to be used in video tracking

baseVideoView

the BaseVideoView performing media playback in the application

useHeartbeat

the boolean value to toggle the use of video heartbeat