com.ooyala.android.analytics.AnalyticsPluginBaseImpl Class Reference

A class that implements empty methods for the entire Analytics plugin interface. More...

Inheritance diagram for com.ooyala.android.analytics.AnalyticsPluginBaseImpl:
com.ooyala.android.analytics.AnalyticsPluginInterface com.ooyala.android.analytics.TestAnalyticsPlugin

Public Member Functions

void onCurrentItemAboutToPlay (Video currentItem)
 Called when a new video is set. More...
 
void reportPlayStarted ()
 Called during the first time video starts playing back after the video is changed. More...
 
void reportPlayPaused ()
 Called when content is paused. More...
 
void reportPlayResumed ()
 Called when content is resumed. More...
 
void reportPlayCompleted ()
 Called when content is resumed. More...
 
void reportPlayerLoad ()
 Called when the Plugin is registered, effectively reporting when the player is loaded. More...
 
void reportPlayheadUpdate (int playheadTime)
 Called whenever the Player reports a playhead change. More...
 
void reportReplay ()
 Called during the first time video starts playing back after a video was Completed. More...
 
void reportPlayRequested ()
 Called whenever the user or application calls OoyalaPlayer.play() More...
 
void reportSeek (SeekInfo seekInfo)
 Called whenever the user starts to seek the video. More...
 

Detailed Description

A class that implements empty methods for the entire Analytics plugin interface.

Implement your plugin by extending this, and whenever the Analytics Plugin Interface is modified, your integration will be unaffected, and continue to compile and be usable

Your Analytics plugin may require more functionality than is reported here. If this is the case you can additionally observe OoyalaPlayer, and report any other metrics through the observation chain

Member Function Documentation

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.onCurrentItemAboutToPlay ( Video  currentItem)

Called when a new video is set.

Parameters
currentItemthe video that we're going to send information about. It may be null, be sure to check it.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportPlayCompleted ( )

Called when content is resumed.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportPlayerLoad ( )

Called when the Plugin is registered, effectively reporting when the player is loaded.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportPlayheadUpdate ( int  playheadTime)

Called whenever the Player reports a playhead change.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportPlayPaused ( )

Called when content is paused.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportPlayRequested ( )

Called whenever the user or application calls OoyalaPlayer.play()

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportPlayResumed ( )

Called when content is resumed.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportPlayStarted ( )

Called during the first time video starts playing back after the video is changed.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportReplay ( )

Called during the first time video starts playing back after a video was Completed.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.AnalyticsPluginBaseImpl.reportSeek ( SeekInfo  seekInfo)

Called whenever the user starts to seek the video.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.