RepositoryBackedRouteSearchOptionsProvider
class RepositoryBackedRouteSearchOptionsProvider(repository: NavigationSettingsRepository) : RouteSearchOptionsProvider
A RouteSearchOptionsProvider that reads route search parameters from NavigationSettingsRepository at call time.
Because values are read on every call, the provider always returns up-to-date options without needing to be recreated.
Parameters
repository
The settings repository to read values from.
Functions
Link copied to clipboard
Provides bicycle route search options.
Link copied to clipboard
Provides car route search options.
Link copied to clipboard
Provides motorcycle route search options.
Link copied to clipboard
Provides pedestrian route search options.
Link copied to clipboard
Provides public transport route search options.
Link copied to clipboard
Provides scooter route search options.
Link copied to clipboard
Provides taxi route search options. By default, uses the same options as car routing.
Link copied to clipboard
Provides truck route search options. By default, uses the same options as car routing.