User

interface User

User info object

Types

Link copied to clipboard
enum UpdateReason
Indicates reason for user info update.

Functions

Link copied to clipboard
abstract fun getAttributes(): Attributes
Custom attributes associated with this user.
Link copied to clipboard
abstract fun getFriendlyName(): String
Method that returns the friendlyName from the user info.
Link copied to clipboard
abstract fun getIdentity(): String
Returns the identity of the user.
Link copied to clipboard
abstract fun isNotifiable(): Boolean
Return user's push reachability.
Link copied to clipboard
abstract fun isOnline(): Boolean
Return user's online status, if available.
Link copied to clipboard
abstract fun isSubscribed(): Boolean
Check if this user receives real-time status updates.
Link copied to clipboard
abstract fun setAttributes(attributes: Attributes, listener: StatusListener)
Set attributes associated with this user.
Link copied to clipboard
abstract fun setFriendlyName(friendlyName: String, listener: StatusListener)
Updates the friendly name for this user info.
Link copied to clipboard
abstract fun unsubscribe()
Unsubscribe from this user, freeing up resources.