FLBrightcoveFactory
public enum FLBrightcoveFactory
Undocumented
-
Build Player call back type alias
Declaration
Swift
public typealias BuilderResponse = (Result<BrightcoveAdPlayer, Error>) -> Void -
API to build brightcove adplayer.
Declaration
Swift
public static func buildPlayer( contentUrl: URL, adMetaDataUrl: String, adPlaybackPolicy: AdPlaybackPolicy?, palConfiguration: PALSessionConfiguration?, dataCollectionConfig: BrightcoveDataCollectionConfig? = nil, _ completion: @escaping FLBrightcoveFactory.BuilderResponse )Parameters
contentUrlPlay back url
adMetaDataUrlAdMetaData url fetch ads meta data and thumbnail key frame data for the player
adPlaybackPolicyProvide pollicy handler customize your ad play back.
palConfigurationPAL session configuration to load nonce value with the player.
dataCollectionConfigBrightcoveDataCollectionConfig to configure the Brightcove Data Collection API for tracking video and ad events.
completionReturn the call back either
BrightcoveAdPlayerorError.