Location
Location API.
Provides access to the last known location of a connected vehicle.
All methods in this interface may throw:
Throws
if the access token is invalid or expired (401)
if the API key lacks required permissions (403)
if the rate limit is exceeded (429)
if the request is malformed or the VIN is not found (400/404)
if the Volvo API returns a server error (5xx)
if the request times out
Functions
Link copied to clipboard
abstract suspend fun getVehicleLocation(vin: String, requestOptions: RequestOptions? = null): LocationResponse
Get the last known location of the vehicle.