Package 

Class FreeWheelAnalytics

  • All Implemented Interfaces:
    com.brightcove.player.event.Component

    @Emits(events = {EventType.AD_BREAK_COMPLETED, EventType.AD_BREAK_STARTED, EventType.AD_STARTED, EventType.AD_VIEWABLE_IMPRESSION, EventType.AD_COMPLETED, EventType.AD_PROGRESS, EventType.AD_PAUSED, EventType.AD_RESUMED, EventType.AD_ERROR})@ListensFor(events = {})@RestrictTo(value = RestrictTo.Scope.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.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private BaseVideoView videoView
    • Method Summary

      Modifier and Type Method Description
      BaseVideoView getVideoView()
      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.
      FreeWheelAnalytics register() Register the event listeners to send analytic events.
      • Methods inherited from class com.brightcove.player.event.AbstractComponent

        addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setVideoView

         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.