AI-generated Key Takeaways
-
IMAAdPlaybackInfo groups various properties of the ad player.
-
It includes properties for the current media time, total media time, and buffered media time of the ad.
-
A property indicates whether or not the ad is currently playing.
IMAAdPlaybackInfo
@protocol IMAAdPlaybackInfo <NSObject>Groups various properties of the ad player.
-
The current media time of the ad, or 0 if no ad loaded.
Declaration
Swift
var currentMediaTime: TimeInterval { get }Objective-C
@property (nonatomic, readonly) NSTimeInterval currentMediaTime; -
The total media time of the ad, or 0 if no ad loaded.
Declaration
Swift
var totalMediaTime: TimeInterval { get }Objective-C
@property (nonatomic, readonly) NSTimeInterval totalMediaTime; -
The buffered media time of the ad, or 0 if no ad loaded.
Declaration
Swift
var bufferedMediaTime: TimeInterval { get }Objective-C
@property (nonatomic, readonly) NSTimeInterval bufferedMediaTime; -
Whether or not the ad is currently playing.
Declaration
Swift
var isPlaying: Bool { get }Objective-C
@property (nonatomic, readonly, getter=isPlaying) BOOL playing;