CallViewModel

The CallViewModel is a light wrapper over

  • call

  • call.state

  • call.camera/microphone/speaker

It's main purpose is to

  • Add awareness to the UI lifecycle. It makes sure we cleanup video state etc when you leave a call

  • Helpers for picture in picture

  • Helpers for fullscreen mode

It also handles some UI state

  • Opening/closing the participant menu

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun onPictureInPictureModeChanged(inPictureInPictureMode: Boolean)

Inherited functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard