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.

-applyFromArray:

Updates several attributes of the user profile.

-apply:

Updates a single attribute of the user profile.

-applyFromArray:

Updates several attributes of the user profile.

Method descriptions

-apply:

- (void)apply:(YMMUserProfileUpdate *)update

Updates a single attribute of the user profile.

Parameters:
update

The YMMUserProfileUpdate class instance.

update

The YMMUserProfileUpdate class instance.

-applyFromArray:

- (void)applyFromArray:(NSArray<YMMUserProfileUpdate *>*)updatesArray

Updates several attributes of the user profile.

Parameters:
updatesArray

Array of YMMUserProfileUpdate objects.

updatesArray

Array of YMMUserProfileUpdate objects.