ScreenViewEventTracker

Tracks event as Amplitude's own [Amplitude] Screen Viewed, with its name as [Amplitude] Screen Name.

Keep Amplitude's own screen-view autocapture off, or every screen is counted twice.

Throws an IllegalArgumentException if the event has its own [Amplitude] Screen Name parameter, because it would replace the screen's name.

Constructors

Link copied to clipboard
constructor(event: ScreenViewEvent, amplitude: Amplitude)

Functions

Link copied to clipboard
open suspend override fun track()