Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The raise hand feature allows participants to signal that they want to speak or get attention during a call without interrupting the current speaker.
Raise Hand
Show a hand-raised indicator to other participants:
CometChatCalls.raiseHand();
Lower Hand
Remove the hand-raised indicator:
CometChatCalls.lowerHand();
Raise Hand Events
Participant Hand Raised
Fired when a participant raises their hand:
CometChatCalls.addEventListener("onParticipantHandRaised", (participant) => {
console.log(`${participant.name} raised their hand`);
// Show notification or update UI
});
Participant Hand Lowered
Fired when a participant lowers their hand:
CometChatCalls.addEventListener("onParticipantHandLowered", (participant) => {
console.log(`${participant.name} lowered their hand`);
});
To hide the raise hand button from the control panel:
const callSettings = {
hideRaiseHandButton: true,
// ... other settings
};
Intercept raise hand button clicks for custom behavior:
CometChatCalls.addEventListener("onRaiseHandButtonClicked", () => {
console.log("Raise hand button clicked");
});