AMAUserProfile class

Immutable class for storing the user profile.

Use the AMAMutableUserProfile 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 AMAUserProfile 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

-initWithUpdates:

Initializes the user profile with the specified set of updates.

Properties

updates

Array that contains attribute updates.

Method descriptions

-initWithUpdates:

- (instancetype)initWithUpdates:(NSArray<AMAUserProfileUpdate *> *)updates

Initializes the user profile with the specified set of updates.

Parameters:

updates

Array that contains attribute updates.

Returns:

The AMAUserProfile class instance.

Property descriptions

updates

(nonatomic, copy, readonly) NSArray<AMAUserProfileUpdate *> *updates

Array that contains attribute updates.