OOAdPluginManagerProtocol.h
1 //
2 // OOAdPluginManagerProtocol.h
3 // OoyalaSDK
4 //
5 // Copyright (c) 2015 Brightcove, Inc. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import "OOAdPlugin.h"
10 
14 typedef NS_ENUM(NSInteger, OOAdMode) {
15  OOAdModeNone,
16  OOAdModeContentChanged,
17  OOAdModeInitialPlay,
18  OOAdModePlayhead,
19  OOAdModeCuePoint,
20  OOAdModeContentFinished,
21  OOAdModeContentError,
22  OOAdModePluginInitiated
23 };
24 
26 
34 - (BOOL)registerPlugin:(id<OOAdPlugin>)plugin;
35 
43 - (BOOL)deregisterPlugin:(id<OOAdPlugin>)plugin;
44 
52 - (BOOL)exitAdMode:(id<OOAdPlugin>)plugin;
53 
61 - (BOOL)requestAdMode:(id<OOAdPlugin>)plugin;
62 
69 
70 @end
Definition: OOAdPluginManagerProtocol.h:25
id< OOAdPlugin > activeAdPlugin()
Determine which ad plugin, if any, has control of the OoyalaPlayer.
An interface to implement an Ad Plugin, which can plug into the OoyalaPlayer.
Definition: OOAdPlugin.h:13