MatomoAnalytics

@Singleton
class MatomoAnalytics @Inject constructor(context: Context, sharedPreferences: SharedPreferences)

Constructors

Link copied to clipboard
@Inject
fun MatomoAnalytics(context: Context, sharedPreferences: SharedPreferences)

Functions

Link copied to clipboard
fun setEnabled(enabled: Boolean)
Link copied to clipboard
fun showAnalyticsBottomSheetIfNeeded(childFragmentManager: FragmentManager)
Link copied to clipboard
fun trackEvent(event: AnalyticsEvent)
Link copied to clipboard
fun trackView(view: AnalyticsView)