AnalyticsLifecycleService

Start-up and delivery for one vendor.

Inheritors

Functions

Link copied to clipboard
open suspend fun flush()

Best-effort request to deliver anything buffered. Worth calling when consent is revoked or the app goes to the background. Vendors with no flush API keep the default no-op.

Link copied to clipboard
abstract suspend fun start()

Initialise the vendor SDK. Call once, from the code that owns the app lifecycle.