9 #import <Foundation/Foundation.h> 28 @property(nonatomic, copy, readonly) NSString *
adTagUrl;
105 - (instancetype)initWithAdsResponse:(NSString *)adsResponse
109 userContext:(
id)userContext;
124 - (instancetype)initWithAdsResponse:(NSString *)adsResponse
127 userContext:(
id)userContext NS_DESIGNATED_INITIALIZER;
143 - (instancetype)initWithAdTagUrl:(NSString *)adTagUrl
147 userContext:(
id)userContext;
162 - (instancetype)initWithAdTagUrl:(NSString *)adTagUrl
165 userContext:(
id)userContext NS_DESIGNATED_INITIALIZER;
BOOL adWillPlayMuted
Specifies whether the player intends to start the content and ad with no volume.
Definition: IMAAdsRequest.h:58
BOOL adWillAutoPlay
Specifies whether the player intends to start the content and ad in response to a user action or whet...
Definition: IMAAdsRequest.h:52
A proxy class for allowing the SDK to detect entering and exiting Picture-in-Picture.
Definition: IMAPictureInPictureProxy.h:26
IMAAdDisplayContainer * adDisplayContainer
The ad display container.
Definition: IMAAdsRequest.h:40
NSString * contentTitle
Specifies the title of the content to be shown.
Definition: IMAAdsRequest.h:76
The IMAAdDisplayContainer is responsible for managing the ad container view and companion ad slots us...
Definition: IMAAdDisplayContainer.h:16
Data class describing the ad request.
Definition: IMAAdsRequest.h:20
An implementation of the IMAVideoDisplay protocol.
Definition: IMAAVPlayerVideoDisplay.h:57
instancetype NS_UNAVAILABLE()
:nodoc:
float vastLoadTimeout
Specifies the VAST load timeout in milliseconds for the initial request and any subsequent wrappers...
Definition: IMAAdsRequest.h:82
float contentDuration
Specifies the duration of the content in seconds to be shown.
Definition: IMAAdsRequest.h:64
float liveStreamPrefetchSeconds
Specifies the maximum amount of time to wait in seconds, after calling requestAds, before requesting the ad tag URL.
Definition: IMAAdsRequest.h:89
Defines an interface for a class that tracks video content progress and exposes a key value observabl...
Definition: IMAContentPlayhead.h:25
NSString * adsResponse
Specifies a VAST, VMAP, or ad rules response to be used instead of making a request via an ad tag URL...
Definition: IMAAdsRequest.h:35
An implementation of IMAContentPlayhead for AVPlayer.
Definition: IMAAVPlayerContentPlayhead.h:19
NSArray< NSString * > * contentKeywords
Specifies the keywords used to describe the content to be shown.
Definition: IMAAdsRequest.h:70
NSString * adTagUrl
Specifies the full URL to use for ads loading from an ad server.
Definition: IMAAdsRequest.h:28
id userContext
The user context.
Definition: IMAAdsRequest.h:45