FindPoiUseCase

class FindPoiUseCase(appStore: AppStore, reverseGeocoding: ReverseGeocodingUseCase, searchPoi: SearchPoiUseCase, searchRepository: SearchRepository, addEtaAndDistanceUseCase: AddEtaAndDistanceUseCase, analyticsSender: AnalyticsSender)

Constructors

Link copied to clipboard
constructor(appStore: AppStore, reverseGeocoding: ReverseGeocodingUseCase, searchPoi: SearchPoiUseCase, searchRepository: SearchRepository, addEtaAndDistanceUseCase: AddEtaAndDistanceUseCase, analyticsSender: AnalyticsSender)

Functions

Link copied to clipboard
suspend operator fun invoke(poi: Poi): Result<DestinationSearchResult>

The search SDK does not provide methods for finding an object by name + coordinates as a result of the discrepancy in the data that we receive from Alexa or when we click on the POI maps.