Structure
Visit
@available(iOS 8, macCatalyst 13, *)
@available(macOS, unavailable)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
public struct Visit: Hashable
A value type wrapper for CLVisit
. This type is necessary so that we can do equality checks
and write tests against its values.
Relationships
Conforms To
Hashable
Initializers
init(arrivalDate:coordinate:departureDate:horizontalAccuracy:)
public init(
arrivalDate: Date,
coordinate: CLLocationCoordinate2D,
departureDate: Date,
horizontalAccuracy: CLLocationAccuracy
)
Properties
rawValue
public let rawValue: CLVisit?
arrivalDate
public var arrivalDate: Date
coordinate
public var coordinate: CLLocationCoordinate2D
departureDate
public var departureDate: Date
horizontalAccuracy
public var horizontalAccuracy: CLLocationAccuracy
Methods
hash(into:)
public func hash(into hasher: inout Hasher)
Operators
==
public static func == (lhs: Self, rhs: Self) -> Bool