RecentItem
public struct RecentItem : Equatable, Codable
Struct, which represents recently found search item on CarPlay.
-
Property, which contains information regarding geocoder result.
Declaration
Swift
public var navigationGeocodedPlacemark: NavigationGeocodedPlacemark -
Initializes a newly created
RecentIteminstance, with a geocoded data stored inNavigationGeocodedPlacemark.Declaration
Swift
public init(_ navigationGeocodedPlacemark: NavigationGeocodedPlacemark)Parameters
navigationGeocodedPlacemarkA
NavigationGeocodedPlacemarkinstance, which contains information regarding geocoder result. -
Loads a list of
RecentItems, which is serialized into a file stored infilePathUrl.Declaration
Swift
public static func loadDefaults() -> [RecentItem] -
Method, which allows to verify, whether current
RecentIteminstance contains data, which is similar to data provided insearchTextparameter.Declaration
Swift
public func matches(_ searchText: String) -> BoolParameters
searchTextText, which will be used for performing search.
-
Declaration
Swift
public static func == (lhs: RecentItem, rhs: RecentItem) -> Bool
Install in Dash
RecentItem Structure Reference