loadUserProfile
Loads the user profile asynchronously from persistent storage.
The returned user profile is a snapshot of the current state of personal data. All modifications can be persisted by calling PersonalData.storeUserProfile.
Return
A Cancellable that can be used to cancel the operation.
Parameters
callback
The callback to be notified of the result. The callback contains either the user profile or a failure.
Loads the user profile synchronously from persistent storage.
The returned user profile is a snapshot of the current state of personal data. All modifications can be persisted by calling PersonalData.storeUserProfile.
Return
The result of the operation. The result contains either the user profile or a failure.