screen Viewed
fun screenViewed(screenName: String, attributes: Map<String, Any>? = null, searchQuery: String? = null, traits: TrackingTraits? = null)
Reports that the user viewed a screen.
Parameters
screen Name
The name of the screen.
attributes
Optional custom attributes to send with the event.
search Query
Optional search query associated with the screen.
traits
Optional identity traits to send with this event only.