OmnitureComponent

Implements an integration with the Adobe Mobile Library for Android. This component will respond to playback events emitted by video players using the Brightcove Native Player for Android, and track the appropriate events via the Media interface for video tracking. For more information on the Media interface, see below: http://microsite.omniture.com/t2/help/en_US/mobile/android/video_qs.html This class also supports the use of Video Heartbeat as an alternative to milestone tracking provided by the above. For information on the use of Video Heartbeat can be found at: http://microsite.omniture.com/t2/help/en_US/sc/appmeasurement/hbvideo/

Constructors

Link copied to clipboard
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:
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:

Types

Link copied to clipboard
Default implementation of MediaNameFactory which follows these steps:
  1. If video exists and has an ID property as identified by Video.Fields.ID, use it
  2. Otherwise if given a Source object, presumably the one chosen by the current SourceSelector implementation, use the URL from that Source
  3. Otherwise fall back to the DEFAULT_MEDIA_NAME constant value
Link copied to clipboard
Provides a simple interface to allow the generation of media names that are tracked in Omniture to be customized.
Link copied to clipboard

Properties

Link copied to clipboard
val DEFAULT_MEDIA_ID: String = "unknown"
Video player Id used in tracking when none is specified in the video properties map.
Link copied to clipboard
val DEFAULT_PLAYER_NAME: String = "Default Player"
Video player name used in tracking when none is specified in the constructor.
Link copied to clipboard
val HEARTBEAT_APP_VERSION: String = "heartbeatAppVersion"
Link copied to clipboard
val HEARTBEAT_CHANNEL: String = "heartbeatChannel"
Link copied to clipboard
val HEARTBEAT_DEBUG_LOGGING: String = "heartbeatDebugLogging"
Link copied to clipboard
val HEARTBEAT_OVP: String = "heartbeatOVP"
Link copied to clipboard
val HEARTBEAT_SSL: String = "heartbeatSSL"
Link copied to clipboard
val HEARTBEAT_TRACKING_SERVER: String = "heartbeatTrackingServer"
Link copied to clipboard
open var mediaMeasurement: Media
Link copied to clipboard
open val playerId: String
Link copied to clipboard
open val playerName: String
Link copied to clipboard
val TAG: String
Link copied to clipboard
val VIDEO_ID: String = "videoId"
Link copied to clipboard

Functions

Link copied to clipboard
This method allows a user of the Omniture plugin to override the logic used to generate a media name used in Omniture video tracking.