getOwnPresence

fun getOwnPresence(onCompletion: (Either<Presence, SippoResourceError>) -> Unit)

Fetches the presence for the current user.

Parameters

onCompletion

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