Provider
class Provider(val name: String, val events: EventTrackerService? = null, val properties: PropertyTrackerService? = null, val identity: IdentifiableUserService? = null, val lifecycle: AnalyticsLifecycleService? = null, val consent: ConsentService? = null)(source)
One registered vendor: a name and whichever of the five capabilities it has.
Built for you by HeraldBuilder.provider. Construct it directly when providers are collected elsewhere — a DI multibinding, say — and handed over as a batch with HeraldBuilder.providers.
Constructors
Link copied to clipboard
constructor(name: String, events: EventTrackerService? = null, properties: PropertyTrackerService? = null, identity: IdentifiableUserService? = null, lifecycle: AnalyticsLifecycleService? = null, consent: ConsentService? = null)