OnboardingEvent

sealed interface OnboardingEvent(source)

What the user can ask the onboarding screen's ViewModel to do.

Inheritors

Types

Link copied to clipboard
open class CompleteOnboarding(val method: OnboardingCompletionMethod = OnboardingCompletionMethod.DONE) : OnboardingEvent

Saves completion, then enters the shell. Sent by Skip and by Finish on the last page.

Link copied to clipboard
data class PageSelected(val index: Int, val pageKey: String? = null, val direction: OnboardingStepDirection = OnboardingStepDirection.INITIAL) : OnboardingEvent

The pager settled on the page at index, with optional pageKey and direction.

Link copied to clipboard

Asks for consent, showing the form when the consent SDK requires it. The screen sends it on every resume.