Prerequisites
- An active call session
- Access to the
CallSessioninstance
Get CallSession Instance
Session control methods are called on theCallSession singleton:
- Kotlin
- Java
Check Session Status
Check if there is currently an active call session.- Kotlin
- Java
Use this method to check session status before calling other
CallSession methods, or to determine if you need to show call UI.Leave Session
End your participation in the current call session.- Kotlin
- Java
When you leave the session, the
onSessionLeft() callback is triggered on your SessionStatusListener. Other participants will receive the onParticipantLeft(Participant) callback.Handling Session End
- Kotlin
- Java
Raise Hand
Raise your hand to get attention from other participants. This is useful in meetings or webinars when you want to ask a question or make a comment.- Kotlin
- Java
When you raise your hand, all participants receive the
onParticipantHandRaised(Participant) callback on their ParticipantEventListener.Lower Hand
Lower your previously raised hand.- Kotlin
- Java
When you lower your hand, all participants receive the
onParticipantHandLowered(Participant) callback on their ParticipantEventListener.Listen for Hand Raise Events
Register aParticipantEventListener to receive callbacks when participants raise or lower their hands:
- Kotlin
- Java
Button Click Listeners
Listen for when users tap the leave or raise hand buttons:- Kotlin
- Java
Hide Session Control Buttons
Control the visibility of session control buttons in the UI:- Kotlin
- Java
Session Timeout
Configure the idle timeout period for when you’re alone in a session:- Kotlin
- Java
onSessionTimedOut() callback is triggered:
- Kotlin
- Java
Next Steps
Session Status Listener
Handle all session lifecycle events
Button Click Listener
Handle all button click events