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.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
A Cancellable that can be used to cancel the operation.
Parameters
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.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
The result of the operation. The result contains either the user profile or a failure.