Package-level declarations

Types

Link copied to clipboard

Represents the result (task handle) of an asynchronous operation.

Link copied to clipboard
@MapboxExperimental
class BusinessDetails @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val name: String, val website: String? = null, val logo: ImageInfo? = null) : Parcelable

This class contains information about a business, for example, EV Charging Station operator OCPI BusinessDetail.

Link copied to clipboard

Interface definition for a commonly used in the Search SDK callback to be invoked when asynchronous operation completes.

Link copied to clipboard

Distance calculator for WGS84 (Earth as spheroid). Should be initialized by latitude and used in some not far around area.

Link copied to clipboard
@MapboxExperimental
object Facility

Facility type. One of the examples is OCPI Facility.

Link copied to clipboard

Used to calculate which parts of exact search result name will be highlighted.

Link copied to clipboard
class IsoCountryCode(val code: String) : Parcelable

Iso Country Code.

Link copied to clipboard
class IsoLanguageCode(val code: String) : Parcelable

Iso Language Code.

Link copied to clipboard
@MapboxExperimental
class LocalizedText @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val language: String, val text: String) : Parcelable

Represents a piece of text associated with a specific language. One of examples is OCPI DisplayText.

Link copied to clipboard
class NavigationProfile(val rawName: String) : Parcelable

Type of movement. Used to calculate distance and time of arrival (ETA) from origin point to a search suggestion and search result.

Link copied to clipboard
object OsmIdUtils

Utility class.

Link copied to clipboard

This annotation marks the Search SDK API that is available for selected customers only. By default, API annotated with @RestrictedMapboxSearchAPI returns null or empty/stub data. Contact our team, if you're interested in restricted API usage.

Link copied to clipboard
class RoutablePoint(val point: Point, val name: String) : Parcelable

Represents entry to the building, associated with original search result.

Link copied to clipboard

Exception thrown when a search request was automatically cancelled by the Search SDK.

Link copied to clipboard
class SearchRequestException(val message: String, val code: Int, val cause: Exception? = null) : RuntimeException

Exception thrown when an HTTP response was not successful, i.e. if the code is not in [200..300).