com.ooyala.android.analytics.TestAnalyticsPlugin Class Reference

A very simple Analytics Plugin that can be used for testing. More...

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

Public Member Functions

void onCurrentItemAboutToPlay (Video currentItem)
 Called when a new video is set. More...
 
void reportPlayStarted ()
 Called when video content starts playing. 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 reportPlayPaused ()
 Called when content is paused. More...
 
void reportPlayResumed ()
 Called when content is resumed. More...
 
void reportPlayCompleted ()
 Called when content is resumed. More...
 
void reportSeek (SeekInfo seekInfo)
 Called whenever the user starts to seek the video. More...
 

Detailed Description

A very simple Analytics Plugin that can be used for testing.

Member Function Documentation

void com.ooyala.android.analytics.TestAnalyticsPlugin.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 ( )
inherited

Called when content is resumed.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.TestAnalyticsPlugin.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.TestAnalyticsPlugin.reportPlayheadUpdate ( int  playheadTime)

Called whenever the Player reports a playhead change.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

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

Called when content is paused.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

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

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

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

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

Called when content is resumed.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

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

Called when video content starts playing.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.

void com.ooyala.android.analytics.TestAnalyticsPlugin.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)
inherited

Called whenever the user starts to seek the video.

Implements com.ooyala.android.analytics.AnalyticsPluginInterface.