AnalyticsEvent

interface AnalyticsEvent

Interface that defines the properties of Analytics Events in the Sensibill SDK.

Inheritors

Functions

Link copied to clipboard
inline fun <T> AnalyticsEvent.checkTypeAndCast(type: Class<T>, eventName: String, feature: String? = null): T?

Helper function that can be used to safely and optionally case an AnalyticsEvent to a specific implementation

Link copied to clipboard
abstract fun getDomainName(): String
Full event name containing event prefix, feature and event name concatenated
Link copied to clipboard
abstract fun getEventName(): String
The name of the specific event that occurred
Link copied to clipboard
abstract fun getFeature(): String
The feature/area of the Sensibill UI that the event occured