storeUserProfile

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

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

Parameters

userProfile

The user profile to store.

callback

The callback to be notified of the result. The callback contains either the user profile or a failure.


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

Return

A Result of the operation. The result contains either the user profile or a failure.

Parameters

userProfile

The user profile to store.