Get CallSession Instance
TheCallSession is a singleton that manages the active call. All event listener registrations and session control methods are accessed through this instance.
- Kotlin
- Java
All event listeners are lifecycle-aware and automatically removed when the
LifecycleOwner (Activity/Fragment) is destroyed. You don’t need to manually remove listeners.Session Events
Monitor the call session lifecycle including join/leave events and connection status.- Kotlin
- Java
Participant Events
Monitor participant activities including join/leave, audio/video state, hand raise, screen sharing, and recording.- Kotlin
- Java
Media Events
Monitor your local media state changes including audio/video status, recording, and device changes.- Kotlin
- Java
Screen sharing events are not on
MediaEventsListener. A participant’s screen share is reported by
ParticipantEventListener.onParticipantStartedScreenShare / onParticipantStoppedScreenShare — see
Screen Sharing. Android can view a shared screen but cannot start one.AudioMode Values
AudioMode Values
CameraFacing Values
CameraFacing Values
Button Click Events
Intercept UI button clicks from the default call interface to add custom behavior or analytics.- Kotlin
- Java
Button click events fire before the SDK’s default action executes. Use these to add custom logic alongside default behavior.
Layout Events
Monitor layout changes including layout type switches and Picture-in-Picture mode transitions.- Kotlin
- Java
LayoutType Values
LayoutType Values