AnalyticsOperation

sealed interface AnalyticsOperation(source)

Which call into a vendor adapter was in flight when it failed, and what it was working on.

Carries names only, never values: an event's name but not its parameters, a property's name but not its value, and nothing at all for Identify. That keeps personal data out of whatever a consumer's AnalyticsErrorReporter forwards to.

Inheritors

Types

Link copied to clipboard

Asking the vendor to deliver anything buffered.

Link copied to clipboard

Identifying the current user.

Link copied to clipboard

Clearing the current identity.

Link copied to clipboard
data class SetEnabled(val enabled: Boolean) : AnalyticsOperation

Turning collection on or off.

Link copied to clipboard
data class SetProperty(val propertyName: String) : AnalyticsOperation

Setting the property called propertyName.

Link copied to clipboard

Starting the vendor SDK.

Link copied to clipboard
data class Track(val eventName: String) : AnalyticsOperation

Tracking the event called eventName.