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) or ItineraryServicing.ruleNames(graphId: String)

    Declaration

    Swift

    public init(ruleNames: [String] = [])

    Parameters

    ruleNames

    The names of the rules to apply when searching for itineraries.

ShortStringConvertible

  • Declaration

    Swift

    public var shortDescription: String { get }