HeraldBuilder
Receiver of the Herald block.
Functions
Link copied to clipboard
Where the fan-out runs. Defaults to Dispatchers.Default, so a call from a ViewModel does not put vendor SDK work on the main thread.
Link copied to clipboard
Where contained vendor failures go. Defaults to discarding them.
Link copied to clipboard
fun provider(name: String, events: EventTrackerService? = null, properties: PropertyTrackerService? = null, identity: IdentifiableUserService? = null, lifecycle: AnalyticsLifecycleService? = null, consent: ConsentService? = null)
Adds one vendor. Pass only the capabilities it has — an adapter that implements several of them is the same object passed under each.
Link copied to clipboard
Adds vendors already built as Herald.Providers, in iteration order.