update Own State
fun updateOwnState(state: Presence.State, onCompletion: (Either<Presence, SippoResourceError>) -> Unit)
Updates the current user state.
Parameters
state
Presence.State to be updated.
on Completion
Callback that will be invoked when the request is completed. It will receive the updated presence in case of success or a SippoResourceError otherwise.