TermsViewModel

class TermsViewModel(checkTermsAcceptedUseCase: CheckTermsAcceptedUseCase, setTermsAcceptedUseCase: SetTermsAcceptedUseCase, router: TermsRouter, analyticsSender: AnalyticsSender, getTcpsCountryCode: GetTcpsCountryCodeUseCase, driveModeObserver: ObserveParkingBreakEnabledUseCase, resourceProvider: ResourceManager, screenTracker: ScreenTracker) : ViewModel

Constructors

Link copied to clipboard
constructor(checkTermsAcceptedUseCase: CheckTermsAcceptedUseCase, setTermsAcceptedUseCase: SetTermsAcceptedUseCase, router: TermsRouter, analyticsSender: AnalyticsSender, getTcpsCountryCode: GetTcpsCountryCodeUseCase, driveModeObserver: ObserveParkingBreakEnabledUseCase, resourceProvider: ResourceManager, screenTracker: ScreenTracker)

Types

Link copied to clipboard
sealed class Event
Link copied to clipboard
data class TermsViewState(val acceptViewVisible: Boolean = true, val detailsViewVisible: Boolean = false, val acceptButtonAvailable: Boolean = false, val isParkingDriveMode: Boolean = false, val isScreenLoaded: Boolean = false, val termsText: String? = null)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard