PublicTransportScheduleProvider

Public transport schedule provider.

Abstracts schedule search and loading. Implementation on the consumer side (e.g., DirectoryScheduleProvider) encapsulates the work with SearchManager and Directory API.

Functions

Link copied to clipboard
abstract suspend fun loadSchedule(routeName: String, areasOfInterest: List<Geometry>, currentMillisUTC: Long): RouteSchedule?

Loads the schedule for a route by its name.