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

getOwnPresence

fun getOwnPresence(onCompletion: (Either<Presence, SippoResourceError>) -> Unit): 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.