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