Aller au contenu

setTrackingEnabled

Ce contenu n’est pas encore disponible dans votre langue.

suspend fun setTrackingEnabled(enabled: Boolean)

Turns tracking on or off at runtime and persists the decision for this install. false purges anything still queued, which can discard purchase events not yet sent; true cannot lift a build shipping trackingEnabled(false). Identity survives — see resetAnonymousId.