AnalyticsLogType
Marker interface for individual analytics event types.
All analytics log types implement this interface and are organised into categories via AnalyticsLogCategory. Types should be accessed through their category for clarity and discoverability:
AnalyticsLogCategory.Social.Comment
AnalyticsLogCategory.Action.Click
AnalyticsLogCategory.Session.LoginContent copied to clipboard
The category property provides a typed reference back to the parent AnalyticsLogCategory, enabling programmatic grouping and filtering without relying on reflection or string comparisons:
fun log(type: AnalyticsLogType) {
if (type.category is AnalyticsLogCategory.Social) { ... }
}Content copied to clipboard
See also
Inheritors
Properties
Link copied to clipboard
The AnalyticsLogCategory this type belongs to
Link copied to clipboard
Detailed description of when to use this type
Link copied to clipboard
Human-readable name for UI display
Link copied to clipboard
Material icon representing this log type in the UI