setFloatingParticipant
fun setFloatingParticipant(participant: ParticipantState?, onViewInitialized: (FloatingParticipantView) -> Unit = {})
Creates and updates the local participant floating view. If null is passed will remove the view.
Parameters
participant
The local participant to be shown in a FloatingParticipantView.
onViewInitialized
Notifies when a new FloatingParticipantView has been initialized so that it can be bound to the view model.