BitmovinPlayerCollectorFactory
@objcMembers
@objc(BMABitmovinPlayerCollectorFactory)
public class BitmovinPlayerCollectorFactory : NSObject, CollectorFactory
-
Creates a new
BitmovinPlayerCollectorApi
instance with the given configurationDeclaration
Swift
public static func create( config: AnalyticsConfig ) -> BitmovinPlayerCollectorApi
Parameters
config
The
AnalyticsConfig
for this collector instance -
Creates a new
BitmovinPlayerCollectorApi
instance with the given configurationDeclaration
Swift
public static func create( config: AnalyticsConfig, defaultMetadata: DefaultMetadata ) -> BitmovinPlayerCollectorApi
Parameters
config
The
AnalyticsConfig
for this collector instancedefaultMetadata
The
DefaultMetadata
which acts as fallback if not specified elsewhere. -
Declaration
Swift
public static func create( config: AnalyticsConfig, client: _Client = ClientFactory.createDefault(), defaultMetadata: DefaultMetadata = DefaultMetadata() ) -> BitmovinPlayerCollectorApi