AI-generated Key Takeaways
-
IMAPodVODStreamRequest is a data object for requesting a third-party server-side ad insertion pod VOD stream.
-
It inherits from IMAStreamRequest.
-
You can initialize an IMAPodVODStreamRequest with network code, ad display container, video display, and an optional user context.
-
There is an alternative initialization method that also includes a picture-in-picture proxy for tracking PIP events.
IMAPodVODStreamRequest
@interface IMAPodVODStreamRequest : IMAStreamRequestData object describing a stream request for a third party stitched server-side ad insertion pod serving VOD stream.
-
Initializes a stream request instance with the given network. Uses the given ad display container to display the stream.
Declaration
Swift
init(networkCode: String, adDisplayContainer: IMAAdDisplayContainer, videoDisplay: any IMAVideoDisplay, userContext: Any?)Objective-C
- (nonnull instancetype) initWithNetworkCode:(nonnull NSString *)networkCode adDisplayContainer:(nonnull IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(nonnull id<IMAVideoDisplay>)videoDisplay userContext:(nullable id)userContext;Parameters
networkCodeThe network code for the stream.
adDisplayContainerThe IMAAdDisplayContainer for rendering the ad UI.
videoDisplayThe IMAVideoDisplay where the stream will be played.
userContextThe user context for tracking requests (optional)
Return Value
The IMAPodVODStreamRequest instance.
-
Initializes a stream request instance with the given network code. Uses the given ad display container to display the stream. Uses the picture in picture proxy to track PIP events.
Declaration
Swift
init(networkCode: String, adDisplayContainer: IMAAdDisplayContainer, videoDisplay: any IMAVideoDisplay, pictureInPictureProxy: IMAPictureInPictureProxy?, userContext: Any?)Objective-C
- (nonnull instancetype) initWithNetworkCode:(nonnull NSString *)networkCode adDisplayContainer:(nonnull IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(nonnull id<IMAVideoDisplay>)videoDisplay pictureInPictureProxy: (nullable IMAPictureInPictureProxy *)pictureInPictureProxy userContext:(nullable id)userContext;Parameters
networkCodeThe network code for the stream.
adDisplayContainerThe IMAAdDisplayContainer for rendering the ad UI.
videoDisplayThe IMAVideoDisplay where the stream will be played.
pictureInPictureProxyThe IMAPictureInPictureProxy for tracking PIP events.
userContextThe user context for tracking requests (optional)
Return Value
The IMAPodVODStreamRequest instance.