MimiUser

data class MimiUser @MsdkInternalApi constructor(    val email: String?,     val verified: Boolean?,     val yearOfBirth: Int?,     val sex: String?,     val nickname: String?,     val country: String?,     val anonymous: Boolean,     val anonymousId: String = "")

Class that encapsulates a typical Mimi User object.

Constructors

Link copied to clipboard
@MsdkInternalApi
fun MimiUser(    email: String?,     verified: Boolean?,     yearOfBirth: Int?,     sex: String?,     nickname: String?,     country: String?,     anonymous: Boolean,     anonymousId: String = "")

Functions

Link copied to clipboard
fun hasPendingVerification(): Boolean

Properties

Link copied to clipboard
val anonymous: Boolean

Whether the user is anonymous or not.

Link copied to clipboard
val anonymousId: String

The anonymous user's id.

Link copied to clipboard
val country: String?

User's country

Link copied to clipboard
val email: String?

Email address for registered users.

Link copied to clipboard
val id: String

Unique identifier of the user.

Link copied to clipboard
val nickname: String?

User's chosen nickname. Sometimes also referred as name.

Link copied to clipboard
val sex: String?

User's biological sex.

Link copied to clipboard
val verified: Boolean?

Whether the user has verified her/his email address or not. Anonymous users will observe this field as null.

Link copied to clipboard
val yearOfBirth: Int?

User's year of birth.