subscribeToPresence

fun subscribeToPresence(contact: Contact): Maybe<Presence>

Subscribes to the presence of the specified contact.

Return

A Maybe that will emit the contact's presence when the request is processed. In case of error, it will emit a SippoResourceError.

Parameters

contact

Contact to subscribe to.