UserProfileUpdateObserver
public protocol UserProfileUpdateObserver : Observer
An observer for user profile updates. It is notified when the user profile is updated.
The observer is added using PersonalData.addUserProfileUpdateObserver
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Method called when the user profile is updated.
Declaration
Swift
func didUpdate(result: Result<UserProfile, Error>)
Parameters
result
The result of the user profile update operation. The result contains either the updated user profile or an error.