Package com. sygic. sdk. search
Types
Link copied to clipboard
open class AutocompleteResult( val type: ResultType, val distance: Double, val title: String, val subtitle: String, val titleHighlights: List<StringRange>, val locationId: String, val categoryTags: List<String>, val categoryBoundary: GeoBoundingBox) : Result
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Composite search engine (combination of any types of Search engines)
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Coordinate search engine (search input may look like this: "48.1457, 17.1269")
Link copied to clipboard
Callback interface for create search operation
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Custom places search engine (use com.sygic.sdk.places.CustomPlacesManager to install custom places)
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
open class FlatAutocompleteResult( val type: ResultType, val distance: Double, val title: String, val subtitle: String, val titleHighlights: List<StringRange>, val locationId: String, val categoryTags: List<String>, val categoryBoundary: GeoBoundingBox, val payload: Parcelable) : AutocompleteResult
Content copied to clipboard
Link copied to clipboard
data class FlatData( val title: String, val subtitle: String, val location: GeoCoordinates, val payload: Parcelable) : Parcelable
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
open class FlatResult( val type: ResultType, val distance: Double, val title: String, val subtitle: String, val titleHighlights: List<StringRange>, val location: GeoCoordinates, val boundary: GeoBoundingBox, val payload: Parcelable) : GeocodingResult
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
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)
Link copied to clipboard
data class GeocodeLocationRequest @JvmOverloads constructor(val locationId: String)
Content copied to clipboard
Link copied to clipboard
open class GeocodingResult( val type: ResultType, val distance: Double, val title: String, val subtitle: String, val titleHighlights: List<StringRange>, val location: GeoCoordinates, val boundary: GeoBoundingBox) : Result
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
Link copied to clipboard
data class HouseNumberResult( val type: ResultType, val distance: Double, val title: String, val subtitle: String, val titleHighlights: List<StringRange>, val location: GeoCoordinates, val boundary: GeoBoundingBox, val iso: String, val addressComponent: Map<MapResultComponent, String>, val entry: GeoCoordinates, val exactMatch: Boolean) : MapResult
Content copied to clipboard
Link copied to clipboard
open class MapResult( val type: ResultType, val distance: Double, val title: String, val subtitle: String, val titleHighlights: List<StringRange>, val location: GeoCoordinates, val boundary: GeoBoundingBox, val iso: String, val addressComponent: Map<MapResultComponent, String>) : GeocodingResult
Content copied to clipboard
Link copied to clipboard
Geocoding components.
Link copied to clipboard
Offline maps search engine (OfflineMapSearch consumes a lot of resources, it is recommended to share one OfflineMapSearch instance)
Link copied to clipboard
Online search engine (using online search API)
Link copied to clipboard
data class PlacePageRequest @JvmOverloads constructor(val continuationToken: String)
Content copied to clipboard
Link copied to clipboard
data class PlaceRequest @JvmOverloads constructor( val location: GeoCoordinates, val categoryTags: List<String>, val radius: Int, val boundary: GeoBoundingBox? = null, val maxResultCount: Int = 10, val languageTag: String? = null)
Content copied to clipboard
Link copied to clipboard
data class PlaceResult( val type: ResultType, val distance: Double, val title: String, val subtitle: String, val titleHighlights: List<StringRange>, val location: GeoCoordinates, val boundary: GeoBoundingBox, val iso: String, val addressComponent: Map<MapResultComponent, String>, val entry: GeoCoordinates, val details: List<PlaceResultDetail>, val categoryTags: List<String>, val placeLink: PlaceLink) : MapResult
Content copied to clipboard
Link copied to clipboard
data class PlaceResultDetail(val key: String, val value: String) : Parcelable
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class Result( val type: ResultType, val distance: Double, val title: String, val subtitle: String, val titleHighlights: List<StringRange>) : Parcelable
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SearchRequest @JvmOverloads constructor( val searchInput: String, val location: GeoCoordinates, val maxResultCount: Int = 10, val boundary: GeoBoundingBox? = null, val languageTag: String? = null, val resultTypeFilter: List<ResultType>? = null, val countryIsoFilter: List<String>? = null)
Content copied to clipboard
Link copied to clipboard