IMAAdDisplayContainer.h
1 //
2 // IMAAdDisplayContainer.h
3 // GoogleIMA3
4 //
5 // Copyright (c) 2014 Google Inc. All rights reserved.
6 //
7 // Declares the IMAAdDisplayContainer interface that manages the views,
8 // ad slots, and displays used for ad playback.
9 
10 #import <UIKit/UIKit.h>
11 
16 @interface IMAAdDisplayContainer : NSObject
17 
22 @property(nonatomic, strong, readonly) UIView *adContainer;
23 
27 @property(nonatomic, copy, readonly) NSArray *companionSlots;
28 
37 - (instancetype)initWithAdContainer:(UIView *)adContainer
38  companionSlots:(NSArray *)companionSlots NS_DESIGNATED_INITIALIZER;
39 
43 - (instancetype)init NS_UNAVAILABLE;
44 
54 - (void)registerVideoControlsOverlay:(UIView *)videoControlsOverlay;
55 
60 
61 @end
instancetype NS_UNAVAILABLE()
:nodoc:
The IMAAdDisplayContainer is responsible for managing the ad container view and companion ad slots us...
Definition: IMAAdDisplayContainer.h:16
NSArray * companionSlots
List of companion ad slots.
Definition: IMAAdDisplayContainer.h:27
UIView * adContainer
View containing the video display and ad related UI.
Definition: IMAAdDisplayContainer.h:22
void unregisterAllVideoControlsOverlays()
Unregisters all previously registered video controls overlays.