getAndSubscribeUser

abstract fun getAndSubscribeUser(identity: String, listener: CallbackListener<User>)

Get user based on user identity and subscribe to real-time updates for this user. There's a limit on the number of simultaneously subscribed objects in the SDK. This is to reduce consumed memory and network traffic.

Parameters

identity

User identity to query.

listener

Listener to receive resulting subscribed User object.

See also

Throws

If ConversationClient isn't synchronized properly.