Failed
data class Failed @JvmOverloads constructor( val message: String, val throwable: Throwable? = null, val reasons: List<RouterFailure>? = null) : RerouteState
Content copied to clipboard
Re-route request has failed.
You can MapboxNavigation.requestRoutes or MapboxNavigation.setRoutes with RouteOptionsUpdater to retry the request.
Parameters
message
describes error
throwable
optional throwable
reasons
optional reasons for the failure
Constructors
Link copied to clipboard
fun Failed( message: String, throwable: Throwable? = null, reasons: List<RouterFailure>? = null)
Content copied to clipboard