tripkit-android / com.skedgo.tripkit.a2brouting / FailoverA2bRoutingApi / fetchRoutesAsync
fetchRoutesAsync
open fun fetchRoutesAsync(baseUrls:
MutableList
<
String
!>!, modes:
MutableList
<
String
!>!, excludedTransitModes:
MutableList
<
String
!>!, excludeStops:
MutableList
<
String
!>!, options:
MutableMap
<
String
!,
Any
!>!): Observable<
MutableList
<
TripGroup
!>!>!
Fetches routes on multiple base urls serially. If it fails on one url, it'll failover on next url.
Parameters
baseUrls
- MutableList<String!>!: Can be obtained by `[
Region#getURLs()`](../../com.skedgo.tripkit.common.model/-region/get-u-r-ls.md).