PersonalData

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface PersonalData : AutoCloseable

Implementations of PersonalData enable easy access to personal data.

Personal data refers to personal locations (home/work/favorites), recent destinations routing and guidance, and potentially other data needed to create navigation applications that are "connected" to the users digital life. In a later increment vehicle information (spec and state) will be made available as well.

Functions

Link copied to clipboard

Adds an update listener to be notified of any changes to any of the data within the user profile.

Link copied to clipboard

Clears the user profile synchronously from persistent storage.

Clears the user profile asynchronously from persistent storage.

Link copied to clipboard
abstract override fun close()

Closes the PersonalData instance.

Link copied to clipboard

Loads the user profile synchronously from persistent storage.

Loads the user profile asynchronously from persistent storage.

Link copied to clipboard

Removes an update listener for changes to any of the data within the user profile.

Link copied to clipboard

Stores the user profile with the changes provided synchronously to persistent storage.

abstract fun storeUserProfile(userProfile: UserProfile, callback: UserProfileCallback)

Stores the user profile with the changes provided asynchronously to persistent storage.