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

User profile

Overview

User profile data structure, containing user ID, nickname, avatar, gender and other personal information.

User Profile Properties Overview

PropertyTypeDescription
userIDStringUser ID
nicknameString?Nickname
avatarURLString?Avatar URL
selfSignatureString?Personal signature
genderGender?Gender
roleInt?Role
levelInt?Level
birthdayLong?Birthday
allowTypeAllowType?Friend verification type
customInfoMap<String, ByteArray>?Custom information

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

Friend verification type.

Link copied to clipboard

Avatar URL.

Link copied to clipboard

Birthday.

Link copied to clipboard

Custom information.

Link copied to clipboard

Gender.

Link copied to clipboard
var level: Int?

Level.

Link copied to clipboard

Nickname.

Link copied to clipboard
var role: Int?

Role.

Link copied to clipboard

Personal signature.

Link copied to clipboard

User ID.