AMAMutableUserProfile 类

可修改的 AMAUserProfile 类,用于存储用户资料。

用户资料是用户属性的集合。 用户个人资料显示在AppMetrica的用户个人资料报告中。

应将 AMAMutableUserProfile 类的实例传递到 AppMetrica服务器,使用 reportUserProfile 方法(AMAAppMetrica 类)。 使用 AMAProfileAttribute 类的方法来创建用户属性。

Instance methods

-应用:

更新用户资料的单个属性。

-applyFromArray:

更新用户资料的多个属性。

Method descriptions

-apply:

- (void)apply:(AMAUserProfileUpdate *)update

更新用户资料的单个属性。

参数:

更新

The AMAUserProfileUpdate 类实例。

-applyFromArray:

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

更新用户资料的多个属性。

参数:

updatesArray

AMAUserProfileUpdate 实例数组。