10 #import <Foundation/Foundation.h> 14 #pragma mark IMAAdEventType 19 typedef NS_ENUM(NSInteger, IMAAdEventType){
23 kIMAAdEvent_AD_BREAK_READY,
27 kIMAAdEvent_AD_BREAK_ENDED,
31 kIMAAdEvent_AD_BREAK_STARTED,
35 kIMAAdEvent_ALL_ADS_COMPLETED,
49 kIMAAdEvent_CUEPOINTS_CHANGED,
53 kIMAAdEvent_FIRST_QUARTILE,
85 kIMAAdEvent_STREAM_LOADED,
90 kIMAAdEvent_STREAM_STARTED,
98 kIMAAdEvent_THIRD_QUARTILE
101 #pragma mark - Ad Data Keys 106 extern NSString *
const kIMAAdBreakTime;
108 #pragma mark - IMAAdEvent 118 @property(nonatomic, readonly) IMAAdEventType
type;
129 @property(nonatomic, strong, readonly)
IMAAd *
ad;
134 @property(nonatomic, copy, readonly) NSDictionary *
adData;
instancetype NS_UNAVAILABLE()
:nodoc:
IMAAd * ad
The current ad that is playing or just played.
Definition: IMAAdEvent.h:129
Simple data class used to transport ad playback information.
Definition: IMAAdEvent.h:113
Data object representing a single ad.
Definition: IMAAd.h:18
NSDictionary * adData
Extra data about the ad.
Definition: IMAAdEvent.h:134
NSString * typeString
Stringified type of the event.
Definition: IMAAdEvent.h:123
IMAAdEventType type
Type of the event.
Definition: IMAAdEvent.h:118