UserProfile class
Immutable class for storing the user profile.
Use the MutableUserProfile class to change the user profile.
A user profile is a set of user attributes. User profile details are displayed in the AppMetrica report on user profiles.
The instance of the UserProfile
class should be passed to the AppMetrica server using the reportUserProfile method of the AppMetrica class. Use methods of the ProfileAttribute class to create user attributes.
Instance methods
Initializes the user profile with the specified set of updates. |
Properties
Array that contains attribute updates. |
Method descriptions
init(updates:)
init(updates: [UserProfileUpdate])
Initializes the user profile with the specified set of updates.
Parameters:
|
Array that contains attribute updates. |
Returns:
The UserProfile
class instance.
Property descriptions
updates
var updates: [UserProfileUpdate] { get }
Array that contains attribute updates.