1 #import <Foundation/Foundation.h> 34 - (BOOL)onPlayheadUpdate:(Float64)playhead;
48 - (BOOL)onCuePoint:(
int)cuePointIndex;
55 - (BOOL)onContentError:(
int)errorCode;
95 - (void)onAdIconClicked: (NSInteger) index;
BOOL onContentFinished()
This is called before finishing playing content so plugin can play postroll.
NSSet * getCuePointsAtSeconds()
Handle events around the lifecycle of the OOOoyalaPlayer.
Definition: OOLifeCycle.h:10
void onAdModeEntered()
This is called when control is handed over to the plugin.
BOOL onContentChanged()
This is called when content changed.
BOOL onInitialPlay()
This is called before start playing content so plugin can play preroll.
id< OOPlayerProtocol > player()
This is called ooyala UI pass down UI related events.
An interface to implement an Ad Plugin, which can plug into the OoyalaPlayer.
Definition: OOAdPlugin.h:13
BOOL hasNotNilAds()
Called to check if we're not dealing with nil ads.
void clickAd()
This is called when the ad is clicked.
void resetAds()
This is called to reset all ads to unplayed.
void skipAd()
This is called to skip the current ad.
Definition: OOPlayerProtocol.h:17