Package com.sygic.sdk.search

Types

AutocompleteResult
Link copied to clipboard
open class AutocompleteResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, locationId: String, categoryTags: List<String>, categoryBoundary: GeoBoundingBox) : Result
AutocompleteResultListener
Link copied to clipboard
interface AutocompleteResultListener
CompositeSearch
Link copied to clipboard
class CompositeSearch : Search

Composite search engine (combination of any types of Search engines)

ContactDataAutocompleteResult
Link copied to clipboard
data class ContactDataAutocompleteResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, locationId: String, categoryTags: List<String>, categoryBoundary: GeoBoundingBox, flatType: FlatResultType, payload: Parcelable) : AutocompleteResult, FlatDataPayload
ContactDataResult
Link copied to clipboard
data class ContactDataResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, flatType: FlatResultType, payload: Parcelable) : GeocodingResult, FlatDataPayload
CoordinateSearch
Link copied to clipboard
class CoordinateSearch : Search

Coordinate search engine (search input may look like this: "48.1457, 17.1269")

CreateSearchCallback
Link copied to clipboard
interface CreateSearchCallback<T : Search>

Callback interface for create search operation

CustomPlaceDataAutocompleteResult
Link copied to clipboard
data class CustomPlaceDataAutocompleteResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, locationId: String, categoryTags: List<String>, categoryBoundary: GeoBoundingBox, flatType: FlatResultType, payload: Parcelable) : AutocompleteResult, FlatDataPayload
CustomPlaceDataResult
Link copied to clipboard
data class CustomPlaceDataResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, flatType: FlatResultType, payload: Parcelable) : GeocodingResult, FlatDataPayload
CustomPlacesSearch
Link copied to clipboard
class CustomPlacesSearch : Search

Custom places search engine (use com.sygic.sdk.places.CustomPlacesManager to install custom places)

FavoriteDataAutocompleteResult
Link copied to clipboard
data class FavoriteDataAutocompleteResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, locationId: String, categoryTags: List<String>, categoryBoundary: GeoBoundingBox, flatType: FlatResultType, payload: Parcelable) : AutocompleteResult, FlatDataPayload
FavoriteDataResult
Link copied to clipboard
data class FavoriteDataResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, flatType: FlatResultType, payload: Parcelable) : GeocodingResult, FlatDataPayload
FlatAutocompleteResult
Link copied to clipboard
open class FlatAutocompleteResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, locationId: String, categoryTags: List<String>, categoryBoundary: GeoBoundingBox, payload: Parcelable) : AutocompleteResult
FlatData
Link copied to clipboard
data class FlatData(title: String, subtitle: String, location: GeoCoordinates, payload: Parcelable) : Parcelable
FlatDataAutocompleteResult
Link copied to clipboard
data class FlatDataAutocompleteResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, locationId: String, categoryTags: List<String>, categoryBoundary: GeoBoundingBox, payload: Long) : AutocompleteResult
FlatDataPayload
Link copied to clipboard
interface FlatDataPayload
FlatDataResult
Link copied to clipboard
open class FlatDataResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, payload: Long) : GeocodingResult
FlatResult
Link copied to clipboard
open class FlatResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, payload: Parcelable) : GeocodingResult
FlatResultType
Link copied to clipboard
enum FlatResultType : Enum<FlatResultType> , Parcelable
FlatSearch
Link copied to clipboard
class FlatSearch : Search

Flat search engine (add your own flat data into search engine, data will not persist SDK restart and are valid only for single FlatSearch instance)

GeocodeLocationRequest
Link copied to clipboard
data class GeocodeLocationRequest @JvmOverloads constructor(locationId: String)
GeocodingResult
Link copied to clipboard
open class GeocodingResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox) : Result
GeocodingResultListener
Link copied to clipboard
interface GeocodingResultListener
GeocodingResultsListener
Link copied to clipboard
interface GeocodingResultsListener
HistoryDataAutocompleteResult
Link copied to clipboard
data class HistoryDataAutocompleteResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, locationId: String, categoryTags: List<String>, categoryBoundary: GeoBoundingBox, flatType: FlatResultType, payload: Parcelable) : AutocompleteResult, FlatDataPayload
HistoryDataResult
Link copied to clipboard
data class HistoryDataResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, flatType: FlatResultType, payload: Parcelable) : GeocodingResult, FlatDataPayload
HouseNumberResult
Link copied to clipboard
data class HouseNumberResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, iso: String, addressComponent: Map<MapResultComponent, String>, entry: GeoCoordinates, exactMatch: Boolean) : MapResult
MapResult
Link copied to clipboard
open class MapResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, iso: String, addressComponent: Map<MapResultComponent, String>) : GeocodingResult
MapResultComponent
Link copied to clipboard
enum MapResultComponent : Enum<MapResultComponent> , Parcelable

Geocoding components.

OfflineMapSearch
Link copied to clipboard
class OfflineMapSearch : Search

Offline maps search engine (OfflineMapSearch consumes a lot of resources, it is recommended to share one OfflineMapSearch instance)

OnlineMapSearch
Link copied to clipboard
class OnlineMapSearch : Search

Online search engine (using online search API)

PlacePageRequest
Link copied to clipboard
data class PlacePageRequest @JvmOverloads constructor(continuationToken: String)
PlaceRequest
Link copied to clipboard
data class PlaceRequest @JvmOverloads constructor(location: GeoCoordinates, categoryTags: List<String>, radius: Int, boundary: GeoBoundingBox?, maxResultCount: Int, languageTag: String?)
PlaceResult
Link copied to clipboard
data class PlaceResult(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>, location: GeoCoordinates, boundary: GeoBoundingBox, iso: String, addressComponent: Map<MapResultComponent, String>, entry: GeoCoordinates, details: List<PlaceResultDetail>, categoryTags: List<String>, placeLink: PlaceLink) : MapResult
PlaceResultDetail
Link copied to clipboard
data class PlaceResultDetail(key: String, value: String) : Parcelable
PlacesListener
Link copied to clipboard
interface PlacesListener
Result
Link copied to clipboard
open class Result(type: ResultType, distance: Double, title: String, subtitle: String, titleHighlights: List<StringRange>) : Parcelable
ResultNames
Link copied to clipboard
open class ResultNames : BaseNativeParcelable
ResultStatus
Link copied to clipboard
enum ResultStatus : Enum<ResultStatus> , Parcelable
ResultType
Link copied to clipboard
enum ResultType : Enum<ResultType> , Parcelable
ReverseGeocoder
Link copied to clipboard
class ReverseGeocoder : SygicContext.OnContextDestroyListener
ReverseGeocodingResult
Link copied to clipboard
open class ReverseGeocodingResult : BaseNativeParcelable
Class contains data returned by search engine.
Search
Link copied to clipboard
open class Search

Base class for search engines Allows creation of search sessions

SearchManager
Link copied to clipboard
class SearchManager : SygicContext.OnContextDestroyListener
SearchRequest
Link copied to clipboard
data class SearchRequest @JvmOverloads constructor(searchInput: String, location: GeoCoordinates, maxResultCount: Int, boundary: GeoBoundingBox?, languageTag: String?, resultTypeFilter: List<ResultType>?, countryIsoFilter: List<String>?)
Session
Link copied to clipboard
class Session

Session has a limited lifetime. The lifetime follows this call graph:

StringRange
Link copied to clipboard
data class StringRange(from: Int, size: Int) : Parcelable