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
constructor(email: String?, verified: Boolean?, yearOfBirth: Int?, sex: String?, nickname: String?, country: String?, anonymous: Boolean, anonymousId: String = "")

Properties

Link copied to clipboard

Whether the user is anonymous or not.

Link copied to clipboard

The anonymous user's id.

Link copied to clipboard

User's country

Link copied to clipboard

Email address for registered users.

Link copied to clipboard
val id: String

Unique identifier of the user.

Link copied to clipboard

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

Link copied to clipboard
val sex: String?

User's biological sex.

Link copied to clipboard

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

Link copied to clipboard

User's year of birth.

Functions

Link copied to clipboard