RoutesState

sealed class RoutesState

Defines the state for route between origin and destination.

Types

Canceled
Link copied to clipboard
data class Canceled : RoutesState
Represents the state when route fetching is canceled.
Empty
Link copied to clipboard
object Empty : RoutesState
Represents no route available.
Failed
Link copied to clipboard
data class Failed : RoutesState
Represents the state when route request is failed.
Fetching
Link copied to clipboard
data class Fetching : RoutesState
Represents the state when the route is being fetched.
Ready
Link copied to clipboard
data class Ready : RoutesState
Represents the state when route fetching is complete and the route is ready.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Inheritors

RoutesState
Link copied to clipboard
RoutesState
Link copied to clipboard
RoutesState
Link copied to clipboard
RoutesState
Link copied to clipboard
RoutesState
Link copied to clipboard