IMAVideoStitcherVODStreamRequest
@interface IMAVideoStitcherVODStreamRequest : IMAStreamRequestData object describing a stream request for a Google video stitcher video on demand serving stream.
-
The adTagURL for the stream.
Declaration
Swift
var adTagURL: String? { get }Objective-C
@property (nonatomic, readonly, nullable) NSString *adTagURL; -
The URL of the content source for the stream.
Declaration
Swift
var contentSourceURL: String? { get }Objective-C
@property (nonatomic, readonly, nullable) NSString *contentSourceURL; -
The OAuth Token for the stream.
Declaration
Swift
var oAuthToken: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull OAuthToken; -
The project number for the stream.
Declaration
Swift
var projectNumber: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull projectNumber; -
The region for the stream.
Declaration
Swift
var region: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull region; -
The VOD Config ID for the stream.
Declaration
Swift
var vodConfigID: String? { get }Objective-C
@property (nonatomic, readonly, nullable) NSString *VODConfigID; -
The session options are used to set Video Stitcher-specific parameters for this request.
Declaration
Swift
var videoStitcherSessionOptions: [String : Any]? { get set }Objective-C
@property (nonatomic, copy, nullable) NSDictionary<NSString *, id> *videoStitcherSessionOptions; -
-initWithAdTagURL:region:projectNumber:OAuthToken:networkCode:contentSourceURL:adDisplayContainer:videoDisplay:userContext:videoStitcherSessionOptions:
Initializes a stream request instance with the given network code, content source url, ad tag url, project number, region, and OAuth token. Uses the given ad display container to display the stream.
Declaration
Swift
init(adTagURL: String, region: String, projectNumber: String, oAuthToken OAuthToken: String, networkCode: String, contentSourceURL: String, adDisplayContainer: IMAAdDisplayContainer, videoDisplay: any IMAVideoDisplay, userContext: Any?, videoStitcherSessionOptions: [String : Any]? = nil)Objective-C
- (nonnull instancetype) initWithAdTagURL:(nonnull NSString *)adTagURL region:(nonnull NSString *)region projectNumber:(nonnull NSString *)projectNumber OAuthToken:(nonnull NSString *)OAuthToken networkCode:(nonnull NSString *)networkCode contentSourceURL:(nonnull NSString *)contentSourceURL adDisplayContainer: (nonnull IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(nonnull id<IMAVideoDisplay>)videoDisplay userContext:(nullable id)userContext videoStitcherSessionOptions: (nullable NSDictionary<NSString *, id> *)videoStitcherSessionOptions;Parameters
adTagURLThe adTagURL for the stream.
contentSourceURLThe contentSourceURL for the stream.
networkCodeThe networkCode for the stream.
OAuthTokenThe OAuth token for the stream.
projectNumberThe projectNumber for the stream.
regionThe region 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)
videoStitcherSessionOptionslimited set of cloud session overrides (optional)
Return Value
The IMAVideoStitcherVODStreamRequest instance.
-
-initWithAdTagURL:region:projectNumber:OAuthToken:networkCode:contentSourceURL:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:videoStitcherSessionOptions:
Initializes a stream request instance with the given network code, content source url, ad tag url, project number, region, and OAuth token. Uses the given ad display container to display the stream. Uses the picture in picture proxy to track PIP events.
Declaration
Swift
init(adTagURL: String, region: String, projectNumber: String, oAuthToken OAuthToken: String, networkCode: String, contentSourceURL: String, adDisplayContainer: IMAAdDisplayContainer, videoDisplay: any IMAVideoDisplay, pictureInPictureProxy: IMAPictureInPictureProxy?, userContext: Any?, videoStitcherSessionOptions: [String : Any]? = nil)Objective-C
- (nonnull instancetype) initWithAdTagURL:(nonnull NSString *)adTagURL region:(nonnull NSString *)region projectNumber:(nonnull NSString *)projectNumber OAuthToken:(nonnull NSString *)OAuthToken networkCode:(nonnull NSString *)networkCode contentSourceURL:(nonnull NSString *)contentSourceURL adDisplayContainer: (nonnull IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(nonnull id<IMAVideoDisplay>)videoDisplay pictureInPictureProxy: (nullable IMAPictureInPictureProxy *)pictureInPictureProxy userContext:(nullable id)userContext videoStitcherSessionOptions: (nullable NSDictionary<NSString *, id> *)videoStitcherSessionOptions;Parameters
adTagURLThe adTagURL code for the stream.
contentSourceURLThe contentSourceURL code for the stream.
networkCodeThe networkCode for the stream.
OAuthTokenThe OAuth Token for the stream.
projectNumberThe projectNumber for the stream.
regionThe region 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)
videoStitcherSessionOptionslimited set of cloud session overrides (optional)
Return Value
The IMAVideoStitcherVODStreamRequest instance.
-
-initWithVODConfigID:region:projectNumber:OAuthToken:networkCode:adDisplayContainer:videoDisplay:userContext:videoStitcherSessionOptions:
Initializes a stream request instance with the given network code, vod config ID, project number, region, and OAuth token. Uses the given ad display container to display the stream.
Declaration
Swift
init(vodConfigID VODConfigID: String, region: String, projectNumber: String, oAuthToken OAuthToken: String, networkCode: String, adDisplayContainer: IMAAdDisplayContainer, videoDisplay: any IMAVideoDisplay, userContext: Any?, videoStitcherSessionOptions: [String : Any]? = nil)Objective-C
- (nonnull instancetype) initWithVODConfigID:(nonnull NSString *)VODConfigID region:(nonnull NSString *)region projectNumber:(nonnull NSString *)projectNumber OAuthToken:(nonnull NSString *)OAuthToken networkCode:(nonnull NSString *)networkCode adDisplayContainer: (nonnull IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(nonnull id<IMAVideoDisplay>)videoDisplay userContext:(nullable id)userContext videoStitcherSessionOptions: (nullable NSDictionary<NSString *, id> *)videoStitcherSessionOptions;Parameters
VODConfigIDThe VOD Config ID for the stream from cloud stitcher.
networkCodeThe networkCode for the stream.
OAuthTokenThe OAuth token for the stream.
projectNumberThe projectNumber for the stream.
regionThe region 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)
videoStitcherSessionOptionslimited set of cloud session overrides (optional)
Return Value
The IMAVideoStitcherVODStreamRequest instance.
-
-initWithVODConfigID:region:projectNumber:OAuthToken:networkCode:adDisplayContainer:videoDisplay:pictureInPictureProxy:userContext:videoStitcherSessionOptions:
Initializes a stream request instance with the given network code, vod config ID, project number, region, and OAuth token. Uses the given ad display container to display the stream. Uses the picture in picture proxy to track PIP events.
Declaration
Swift
init(vodConfigID VODConfigID: String, region: String, projectNumber: String, oAuthToken OAuthToken: String, networkCode: String, adDisplayContainer: IMAAdDisplayContainer, videoDisplay: any IMAVideoDisplay, pictureInPictureProxy: IMAPictureInPictureProxy?, userContext: Any?, videoStitcherSessionOptions: [String : Any]? = nil)Objective-C
- (nonnull instancetype) initWithVODConfigID:(nonnull NSString *)VODConfigID region:(nonnull NSString *)region projectNumber:(nonnull NSString *)projectNumber OAuthToken:(nonnull NSString *)OAuthToken networkCode:(nonnull NSString *)networkCode adDisplayContainer: (nonnull IMAAdDisplayContainer *)adDisplayContainer videoDisplay:(nonnull id<IMAVideoDisplay>)videoDisplay pictureInPictureProxy: (nullable IMAPictureInPictureProxy *)pictureInPictureProxy userContext:(nullable id)userContext videoStitcherSessionOptions: (nullable NSDictionary<NSString *, id> *)videoStitcherSessionOptions;Parameters
VODConfigIDThe VOD Config ID for the stream from cloud stitcher.
networkCodeThe networkCode for the stream.
OAuthTokenThe OAuth Token for the stream.
projectNumberThe projectNumber for the stream.
regionThe region 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)
videoStitcherSessionOptionslimited set of cloud session overrides (optional)
Return Value
The IMAVideoStitcherVODStreamRequest instance.