OnSearchResultsFound

data class OnSearchResultsFound(val results: List<DestinationSearchResult>, val queryOrCategoryDisplayName: String, val includeDestination: Boolean = false, val originalCategoryName: String? = null, val searchType: SearchType = SearchType.CategorySearch, val hideSearchThisAreaButton: Boolean = true) : Event.UpdateDataEvent

Parameters

originalCategoryName

represents a category name if search request was for a category

hideSearchThisAreaButton

true to hide "Search this area" button by this event. If false the button is kept as is.

Constructors

Link copied to clipboard
constructor(results: List<DestinationSearchResult>, queryOrCategoryDisplayName: String, includeDestination: Boolean = false, originalCategoryName: String? = null, searchType: SearchType = SearchType.CategorySearch, hideSearchThisAreaButton: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard