sdk-common / com.tomtom.online.sdk.common.service / ServiceResponse

ServiceResponse

interface ServiceResponse

An object which represents a response to an routing request.

Properties

HTTP_OK_CODE

static val HTTP_OK_CODE: Int

Functions

getErrorMessage

abstract fun getErrorMessage(): String!

The error message, as returned by the server. Only defined in case of an error.

getResponseStatus

abstract fun getResponseStatus(): ResponseStatus!

The error message or success,as returned by the server and code.

getTrackingId

abstract fun getTrackingId(): Optional<String!>!

An identifier for the request replicated in the response.

hasError

abstract fun hasError(): Boolean

True if an error occurred, false otherwise.

Inheritors

ServiceBaseResponse

open class ServiceBaseResponse : ServiceResponse