Class FreeWheelAnalytics

java.lang.Object
com.brightcove.player.event.AbstractComponent
com.brightcove.freewheel.analytics.FreeWheelAnalytics
All Implemented Interfaces:
Component

@Emits(events={"adBreakCompleted","adBreakStarted","adStarted","adViewableImpression","adCompleted","adProgress","adPaused","adResumed","adError"}) @ListensFor(events={}) @RestrictTo(LIBRARY) public class FreeWheelAnalytics extends AbstractComponent
Registers the appropriate FreeWheel event listeners to send analytic events containing the ad insight data for each played slot and ad.
  • Constructor Details

  • Method Details

    • register

      public FreeWheelAnalytics register()
      Register the event listeners to send analytic events.
      Returns:
      This FreeWheelAnalytics object for chaining method calls.
    • setVideoView

      public void setVideoView(BaseVideoView videoView)
      Set the BaseVideoView responsible for playing FreeWheel ads. This is exposed for testing purposes as the FreeWheel SDK exposes the video view.
      Parameters:
      videoView - The video view for playback.