AnalyticsRequestFactory

open class AnalyticsRequestFactory(packageManager: PackageManager?, packageInfo: PackageInfo?, packageName: String, publishableKeyProvider: Provider<String>, networkTypeProvider: Provider<String?>, pluginTypeProvider: Provider<String?> = PLUGIN_TYPE_PROVIDER)

Constructors

Link copied to clipboard
constructor(packageManager: PackageManager?, packageInfo: PackageInfo?, packageName: String, publishableKeyProvider: Provider<String>, networkTypeProvider: Provider<String?>, pluginTypeProvider: Provider<String?> = PLUGIN_TYPE_PROVIDER)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun createRequest(event: AnalyticsEvent, additionalParams: Map<String, Any?>): AnalyticsRequest

Builds an Analytics request for the given AnalyticsEvent, including common params + event-specific params defined in AnalyticsEvent.params