QueryDetails

struct QueryDetails

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(start: CLLocationCoordinate2D? = nil, end: CLLocationCoordinate2D, title: String? = nil, timeType: TKShareHelper.QueryDetails.Time = .leaveASAP, modes: [String] = [], additional: [URLQueryItem] = [])
  • Undocumented

    Declaration

    Swift

    public static let empty: TKShareHelper.QueryDetails
  • Undocumented

    See more

    Declaration

    Swift

    public enum Time : Equatable
  • Undocumented

    Declaration

    Swift

    public var start: CLLocationCoordinate2D?
  • Undocumented

    Declaration

    Swift

    public var startName: String?
  • end

    Undocumented

    Declaration

    Swift

    public var end: CLLocationCoordinate2D
  • Undocumented

    Declaration

    Swift

    public var endName: String?
  • Undocumented

    Declaration

    Swift

    public var title: String?
  • Undocumented

    Declaration

    Swift

    public var timeType: Time
  • Undocumented

    Declaration

    Swift

    public var modes: [String]
  • Undocumented

    Declaration

    Swift

    public var additional: [URLQueryItem]

Query URLs

  • Converts the query details into a TripRequest

    Declaration

    Swift

    public func toTripRequest(in tripKit: NSManagedObjectContext = TripKit.shared.tripKitContext) -> TripRequest

    Parameters

    tripKit

    TripKit’s managed object context into which to insert the request