launchCoHost

Toggles the visibility of the co-host modal.

This function calls updateIsCoHostModalVisible with the negated value of isCoHostModalVisible to toggle the modal's visibility.

Example:

val options = LaunchCoHostOptions(
updateIsCoHostModalVisible = { isVisible ->
// Update visibility here
},
isCoHostModalVisible = false
)

launchCoHost(options)
// Toggles the co-host modal to visible.