Package-level declarations

Inherited functions

Link copied to clipboard

Binds CallParticipantView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.

Link copied to clipboard
fun IncomingCallView.bindView(viewModel: CallViewModel, lifecycleOwner: LifecycleOwner)

Binds IncomingCallView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.

fun OutgoingCallView.bindView(viewModel: CallViewModel, lifecycleOwner: LifecycleOwner)

Binds OutgoingCallView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.

Binds FloatingParticipantView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.

Binds PictureInPictureView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.

fun ScreenShareView.bindView(viewModel: CallViewModel, lifecycleOwner: LifecycleOwner)

Binds ScreenShareView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.

fun CallView.bindView(viewModel: CallViewModel, lifecycleOwner: LifecycleOwner, fetchCallMediaState: (CallDeviceState, Boolean) -> List<CallControlItem> = { mediaState, isScreenSharingActive -> defaultControlList(mediaState, isScreenSharingActive) })
fun CallAppBarView.bindView(viewModel: CallViewModel, lifecycleOwner: LifecycleOwner, onBackPressed: () -> Unit = { }, onParticipantsPressed: () -> Unit = { })

Binds CallView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.

fun CallControlsView.bindView(viewModel: CallViewModel, lifecycleOwner: LifecycleOwner, fetchCallMediaState: (CallDeviceState, Boolean) -> List<CallControlItem> = { mediaState, isScreenSharingActive -> defaultControlList(mediaState, isScreenSharingActive) })

Binds CallControlsView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.

fun CallContainerView.bindView(viewModel: CallViewModel, lifecycleOwner: LifecycleOwner, fetchCallMediaState: (CallDeviceState, Boolean) -> List<CallControlItem> = { mediaState, isScreenSharingActive -> defaultControlList(mediaState, isScreenSharingActive) }, onParticipantsPressed: () -> Unit = { }, onBackPressed: () -> Unit = { }, onIdle: () -> Unit = { })

Binds CallContainerView with CallViewModel, updating the view's state based on data provided by the ViewModel, and propagating view events to the ViewModel as needed.