com.ooyala.android.StateNotifier Class Reference

Connect State changing objects with listeners thereof. More...

Public Member Functions

void setState (State state)
 
State getState ()
 
void notifyPlayheadChange ()
 
void notifyBufferChange ()
 
void notifyAdSkipped ()
 
void notifyAdStartWithAdInfo (AdPodInfo info)
 
void notifyAdCompleted ()
 
void notifyAdOverlay (AdOverlayInfo overlayInfo)
 
void addListener (StateNotifierListener l)
 
void removeListener (StateNotifierListener l)
 

Detailed Description

Connect State changing objects with listeners thereof.

There are two kinds of listeners: (1) OoyalaPlayer, which is updated via notifyPluginStateChange. (2) StateNotifierListener, which is updated via onStateChange.

Member Function Documentation

void com.ooyala.android.StateNotifier.addListener ( StateNotifierListener  l)
State com.ooyala.android.StateNotifier.getState ( )
void com.ooyala.android.StateNotifier.notifyAdCompleted ( )
void com.ooyala.android.StateNotifier.notifyAdOverlay ( AdOverlayInfo  overlayInfo)
void com.ooyala.android.StateNotifier.notifyAdSkipped ( )
void com.ooyala.android.StateNotifier.notifyAdStartWithAdInfo ( AdPodInfo  info)
void com.ooyala.android.StateNotifier.notifyBufferChange ( )
void com.ooyala.android.StateNotifier.notifyPlayheadChange ( )
void com.ooyala.android.StateNotifier.removeListener ( StateNotifierListener  l)
void com.ooyala.android.StateNotifier.setState ( State  state)