IMAVODStreamRequest
@interface IMAVODStreamRequest : IMAStreamRequest
Data object describing a VOD stream request.
-
The stream request content source ID. This is used to determine the content source of the stream.
Declaration
Swift
var contentSourceID: String! { get }
Objective-C
@property (readonly, copy, nonatomic) NSString *contentSourceID;
-
The stream request video ID. This is used to determine which specific video stream should be played.
Declaration
Swift
var videoID: String! { get }
Objective-C
@property (readonly, copy, nonatomic) NSString *videoID;
-
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.
Declaration
Objective-C
- (instancetype)initWithContentSourceID:(NSString *)contentSourceID videoID:(NSString *)videoID adDisplayContainer: (IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(id<IMAVideoDisplay>)videoDisplay;
Parameters
contentSourceID
the content source ID for this stream
videoID
the video identifier for this stream
adDisplayContainer
the IMAAdDisplayContainer for rendering the ad UI
videoDisplay
the IMAVideoDisplay for playing the stream
Return Value
the IMAVODStreamRequest instance
-
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.
Declaration
Objective-C
- (instancetype) initWithContentSourceID:(NSString *)contentSourceID videoID:(NSString *)videoID adDisplayContainer:(IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(id<IMAVideoDisplay>)videoDisplay pictureInPictureProxy:(IMAPictureInPictureProxy *)pictureInPictureProxy;
Parameters
contentSourceID
the content source ID for this stream
videoID
the video identifier for this stream
adDisplayContainer
the IMAAdDisplayContainer for rendering the ad UI
videoDisplay
the IMAVideoDisplay for playing the stream
pictureInPictureProxy
the IMAPictureInPictureProxy for tracking PIP events
Return Value
the IMAVODStreamRequest instance