sippo-sdk / com.quobis.sippo.sipposdk.presence / PresencesRx / subscribeToPresence

subscribeToPresence

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

Subscribes to the presence of the specified contact.

Parameters

contact - Contact to subscribe to.

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