View
@Serializable
Represents a view/screen event for analytics tracking.
This event type is triggered when a user views a screen or page in the application.
Throws
if screenName is empty
Constructors
Link copied to clipboard
constructor(screenName: String, contextData: ContextData = ContextData(screenName), breadCrumbs: BreadCrumbs = BreadCrumbs())
Properties
Link copied to clipboard
The type of analytics event (State or Action)
Link copied to clipboard
Navigation breadcrumbs for this view, defaults to empty BreadCrumbs
Link copied to clipboard
Additional context data for this view event, defaults to a new ContextData with the screen name
Link copied to clipboard
Name of the screen being viewed