RoutesAction

sealed class RoutesAction : Action

Defines actions responsible to mutate the RoutesState.

Types

Canceled
Link copied to clipboard
data class Canceled(routeOptions: RouteOptions, routerOrigin: RouterOrigin) : RoutesAction
The action informs that the route request was canceled.
Failed
Link copied to clipboard
data class Failed(reasons: List<RouterFailure>, routeOptions: RouteOptions) : RoutesAction
The action informs that the route request failed.
FetchOptions
Link copied to clipboard
data class FetchOptions(options: RouteOptions) : RoutesAction
The action is used to fetch route based on RouteOptions.
FetchPoints
Link copied to clipboard
data class FetchPoints(points: List<Point>) : RoutesAction
The action is used to fetch route based on the list of points.
Ready
Link copied to clipboard
data class Ready(routes: List<NavigationRoute>) : RoutesAction
The action informs that route request was successful and routes are ready to be used.
SetRoutes
Link copied to clipboard
data class SetRoutes(routes: List<NavigationRoute>) : RoutesAction
The action is used to directly set the NavigationRoute supplied to NavigationView.

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

RoutesAction
Link copied to clipboard
RoutesAction
Link copied to clipboard
RoutesAction
Link copied to clipboard
RoutesAction
Link copied to clipboard
RoutesAction
Link copied to clipboard
RoutesAction
Link copied to clipboard