TripSearchService

interface TripSearchService : Service

Types

Capability
Link copied to clipboard
enum Capability : Enum<TripSearchService.Capability>
Error
Link copied to clipboard
enum Error : Enum<TripSearchService.Error>

Functions

tripSearch
Link copied to clipboard
abstract suspend fun tripSearch(origin: Location, destination: Location, via: List<Via>? = null, viaPeriod: Duration? = null, viaModes: Set<Via.Mode>? = null, dateTime: OffsetDateTime? = null, dateTimeIsArrival: Boolean? = null, filterProducts: Set<ProductClass>? = null, filterLines: Set<Line>? = null, includePolylines: Boolean? = null, includeStops: Boolean? = null, maxResults: Int? = null): TripSearchResult
tripSearchScroll
Link copied to clipboard
abstract suspend fun tripSearchScroll(scrollContext: ScrollContext<TripSearchData>, scrollBackward: Boolean): TripSearchResult

Properties

supportedDestinationTypes
Link copied to clipboard
abstract val supportedDestinationTypes: Set<Location.Type>
supportedOriginTypes
Link copied to clipboard
abstract val supportedOriginTypes: Set<Location.Type>
supportedViaCount
Link copied to clipboard
abstract val supportedViaCount: Int
supportedViaTypes
Link copied to clipboard
abstract val supportedViaTypes: Set<Location.Type>
supportsDateTime
Link copied to clipboard
open val supportsDateTime: Boolean
supportsDateTimeMode
Link copied to clipboard
open val supportsDateTimeMode: Boolean
supportsFilterLines
Link copied to clipboard
open val supportsFilterLines: Boolean
supportsFilterProducts
Link copied to clipboard
open val supportsFilterProducts: Boolean
supportsIncludePolylines
Link copied to clipboard
open val supportsIncludePolylines: Boolean
supportsIncludeStops
Link copied to clipboard
open val supportsIncludeStops: Boolean
supportsMaxResults
Link copied to clipboard
open val supportsMaxResults: Boolean