setScreenSharingContent

fun setScreenSharingContent(onViewInitialized: (View) -> Unit)

Populates the view with the screen share content. Will remove all views that are used when there is no screen share content and add ScreenShareView and CallParticipantsListView.

Parameters

onViewInitialized

Notifies when a new ScreenShareView or CallParticipantsListView has been initialized so that they can be bound to the view model.