BBNativePlayer
public class BBNativePlayerA Utility class to create players
- 
                  
                  Creates a BBNativePlayerView - Options:
- “adsystem_ppid”: String used to fill the ppid for google IMA
- “adsystem_buid”: String used for adsystem macro replacement
- “adsystem_rdid”: String used for adsystem macro replacement
- “adsystem_idtype”: String used for adsystem macro replacement
- “adsystem_is_lat”: Bool used for adsystem macro replacement
- “noStats”: Bool disables statistics logging when true, overrides playout setting
- “commercials”: Bool allow commercials, overrides playout setting
- “allowCollapseExpand”: Bool honour collapse / expand requests
- “autoPlay”: Bool auto play, overrides playout setting
- “noChromeCast”: Bool disables chromeCast functionality when true, overrides playout setting castButton
- “showChromeCastMiniControlsInPlayer”: Bool (default false) Shows the ChromeCast MiniControls in the player when needed 
 DeclarationSwift public static func createPlayerView(uiViewController: UIViewController, frame: CGRect, jsonUrl: String, options: [String : Any]?) -> BBNativePlayerViewParametersframeThe size of the player jsonUrlThe EMBED url the player will use to setup optionsA dictionary with options to send to the player st creation. Return ValueBBNativePlayerView 
- 
                  
                  Creates a BBNativePlayerView DeclarationSwift public static func createPlayerView(uiViewController: UIViewController, frame: CGRect, jsonUrl: String) -> BBNativePlayerViewParametersframeThe size of the player jsonUrlThe EMBED url the player will use to setup Return ValueBBNativePlayerView 
- 
                  
                  Creates a BBNativePlayerView and presents it as a full screen modal - Options:
- “adsystem_ppid”: String used to fill the ppid for google IMA
- “adsystem_buid”: String used for adsystem macro replacement
- “adsystem_rdid”: String used for adsystem macro replacement
- “adsystem_idtype”: String used for adsystem macro replacement
- “adsystem_is_lat”: Bool used for adsystem macro replacement
- “noStats”: Bool disables statistics logging when true, overrides playout setting
- “commercials”: Bool allow commercials, overrides playout setting
- “allowCollapseExpand”: Bool honour collapse / expand requests
- “autoPlay”: Bool auto play, overrides playout setting
- “noChromeCast”: Bool disables chromeCast functionality when true, overrides playout setting castButton
- “showChromeCastMiniControlsInPlayer”: Bool (default false) Shows the ChromeCast MiniControls in the player when needed 
 DeclarationSwift public static func createModalPlayerView(uiViewContoller: UIViewController, jsonUrl: String, options: [String : Any]?) -> BBNativePlayerViewParametersuiViewContollerUIViewController - is used to present the modal player jsonUrlThe EMBED url the player will use to setup optionsA dictionary with options to send to the player st creation. Return Valuenone 
- 
                  
                  Creates a BBNativePlayerView and presents it as a full screen modal DeclarationSwift public static func createModalPlayerView(uiViewContoller: UIViewController, jsonUrl: String) -> BBNativePlayerViewParametersuiViewContollerUIViewController - is used to present the modal player jsonUrlThe EMBED url the player will use to setup Return Valuenone 
- 
                  
                  Create a json embed URL DeclarationSwift public static func createJsonEmbedUrl(baseUrl: String, appIndicator: String, appId: String, contentIndicator: String? = nil, contentId: String? = nil) -> String
 BBNativePlayer Class Reference
        BBNativePlayer Class Reference