updateOwnPresence

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

Updates the presence for the current user.

Parameters

presence

Presence to be updated.

onCompletion

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