SearchState
data class SearchState(val searchSuggestionState: SuggestionsResult = SuggestionsResult.Idle, val currentScreen: CurrentSearchScreen = CurrentSearchScreen.NONE, val favoriteSuggestionsState: SuggestionsResult = SuggestionsResult.Idle, val typeOfPlaceToAdd: FavoriteType? = null, val previousState: SearchState? = null, val searchQuery: String, val searchAnchor: Point?, val searchBoundingBox: BoundingBox?, val selectedFavorite: DestinationSearchResult? = null)
Constructors
Link copied to clipboard
constructor(searchSuggestionState: SuggestionsResult = SuggestionsResult.Idle, currentScreen: CurrentSearchScreen = CurrentSearchScreen.NONE, favoriteSuggestionsState: SuggestionsResult = SuggestionsResult.Idle, typeOfPlaceToAdd: FavoriteType? = null, previousState: SearchState? = null, searchQuery: String, searchAnchor: Point?, searchBoundingBox: BoundingBox?, selectedFavorite: DestinationSearchResult? = null)