AI-generated Key Takeaways
-
IMAAdEvent is a simple data class used to transport ad playback information.
-
It includes properties for the event type, a string representation of the type, the current ad, and extra ad data.
-
The 'ad' property is only available for events where an ad is playing or just played.
IMAAdEvent
@interface IMAAdEvent : NSObject
Simple data class used to transport ad playback information.
-
Type of the event.
Declaration
Swift
var type: IMAAdEventType { get }
Objective-C
@property (nonatomic, readonly) IMAAdEventType type;
-
Stringified type of the event.
Declaration
Swift
var typeString: String { get }
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull typeString;
-
Extra data about the ad.
Declaration
Swift
var adData: [String : Any]? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSDictionary<NSString *, id> *adData;