IMASettings.h
1 //
2 // IMASettings.h
3 // GoogleIMA3
4 //
5 // Copyright (c) 2015 Google Inc. All rights reserved.
6 //
7 // Stores SDK wide settings. Only instantiated in the SDK.
8 
9 #import <Foundation/Foundation.h>
10 
14 @interface IMASettings : NSObject <NSCopying>
15 
19 @property(nonatomic, copy) NSString *ppid;
20 
27 @property(nonatomic, copy) NSString *language;
28 
36 @property(nonatomic) NSUInteger maxRedirects;
37 
41 @property(nonatomic) BOOL enableBackgroundPlayback;
42 
47 @property(nonatomic) BOOL autoPlayAdBreaks;
48 
54 @property(nonatomic) BOOL disableNowPlayingInfo;
55 
59 @property(nonatomic, copy) NSString *playerType;
60 
64 @property(nonatomic, copy) NSString *playerVersion;
65 
71 @property(nonatomic) BOOL enableDebugMode;
72 
73 @end
74 
BOOL disableNowPlayingInfo
Specifies whether to update the MPNowPlayingInfoCenter content with the title "Advertisement".
Definition: IMASettings.h:54
NSString * ppid
Publisher Provided Identification (PPID) sent with ads request.
Definition: IMASettings.h:19
NSString * language
Language specification used for localization.
Definition: IMASettings.h:27
BOOL enableBackgroundPlayback
Enable background audio playback for the SDK.
Definition: IMASettings.h:41
NSUInteger maxRedirects
Specifies maximum number of redirects after which subsequent redirects will be denied, and the ad load aborted.
Definition: IMASettings.h:36
BOOL enableDebugMode
Toggles debug mode which will output detailed log information to the console.
Definition: IMASettings.h:71
BOOL autoPlayAdBreaks
Specifies whether to automatically play VMAP and ad rules ad breaks.
Definition: IMASettings.h:47
NSString * playerVersion
The partner specified player version that is integrating with the SDK.
Definition: IMASettings.h:64
The IMASettings class stores SDK wide settings.
Definition: IMASettings.h:14
NSString * playerType
The partner specified video player that is integrating with the SDK.
Definition: IMASettings.h:59