ApiKeyError

class ApiKeyError(message: String = API_KEY_ERROR_MESSAGE) : RoutingError

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

Possible problems are:

  • Your API key is invalid.

  • Your API key does not support either the Routing API or the Routing API with Extended Guidance endpoints Ensure that you are using the Routing API with Extended Guidance (not the Routing API) for the following routing options: RoutePlanningOptions.instructionAnnouncementPoints, RoutePlanningOptions.instructionPhonetics, RoutePlanningOptions.instructionRoadShieldReferences, RoutePlanningOptions.includeExtendedRouteRepresentation, SectionType.LANES, SectionType.ROAD_SHIELDS, SectionType.SPEED_LIMIT

Constructors

Link copied to clipboard
fun ApiKeyError(message: String = API_KEY_ERROR_MESSAGE)

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val message: String?