BradmaxPlayerSdk
BPSMPlayerConfig.h
1 #ifndef BPSMPlayerConfig_h
2 #define BPSMPlayerConfig_h
3 
4 #import <Foundation/Foundation.h>
5 #import "BPSMAdvertisement.h"
6 
8 @interface BPSMPlayerConfig : NSObject
9 
11 @property NSString *dataSource;
12 
14 @property NSMutableArray *dataProvider;
15 
18 
20 @property NSNumber *autoplay;
21 
23 @property NSNumber *mute;
24 
26 @property NSNumber *startTime;
27 
29 @property NSNumber *qualitySelectionEnabled;
30 
32 @property NSString *qualityLabelType;
33 
35 @property NSNumber *showSkinOnInit;
36 
38 @property NSString *shareButtons;
39 
42 @property NSString *hideUIElements;
43 
45 @property NSString *endSplash;
46 
48 @property NSString *subtitles;
49 
51 @property NSNumber *dvrWindowStartTime;
52 
54 @property NSNumber *dvrWindowEndTime;
55 
57 @property NSNumber *iosInlineVideo;
58 
59 - (NSDictionary *) toNSDictionary;
60 
61 @end
62 
63 #endif /* BPSMPlayerConfig_h */
NSString * endSplash
Name of end splash view to use.
Definition: BPSMPlayerConfig.h:45
BPSMAdvertisement * advertisement
Configuration object for player advertisement.
Definition: BPSMPlayerConfig.h:17
NSNumber * dvrWindowEndTime
Tail constraint for DVR window for live streams.
Definition: BPSMPlayerConfig.h:54
NSNumber * dvrWindowStartTime
Head constraint for DVR window for live streams.
Definition: BPSMPlayerConfig.h:51
NSNumber * autoplay
BOOL - Indicates if player should play video after player load.
Definition: BPSMPlayerConfig.h:20
NSNumber * qualitySelectionEnabled
BOOL - Indicates if quality selection should be enabled in player.
Definition: BPSMPlayerConfig.h:29
NSNumber * iosInlineVideo
BOOL - This option indicates if video should be inlined for iPhone devices. By default for iPhones de...
Definition: BPSMPlayerConfig.h:57
NSString * dataSource
URL pointing to json file with media data.
Definition: BPSMPlayerConfig.h:11
NSNumber * showSkinOnInit
BOOL - Indicates if player skin should be visible at player start.
Definition: BPSMPlayerConfig.h:35
NSMutableArray * dataProvider
Array of BPSMMedia objects.
Definition: BPSMPlayerConfig.h:14
Player configuration for advertisements.
Definition: BPSMAdvertisement.m:5
Bradmax player configuration object.
Definition: BPSMPlayerConfig.m:5
NSString * subtitles
Default subtitles language in ISO 3166-1 language code.
Definition: BPSMPlayerConfig.h:48
NSNumber * startTime
Indicates initial start time of video.
Definition: BPSMPlayerConfig.h:26
NSString * hideUIElements
List of comma separated elements names to hide in player.
Definition: BPSMPlayerConfig.h:42
NSNumber * mute
BOOL - Indicates if player should start playback with muted sound.
Definition: BPSMPlayerConfig.h:23
NSString * shareButtons
List of comma separated social button names.
Definition: BPSMPlayerConfig.h:38
NSString * qualityLabelType
Selects if bitrate or resolution should be on quality list.
Definition: BPSMPlayerConfig.h:32