InvalidCoordinates

This error can occur if the latitude or longitude are out of range, or if the coordinates are not valid coordinates.

Valid coordinates are in the range of -90 to 90 for latitude and -180 to 180 for longitude.

Properties

Link copied to clipboard
open val isError: Boolean

Check if the result was unsuccessful.

Functions

Link copied to clipboard

Get the error or null if the result was successful.

Link copied to clipboard
open fun getFirstOrNull(): Nothing?

Get the first result data or null if the result was unsuccessful.

Link copied to clipboard
open fun getOrNull(): List<Nothing>?

Get the result list data or null if the result was unsuccessful.

Link copied to clipboard

Perform an action if the result was unsuccessful.

Link copied to clipboard
open fun onSuccess(block: (List<Nothing>) -> Unit): GeocoderResult<Nothing>

Perform an action if the result was successful.