Package-level declarations

Includes shared interfaces and classes required for managing personal data, including personal locations, user profiles, destination proposals, and error handling.

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class DestinationProposal

Destination proposal is a suggestion for a place that the user might want to visit.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface PersonalData : AutoCloseable

Implementations of PersonalData enable easy access to personal data.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class PersonalLocation

A single personal location of the current user of the application.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class Proposals

Contains the personalization proposals from the online backend for the current user of the application. This content is available only in the online mode.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class UserLocations

Entity holding all personal locations of the current user of the application.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class UserProfile

Entity holding all personal data relating to the current user of the application.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface UserProfileCallback : Callback<UserProfile, UserProfileFailure>

Callback that reports when a UserProfile or UserProfileFailure is received.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface UserProfileClearedCallback : Callback<Unit, UserProfileFailure>

Callback that reports when clearing the UserProfile ends with success or when a UserProfileFailure is received.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract class UserProfileFailure

Failures that might occur when interacting with the UserProfile using PersonalData.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface UserProfileUpdatedListener

Listener for user profile updates. It is notified when the user profile is updated. The listener is registered using PersonalData.addUserProfileUpdatedListener.