Package com.tomtom.sdk.search.client

Types

Link copied to clipboard
class ApiKeyError(val message: String = API_KEY_ERROR_MESSAGE) : SearchError

HTTP REST call did not finish due to a problem with the API key.

Link copied to clipboard
class BadInputError(val message: String = "") : SearchError

Some input parameter combination was not valid.

Link copied to clipboard
class CancelError(val message: String = "") : SearchError

Search request was cancelled.

Link copied to clipboard
class DeserializationError(val message: String = "") : SearchError

Deserialization of online json response failed.

Link copied to clipboard
class HttpError(val httpErrorCode: Int, val message: String = "") : SearchError

Online REST API call ended with unexpected HTTP code.

Link copied to clipboard
class NetworkError(val message: String = "") : SearchError

Network call failed with IOException.

Link copied to clipboard
class OnboardMapError(val message: String = "") : SearchError

Onboard map is faulty, one possible reason being missing support for full text search in the underlying map.

Link copied to clipboard
interface SearchApi : Disposable

Interface of the search API.

Link copied to clipboard
open class SearchError

Represents an error raised when something went wrong in searching.