TomTomSDKPersonalData
TomTomSDKPersonalData
This module provides the necessary interfaces for managing users’ personal locations, such as home, work, favorites, and recent destinations. To benefit from this implementation, use the `TomTomSDKPersonalDataDefault` module.
The module is ideal for use cases such as navigating to home or work, managing favorites, or reviewing recent destinations, among others.
Use the `PersonalData` protocol as the entry point to this module.
-
A single personal location of the current user of the application. If this location has been explicitly saved by the user as a personal location (for example, home or work), it has the respective type set in
PersonalLocation.types. If it has been recently visited (and is part of recent destinations)lastVisitis set.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct PersonalLocation
-
Entity holding all personal locations of the current user of the application. All modifications to the personal locations must be persisted using
PersonalData.storeUserProfile.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct UserLocations
-
Entity holding all personal data relating to the current user of the application.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct UserProfile : Equatable
-
Implementations of
PersonalDataenable easy access to the personal data. Personal data refers to personal locations (home/work/favorites), recent destinations, personal preferences relevant to search, routing and guidance, and potentially other data needed to create navigation applications that are “connected” to the users digital life.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol PersonalData
-
An observer for user profile updates. It is notified when the user profile is updated. The observer is added using
PersonalData.addUserProfileUpdateObserver.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol UserProfileUpdateObserver : Observer
TomTom SDK for iOS (0.66.0)
TomTomSDKPersonalData