Initializes a stream request instance with the given network code and custom
asset key. 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\u003eIMAPodStreamRequest\u003c/code\u003e is a data object that encapsulates the information needed to request a stream from a pod serving system.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a network code and a custom asset key to identify the stream.\u003c/p\u003e\n"],["\u003cp\u003eThe request object utilizes \u003ccode\u003eIMAAdDisplayContainer\u003c/code\u003e for ad UI rendering and \u003ccode\u003eIMAVideoDisplay\u003c/code\u003e for stream playback.\u003c/p\u003e\n"],["\u003cp\u003eInitialization can optionally include a \u003ccode\u003eIMAPictureInPictureProxy\u003c/code\u003e for Picture-in-Picture event tracking and user context data.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAPodStreamRequest\n===================\n\n @interface IMAPodStreamRequest : ../Classes/IMAStreamRequest.html\n\nData object describing a stream request for a pod serving stream.\n- `\n ``\n ``\n `\n\n ### [customAssetKey](#/c:objc(cs)IMAPodStreamRequest(py)customAssetKey)\n\n `\n ` \n The custom asset key for the stream request. \n\n #### Declaration\n\n Swift \n\n var customAssetKey: String { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSString *_Nonnull customAssetKey;\n\n- `\n ``\n ``\n `\n\n ### [-initWithNetworkCode:customAssetKey:adDisplayContainer:videoDisplay:userContext:](#/c:objc(cs)IMAPodStreamRequest(im)initWithNetworkCode:customAssetKey:adDisplayContainer:videoDisplay:userContext:)\n\n `\n ` \n Initializes a stream request instance with the given network code and custom\n asset key. Uses the given ad display container to display the stream. \n\n #### Declaration\n\n Swift \n\n init(networkCode: String, customAssetKey: 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 customAssetKey:(nonnull NSString *)customAssetKey\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 | ` `*customAssetKey*` ` | The asset key 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 IMAPodStreamRequest instance.\n- `\n ``\n ``\n `\n\n ### [-initWithNetworkCode:customAssetKey:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:](#/c:objc(cs)IMAPodStreamRequest(im)initWithNetworkCode:customAssetKey:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:)\n\n `\n ` \n Initializes a stream request instance with the given network code and custom\n asset key. Uses the given ad display container to display the stream. Uses the picture in picture\n proxy to track PIP events. \n\n #### Declaration\n\n Swift \n\n init(networkCode: String, customAssetKey: 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 customAssetKey:(nonnull NSString *)customAssetKey\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 | ` `*customAssetKey*` ` | The asset key 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 IMAPodStreamRequest instance."]]