VisitObservation
public struct VisitObservation
extension VisitObservation: Equatable, Hashable
Encapsulates either information about a visit to a page, or meta information about the page, or both. Use [VisitType.UPDATE_PLACE] to differentiate an update from a visit.
-
Declaration
Swift
public var url: Url
-
Declaration
Swift
public var title: String?
-
Declaration
Swift
public var visitType: VisitType?
-
Declaration
Swift
public var isError: Bool?
-
Declaration
Swift
public var isRedirectSource: Bool?
-
Declaration
Swift
public var isPermanentRedirectSource: Bool?
-
Declaration
Swift
public var at: PlacesTimestamp?
-
Declaration
Swift
public var referrer: Url?
-
Declaration
Swift
public var isRemote: Bool?
-
Declaration
Swift
public var previewImageUrl: Url?
-
init(url:
title: visitType: isError: isRedirectSource: isPermanentRedirectSource: at: referrer: isRemote: previewImageUrl: ) Declaration
Swift
public init(url: Url, title: String? = nil, visitType: VisitType?, isError: Bool? = nil, isRedirectSource: Bool? = nil, isPermanentRedirectSource: Bool? = nil, at: PlacesTimestamp? = nil, referrer: Url? = nil, isRemote: Bool? = nil, previewImageUrl: Url? = nil)
-
Declaration
Swift
public static func == (lhs: VisitObservation, rhs: VisitObservation) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)