AnalyticsEvent

interface AnalyticsEvent

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

Functions

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

Inheritors

DocumentUploadUpdateEvent
Link copied to clipboard

Extensions

checkTypeAndCast
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