Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DiscoveryResultReceiver.java « discovery « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 550729f3bf92d97eb200c41c77e9cb9e6ac1e424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.mapswithme.maps.discovery;

import androidx.annotation.MainThread;
import androidx.annotation.NonNull;

import com.mapswithme.maps.promo.PromoCityGallery;
import com.mapswithme.maps.search.SearchResult;

public interface DiscoveryResultReceiver
{
  @MainThread
  void onHotelsReceived(@NonNull SearchResult[] results);
  @MainThread
  void onAttractionsReceived(@NonNull SearchResult[] results);
  @MainThread
  void onCafesReceived(@NonNull SearchResult[] results);
  @MainThread
  void onLocalExpertsReceived(@NonNull LocalExpert[] experts);
  @MainThread
  void onError(@NonNull ItemType type);
  @MainThread
  void onCatalogPromoResultReceived(@NonNull PromoCityGallery promoCityGallery);
  @MainThread
  void onNotFound();
}