AMAMutableUserProfile class

The mutable version of the AMAUserProfile class for storing 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 AMAMutableUserProfile class should be passed to the AppMetrica server using the reportUserProfile method of the AMAAppMetrica class. Use methods of the AMAProfileAttribute class to create user attributes.

Instance methods

-apply:

Updates a single attribute of the user profile.

-applyFromArray:

Updates several attributes of the user profile.

Method descriptions

-apply:

- (void)apply:(AMAUserProfileUpdate *)update

Updates a single attribute of the user profile.

Parameters:

update

The AMAUserProfileUpdate class instance.

-applyFromArray:

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

Updates several attributes of the user profile.

Parameters:

updatesArray

Array of AMAUserProfileUpdate instances.