Visit

open class Visit: TimelineItem

Undocumented

  • Undocumented

    Declaration

    Swift

    public static var minimumKeeperDuration: TimeInterval = 60 * 2
  • Undocumented

    Declaration

    Swift

    public static var minimumValidDuration: TimeInterval = 10
  • Undocumented

    Declaration

    Swift

    public static var minimumRadius: CLLocationDistance = 10
  • Undocumented

    Declaration

    Swift

    public static var maximumRadius: CLLocationDistance = 150
  • Undocumented

    Declaration

    Swift

    open override var isValid: Bool
  • Undocumented

    Declaration

    Swift

    open override var isWorthKeeping: Bool
  • Whether the given location falls within this visit’s radius.

    Declaration

    Swift

    public override func contains(_ location: CLLocation, sd: Double = 4) -> Bool
  • Whether the given visit overlaps this visit.

    Declaration

    Swift

    public func overlaps(_ otherVisit: Visit) -> Bool
  • The percentage of the given path’s distance, duration, and sample count that is contained inside this visit.

    Declaration

    Swift

    public func containedPercentOf(_ path: Path) -> Double
  • Undocumented

    Declaration

    Swift

    public override func distance(from otherItem: TimelineItem) -> CLLocationDistance?
  • Undocumented

    Declaration

    Swift

    public override func maximumMergeableDistance(from otherItem: TimelineItem) -> CLLocationDistance
  • Undocumented

    Declaration

    Swift

    public override func cleanseEdge(with path: Path) -> LocomotionSample?
  • Undocumented

    Declaration

    Swift

    override open func samplesChanged()
  • Declaration

    Swift

    public var description: String