toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-search
/
com.mapbox.dash.sdk.search.domain.history
/
CleanHistoryForGuestUseCase
Clean
History
For
Guest
Use
Case
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
CleanHistoryForGuestUseCase
(
guestUserChecker
:
GuestUserChecker
,
searchHistoryRepository
:
SearchHistoryRepository
)
Members
Constructors
Clean
History
For
Guest
Use
Case
Link copied to clipboard
constructor
(
guestUserChecker
:
GuestUserChecker
,
searchHistoryRepository
:
SearchHistoryRepository
)
Functions
invoke
Link copied to clipboard
suspend operator
fun
invoke
(
)
In GM environment, system user is guest. We should clean History for guest.