subscribe To Presence By
fun subscribeToPresenceBy(userUri: String, onCompletion: (Either<Presence?, SippoResourceError>) -> Unit)
Subscribes to the presence of the specified userUri.
Parameters
user Uri
The UserUri to subscribe to.
on Completion
Callback that will be invoked when the request is completed. It will receive the presence list in case of success or a SippoResourceError otherwise.