getContactBy

fun getContactBy(contactId: String, onCompletion: (Either<Contact, SippoResourceError>) -> Unit)

Fetch contact from the specified contactId.

Parameters

contactId

contact Id to be fetched.

onCompletion

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