UserProfile 类
不可变类,用于存储用户资料。
使用 MutableUserProfile 类来修改用户资料。
用户资料档案是一组用户属性。 用户个人资料显示在AppMetrica的用户个人资料报告中。
应将 UserProfile 类的实例传递到 AppMetrica服务器,使用 reportUserProfile 方法(AppMetrica 类)。 使用 ProfileAttribute 类的方法来创建用户属性。
Instance methods
|
用指定的更新集初始化用户资料。 |
Properties
|
包含属性更新的数组。 |
Method descriptions
init(updates:)
init(updates: [UserProfileUpdate])
用指定的更新集初始化用户资料。
参数:
|
|
包含属性更新的数组。 |
返回:
The 用户配置文件 类实例。
Property descriptions
updates
var updates: [UserProfileUpdate] { get }
包含属性更新的数组。