ItinerarySearchRules
public struct ItinerarySearchRules : Equatable, Sendable
extension ItinerarySearchRules: ShortStringConvertible
Represents the rules to apply when searching for itineraries.
-
Represents the rules to apply when searching for wheelchair accessible itineraries.
Declaration
Swift
public static let wheelchair: ItinerarySearchRules -
Creates a new instance of
ItinerarySearchRules.To obtain a predefined set of rules for particular map, use
ItineraryProvider.ruleNames(graphId: String)orItineraryServicing.ruleNames(graphId: String)Declaration
Swift
public init(ruleNames: [String] = [])Parameters
ruleNamesThe names of the rules to apply when searching for itineraries.
-
Declaration
Swift
public var shortDescription: String { get }
View on GitHub