AmazonIVSPlayerCollectorFactory
@objcMembers
@objc(BMAAmazonIVSPlayerCollectorFactory)
public class AmazonIVSPlayerCollectorFactory : NSObject, CollectorFactory
-
Creates a new
AmazonIVSPlayerCollectorApi
instance with the given configurationDeclaration
Swift
public static func create( config: AnalyticsConfig ) -> AmazonIVSPlayerCollectorApi
Parameters
config
The
AnalyticsConfig
for this collector instance -
Creates a new
AmazonIVSPlayerCollectorApi
instance with the given configurationDeclaration
Swift
public static func create( config: AnalyticsConfig, defaultMetadata: DefaultMetadata ) -> AmazonIVSPlayerCollectorApi
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() ) -> AmazonIVSPlayerCollectorApi