subscribe To Presence
fun subscribeToPresence(contact: Contact, onCompletion: (Either<Presence?, SippoResourceError>) -> Unit)
Subscribes to the presence of the specified contact.
Parameters
contact
Contact to subscribe to.
on Completion
Callback that will be invoked when the request is completed. It will receive the contact's presence in case of success or a SippoResourceError otherwise.