IMAStreamRequest.h
1 //
2 // IMAStreamRequest.h
3 // GoogleIMA3
4 //
5 // Copyright (c) 2015 Google Inc. All rights reserved.
6 //
7 // Declares a simple stream request class.
8 
9 #import <Foundation/Foundation.h>
10 
12 @protocol IMAVideoDisplay;
13 
17 @interface IMAStreamRequest : NSObject
18 
22 @property(nonatomic, strong, readonly) IMAAdDisplayContainer *adDisplayContainer;
23 
27 @property(nonatomic, strong, readonly) id<IMAVideoDisplay> videoDisplay;
28 
35 @property(nonatomic, copy) NSString *apiKey;
36 
43 @property(nonatomic, copy) NSString *authToken;
44 
49 @property(nonatomic, copy) NSString *streamActivityMonitorID;
50 
60 @property(nonatomic, copy) NSDictionary *adTagParameters;
61 
68 @property(nonatomic, copy) NSString *manifestURLSuffix;
69 
73 - (instancetype)init NS_UNAVAILABLE;
74 
75 @end
The IMAAdDisplayContainer is responsible for managing the ad container view and companion ad slots us...
Definition: IMAAdDisplayContainer.h:16
NSString * authToken
The stream request authorization token.
Definition: IMAStreamRequest.h:43
NSDictionary * adTagParameters
You can override a limited set of ad tag parameters on your stream request.
Definition: IMAStreamRequest.h:60
IMAAdDisplayContainer * adDisplayContainer
The stream display container for displaying the ad UI.
Definition: IMAStreamRequest.h:22
NSString * streamActivityMonitorID
The ID to be used to debug the stream with the stream activity monitor.
Definition: IMAStreamRequest.h:49
id< IMAVideoDisplay > videoDisplay
The video display where the stream can be played.
Definition: IMAStreamRequest.h:27
instancetype NS_UNAVAILABLE()
:nodoc:
NSString * manifestURLSuffix
The suffix that the SDK will append to the query of the stream manifest URL.
Definition: IMAStreamRequest.h:68
Data class describing the stream request.
Definition: IMAStreamRequest.h:17
NSString * apiKey
The stream request API key.
Definition: IMAStreamRequest.h:35