Initializes a stream request instance with the given content source ID and video ID.
Uses the given ad display container to display the stream. This is used for on-demand streams.
Initializes a stream request instance with the given content source ID and video ID.
Uses the given ad display container to display the stream. This is used for on-demand streams.
Uses the picture in picture proxy to track PIP events.
Use contentSourceID:videoId:networkCode:adDisplayContainer:videoDisplay:userContext: instead.
Initializes a stream request instance with the given content source ID and video ID.
Uses the given ad display container to display the stream. This is used for on-demand streams.
Use initWithContentSourceID:videoID:networkCode:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext: instead.
Initializes a stream request instance with the given content source ID and video ID.
Uses the given ad display container to display the stream. This is used for on-demand streams.
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\u003eIMAVODStreamRequest\u003c/code\u003e is a data object that describes a video-on-demand (VOD) stream request.\u003c/p\u003e\n"],["\u003cp\u003eIt uses \u003ccode\u003econtentSourceID\u003c/code\u003e and \u003ccode\u003evideoID\u003c/code\u003e to identify the specific video content to be played.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIMAVODStreamRequest\u003c/code\u003e can be initialized with an ad display container, video display, and optionally, a picture-in-picture proxy and user context.\u003c/p\u003e\n"],["\u003cp\u003eThe ad display container is used for rendering ad UI elements within the stream.\u003c/p\u003e\n"],["\u003cp\u003eThe video display and picture-in-picture proxy handle video playback and picture-in-picture functionality, respectively.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAVODStreamRequest\n===================\n\n @interface IMAVODStreamRequest : ../Classes/IMAStreamRequest.html\n\nData object describing a VOD stream request.\n- `\n ``\n ``\n `\n\n ### [contentSourceID](#/c:objc(cs)IMAVODStreamRequest(py)contentSourceID)\n\n `\n ` \n The stream request content source ID. This is used to determine the\n content source of the stream. \n\n #### Declaration\n\n Swift \n\n var contentSourceID: String { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSString *_Nonnull contentSourceID;\n\n- `\n ``\n ``\n `\n\n ### [videoID](#/c:objc(cs)IMAVODStreamRequest(py)videoID)\n\n `\n ` \n The stream request video ID. This is used to determine which specific video\n stream should be played. \n\n #### Declaration\n\n Swift \n\n var videoID: String { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSString *_Nonnull videoID;\n\n- `\n ``\n ``\n `\n\n ### [-initWithContentSourceID:videoID:networkCode:adDisplayContainer:videoDisplay:userContext:](#/c:objc(cs)IMAVODStreamRequest(im)initWithContentSourceID:videoID:networkCode:adDisplayContainer:videoDisplay:userContext:)\n\n `\n ` \n Initializes a stream request instance with the given content source ID and video ID.\n Uses the given ad display container to display the stream. This is used for on-demand streams. \n\n #### Declaration\n\n Swift \n\n init(contentSourceID: String, videoID: String, networkCode: String?, adDisplayContainer: ../Classes/IMAAdDisplayContainer.html, videoDisplay: any ../Protocols/IMAVideoDisplay.html, userContext: Any?)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithContentSourceID:(nonnull NSString *)contentSourceID\n videoID:(nonnull NSString *)videoID\n networkCode:(nullable 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 | ` `*contentSourceID*` ` | the content source ID for this stream |\n | ` `*videoID*` ` | the video identifier for this stream |\n | ` `*networkCode*` ` | the network code for the stream (optional but recommended). |\n | ` `*adDisplayContainer*` ` | the IMAAdDisplayContainer for rendering the ad UI |\n | ` `*videoDisplay*` ` | the IMAVideoDisplay for playing the stream |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n\n #### Return Value\n\n the IMAVODStreamRequest instance\n- `\n ``\n ``\n `\n\n ### [-initWithContentSourceID:videoID:networkCode:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:](#/c:objc(cs)IMAVODStreamRequest(im)initWithContentSourceID:videoID:networkCode:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:)\n\n `\n ` \n Initializes a stream request instance with the given content source ID and video ID.\n Uses the given ad display container to display the stream. This is used for on-demand streams.\n Uses the picture in picture proxy to track PIP events. \n\n #### Declaration\n\n Swift \n\n init(contentSourceID: String, videoID: String, 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 initWithContentSourceID:(nonnull NSString *)contentSourceID\n videoID:(nonnull NSString *)videoID\n networkCode:(nullable 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 | ` `*contentSourceID*` ` | the content source ID for this stream |\n | ` `*videoID*` ` | the video identifier for this stream |\n | ` `*networkCode*` ` | the network code for the stream (optional but recommended). |\n | ` `*adDisplayContainer*` ` | the IMAAdDisplayContainer for rendering the ad UI |\n | ` `*videoDisplay*` ` | the IMAVideoDisplay for playing the stream |\n | ` `*pictureInPictureProxy*` ` | the IMAPictureInPictureProxy for tracking PIP events |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n\n #### Return Value\n\n the IMAVODStreamRequest instance\n- `\n ``\n ``\n `\n\n ### [-initWithContentSourceID:videoID:adDisplayContainer:videoDisplay:userContext:](#/c:objc(cs)IMAVODStreamRequest(im)initWithContentSourceID:videoID:adDisplayContainer:videoDisplay:userContext:)\n\n `\n ` \n Deprecated\n\n Use contentSourceID:videoId:networkCode:adDisplayContainer:videoDisplay:userContext: instead. \n Initializes a stream request instance with the given content source ID and video ID.\n Uses the given ad display container to display the stream. This is used for on-demand streams. \n\n #### Declaration\n\n Swift \n\n init(contentSourceID: String, videoID: String, adDisplayContainer: ../Classes/IMAAdDisplayContainer.html, videoDisplay: any ../Protocols/IMAVideoDisplay.html, userContext: Any?)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithContentSourceID:(nonnull NSString *)contentSourceID\n videoID:(nonnull NSString *)videoID\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 | ` `*contentSourceID*` ` | the content source ID for this stream |\n | ` `*videoID*` ` | the video identifier for this stream |\n | ` `*adDisplayContainer*` ` | the IMAAdDisplayContainer for rendering the ad UI |\n | ` `*videoDisplay*` ` | the IMAVideoDisplay for playing the stream |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n\n #### Return Value\n\n the IMAVODStreamRequest instance\n- `\n ``\n ``\n `\n\n ### [-initWithContentSourceID:videoID:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:](#/c:objc(cs)IMAVODStreamRequest(im)initWithContentSourceID:videoID:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:)\n\n `\n ` \n Deprecated\n\n Use initWithContentSourceID:videoID:networkCode:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext: instead. \n Initializes a stream request instance with the given content source ID and video ID.\n Uses the given ad display container to display the stream. This is used for on-demand streams.\n Uses the picture in picture proxy to track PIP events. \n\n #### Declaration\n\n Swift \n\n init(contentSourceID: String, videoID: 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 initWithContentSourceID:(nonnull NSString *)contentSourceID\n videoID:(nonnull NSString *)videoID\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 | ` `*contentSourceID*` ` | the content source ID for this stream |\n | ` `*videoID*` ` | the video identifier for this stream |\n | ` `*adDisplayContainer*` ` | the IMAAdDisplayContainer for rendering the ad UI |\n | ` `*videoDisplay*` ` | the IMAVideoDisplay for playing the stream |\n | ` `*pictureInPictureProxy*` ` | the IMAPictureInPictureProxy for tracking PIP events |\n | ` `*userContext*` ` | The user context for tracking requests (optional) |\n\n #### Return Value\n\n the IMAVODStreamRequest instance"]]