Package openfoodfacts.github.scrachx.openfood.analytics

Types

Link copied to clipboard
sealed class AnalyticsEvent
Link copied to clipboard
data class AnalyticsTrackingEvent(val startDate: Long = System.currentTimeMillis(), val event: AnalyticsEvent)
Link copied to clipboard
enum AnalyticsView : Enum<AnalyticsView>
Link copied to clipboard
@Singleton
class MatomoAnalytics @Inject constructor(context: Context, sharedPreferences: SharedPreferences)
Link copied to clipboard
@Singleton
class SentryAnalytics @Inject constructor(context: Context, sharedPreferences: SharedPreferences)

Functions

Link copied to clipboard
fun Activity.startTrackEvent(event: AnalyticsEvent): AnalyticsTrackingEvent