AI-generated Key Takeaways
-
IMAAdEvent is a data class used to transport ad playback information.
-
It contains properties for the type of the event, a string representation of the event type, the current ad playing or just played, and extra data about the ad.
-
The
adproperty is nil for events where an ad is not available. -
The
adDataproperty provides additional details about the ad in a dictionary format.
IMAAdEvent
@interface IMAAdEvent : NSObjectSimple 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;