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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eIMAPodVODStreamRequest\u003c/code\u003e is a data object used for requesting VOD streams with server-side ad insertion from third-party ad pods.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a network code, ad display container, and video display for initialization.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can optionally provide user context for tracking and a picture-in-picture proxy for handling PIP events during stream playback.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003enetworkCode\u003c/code\u003e property provides read-only access to the network code associated with the stream request.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAPodVODStreamRequest\n======================\n\n @interface IMAPodVODStreamRequest : ../Classes/IMAStreamRequest.html\n\nData object describing a stream request for a third party stitched server-side ad insertion pod\nserving VOD stream.\n- `\n ``\n ``\n `\n\n ### [-initWithNetworkCode:adDisplayContainer:videoDisplay:userContext:](#/c:objc(cs)IMAPodVODStreamRequest(im)initWithNetworkCode:adDisplayContainer:videoDisplay:userContext:)\n\n `\n ` \n Initializes a stream request instance with the given network. Uses the given ad display container\n to display the stream. \n\n #### Declaration\n\n Swift \n\n init(networkCode: String, adDisplayContainer: ../Classes/IMAAdDisplayContainer.html, videoDisplay: any ../Protocols/IMAVideoDisplay.html, userContext: Any?)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithNetworkCode:(nonnull NSString *)networkCode\n adDisplayContainer:(nonnull ../Classes/IMAAdDisplayContainer.html *)adDisplayContainer\n videoDisplay:(nonnull id\u003c../Protocols/IMAVideoDisplay.html\u003e)videoDisplay\n userContext:(nullable id)userContext;\n\n #### Parameters\n\n |----------------------------|------------------------------------------------------|\n | ` `*networkCode*` ` | The network code for the stream. |\n | ` `*adDisplayContainer*` ` | The IMAAdDisplayContainer for rendering the ad UI. |\n | ` `*videoDisplay*` ` | The IMAVideoDisplay where the stream will be played. |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n\n #### Return Value\n\n The IMAPodVODStreamRequest instance.\n- `\n ``\n ``\n `\n\n ### [-initWithNetworkCode:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:](#/c:objc(cs)IMAPodVODStreamRequest(im)initWithNetworkCode:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:)\n\n `\n ` \n Initializes a stream request instance with the given network code. Uses the given ad display\n container to display the stream. Uses the picture in picture proxy to track PIP events. \n\n #### Declaration\n\n Swift \n\n init(networkCode: String, adDisplayContainer: ../Classes/IMAAdDisplayContainer.html, videoDisplay: any ../Protocols/IMAVideoDisplay.html, pictureInPictureProxy: ../Classes/IMAPictureInPictureProxy.html?, userContext: Any?)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithNetworkCode:(nonnull NSString *)networkCode\n adDisplayContainer:(nonnull ../Classes/IMAAdDisplayContainer.html *)adDisplayContainer\n videoDisplay:(nonnull id\u003c../Protocols/IMAVideoDisplay.html\u003e)videoDisplay\n pictureInPictureProxy:\n (nullable ../Classes/IMAPictureInPictureProxy.html *)pictureInPictureProxy\n userContext:(nullable id)userContext;\n\n #### Parameters\n\n |-------------------------------|-------------------------------------------------------|\n | ` `*networkCode*` ` | The network code for the stream. |\n | ` `*adDisplayContainer*` ` | The IMAAdDisplayContainer for rendering the ad UI. |\n | ` `*videoDisplay*` ` | The IMAVideoDisplay where the stream will be played. |\n | ` `*pictureInPictureProxy*` ` | The IMAPictureInPictureProxy for tracking PIP events. |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n\n #### Return Value\n\n The IMAPodVODStreamRequest instance."]]