User

class User

User's data contained in the record. Useful for user identification or getting url to user's records.

See also

Types

Link copied to clipboard
interface Listener

Listener for user changes.

Functions

Link copied to clipboard
fun openNew()

Close current session, clear user's identifier and open the new one.

Properties

Link copied to clipboard
var email: String?

User's email address. Must be valid with RFC 6530 standard. Default value is null.

Link copied to clipboard
var identifier: String?

User's unique identification. In case of different user login, openNew should be called first. Default value is null. Must be in range from 1 to 120 characters.

Link copied to clipboard
val listeners: MutableSet<User.Listener>

Listeners for user's changes.

Link copied to clipboard
var name: String?

User's name. Default value is null. Must be in range from 0 to 5 000 bytes.

Link copied to clipboard
val properties: Properties

User's custom properties.

Link copied to clipboard
val session: Session

Current recording session.

Link copied to clipboard
val url: URL?

URL to the user's dashboard page. Null when URL is not available at the moment.