get Presence For Contact
fun getPresenceForContact(contact: Contact, onCompletion: (Either<Presence?, SippoResourceError>) -> Unit)
Fetches the presence for the specified contact.
Parameters
contact
Contact whose presence is requested.
on Completion
Callback that will be invoked when the request is completed. It will receive the required presence in case of success or a SippoResourceError otherwise.