A class that plays freewheel ads.
More...
#import "OOFreewheelAdPlayer.h"
A class that plays freewheel ads.
OOFreewheelAdPlayer.
OOFreewheelAdPlayer.h in OoyalaFreewheelSDK
- (void) adReady: |
|
(id<FWSlot>) |
ad |
|
|
implementation |
- (void) currentPlaybackTimeUpdate |
|
|
|
|
implementation |
- (NSString *) firstClickThroughUrl |
|
|
|
|
implementation |
- (BOOL) hasCustomControls |
|
|
|
|
implementation |
- (id) initWithAd: |
|
(OOAdSpot *) |
ad |
context: |
|
(id) |
context |
|
|
| |
|
implementation |
- (void) onAdEnded: |
|
(NSNotification *) |
notification |
|
|
implementation |
- (void) onAdSlotEnded: |
|
(NSNotification *) |
notification |
|
|
implementation |
Every time we complete playing a linear slot, play the next slot until we're done with the stack.
NOTE: Overlay ad (non-linear) slots also fire FW_NOTIFICATION_SLOT_ENDED so make sure not to call play when overlay ads are complete. This only happens if an overlay slot starts playing during content playback and ends during ad playback.
- (void) onAdSlotStarted: |
|
(NSNotification *) |
notification |
|
|
implementation |
- (void) onAdStarted: |
|
(NSNotification *) |
notification |
|
|
implementation |
When ad slot starts playing, create the learn more button.
- (void) onRendererEvent: |
|
(NSNotification *) |
notification |
|
|
implementation |
When ad renders, get the clickThrough and clickTracking URLs.
- (void) processClickThrough |
|
|
|
|
implementation |
- (void) setState: |
|
(OOOoyalaPlayerState) |
state |
|
|
implementation |
- (void) startPlayheadTimer |
|
|
|
|
implementation |
- (OOOoyalaPlayerState) state |
|
|
|
|
implementation |
- (void) stopPlayheadTimer |
|
|
|
|
implementation |
- (NSArray*) clickThroughURL |
|
readwritenonatomicassignimplementation |
- (NSArray*) clickTrackingURL |
|
readwritenonatomicassignimplementation |
|
readwritenonatomicassignimplementation |
- (id<FWContext>) fwContext |
|
readwritenonatomicassignimplementation |
- (BOOL) isFullScreenShowing |
|
readwritenonatomicassignimplementation |
- (OOAdsLearnMoreButton*) learnMore |
|
readwritenonatomicassignimplementation |
|
readwritenonatomicassignimplementation |
- (NSUInteger) playedAdsCount |
|
readwriteatomicimplementation |
|
readwritenonatomicassignimplementation |
|
readwritenonatomicassignimplementation |
The documentation for this class was generated from the following files: