AMAUserProfile 类
不可变类,用于存储用户资料。
使用AMAMutableUserProfile类来修改用户资料。
用户资料是用户属性的集合。 用户个人资料显示在AppMetrica的用户个人资料报告中。
应将 AMAUserProfile 类的实例传递到 AppMetrica 服务器,使用 reportUserProfile 方法(AMAAppMetrica 类)。 使用 AMAProfileAttribute 类的方法来创建用户属性。
Instance methods
|
用指定的更新集初始化用户资料。 |
Properties
|
包含属性更新的数组。 |
Method descriptions
-initWithUpdates:
- (instancetype)initWithUpdates:(NSArray<AMAUserProfileUpdate *> *)updates
用指定的更新集初始化用户资料。
参数:
|
|
包含属性更新的数组。 |
返回:
The AMAUserProfile 类实例。
Property descriptions
updates
(nonatomic, copy, readonly) NSArray<AMAUserProfileUpdate *> *更新
包含属性更新的数组。