PlatformAnalytics

Interface to abstract platform-specific functionalities, primarily for analytics and related services that differ between product flavors.

Properties

Link copied to clipboard

Indicates whether platform-specific services (like Google Play Services or Datadog) are available and initialized.

Functions

Link copied to clipboard
abstract fun setDeviceAttributes(firmwareVersion: String, model: String)

Sets device-specific attributes (e.g., firmware version, hardware model) for analytics.

Link copied to clipboard
abstract fun track(event: String, vararg properties: DataPair)