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

ParsedSearchRequest.java « api « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d9f748412f09ffc89f536fb404e3962d31af7298 (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
26
27
28
package com.mapswithme.maps.api;


import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/**
 * Represents url_scheme::SearchRequest from core.
 */

public final class ParsedSearchRequest
{
    @NonNull
    public final String mQuery;
    @Nullable
    public final String mLocale;
    public final double mLat;
    public final double mLon;
    public final boolean mIsSearchOnMap;

    public ParsedSearchRequest(@NonNull String query, @Nullable String locale, double lat, double lon, boolean isSearchOnMap) {
        this.mQuery = query;
        this.mLocale = locale;
        this.mLat = lat;
        this.mLon = lon;
        this.mIsSearchOnMap = isSearchOnMap;
    }
}