Class SearchEventsHandler

    • Method Detail

      • onSearchInput

        @UiThread() Unit onSearchInput(String searchInput)

        Invoked when the text in the search box is changed

        Parameters:
        searchInput - The new search text
      • onSearchRowEvent

        @Deprecated(message = "This callback is not used anymore. Refer to [onSearchEventForPoi]")@UiThread() Unit onSearchRowEvent(SearchItemViewModel.PoiViewModel poiViewModel)

        Invoked when a poi is clicked from the search results list

        Parameters:
        poiViewModel - a wrapper class object containing useful information about the clicked poi
      • onSearchEventForPoi

        @Deprecated(message = "This method is replaced with signature including origin. Please refer to that.onSearchEventForPoiWithOrigin(PTRSearchAction, PoiDetailsModel, PTRPoiEventOrigin)", replaceWith = @ReplaceWith(imports = {"com.pointrlabs.core.analytics.model.PTRPoiEventOrigin"}, expression = "onSearchEventForPoiWithOrigin(action, poiDetailsModel, PTRPoiEventOrigin.Unknown)")) Unit onSearchEventForPoi(PTRSearchAction action, PoiDetailsModel poiDetailsModel)

        Notifies when there is a search even related to a poi

        Parameters:
        action - The search action that user performed
        poiDetailsModel - The Poi that is going to be affected by the action