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

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

import android.support.annotation.NonNull;

/**
 * Native search will return results via this interface.
 */
@SuppressWarnings("unused")
public interface NativeSearchListener
{
  /**
   * @param results Search results.
   * @param timestamp Timestamp of search request.
   */
  void onResultsUpdate(@NonNull SearchResult[] results, long timestamp, boolean isHotel);

  /**
   * @param timestamp Timestamp of search request.
   */
  void onResultsEnd(long timestamp);
}