UserProfile

data class UserProfile(var userID: String = "", var nickname: String? = null, var avatarURL: String? = null, var selfSignature: String? = null, var gender: Gender? = null, var role: Int? = null, var level: Int? = null, var birthday: Long? = null, var allowType: AllowType? = null, var customInfo: Map<String, ByteArray>? = null) : Parcelable

用户资料

概览

用户资料数据结构,包含用户ID、昵称、头像、性别等个人信息。

用户资料属性概览

属性类型描述
userIDString用户ID
nicknameString?昵称
avatarURLString?头像URL
selfSignatureString?个性签名
genderGender?性别
roleInt?角色
levelInt?等级
birthdayLong?生日
allowTypeAllowType?好友验证方式
customInfoMap<String, ByteArray>?自定义信息

Constructors

Link copied to clipboard
constructor(userID: String = "", nickname: String? = null, avatarURL: String? = null, selfSignature: String? = null, gender: Gender? = null, role: Int? = null, level: Int? = null, birthday: Long? = null, allowType: AllowType? = null, customInfo: Map<String, ByteArray>? = null)

Properties

Link copied to clipboard

好友验证方式。

Link copied to clipboard

头像URL。

Link copied to clipboard

生日。

Link copied to clipboard

自定义信息。

Link copied to clipboard

性别。

Link copied to clipboard
var level: Int?

等级。

Link copied to clipboard

昵称。

Link copied to clipboard
var role: Int?

角色。

Link copied to clipboard

个性签名。

Link copied to clipboard

用户ID。