TKShareHelper
public class TKShareHelper : NSObject
Undocumented
-
Undocumented
Declaration
Swift
@objc public static var enableSharingOfURLs: Bool { get }
-
Undocumented
Declaration
Swift
public static var baseURL: String? { get }
-
Undocumented
See moreDeclaration
Swift
enum ExtractionError : String, Error
-
Undocumented
See moreDeclaration
Swift
struct QueryDetails
-
Extracts the query details from a TripGo API-compatible deep link
Declaration
Swift
static func queryDetails(for url: URL, using geocoder: TKGeocoding = TKAppleGeocoder()) -> Result<QueryDetails, Error>
Parameters
url
TripGo API-compatible deep link
geocoder
Geocoder used for filling in missing information
-
Undocumented
See moreDeclaration
Swift
struct StopDetails
-
Undocumented
See moreDeclaration
Swift
struct ServiceDetails
-
queryDetails(for:
Asynchronoususing: ) Undocumented
Declaration
Swift
public static func queryDetails(for url: URL, using geocoder: TKGeocoding = TKAppleGeocoder()) async throws -> QueryDetails
-
Undocumented
Declaration
Swift
public static func isQueryURL(_ url: URL) -> Bool
-
Undocumented
Declaration
Swift
public static func createQueryURL(start: CLLocationCoordinate2D, end: CLLocationCoordinate2D, timeType: TKTimeType, time: Date?) -> URL?
-
Undocumented
Declaration
Swift
public static func isMeetURL(_ url: URL) -> Bool
-
Undocumented
Declaration
Swift
public static func createMeetURL(coordinate: CLLocationCoordinate2D, at time: Date) -> URL?
-
meetingDetails(for:
Asynchronoususing: ) Undocumented
Declaration
Swift
public static func meetingDetails(for url: URL, using geocoder: TKGeocoding = TKAppleGeocoder()) async throws -> QueryDetails
-
Undocumented
Declaration
Swift
public static func isStopURL(_ url: URL) -> Bool
-
Undocumented
Declaration
Swift
public static func createStopURL(stopCode: String, inRegionNamed regionName: String, filter: String?) -> URL?
-
Undocumented
Declaration
Swift
public static func createStopURL(stopCode: String, regionCode: String, filter: String? = nil) -> URL?
-
Undocumented
Declaration
Swift
public static func stopDetails(for url: URL) throws -> StopDetails
-
Undocumented
Declaration
Swift
@objc public static func isServiceURL(_ url: URL) -> Bool
-
Undocumented
Declaration
Swift
@objc public static func createServiceURL(serviceID: String, atStopCode stopCode: String, inRegionNamed regionName: String) -> URL?
-
Undocumented
Declaration
Swift
public static func createServiceURL(serviceID: String, stopCode: String, regionCode: String) -> URL?
-
Undocumented
Declaration
Swift
public static func serviceDetails(for url: URL) throws -> ServiceDetails