LoggedScreenViewModel

constructor(initialState: S, telemetryRepository: TelemetryRepository, screenName: String, viewModelName: String = screenName)(source)

Parameters

screenName

The name reported as the screen key and parameter.

viewModelName

The name reported as the breadcrumb viewModel key and the GA4 view_model parameter. It is passed in rather than read from the class because R8 renames classes in release builds, which would make those values unreadable. Defaults to screenName.