Failed

class Failed(val message: String) : AutocompleteResult.Error

Geocoding operation failed at some point while autocomplete.

Parameters

message

A message describing the error that occurred.

Constructors

Link copied to clipboard
constructor(message: String)

Properties

Link copied to clipboard
open val isError: Boolean

Check if the result was unsuccessful.

Link copied to clipboard
open override val message: String

Functions

Link copied to clipboard

Get the error or null if the result was successful.

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

Perform an action if the result was successful.