bindView
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing CallView. Usually an Activity or Fragment.
Handler that notifies when the back button has been pressed.
Notifies when the participants button has been pressed.
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing CallContainerView. Usually an Activity or Fragment.
Handler used to fetch the new state of the call controls buttons when the media state changes.
Handler that listens to interactions with call media controls.
Handler that notifies when the back button has been pressed.
Handler that notifies when the call has entered the idle state, notifies about end of the call.
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing CallControlsView. Usually an Activity or Fragment.
Handler used to fetch the new state of the call controls buttons when the media state changes.
Handler that listens to interactions with call media controls.
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing CallView. Usually an Activity or Fragment.
Handler used to fetch the new state of the call controls buttons when the media state changes.
Handler that listens to interactions with call media controls.
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing FloatingParticipantView. Usually an Activity or Fragment.
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing IncomingCallView. Usually an Activity or Fragment.
Handler that listens to interactions with call media controls.
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing OutgoingCallView. Usually an Activity or Fragment.
Handler that listens to interactions with call media controls.
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing PictureInPictureView. Usually an Activity or Fragment.
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.
This function sets listeners on the view and ViewModel. Call this method before setting any additional listeners on these objects yourself.
Parameters
CallViewModel for observing data and running actions.
The lifecycle owner, root component containing ScreenShareView. Usually an Activity or Fragment.