IMAAdEvent Class Reference

IMAAdEvent Class Reference

Overview

Simple data class used to transport ad playback information.

Inherits NSObject.

Instance Methods

(instancetype) - NS_UNAVAILABLE
 :nodoc: More...
 

Properties

IMAAdEventType type
 Type of the event. More...
 
NSString * typeString
 Stringified type of the event. More...
 
IMAAdad
 The current ad that is playing or just played. More...
 
NSDictionary * adData
 Extra data about the ad. More...
 

Method Documentation

- (instancetype) NS_UNAVAILABLE

:nodoc:

Property Documentation

- (IMAAdEventType) type
readnonatomicassign

Type of the event.

- (NSString*) typeString
readnonatomiccopy

Stringified type of the event.

- (IMAAd*) ad
readnonatomicstrong

The current ad that is playing or just played.

This will be nil except for events where an ad is available (start, quartiles, midpoint, complete, and tap).

- (NSDictionary*) adData
readnonatomiccopy

Extra data about the ad.

Can be nil.

Send feedback about...

IMA Client-Side SDK for tvOS
Need help? Visit our support page.