YMMMutableUserProfile class
The mutable version of the YMMUserProfile class with information about a user profile.
A user profile is a set of user attributes. User profile details are displayed in the AppMetrica report on user profiles.
The YMMMutableUserProfile
instance should be passed to the AppMetrica server by using the reportUserProfile
method of the YMMYandexMetrica class. Use methods of the YMMProfileAttribute class to create user attributes.
Instance methods
apply(_:) | Updates a single attribute of the user profile. |
apply(from:) | Updates several attributes of the user profile. |
apply(_:) | Updates a single attribute of the user profile. |
apply(from:) | Updates several attributes of the user profile. |
Method descriptions
apply(_:)
func apply(_ update: YMMUserProfileUpdate)
Updates a single attribute of the user profile.
update | The |
update | The |
apply(from:)
func apply(from updatesArray: [YMMUserProfileUpdate])
Updates several attributes of the user profile.
updatesArray | Array of |
updatesArray | Array of |