GoogleInteractiveMediaAds Framework Reference

IMAVideoStitcherVODStreamRequest

@interface IMAVideoStitcherVODStreamRequest : IMAStreamRequest

Data 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) NSString *_Nonnull adTagURL;
  • The URL of the content source for the stream.

    Declaration

    Swift

    var contentSourceURL: String { get }

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull contentSourceURL;
  • The networkCode associate with the stream.

    Declaration

    Swift

    var networkCode: String { get }

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull networkCode;
  • 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;
  • 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: IMAVideoDisplay, userContext: Any?)

    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;

    Parameters

    adTagURL

    The adTagURL for the stream.

    contentSourceURL

    The contentSourceURL for the stream.

    networkCode

    The networkCode for the stream.

    OAuthToken

    The OAuth token for the stream.

    projectNumber

    The projectNumber for the stream.

    region

    The region for the stream.

    adDisplayContainer

    The IMAAdDisplayContainer for rendering the ad UI.

    videoDisplay

    The IMAVideoDisplay where the stream will be played.

    userContext

    The user context for tracking requests (optional)

    Return Value

    The IMAVideoStitcherVODStreamRequest instance.

  • 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: IMAVideoDisplay, pictureInPictureProxy: IMAPictureInPictureProxy?, userContext: Any?)

    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;

    Parameters

    adTagURL

    The adTagURL code for the stream.

    contentSourceURL

    The contentSourceURL code for the stream.

    networkCode

    The networkCode for the stream.

    OAuthToken

    The OAuth Token for the stream.

    projectNumber

    The projectNumber for the stream.

    region

    The region for the stream.

    adDisplayContainer

    The IMAAdDisplayContainer for rendering the ad UI.

    videoDisplay

    The IMAVideoDisplay where the stream will be played.

    pictureInPictureProxy

    The IMAPictureInPictureProxy for tracking PIP events.

    userContext

    The user context for tracking requests (optional)

    Return Value

    The IMAVideoStitcherVODStreamRequest instance.