9 #import <UIKit/UIKit.h> 13 #pragma mark IMACompanionDelegate 40 #pragma mark - IMACompanionAdSlot 53 @property(nonatomic, strong, readonly) UIView *
view;
59 @property(nonatomic, readonly)
int width;
65 @property(nonatomic, readonly)
int height;
70 @property(nonatomic, weak) id<IMACompanionDelegate>
delegate;
81 - (instancetype)initWithView:(UIView *)view width:(
int)width height:(
int)height;
instancetype NS_UNAVAILABLE()
:nodoc:
Delegate to receive events from the companion ad slot.
Definition: IMACompanionAdSlot.h:18
id< IMACompanionDelegate > delegate
The IMACompanionDelegate for receiving events from the companion ad slot.
Definition: IMACompanionAdSlot.h:70
int height
Height of the slot, in pixels.
Definition: IMACompanionAdSlot.h:65
UIView * view
The view the companion will be rendered in.
Definition: IMACompanionAdSlot.h:53
int width
Width of the slot, in pixels.
Definition: IMACompanionAdSlot.h:59
Ad slot for companion ads.
Definition: IMACompanionAdSlot.h:47