BCOVPreferredBitrateConfig Class Reference
Inherits from | NSObject |
---|---|
Declared in | BCOVPUIPlayerView.h |
menuTitle
Optional string to be used for title of the menu view controller
@property (nonatomic, copy) NSString *menuTitle
Discussion
Optional string to be used for title of the menu view controller
Declared In
BCOVPUIPlayerView.h
bitrateOptions
Required array of desired bitrate options Format should be an array of single key:value pair dictionaries Example: @{@“Auto”:@(0)}, @{@“Setting 1”:@(aBitrateValue)}, @{@“Setting 2”:@(aBitrateValue)}]
@property (nonatomic, strong) NSArray<NSDictionary<NSString*NSNumber*> *> *bitrateOptions
Discussion
Required array of desired bitrate options Format should be an array of single key:value pair dictionaries Example: @{@“Auto”:@(0)}, @{@“Setting 1”:@(aBitrateValue)}, @{@“Setting 2”:@(aBitrateValue)}]
Declared In
BCOVPUIPlayerView.h
initialSelectionIndex
The array index of the bitrate option that should be initially selected.
@property (nonatomic, assign, readonly) NSUInteger initialSelectionIndex
Discussion
The array index of the bitrate option that should be initially selected.
Declared In
BCOVPUIPlayerView.h
+ configWithMenuTitle:andBitrateOptions:
Convenience initializer for BCOVPreferredBitrateConfig with the given options
+ (BCOVPreferredBitrateConfig *)configWithMenuTitle:(NSString *)menuTitle andBitrateOptions:(NSArray<NSDictionary<NSString*,NSNumber*> *> *)bitrateOptions
Parameters
menuTitle |
String value to be used for the menu title |
---|---|
bitrateOptions |
Array of bitrate options |
Return Value
The fully initialized BCOVPreferredBitrateConfig object
Discussion
Convenience initializer for BCOVPreferredBitrateConfig with the given options
Declared In
BCOVPUIPlayerView.h
+ configWithMenuTitle:bitrateOptions:andIndexofInitialSelection:
Convenience initializer for BCOVPreferredBitrateConfig with the given options
+ (BCOVPreferredBitrateConfig *)configWithMenuTitle:(NSString *)menuTitle bitrateOptions:(NSArray<NSDictionary<NSString*,NSNumber*> *> *)bitrateOptions andIndexofInitialSelection:(NSInteger)initialSelectionIndex
Parameters
menuTitle |
String value to be used for the menu title |
---|---|
bitrateOptions |
Array of bitrate options |
initialSelectionIndex |
The index of the initial bitrate option |
Return Value
The fully initialized BCOVPreferredBitrateConfig object
Discussion
Convenience initializer for BCOVPreferredBitrateConfig with the given options
Declared In
BCOVPUIPlayerView.h