sippo-sdk / com.quobis.sippo.sipposdk.presence / Presences / getPresenceForContact

getPresenceForContact

fun getPresenceForContact(contact: Contact, onCompletion: (Either<Presence?, SippoResourceError>) -> Unit): Unit

Fetches the presence for the specified contact.

Parameters

contact - Contact whose presence is requested.

onCompletion - Callback that will be invoked when the request is completed. It will receive the required presence in case of success or a SippoResourceError otherwise.