RegionInfo

public struct RegionInfo : Codable, Hashable

Undocumented

  • Undocumented

    Declaration

    Swift

    public let streetBicyclePaths: Bool
  • Undocumented

    Declaration

    Swift

    public let streetWheelchairAccessibility: Bool
  • Undocumented

    Declaration

    Swift

    public let transitModes: [TKModeInfo]
  • Undocumented

    Declaration

    Swift

    public let transitBicycleAccessibility: Bool
  • Undocumented

    Declaration

    Swift

    public let transitConcessionPricing: Bool
  • Undocumented

    Declaration

    Swift

    public let transitWheelchairAccessibility: Bool
  • Undocumented

    Declaration

    Swift

    public let paratransit: Paratransit?
  • Additional information for some of the modes in the region. Dictionary of a generic mode identifier to the details.

    Use TKTransportMode.genericModeIdentifier to get the generic part of any mode identifier.

    Declaration

    Swift

    public let modes: [String : GenericModeDetails]
  • Declaration

    Swift

    public func specificModeDetails(for modeIdentifier: String) -> TKAPI.SpecificModeDetails?

    Parameters

    modeIdentifier

    A mode identifier

    Return Value

    The specific mode details for this this mode identifier (only returns something if it’s a specific mode identifier, i.e., one with two underscores in it.)